/* xtra.tennis marketing site */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --xt-deep: #0c2a18;
  --xt-green: #1b5e20;
  --xt-lime: #c5e063;
  --xt-bright: #7cb342;
  --xt-cream: #faf8ef;
  --xt-ink: #1a1f1a;
  --xt-mute: #5a6b5a;
  --xt-line: #d8e4cc;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--xt-ink);
  background: var(--xt-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navbar ─────────────────────────────────────────────────────────── */
header {
  background: var(--xt-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}
.nav-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--xt-lime);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-brand .dot { color: #fff; }
nav ul { list-style: none; display: flex; gap: 4px; }
nav ul a {
  display: block; padding: 9px 18px; color: #d8efc4;
  font-size: 0.95rem; border-radius: 6px;
  transition: all 0.18s; font-weight: 600;
}
nav ul a:hover, nav ul a.active {
  background: var(--xt-green); color: #fff; text-decoration: none;
}
.cta-btn {
  background: var(--xt-lime); color: var(--xt-deep) !important;
  padding: 9px 22px !important; border-radius: 999px !important;
  font-weight: 800 !important;
}
.cta-btn:hover { background: #d4ed85 !important; }

/* ── Format strip (below nav) ───────────────────────────────────────── */
.format-strip {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 7px 24px;
  font-size: 0.8rem; color: rgba(210,240,160,0.9);
  letter-spacing: 0.02em; flex-wrap: wrap;
}
.format-strip strong { color: var(--xt-lime); }
.fmt-sep { opacity: 0.4; }

/* ── Format badge row (hero) ────────────────────────────────────────── */
.format-badge-row {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin: 24px 0 32px;
}
.format-badge {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(197,224,99,0.35);
  border-radius: 14px; padding: 14px 22px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 110px;
  backdrop-filter: blur(4px);
}
.format-badge.fb-highlight {
  background: rgba(197,224,99,0.18);
  border-color: var(--xt-lime);
  box-shadow: 0 0 0 1px rgba(197,224,99,0.3), 0 6px 24px rgba(197,224,99,0.2);
}
.fb-num {
  font-size: 2.4rem; font-weight: 900; color: var(--xt-lime); line-height: 1;
}
.fb-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 4px;
  text-align: center; font-weight: 600; letter-spacing: 0.02em;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--xt-deep) 0%, #0f3a1f 50%, var(--xt-green) 100%);
  color: #fff;
  text-align: center;
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(197,224,99,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(124,179,66,0.18) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-size: 4rem; font-weight: 900; letter-spacing: -0.02em;
  margin-bottom: 18px; line-height: 1.05;
}
.hero h1 .accent { color: var(--xt-lime); }
.hero p.lede {
  font-size: 1.35rem; opacity: 0.92;
  max-width: 620px; margin: 0 auto 36px;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; transition: transform 0.15s, box-shadow 0.15s;
  border: none; cursor: pointer; letter-spacing: 0.01em;
}
.btn-primary { background: var(--xt-lime); color: var(--xt-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(197,224,99,0.4); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

/* ── Page header (sub-pages) ───────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--xt-deep) 0%, var(--xt-green) 100%);
  color: #fff;
  padding: 70px 24px 56px;
  text-align: center;
}
.page-header h1 {
  font-size: 2.6rem; font-weight: 900; margin-bottom: 10px;
}
.page-header p {
  opacity: 0.85; font-size: 1.1rem; max-width: 600px; margin: 0 auto;
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-title {
  font-size: 2.4rem; font-weight: 900; color: var(--xt-deep);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.section-sub {
  font-size: 1.1rem; color: var(--xt-mute);
  margin-bottom: 48px; max-width: 640px;
}

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: unset; }
}

/* ── Feature cards ──────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 36px 0;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--xt-line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,94,32,0.12);
}
.feature-card .icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card h3 {
  color: var(--xt-deep); font-size: 1.2rem; margin-bottom: 8px; font-weight: 800;
}
.feature-card p { color: var(--xt-mute); font-size: 0.96rem; }

/* ── Player image grid (logo bg) ────────────────────────────────────── */
.players-collage {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 40px 0;
}
.player-tile {
  position: relative; aspect-ratio: 1;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--xt-green), var(--xt-deep));
  display: flex; align-items: center; justify-content: center;
}
.player-tile::before {
  content: 'XT'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem; font-weight: 900; color: rgba(197,224,99,0.18);
  letter-spacing: -0.04em;
}
.player-tile img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; mix-blend-mode: luminosity; opacity: 0.9;
}
.player-tile .label {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  z-index: 2; color: #fff; font-weight: 700; font-size: 0.9rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ── Trophy showcase ────────────────────────────────────────────────── */
.trophy-row {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin: 36px 0;
}
.trophy-card {
  flex: 1 1 220px; background: #fff;
  border: 2px solid var(--xt-lime);
  border-radius: 16px; padding: 28px;
  text-align: center; max-width: 280px;
}
.trophy-card .emoji {
  font-size: 3.6rem; display: block; margin-bottom: 8px;
}
.trophy-card h4 { color: var(--xt-deep); font-size: 1.1rem; font-weight: 800; }
.trophy-card p { color: var(--xt-mute); font-size: 0.9rem; margin-top: 6px; }

/* ── Court cards (ladders) ──────────────────────────────────────────── */
.court-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin: 36px 0;
}
.court-card {
  background: #fff; border: 1px solid var(--xt-line);
  border-radius: 16px; padding: 28px; transition: all 0.18s;
}
.court-card:hover {
  border-color: var(--xt-bright);
  box-shadow: 0 12px 32px rgba(27,94,32,0.15);
  transform: translateY(-4px);
}
.court-card h3 {
  color: var(--xt-deep); font-size: 1.4rem; font-weight: 800;
  margin-bottom: 8px;
}
.court-card .court-loc { color: var(--xt-mute); font-size: 0.95rem; margin-bottom: 16px; }
.court-card .court-link {
  display: inline-block; margin-top: 14px;
  background: var(--xt-green); color: #fff;
  padding: 10px 22px; border-radius: 999px; font-weight: 700;
}
.court-card .court-link:hover { background: var(--xt-deep); text-decoration: none; }

/* ── Pricing banner ─────────────────────────────────────────────────── */
.price-banner {
  background: linear-gradient(135deg, var(--xt-lime), var(--xt-bright));
  color: var(--xt-deep);
  padding: 24px 32px;
  border-radius: 16px;
  text-align: center;
  margin: 32px 0;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(124,179,66,0.25);
}
.price-banner strong { font-size: 1.5rem; }

/* ── Rules page ─────────────────────────────────────────────────────── */
.rules-content { max-width: 820px; margin: 0 auto; }
.rules-content h2 {
  color: var(--xt-deep); font-size: 1.7rem; font-weight: 900;
  margin: 40px 0 16px;
  border-bottom: 3px solid var(--xt-lime); padding-bottom: 8px;
}
.rules-content h3 {
  color: var(--xt-green); font-size: 1.2rem; font-weight: 800;
  margin: 24px 0 10px;
}
.rules-content p { margin-bottom: 14px; color: #2a3a2a; }
.rules-content ul, .rules-content ol { margin: 12px 0 16px 24px; }
.rules-content li { margin-bottom: 8px; }
.callout {
  background: #fff; border-left: 4px solid var(--xt-bright);
  padding: 18px 22px; border-radius: 8px; margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
  background: var(--xt-deep);
  color: #c8e0aa;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.92rem;
}
footer a { color: var(--xt-lime); }
footer .footer-links { margin-top: 12px; }
footer .footer-links a { margin: 0 12px; }

/* ── Awards page ─────────────────────────────────────────────────────── */
.awards-hero {
  background: linear-gradient(160deg, #1a0a00 0%, #3d1f00 50%, #6b3800 100%);
  color: #fff; text-align: center; padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.awards-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,180,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.awards-hero h1 {
  font-size: 3.4rem; font-weight: 900; letter-spacing: -0.02em;
  margin-bottom: 14px; position: relative;
}
.awards-hero p { opacity: 0.85; font-size: 1.15rem; max-width: 580px; margin: 0 auto; position: relative; }

.award-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px; margin: 40px 0;
}
.award-tier {
  background: #fff; border-radius: 20px;
  border: 2px solid var(--xt-line);
  padding: 36px 28px; text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative; overflow: hidden;
}
.award-tier:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.award-tier.gold { border-color: #f0b000; }
.award-tier.gold::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #f0b000, #ffe066, #f0b000);
}
.award-tier .tier-icon { font-size: 4rem; margin-bottom: 14px; display: block; }
.award-tier h3 { font-size: 1.4rem; font-weight: 900; color: var(--xt-deep); margin-bottom: 10px; }
.award-tier p { color: var(--xt-mute); font-size: 0.95rem; line-height: 1.65; }
.award-tier .tier-tag {
  display: inline-block; margin-top: 16px;
  background: var(--xt-lime); color: var(--xt-deep);
  font-size: 0.78rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.award-tier .tier-tag.premium {
  background: linear-gradient(90deg, #f0b000, #ffe066); color: #3d1f00;
}

/* Certificate mock */
.cert-preview-wrap {
  display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap;
  margin: 48px 0;
}
.cert-preview-wrap > div { flex: 1 1 320px; }

.cert-mock {
  background: linear-gradient(160deg, #0c2a18 0%, #1b5e20 100%);
  border-radius: 12px;
  padding: 40px 36px 32px;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 6px solid #c5e063;
  position: relative; overflow: hidden;
}
.cert-mock::before {
  content: 'XT';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 14rem; font-weight: 900;
  color: rgba(197,224,99,0.06); letter-spacing: -0.04em;
  pointer-events: none;
}
.cert-mock .cert-logo { font-size: 3rem; margin-bottom: 6px; }
.cert-mock .cert-site {
  font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(197,224,99,0.7); margin-bottom: 28px;
}
.cert-mock .cert-presents {
  font-size: 0.85rem; opacity: 0.7; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 8px;
}
.cert-mock .cert-name {
  font-size: 2rem; font-weight: 900; color: var(--xt-lime);
  border-bottom: 1px solid rgba(197,224,99,0.3);
  padding-bottom: 12px; margin-bottom: 16px;
}
.cert-mock .cert-body {
  font-size: 0.9rem; opacity: 0.85; line-height: 1.6; margin-bottom: 28px;
}
.cert-mock .cert-flight {
  font-size: 1.5rem; font-weight: 900; color: var(--xt-lime); margin-bottom: 4px;
}
.cert-mock .cert-month { font-size: 0.9rem; opacity: 0.7; margin-bottom: 28px; }
.cert-mock .cert-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid rgba(197,224,99,0.2); padding-top: 18px;
  font-size: 0.75rem; opacity: 0.6;
}
.cert-mock .cert-seal {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(197,224,99,0.15);
  border: 2px solid rgba(197,224,99,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 20px;
}

/* Wall mock — certificate framed on apartment wall */
.wall-scene {
  background: linear-gradient(180deg, #e8ddd0 0%, #d6c8b8 100%);
  border-radius: 20px; padding: 60px 40px 40px;
  position: relative; overflow: hidden;
  box-shadow: inset 0 -60px 80px rgba(0,0,0,0.08);
  min-height: 420px; display: flex; align-items: center; justify-content: center;
}
/* wall texture */
.wall-scene::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0,0,0,0.03) 19px, rgba(0,0,0,0.03) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0,0,0,0.015) 19px, rgba(0,0,0,0.015) 20px);
}
/* baseboard */
.wall-scene::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 36px;
  background: #c4b49a; border-top: 2px solid #b0a088;
}
.wall-frame {
  position: relative; z-index: 1;
  background: #2c1e0e;
  border-radius: 4px;
  padding: 14px;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.35),
    inset 0 0 0 2px rgba(255,255,255,0.06);
  width: 280px;
}
.wall-frame::before {
  /* Picture-hanging wire suggestion */
  content: '';
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 22px; background: rgba(0,0,0,0.3);
}
.wall-frame-mat {
  background: #f5f0e8;
  border-radius: 2px;
  padding: 18px;
}
.wall-cert {
  background: linear-gradient(160deg, #0c2a18 0%, #1b5e20 100%);
  border: 4px solid #c5e063;
  border-radius: 6px; padding: 22px 18px;
  text-align: center; color: #fff;
}
.wall-cert .wc-logo { font-size: 1.4rem; color: var(--xt-lime); }
.wall-cert .wc-title { font-size: 0.5rem; letter-spacing: 0.15em; color: rgba(197,224,99,0.6); margin-bottom: 10px; text-transform: uppercase; }
.wall-cert .wc-name { font-size: 1rem; font-weight: 900; color: var(--xt-lime); border-bottom: 1px solid rgba(197,224,99,0.3); padding-bottom: 6px; margin-bottom: 8px; }
.wall-cert .wc-body { font-size: 0.45rem; opacity: 0.75; line-height: 1.5; margin-bottom: 10px; }
.wall-cert .wc-flight { font-size: 0.9rem; font-weight: 900; color: var(--xt-lime); }
.wall-cert .wc-month { font-size: 0.4rem; opacity: 0.6; }

.print-options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; margin: 32px 0;
}
.print-option {
  background: #fff; border: 1.5px solid var(--xt-line);
  border-radius: 14px; padding: 24px;
}
.print-option h4 { color: var(--xt-deep); font-weight: 800; margin-bottom: 6px; }
.print-option .po-price {
  font-size: 1.3rem; font-weight: 900; color: var(--xt-green); margin-bottom: 8px;
}
.print-option p { color: var(--xt-mute); font-size: 0.88rem; }

.medal-section {
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap; margin: 48px 0;
}
.medal-visual {
  flex: 0 0 220px;
  text-align: center;
}
.medal-disc {
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 16px;
  background: radial-gradient(circle at 35% 35%, #ffe88a, #f0b000 50%, #b07800);
  box-shadow:
    0 0 0 8px #c8902040,
    0 8px 32px rgba(200,144,0,0.45),
    inset 0 -6px 14px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.medal-disc::before {
  /* insert ring */
  content: '';
  position: absolute; inset: 12px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
}
.medal-disc .medal-xt {
  font-size: 3.2rem; font-weight: 900; color: rgba(60,30,0,0.75);
  letter-spacing: -0.05em; position: relative; z-index: 1;
}
.medal-ribbon {
  width: 32px; height: 70px; margin: 0 auto;
  background: linear-gradient(180deg, #1b5e20 0%, #2e7d32 50%, #1b5e20 100%);
  border-radius: 2px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.medal-section > div:last-child { flex: 1 1 300px; }

