@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============ VARIABLES ============ */
:root {
  --primary: #3d2f8f;
  --primary-mid: #5a4db5;
  --primary-light: #7c6fd4;
  --primary-glow: rgba(102, 126, 234, 0.12);
  --accent: #c9870d;
  --accent-light: #f0c040;
  --accent-glow: rgba(212, 160, 23, 0.15);
  --dark: #1a1535;
  --text: #2d2d4e;
  --text-muted: #6b6b8a;
  --bg: #f4f4ff;
  --bg-card: #ffffff;
  --border: #e4e4f4;
  --gradient: linear-gradient(135deg, #3d2f8f 0%, #5a4db5 60%, #7c6fd4 100%);
  --gradient-hero: linear-gradient(135deg, #1a1535 0%, #3d2f8f 45%, #5a4db5 75%, #7c6fd4 100%);
  --shadow-sm: 0 2px 12px rgba(61, 47, 143, 0.07);
  --shadow-md: 0 8px 32px rgba(61, 47, 143, 0.11);
  --shadow-lg: 0 20px 60px rgba(61, 47, 143, 0.2);
  --radius: 14px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ HEADER ============ */
header {
  background: var(--gradient-hero);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(26, 21, 53, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.9em 2em;
  gap: 1.5em;
  flex-wrap: wrap;
}

.logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
}

.logo-wrap img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.site-title {
  flex: 1;
  text-align: center;
}

.site-title h1 {
  font-size: 1.45em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 0.25em;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85em;
  padding: 0.48em 0.85em;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

nav a:hover, nav a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

/* ============ HERO ============ */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 7em 2em 5.5em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '♔';
  position: absolute;
  font-size: 28em;
  opacity: 0.035;
  right: -2%;
  top: -15%;
  line-height: 1;
  pointer-events: none;
}

.hero::after {
  content: '♟';
  position: absolute;
  font-size: 20em;
  opacity: 0.04;
  left: -2%;
  bottom: -12%;
  line-height: 1;
  pointer-events: none;
}

.hero-chess-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 135, 13, 0.18);
  border: 1px solid rgba(240, 192, 64, 0.45);
  color: var(--accent-light);
  font-size: 0.78em;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding: 0.42em 1.3em;
  border-radius: 50px;
  margin-bottom: 1.3em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3.8em;
  font-weight: 900;
  margin-bottom: 0.4em;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  line-height: 1.15;
}

.hero p {
  font-size: 1.18em;
  position: relative;
  z-index: 1;
  opacity: 0.88;
  max-width: 540px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta {
  display: inline-block;
  padding: 0.95em 2.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(201, 135, 13, 0.45);
  letter-spacing: 0.4px;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 135, 13, 0.55);
  background: #d9950f;
  text-decoration: none;
  color: #fff;
}

.cta-outline {
  display: inline-block;
  padding: 0.93em 2.2em;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: var(--transition);
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
  text-decoration: none;
  color: #fff;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--gradient);
  padding: 3.5em 2em;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2em;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  font-weight: 900;
  color: var(--accent-light);
  display: block;
  line-height: 1;
}

.stat-item .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.4em;
  letter-spacing: 0.5px;
  display: block;
}

/* ============ PAGE BANNER ============ */
.page-banner {
  background: var(--gradient-hero);
  color: #fff;
  padding: 4.5em 2em 3.5em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '♛';
  position: absolute;
  font-size: 20em;
  opacity: 0.04;
  right: 1%;
  top: -20%;
  line-height: 1;
  pointer-events: none;
}

.page-banner-chess-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  pointer-events: none;
}

.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.82em;
  opacity: 0.65;
  margin-bottom: 0.6em;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }

.page-banner h2 {
  font-size: 2.9em;
  font-weight: 900;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 1.08em;
  opacity: 0.82;
  margin-top: 0.6em;
  position: relative;
  z-index: 1;
}

/* ============ SECTIONS ============ */
section {
  padding: 5em 2em;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
  text-align: center;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin: 0 auto 1em;
}

.section-divider::before, .section-divider::after {
  content: '';
  height: 2px;
  width: 70px;
  background: linear-gradient(to right, transparent, var(--primary-light));
}

.section-divider::after {
  background: linear-gradient(to left, transparent, var(--primary-light));
}

.section-divider span { color: var(--accent); font-size: 1.3em; }

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02em;
  margin-bottom: 3em;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.4em 2.2em;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.card:hover::after { opacity: 1; }

.card-icon {
  font-size: 2.4em;
  display: block;
  margin-bottom: 0.7em;
  line-height: 1;
}

.card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.22em;
  margin-bottom: 0.6em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95em;
  line-height: 1.75;
}

/* ============ HOMEPAGE ABOUT PREVIEW ============ */
.about-preview {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.8em 3em;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--primary-light);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-preview::after {
  content: '♜';
  position: absolute;
  right: 0.5em;
  bottom: -0.3em;
  font-size: 8em;
  opacity: 0.04;
  color: var(--primary);
  line-height: 1;
  pointer-events: none;
}

.about-preview h3 {
  font-size: 1.85em;
  color: var(--primary);
  margin-bottom: 0.8em;
}

.about-preview p {
  color: var(--text-muted);
  font-size: 1.04em;
  margin-bottom: 1.3em;
  line-height: 1.85;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition);
}

.learn-more-link:hover {
  border-bottom-color: var(--primary);
  gap: 0.8em;
  text-decoration: none;
}

/* ============ ABOUT PAGE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5em;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.04em;
  line-height: 1.9;
  margin-bottom: 1.2em;
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5em;
}

.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 0.9em 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.achievement-list li:last-child { border-bottom: none; }

.ach-icon {
  font-size: 1.5em;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1em;
}

.ach-text {
  font-size: 0.98em;
  color: var(--text-muted);
  line-height: 1.65;
}

.about-highlight-box {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5em 2em;
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.about-highlight-box::before {
  content: '♞';
  position: absolute;
  font-size: 11em;
  opacity: 0.07;
  right: -0.5em;
  bottom: -0.4em;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}

.about-highlight-box h3 {
  font-size: 1.5em;
  margin-bottom: 1.5em;
  position: relative;
}

.highlight-stat {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 1em 1.4em;
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
  position: relative;
}

.highlight-stat:last-child { margin-bottom: 0; }

.highlight-stat .icon { font-size: 1.7em; flex-shrink: 0; }

.highlight-stat strong {
  display: block;
  font-size: 1.08em;
  font-family: 'Playfair Display', serif;
}

.highlight-stat span {
  font-size: 0.84em;
  opacity: 0.78;
  font-family: 'Inter', sans-serif;
}

/* ============ TEAM ============ */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.team-member {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5em 1.5em 2em;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  outline: 4px solid var(--primary-light);
  outline-offset: 4px;
  margin-bottom: 1.2em;
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.25);
}

.team-member h4 {
  color: var(--text);
  font-size: 1.18em;
  margin-bottom: 0.3em;
}

.team-member > p {
  color: var(--primary-light);
  font-size: 0.88em;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.4px;
}

.team-badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(212, 160, 23, 0.3);
  font-size: 0.74em;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: 0.22em 0.85em;
  border-radius: 20px;
  margin-top: 0.6em;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.team-stats {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  margin: 0.6em 0 0.8em;
  font-size: 0.72em;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.team-stats strong {
  color: var(--accent);
  font-weight: 700;
}

.team-achievements {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8em;
  text-align: left;
}

.team-achievements li {
  font-size: 0.7em;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  padding: 0.3em 0 0.3em 1.2em;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.team-achievements li:last-child {
  border-bottom: none;
}

.team-achievements li::before {
  content: '♟';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 0.9em;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8em;
  margin: 2em 0;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  text-align: center;
  position: relative;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.12) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,0.12) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.12) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.12) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
}

.gallery-item-1 { background: linear-gradient(145deg, #1a1535, #3d2f8f); }
.gallery-item-2 { background: linear-gradient(145deg, #2d1b69, #6b47c4); }
.gallery-item-3 { background: linear-gradient(145deg, #1e3a5f, #2d6fa8); }
.gallery-item-4 { background: linear-gradient(145deg, #2d1535, #7c2f8f); }
.gallery-item-5 { background: linear-gradient(145deg, #1a2535, #2f6f8f); }
.gallery-item-6 { background: linear-gradient(145deg, #351a35, #8f3d8f); }

.gallery-piece {
  font-size: 3.8em;
  opacity: 0.55;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 0.5em;
}

.gallery-caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85em;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.gallery-caption strong {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 1.05em;
  margin-bottom: 0.2em;
}

/* ============ REVIEWS ============ */
.review-list {
  display: grid;
  gap: 1.6em;
  margin: 2em 0;
}

.review {
  background: var(--bg-card);
  padding: 2em 2.5em;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-light);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.review::before {
  content: '\201C';
  position: absolute;
  top: 0.05em;
  right: 0.5em;
  font-family: 'Playfair Display', serif;
  font-size: 7em;
  color: var(--primary-light);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.review:hover {
  transform: translateX(7px);
  box-shadow: var(--shadow-lg);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 1em;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  flex-shrink: 0;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  color: rgba(255,255,255,0.6);
}

.review-meta h4 {
  color: var(--text);
  font-size: 1.05em;
  margin-bottom: 0.2em;
}

.stars {
  color: var(--accent);
  font-size: 0.92em;
  letter-spacing: 2px;
}

.review blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1em;
  line-height: 1.85;
  margin: 0;
  padding: 0;
}

/* ============ REVIEW FORM ============ */
.review-form {
  background: var(--bg-card);
  padding: 2.5em;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 620px;
  margin: 3em auto 0;
  border-top: 4px solid var(--primary-light);
}

/* ============ FORMS (shared) ============ */
.form-title {
  font-size: 1.6em;
  color: var(--primary);
  margin-bottom: 1.5em;
}

.form-group { margin-bottom: 1.4em; }

label {
  display: block;
  margin-bottom: 0.45em;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.85em 1.1em;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.97em;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea { min-height: 130px; resize: vertical; }

button[type="submit"] {
  padding: 0.9em 2.6em;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.97em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.4px;
  margin-top: 0.5em;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.45);
}

/* ============ CONTACT PAGE ============ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 3em;
  align-items: start;
}

.contact-info {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5em 2em;
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.contact-info::before {
  content: '♝';
  position: absolute;
  font-size: 9em;
  opacity: 0.06;
  right: -0.5em;
  bottom: -0.5em;
  line-height: 1;
  pointer-events: none;
}

.contact-info h3 {
  font-size: 1.5em;
  margin-bottom: 1.5em;
  position: relative;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin-bottom: 1.4em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  position: relative;
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-item .ci-icon { font-size: 1.55em; flex-shrink: 0; line-height: 1; }
.contact-info-item strong { display: block; font-size: 0.8em; opacity: 0.65; margin-bottom: 0.2em; letter-spacing: 0.5px; font-family: 'Inter', sans-serif; text-transform: uppercase; }
.contact-info-item span { font-size: 0.97em; font-family: 'Inter', sans-serif; }

.contact-form {
  background: var(--bg-card);
  padding: 2.5em;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-light);
}

/* ============ TOURNAMENTS ============ */
.tournament-list {
  display: grid;
  gap: 1.5em;
  margin: 2em 0;
}

.tournament-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8em 2.2em;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.8em;
  transition: var(--transition);
  border-left: 5px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}

.tournament-card::after {
  content: '♟';
  position: absolute;
  right: 0.8em;
  font-size: 5.5em;
  opacity: 0.045;
  color: var(--primary);
  line-height: 1;
  pointer-events: none;
}

.tournament-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.tournament-date-badge {
  background: var(--gradient);
  color: #fff;
  border-radius: 12px;
  padding: 0.9em 1.3em;
  text-align: center;
  min-width: 85px;
  flex-shrink: 0;
}

.tournament-date-badge .t-month {
  font-family: 'Inter', sans-serif;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.82;
  display: block;
}

.tournament-date-badge .t-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.45em;
  font-weight: 900;
  line-height: 1.1;
  display: block;
}

.tournament-info h4 {
  font-size: 1.14em;
  color: var(--text);
  margin-bottom: 0.3em;
}

.tournament-info p {
  color: var(--text-muted);
  font-size: 0.92em;
  font-family: 'Inter', sans-serif;
}

.tournament-tag {
  display: inline-block;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid rgba(102, 126, 234, 0.22);
  font-size: 0.74em;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: 0.2em 0.75em;
  border-radius: 20px;
  margin-top: 0.5em;
  letter-spacing: 0.3px;
}

.tournament-info-banner {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2em 2.5em;
  margin-top: 2.5em;
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.tournament-info-banner .tib-icon { font-size: 2.4em; flex-shrink: 0; }
.tournament-info-banner h4 { font-size: 1.12em; margin-bottom: 0.3em; }
.tournament-info-banner p { font-size: 0.92em; opacity: 0.84; font-family: 'Inter', sans-serif; }

/* ============ FEATURES PREVIEW (homepage) ============ */
.features-preview {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.2em 2.5em;
  margin-bottom: 2em;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-light);
}

.features-preview h3 {
  color: var(--primary);
  font-size: 1.75em;
  margin-bottom: 1em;
}

.features-preview ul { list-style: none; padding: 0; }

.features-preview li {
  padding: 0.65em 0 0.65em 2em;
  position: relative;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.97em;
  border-bottom: 1px solid var(--border);
}

.features-preview li:last-child { border-bottom: none; }

.features-preview li::before {
  content: '♟';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 1em;
  top: 0.75em;
}

/* ============ FOOTER ============ */
footer {
  background: var(--gradient-hero);
  color: #fff;
  padding: 3.5em 2em 1.5em;
  margin-top: 4em;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3em;
  padding-bottom: 2.5em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.footer-brand p {
  font-size: 0.88em;
  opacity: 0.68;
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 1.1em;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.55em; }

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Inter', sans-serif;
  font-size: 0.91em;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.5em auto 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.82em;
  opacity: 0.55;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h2     { animation: fadeInUp 0.7s ease both; }
.hero p      { animation: fadeInUp 0.7s 0.15s ease both; }
.hero-actions { animation: fadeInUp 0.7s 0.28s ease both; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h2 { font-size: 2.8em; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0.8em 1.2em; }
  .site-title h1 { font-size: 1.1em; white-space: normal; text-align: center; }
  .hero h2 { font-size: 2.2em; }
  .footer-inner { grid-template-columns: 1fr; }
  .tournament-card { flex-direction: column; align-items: flex-start; }
  .contact-info { position: static; }
}
