/* ============================================================
   ANOTHAI SPORTING CLUB — SHARED DESIGN SYSTEM
   "The Championships" treatment: Wimbledon purple + green,
   cream editorial sections, Playfair Display + Inter.
   Shared by luangprabang.html & vientiane.html.
   NOTE: class names + IDs here are relied on by app.js — do not
   rename the booking/cancel hooks.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Wimbledon purple */
  --purple:       #46186f;
  --purple-deep:  #2f0f4d;
  --purple-soft:  #5d2e8c;
  --purple-line:  rgba(70,24,111,.14);
  --purple-tint:  #f1ebf5;

  /* Wimbledon green */
  --green:        #1c7340;
  --green-deep:   #0f4f2b;
  --green-bright: #2f9c5d;
  --green-tint:   #e9f2ec;

  /* Cream / paper */
  --cream:        #f6f1e7;
  --cream-2:      #efe7d6;
  --card:         #fffdf9;
  --white:        #ffffff;

  /* Ink (text on light) */
  --ink:          #241a33;
  --ink-soft:     #645a72;
  --ink-faint:    #9990a3;

  /* Text on dark */
  --mist:         rgba(255,255,255,.76);
  --mist-2:       rgba(255,255,255,.55);
  --mist-3:       rgba(255,255,255,.34);

  /* Lines */
  --line:         rgba(36,26,51,.12);
  --line-2:       rgba(36,26,51,.22);
  --line-d:       rgba(255,255,255,.16);
  --line-d2:      rgba(255,255,255,.30);

  /* Championship gold (used sparingly) */
  --gold:         #c9a44c;
  --gold-bright:  #e0bd66;

  /* Status */
  --success:      #2f9c5d;
  --danger:       #c0392b;

  /* Type */
  /* One modern family, used expressively (kept --serif as a display alias) */
  --serif: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape & motion */
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 18px -8px rgba(36,16,60,.30);
  --shadow:    0 24px 60px -28px rgba(36,16,60,.45);
  --shadow-lg: 0 40px 90px -40px rgba(36,16,60,.55);
  --t:     cubic-bezier(.65,0,.2,1);
  --t-out: cubic-bezier(.16,1,.3,1);
  --gutter: clamp(20px, 5vw, 80px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--green); color: #fff; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--cream-2); }

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--ink);
}
h2.display { font-size: clamp(1.95rem, 4.4vw, 3.5rem); margin-bottom: 20px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.accent-word {
  position: relative;
  display: inline-block;
  color: var(--purple);
}
.accent-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .12em;
  background: var(--green);
  opacity: .35;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--t-out) .25s;
  border-radius: 2px;
}
.reveal.visible .accent-word::after,
.accent-word.in::after { transform: scaleX(1); }

.body-lead { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.body-lead + .body-lead { margin-top: 16px; }
.section-sub { max-width: 600px; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .3s var(--t), background .3s var(--t), color .3s var(--t), border-color .3s var(--t), box-shadow .3s var(--t);
  position: relative;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: .84rem; }
.btn-full { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-bright); box-shadow: var(--shadow); }
/* legacy alias kept so old markup still styles */
.btn-gold { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--green-bright); box-shadow: var(--shadow); }

.btn-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow-sm); }
.btn-purple:hover { background: var(--purple-soft); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: #fff; border-color: var(--line-d2); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.btn-outline { background: transparent; color: var(--purple); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--purple); background: var(--purple-tint); }

.btn .arrow {
  width: 18px; height: 18px;
  position: relative; flex-shrink: 0;
  transition: transform .3s var(--t);
}
.btn .arrow::before {
  content: '';
  position: absolute; top: 50%; left: 0;
  width: 16px; height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.btn .arrow::after {
  content: '';
  position: absolute; top: 50%; right: 0;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { transform: translateX(4px); }

.link-btn {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1.5px solid var(--green-tint);
  padding-bottom: 1px;
  transition: border-color .25s var(--t);
}
.link-btn:hover { border-color: var(--green); }

/* Circular arrow button (court cards / hub) */
.round-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line-d2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: all .35s var(--t);
  flex-shrink: 0;
}
.round-arrow svg { width: 20px; height: 20px; transition: transform .35s var(--t); }
.round-arrow:hover { background: var(--green); border-color: var(--green); }
.round-arrow:hover svg { transform: translateX(3px); }

/* ============================================================
   NAV  — always dark bar (white logo), transparent over hero
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .4s var(--t), padding .4s var(--t), box-shadow .4s var(--t);
}
#navbar.scrolled {
  background: rgba(31,12,52,.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 12px 0;
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.6);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 46px; height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }
.logo-word {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}
.logo-word small {
  display: block;
  font-family: var(--sans);
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color .25s var(--t);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--green-bright);
  border-radius: 2px;
  transition: width .3s var(--t);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-back-link { color: var(--gold-bright) !important; }
.btn-nav {
  padding: 11px 24px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  transition: all .3s var(--t);
}
.btn-nav:hover { background: var(--green-bright); transform: translateY(-1px); }
.hamburger { display: none; font-size: 1.4rem; color: #fff; padding: 6px 10px; }
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 82%; max-width: 350px;
  background: var(--purple-deep);
  border-left: 1px solid var(--line-d);
  transform: translateX(100%);
  transition: transform .4s var(--t-out);
  padding: 90px 32px 32px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 99;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.4rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-d);
  color: #fff;
}
.mobile-menu a:first-child { color: var(--gold-bright); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px var(--gutter) 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroIn 1.8s var(--t-out) both;
  z-index: 0;
  will-change: transform;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.2); } to { opacity: 1; transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(31,12,52,.30) 0%, rgba(31,12,52,.45) 45%, rgba(25,9,44,.92) 100%),
    linear-gradient(95deg, rgba(31,12,52,.75) 0%, rgba(31,12,52,.15) 55%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 26px;
  opacity: 0; animation: fadeUp 1s var(--t-out) .5s forwards;
}
.location-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(47,156,93,.6);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,156,93,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(47,156,93,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,156,93,0); }
}
.hero-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 8.6vw, 7.6rem);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
  text-shadow: 0 10px 50px rgba(0,0,0,.35);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; animation: lineRise 1.1s var(--t-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .55s; }
.hero-title .line:nth-child(2) > span { animation-delay: .68s; }
.hero-title .script { font-weight: 800; color: var(--gold-bright); }
@keyframes lineRise { from { transform: translateY(108%); } to { transform: translateY(0); } }
.hero-sub {
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--mist);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp 1.1s var(--t-out) .8s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0; animation: fadeUp 1.1s var(--t-out) .95s forwards;
}
.hero-divider {
  width: 100%; height: 1px;
  background: var(--line-d);
  margin-bottom: 30px;
  opacity: 0; animation: fadeUp 1.1s var(--t-out) 1.1s forwards;
}
.hero-stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(28px, 6vw, 72px);
  opacity: 0; animation: fadeUp 1.1s var(--t-out) 1.2s forwards;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 1;
  color: #fff;
}
.stat-unit { font-size: .42em; color: var(--gold-bright); margin-left: 2px; font-weight: 600; }
.stat-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--mist-2);
}
.hero-scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mist-2);
  opacity: 0; animation: fadeUp 1.2s var(--t-out) 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--green-bright), transparent);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50%     { transform: scaleY(.55) translateY(10px); opacity: .35; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--t); }
.about-img-wrap:hover img { transform: scale(1.05); }
.about-img-label {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: rgba(31,12,52,.55);
  backdrop-filter: blur(8px);
  padding: 9px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-d);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); }
.about-badge {
  position: absolute; right: -22px; bottom: -26px;
  width: 168px; height: 168px;
  background: var(--purple);
  color: #fff;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--purple-soft);
}
.about-badge::before {
  content: '';
  position: absolute; inset: 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
}
.about-badge-number { font-family: var(--serif); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--gold-bright); }
.about-badge-text { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; line-height: 1.4; }
.about-features-grid {
  margin-top: 34px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px;
}
.feature-item { display: flex; align-items: center; gap: 13px; font-size: .95rem; color: var(--ink-soft); }
.feature-check {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.about-text .btn { margin-top: 34px; }

/* ============================================================
   AMENITIES  (dark purple band)
   ============================================================ */
.amenities {
  background:
    radial-gradient(120% 85% at 82% -12%, rgba(124,58,170,.5) 0%, transparent 56%),
    radial-gradient(110% 95% at -8% 112%, rgba(28,115,64,.34) 0%, transparent 52%),
    var(--purple-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.amenities .eyebrow { color: var(--green-bright); }
.amenities .eyebrow::before { background: var(--green-bright); }
.amenities .display { color: #fff; }
.amenities-head { max-width: 680px; margin-bottom: 56px; }
.amenities-head .section-sub { color: var(--mist); }
.amenities-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: amenity;
}
.amenity-card {
  counter-increment: amenity;
  position: relative;
  padding: 40px 28px 34px;
  border-radius: 18px;
  background: linear-gradient(162deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.018) 100%);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  transition: transform .55s var(--t-out), border-color .45s var(--t), background .45s var(--t), box-shadow .55s var(--t-out);
}
.amenity-card::before {
  content: counter(amenity, decimal-leading-zero);
  position: absolute; top: 16px; right: 20px;
  font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.03em;
  color: rgba(255,255,255,.07);
  transition: color .45s var(--t);
}
.amenity-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green-bright), var(--gold-bright));
  transition: width .6s var(--t-out);
}
.amenity-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(162deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 100%);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 34px 60px -30px rgba(0,0,0,.65);
}
.amenity-card:hover::before { color: rgba(255,255,255,.13); }
.amenity-card:hover::after { width: 100%; }
.amenity-icon {
  position: relative;
  width: 56px; height: 56px; border-radius: 15px;
  background: rgba(47,156,93,.14);
  border: 1px solid rgba(47,156,93,.36);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-bright);
  margin-bottom: 26px;
  transition: transform .5s var(--t-out), background .45s var(--t);
}
.amenity-card:hover .amenity-icon { transform: translateY(-3px) scale(1.07); background: rgba(47,156,93,.24); }
.amenity-icon svg { width: 26px; height: 26px; }
.amenity-card h3 {
  font-family: var(--sans);
  font-weight: 700; font-size: .95rem; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.amenity-card p { font-size: .9rem; line-height: 1.65; color: var(--mist-2); }

/* ============================================================
   COURTS
   ============================================================ */
.courts-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: 56px; flex-wrap: wrap;
}
.courts-header .heading { max-width: 640px; }
.courts-header .section-sub { margin-top: 6px; }
.courts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.court-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--t), box-shadow .5s var(--t), border-color .35s var(--t);
}
.court-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.court-card-top { position: relative; aspect-ratio: 3/2.4; overflow: hidden; }
.court-top-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--t); }
.court-card:hover .court-top-img { transform: scale(1.06); }
.court-card-top::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,12,52,.05) 0%, transparent 35%, rgba(31,12,52,.55) 100%);
}
.court-badge-pill {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  color: var(--purple);
  backdrop-filter: blur(6px);
}
.court-badge-pill.popular { background: var(--gold); color: var(--purple-deep); }
.court-badge-pill.pickle-pill { background: var(--green); color: #fff; }
.court-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.court-card-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; margin-bottom: 9px; color: var(--ink); }
.court-card-body p { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
.court-features-list { list-style: none; margin-bottom: 22px; display: flex; flex-direction: column; gap: 9px; }
.court-features-list li { position: relative; padding-left: 22px; font-size: .87rem; color: var(--ink-soft); }
.court-features-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green-tint);
  border: 2px solid var(--green);
}
.court-price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.court-price-row-night { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.court-card-body .court-price-row:first-of-type { margin-top: auto; }
.court-price-amount { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--purple); }
.court-price-unit { font-size: .68rem; font-weight: 500; letter-spacing: .06em; color: var(--ink-faint); text-transform: uppercase; text-align: right; line-height: 1.4; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking.section { background: var(--cream-2); }
.booking-header { max-width: 760px; margin-bottom: 44px; }
.booking-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 52px);
  max-width: 900px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.bw-block { padding: 26px 0; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--t-out); }
.bw-block:first-child { padding-top: 0; }
.bw-block:last-child { border-bottom: none; padding-bottom: 0; }
.bw-hidden { display: none !important; }
.bw-block-label {
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.bw-block-label::before {
  content: '';
  width: 22px; height: 2px; background: var(--green); border-radius: 2px;
}
.bw-price-hint {
  margin-left: auto;
  font-size: .76rem; font-weight: 500; letter-spacing: .02em; text-transform: none;
  color: var(--ink-soft);
}
.bw-price-hint::before { display: none; }

.bw-sport-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bw-sport-btn {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 5px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: all .3s var(--t);
}
.bw-sport-btn:hover { border-color: var(--green); background: var(--green-tint); }
.bw-sport-btn.active { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.bwsb-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.bw-sport-btn.active .bwsb-name { color: var(--green-deep); }
.bwsb-sub { font-size: .82rem; color: var(--ink-soft); }

.bw-court-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bw-court-btn {
  padding: 11px 24px;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  transition: all .25s var(--t);
}
.bw-court-btn:hover { border-color: var(--purple); color: var(--purple); }
.bw-court-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Lights choice (Vientiane: indoor courts, lights any time) */
.bw-lights-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.bw-light-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 18px; border-radius: var(--r);
  background: var(--cream); border: 1.5px solid var(--line);
  transition: all .25s var(--t); text-align: left;
}
.bw-light-btn:hover { border-color: var(--green); background: var(--green-tint); }
.bw-light-btn.active { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.bw-lb-name { font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.bw-light-btn.active .bw-lb-name { color: var(--green-deep); }
.bw-lb-price { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) { .bw-lights-row { grid-template-columns: 1fr; } }

/* Calendar */
.calendar-panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--purple); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--t);
}
.cal-nav:hover { border-color: var(--purple); background: var(--purple); color: #fff; }
.cal-month-label { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-bottom: 6px; }
.calendar-weekdays span { text-align: center; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); padding: 6px 0; }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal-day {
  aspect-ratio: 1; border-radius: 11px;
  border: 1.5px solid transparent;
  background: var(--white);
  color: var(--ink); font-weight: 600; font-size: .94rem;
  transition: all .2s var(--t); position: relative;
}
.cal-day:hover:not(.disabled):not(.empty) { border-color: var(--purple); color: var(--purple); }
.cal-day.empty { background: transparent; pointer-events: none; }
.cal-day.disabled { color: var(--ink-faint); background: transparent; pointer-events: none; text-decoration: line-through; opacity: .55; }
.cal-day.today { border-color: var(--green); color: var(--green-deep); }
.cal-day.has-bookings::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
.cal-day.selected { background: var(--purple); color: #fff; border-color: var(--purple); }
.cal-day.selected::after { background: var(--gold-bright); }

/* Time slots */
.bw-rate-note {
  font-size: .82rem; color: var(--ink-soft);
  margin-bottom: 16px; padding: 13px 18px;
  background: var(--purple-tint); border-left: 3px solid var(--purple); border-radius: 0 10px 10px 0;
}
.bw-rate-note strong { color: var(--purple); font-weight: 700; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 9px; }
.slots-loading { grid-column: 1/-1; text-align: center; padding: 28px 0; color: var(--ink-faint); font-size: .9rem; letter-spacing: .04em; }
.time-slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 12px 15px;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  color: var(--ink);
  transition: all .25s var(--t);
  text-align: left;
}
.time-slot:hover:not(.booked) { border-color: var(--green); background: var(--green-tint); }
.time-slot.selected { background: var(--green); color: #fff; border-color: var(--green); }
.time-slot.booked { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.time-slot.lights { position: relative; }
.time-slot.lights::after {
  content: ''; position: absolute; top: 8px; right: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 6px var(--gold);
}
.time-slot.selected.lights::after { background: #fff; box-shadow: none; }
.slot-time { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; }
.slot-price { font-size: .72rem; font-weight: 500; opacity: .8; }

/* Summary */
.bw-booking-summary {
  background: var(--purple-tint);
  border: 1px solid var(--purple-line);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 24px 26px; margin-bottom: 8px;
}
.bw-summary-header { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--purple); margin-bottom: 16px; }
.bw-summary-rows { display: flex; flex-direction: column; }
.bw-sum-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--purple-line);
}
.bw-sum-row:last-of-type { border-bottom: none; }
.bw-sum-row span { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; font-weight: 700; }
.bw-sum-row strong { color: var(--ink); font-weight: 600; font-size: .95rem; }
.bw-sum-row.bw-sum-price strong { color: var(--green-deep); font-family: var(--serif); font-size: 1.35rem; }
.bw-sum-pay { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--purple-line); font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }

/* Form */
.form-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.form-optional { color: var(--ink-faint); font-weight: 500; letter-spacing: .04em; }
.form-group input, .form-group select, .phone-code-select, .phone-input-row input {
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  color: var(--ink); font-size: .98rem;
  transition: border-color .25s var(--t), background .25s var(--t);
  outline: none; width: 100%;
}
.form-group input::placeholder { color: var(--ink-faint); }
.form-group input:focus, .form-group select:focus, .phone-code-select:focus {
  border-color: var(--purple); background: var(--white);
}
.phone-input-row { display: grid; grid-template-columns: 132px 1fr; gap: 10px; }
.phone-code-select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--purple) 50%),
    linear-gradient(135deg, var(--purple) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 32px;
}
.phone-code-select option { background: var(--white); color: var(--ink); }
.booking-error {
  padding: 13px 16px; background: rgba(192,57,43,.08);
  border-left: 3px solid var(--danger); border-radius: 0 10px 10px 0;
  color: var(--danger); font-size: .88rem; margin-bottom: 14px; line-height: 1.5;
}
.booking-error .link-btn { color: var(--danger); border-color: rgba(192,57,43,.4); }
.bw-pay-note { font-size: .8rem; color: var(--ink-faint); margin-top: 12px; text-align: center; }

/* Confirmation */
.booking-confirm-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px); max-width: 700px; margin: 0 auto;
  text-align: center; box-shadow: var(--shadow);
}
.bcb-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--green-tint); border: 1.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 2rem; color: var(--green);
}
.bcb-title { font-family: var(--serif); font-weight: 700; font-size: 2.4rem; margin-bottom: 14px; color: var(--ink); }
.bcb-name-hint { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 28px; }
.bcb-name-hint strong { color: var(--purple); }
.bcb-summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin-bottom: 22px; text-align: left; }
.bcb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.bcb-row:last-child { border-bottom: none; }
.bcb-row span { color: var(--ink-soft); letter-spacing: .16em; font-size: .66rem; text-transform: uppercase; font-weight: 700; }
.bcb-row strong { color: var(--ink); font-weight: 600; }
.bcb-row-price strong { color: var(--green-deep); font-family: var(--serif); font-size: 1.35rem; }
.bcb-pay-note, .bcb-sms-note { font-size: .84rem; color: var(--ink-soft); margin-top: 10px; }
.ticket-cancel-hint { text-align: center; margin-top: 24px; color: var(--ink-soft); font-size: .88rem; }

/* ============================================================
   CANCEL
   ============================================================ */
.cancel-page.section { background: var(--cream); }
.cancel-page-header { text-align: center; margin-bottom: 36px; }
.cancel-page-header .eyebrow { justify-content: center; }
.cancel-page-header .section-sub { margin-left: auto; margin-right: auto; }
.cancel-widget {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(28px, 4.5vw, 48px);
  max-width: 600px; margin: 0 auto; box-shadow: var(--shadow);
}
.cancel-sub { font-size: .92rem; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.55; }
.cancel-booking-info {
  background: var(--cream); border-left: 4px solid var(--purple); border-radius: 0 12px 12px 0;
  padding: 18px 22px; margin-bottom: 18px;
  font-size: .92rem; color: var(--ink); line-height: 1.8;
}
.cancel-booking-info strong { font-family: var(--serif); font-size: 1.15rem; color: var(--purple); }
.cancel-confirm-btn { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }
.cancel-confirm-btn:hover { background: var(--danger); color: #fff; }
.cancel-success { text-align: center; padding: 16px 0 26px; }
.cancel-success-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green-tint); border: 1.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.6rem; color: var(--green);
}
.cancel-success strong { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; display: block; margin-bottom: 6px; color: var(--ink); }
.cancel-success p { color: var(--ink-soft); font-size: .96rem; }
.cancel-page-back { text-align: center; margin-top: 30px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact.section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; margin-top: 44px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  transition: all .3s var(--t);
}
.contact-item:hover { border-color: transparent; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-icon-wrap {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--purple-tint); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon-wrap svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 7px; }
.contact-item p, .contact-item a { font-size: .94rem; color: var(--ink-soft); line-height: 1.6; }
.contact-item a:hover { color: var(--purple); }
.contact-map-wrap {
  background: var(--purple); color: #fff; border-radius: var(--r-lg);
  padding: 40px 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(93,46,140,.7) 0%, transparent 60%);
}
.contact-map-wrap > * { position: relative; z-index: 1; }
.map-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); margin-bottom: 18px;
}
.map-icon svg { width: 26px; height: 26px; }
.map-title { font-family: var(--serif); font-weight: 700; font-size: 2rem; }
.map-sub { font-size: .82rem; letter-spacing: .06em; color: var(--mist); margin-bottom: 22px; }
.btn-outline-forest {
  padding: 13px 26px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.4); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: all .3s var(--t);
}
.btn-outline-forest:hover { background: #fff; color: var(--purple); border-color: #fff; }
.hub-contact-link {
  display: inline-block; margin-top: 18px;
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-bright); border-bottom: 1.5px solid rgba(224,189,102,.4); padding-bottom: 3px;
  transition: border-color .25s var(--t);
}
.hub-contact-link:hover { border-color: var(--gold-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--purple-deep); color: var(--mist); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 56px; margin-bottom: 46px; }
.footer-logo { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.footer-logo-img { width: 56px; height: auto; }
.footer-brand p { color: var(--mist-2); font-size: .92rem; line-height: 1.7; max-width: 360px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col strong { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 5px; }
.footer-col a, .footer-col span { font-size: .9rem; color: var(--mist-2); transition: color .2s var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line-d);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: var(--mist-3);
}
.footer-tagline { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(8px); transition: opacity 1s var(--t-out), transform 1s var(--t-out), filter 1s var(--t-out); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .courts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { max-width: 460px; }
  .about-badge { width: 130px; height: 130px; right: -10px; bottom: -18px; }
  .about-badge-number { font-size: 2.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .courts-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .about-features-grid { grid-template-columns: 1fr; }
  .hero { padding: 130px var(--gutter) 60px; min-height: 92vh; }
  .hero-stats { gap: 28px 40px; }
  .phone-input-row { grid-template-columns: 116px 1fr; }
  .bw-sport-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .bcb-row { flex-direction: column; align-items: flex-start; gap: 3px; }
  .courts-header { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-bg { animation: none; transform: scale(1.04); }
}
