/* =========================================
   ESRAR RACONU — Design System
   Osmanlı Temalı Premium Web Tasarımı
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --navy: #0a1628;
  --navy-light: #111e36;
  --navy-mid: #162744;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-dark: #a8892e;
  --burgundy: #6b1d2a;
  --burgundy-light: #8a2a3a;
  --ivory: #f5f0e8;
  --antique-white: #faf8f3;
  --cream: #ede5d5;

  /* Accents */
  --teal: #1a6b5a;
  --teal-light: #238b75;
  --red-accent: #b03a2e;

  /* Text */
  --text-primary: #faf8f3;
  --text-secondary: rgba(250, 248, 243, 0.7);
  --text-muted: rgba(250, 248, 243, 0.45);
  --text-dark: #1a1a1a;
  --text-dark-secondary: #4a4a4a;

  /* Typography */
  --font-display: 'Amiri', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --shadow-gold-lg: 0 8px 40px rgba(201, 168, 76, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Islamic Geometric Divider --- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider__icon {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* --- Section --- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--alt {
  background-color: var(--navy-light);
}

.section--ivory {
  background-color: var(--ivory);
  color: var(--text-dark);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.section--ivory .section__title {
  color: var(--navy);
}

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section--ivory .section__subtitle {
  color: var(--text-dark-secondary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-md);
}

.display-font {
  font-family: var(--font-display);
}

/* ===================
   COMPONENTS
   =================== */

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: var(--space-sm) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.navbar__brand:hover {
  color: var(--gold-light);
}

.navbar__brand-icon {
  font-size: 1.8rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 80%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(107, 29, 42, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(26, 107, 90, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  z-index: 0;
}

/* Animated geometric pattern overlay */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    repeating-linear-gradient(0deg, var(--gold) 0px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--gold) 0px, transparent 1px, transparent 60px);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xl);
}

.hero__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--antique-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title span {
  color: var(--gold);
  display: block;
  font-size: 0.55em;
  margin-top: var(--space-sm);
  font-weight: 400;
  font-style: italic;
}

.hero__description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--gold);
  opacity: 0.6;
  font-size: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  color: var(--navy);
}

.btn--secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn--secondary:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--dark {
  background: var(--navy);
  color: var(--gold);
  border: 1.5px solid var(--navy-mid);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Cards --- */
.card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Feature/Game Card --- */
.game-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 168, 76, 0.4);
}

.game-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.game-card__body {
  padding: var(--space-xl);
}

.game-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.game-card__badge--soon {
  background: rgba(107, 29, 42, 0.2);
  color: var(--burgundy-light);
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--antique-white);
  margin-bottom: var(--space-sm);
}

.game-card__meta {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.game-card__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.game-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08) 0%, var(--navy-light) 100%);
  transform: scale(1.05);
}

.pricing-card--featured::before {
  content: '⭐ En Popüler';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--antique-white);
  margin-bottom: var(--space-sm);
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.pricing-card__price small {
  font-size: 0.4em;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__features {
  text-align: left;
  margin: var(--space-xl) 0;
}

.pricing-card__features li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--teal-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--antique-white);
  margin-bottom: var(--space-sm);
}

.step__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- Accordion (SSS) --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.accordion__header {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--antique-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: left;
  transition: color var(--transition-fast);
}

.accordion__header:hover {
  color: var(--gold);
}

.accordion__icon {
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.accordion__item.active .accordion__body {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.accordion__content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Gift/Bonus Section --- */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.gift-card {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.gift-card:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-3px);
}

.gift-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.gift-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.gift-card__value {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: line-through;
  margin-bottom: var(--space-xs);
}

.gift-card__free {
  color: var(--teal-light);
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem var(--space-md);
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-md);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__date {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: var(--space-sm);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--antique-white);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
}

.blog-card__link {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.blog-card__link:hover {
  gap: var(--space-sm);
}

/* --- Footer --- */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--antique-white);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__ayah {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- Stat Counters --- */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* --- About / Mission Section --- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.mission-card {
  padding: var(--space-xl);
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.03);
}

.mission-card__ayah {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.mission-card__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- Page Header (for sub-pages) --- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--antique-white);
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--burgundy));
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
}

.timeline__date {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Upcoming Games Grid --- */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ===================
   ANIMATIONS
   =================== */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll bounce */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(201, 168, 76, 0.2); }
  50% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.4); }
}

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ===================
   RESPONSIVE
   =================== */

/* Tablet */
@media (max-width: 968px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    border-left: 1px solid rgba(201, 168, 76, 0.1);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transition: right var(--transition-base);
    z-index: 999;
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .stats {
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    max-width: 300px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gifts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

/* Very small */
@media (max-width: 380px) {
  .gifts-grid {
    grid-template-columns: 1fr;
  }
}
