/* JetBet — luxury sports editorial design system */
:root {
  --bg: #0f1f1c;
  --bg-elevated: #162925;
  --bg-soft: #1c342f;
  --surface: #f4efe6;
  --surface-alt: #ebe4d8;
  --ink: #121816;
  --ink-soft: #3a4541;
  --muted: #6b756f;
  --cream: #f7f2e8;
  --gold: #c4a35a;
  --gold-bright: #e0c178;
  --teal: #1f6f64;
  --teal-deep: #0d3d36;
  --coral: #c45c3e;
  --line: rgba(196, 163, 90, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 6px;
  --font-display: "Syne", "Vazirmatn", sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 31, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand span {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.78em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(247, 242, 232, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.15rem;
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #a8843a);
  color: var(--ink) !important;
  font-weight: 700;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  min-height: 44px;
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  background: #0a1714;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out alternate infinite;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 23, 20, 0.35) 0%, rgba(10, 23, 20, 0.55) 42%, rgba(10, 23, 20, 0.92) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(31, 111, 100, 0.35), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.hero-brand em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero p {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 242, 232, 0.9);
  margin: 0 0 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(196, 163, 90, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 242, 232, 0.35);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-dark {
  background:
    linear-gradient(160deg, #0f1f1c 0%, #16302b 55%, #122421 100%);
  color: var(--cream);
}

.section-soft {
  background:
    linear-gradient(180deg, #f7f2e8 0%, #ebe4d8 100%);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.section-lead {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

.section-dark .section-lead {
  color: rgba(247, 242, 232, 0.78);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.8rem 0 0.7rem;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.3rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose figure {
  margin: 2rem 0;
}

.prose figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.article-image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.inline-cta {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(120deg, rgba(31, 111, 100, 0.12), rgba(196, 163, 90, 0.18));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-dark .inline-cta {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(224, 193, 120, 0.25);
}

/* Feature strip */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 193, 120, 0.18);
  border-radius: var(--radius);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.feature p {
  margin: 0;
  color: rgba(247, 242, 232, 0.8);
  font-size: 0.98rem;
}

/* Blog cards — interaction containers */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(18, 24, 22, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 24, 22, 0.12);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ddd;
}

.blog-card-body {
  padding: 1.1rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  font-family: var(--font-display);
}

.blog-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Social */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 193, 120, 0.25);
  color: var(--cream);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(224, 193, 120, 0.15);
  color: var(--gold-bright);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer */
.site-footer {
  background: #0a1513;
  color: rgba(247, 242, 232, 0.75);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--cream);
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
}

.site-footer a {
  color: rgba(247, 242, 232, 0.78);
  text-decoration: none;
  display: inline-block;
  min-height: 40px;
  padding-block: 0.2rem;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-note {
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  color: rgba(247, 242, 232, 0.55);
}

/* Post layout */
.post-hero {
  background: var(--bg);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
}

.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.25;
  margin: 0.6rem 0 1rem;
  max-width: 18ch;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(247, 242, 232, 0.65);
}

.breadcrumb a {
  color: var(--gold-bright);
  text-decoration: none;
}

.post-cover {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 24, 22, 0.1);
}

/* Motion — only small blocks; never wrap long articles in .reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Safety: long content must stay readable even if JS fails */
article.prose,
.prose.reveal,
.post-body,
.post-body.reveal {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-media img,
  .blog-card,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: var(--header-h);
    background: rgba(15, 31, 28, 0.98);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .feature-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .post-hero h1 {
    max-width: none;
  }
}


.footer-rg{margin-top:1.2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);font-size:.92rem;line-height:1.8;color:rgba(247,242,232,.75)}
.footer-rg a{color:var(--gold-bright,#e0c178);text-decoration:underline;text-underline-offset:3px}
.link-box{margin:1.4rem 0;padding:1rem 1.15rem;border:1px solid rgba(196,163,90,.28);border-radius:8px;background:rgba(31,111,100,.06)}
.link-box h3{margin:0 0 .55rem;font-size:1.05rem}
.link-box ul{margin:0;padding-inline-start:1.2rem}
.link-box li{margin:.35rem 0}


/* SEO/AEO FAQ */
.faq-item{background:rgba(255,255,255,.04);border:1px solid rgba(201,162,39,.25);border-radius:10px;padding:.85rem 1rem;margin:.65rem 0}
.faq-item summary{cursor:pointer;font-weight:700;color:var(--gold,#C9A227)}
.faq-item p{margin:.6rem 0 0;color:rgba(247,242,232,.85);line-height:1.8}
p.hero-brand, .hero-brand{font-family:var(--font-display);font-weight:800;letter-spacing:.04em;margin:0 0 1rem}

.breadcrumbs{font-size:.9rem;margin:0 0 1rem;color:rgba(247,242,232,.7)}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;padding:0;margin:0}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-right:.35rem;opacity:.5}
.breadcrumbs a{color:var(--gold,#C9A227);text-decoration:none}
