/* Escape Room Swansea - Mobile-first, accent #03dffc, black/white */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.75);
  --accent: #03dffc;
  --accent-hover: #2ee9ff;
  --border: rgba(255,255,255,0.12);
  --overlay: rgba(0,0,0,0.6);
  --radius: 8px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; margin: 0; padding: 0; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

/* Header */
#site-header {
  position: relative;
  z-index: 2147483647;
  min-height: 56px; /* Reserve space while header loads (prevents CLS) */
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100001;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--accent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav - mobile: hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.main-nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: -100%;
  transition: margin-left 0.25s ease;
  overflow-y: auto;
  z-index: 100002;
}
@media (max-width: 768px) {
  .nav-toggle { position: relative; z-index: 100003; }
  .site-header .logo { position: relative; z-index: 100003; }
}
.main-nav.is-open { margin-left: 0; }
.main-nav a {
  color: var(--text);
  padding: 0.75rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.main-nav a:hover { color: var(--accent); }

@media (min-width: 769px) {
  .site-header .container { gap: 2rem; padding-left: 10vw; padding-right: 10vw; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    margin-left: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .main-nav a {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

/* BOOK NOW button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn:hover { background: var(--accent-hover); color: var(--bg); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }

.header-cta { margin-top: 1rem; }
.main-nav a.header-cta { color: #000; }
.main-nav a.header-cta:hover { color: #000; }
@media (min-width: 769px) { .header-cta { margin-top: 0; margin-left: 0.5rem; } }

/* Footer */
.site-footer {
  background: #000;
  padding: 2.5rem 0;
  margin-top: 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.85rem 0;
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0 0 0.5rem 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.45rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 2rem 0 3rem;
  text-align: center;
}
.hero-bg {
  position: relative;
  background: var(--bg) no-repeat center/cover;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero-bg .container { position: relative; z-index: 1; }

/* Index hero: full-width parallax. WebP for smaller file size. */
.index-hero-bleed {
  position: relative;
  background-image: url('../images/hero.webp');
  background-size: auto 160%;
  background-position: right center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .index-hero-bleed {
    background-image: url('../images/hero.webp');
    background-size: auto 130%;
    background-position: right center;
    background-attachment: scroll;
  }
}
.index-hero-bleed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.42) 75%,
    rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.index-hero-bleed > * { position: relative; z-index: 1; }

.index-hero-top {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.index-hero-bottom {
  padding: 2.5rem 0 5rem;
}
.index-hero-why {
  padding: 2.5rem 0 2.5rem;
  background: #000;
  margin-left: 3%;
  margin-right: 3%;
}
.index-hero-why .index-hero-box {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}
.index-hero-why .index-hero-box .steps { margin-bottom: 0; }
/* Frosted box like header: slightly see-through, backdrop blur */
.index-hero-box {
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.index-hero-box h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: var(--text);
}
.index-hero-box p {
  color: var(--text-muted);
  margin: 0 0 1rem 0;
}
.index-hero-box p:last-child { margin-bottom: 0; }

.hero-logo {
  display: block;
  max-width: 480px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.25rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.hero .sub { font-size: 1.1rem; color: var(--text-muted); margin: 0 0 1.5rem 0; }
.hero .btn { margin-top: 0.5rem; }

/* Hero2 CTA – full-width image, fade to black top/bottom, centered Book Now. */
.hero2-cta {
  position: relative;
  min-height: 100vh;
  background: var(--bg) url('../images/hero2.webp') no-repeat center center / auto 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 769px) {
  .hero2-cta { background-size: cover; }
}
.hero2-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.95) 5%,
    rgba(0,0,0,0) 22%,
    rgba(0,0,0,0) 78%,
    rgba(0,0,0,0.95) 95%,
    rgba(0,0,0,1) 100%);
  pointer-events: none;
}
.hero2-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 36rem;
}
.hero2-cta__title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero2-cta__tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}
.hero2-cta__content .btn { margin-top: 0; }

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--bg-elevated); }
.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem 0;
  font-weight: 700;
}
.section h3 { font-size: 1.15rem; margin: 1rem 0 0.5rem 0; }
.section p { color: var(--text-muted); margin: 0 0 1rem 0; }

/* Spotlight – full-width rows: 60% media / 40% text, alternating */
.spotlight-section {
  padding: 3rem 0;
  background: var(--bg-elevated);
}
.spotlight-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem 1.5rem;
  margin-bottom: 0.5rem;
}
.spotlight-intro::after {
  content: "";
  display: block;
  width: 10%;
  height: 1px;
  background: var(--accent);
  margin: 1.25rem auto 0;
}
.spotlight-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.spotlight-sub {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 32rem;
  text-align: center;
}
.spotlight-intro .spotlight-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.spotlight-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.spotlight-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.spotlight-card:hover {
  border-color: rgba(3, 223, 252, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
/* Desktop: 45% media, 55% text (reduced from 60% by 25%). Odd = media left; even = text left (row-reverse). */
@media (min-width: 769px) {
  .spotlight-card {
    flex-direction: row;
    min-height: 300px;
  }
  .spotlight-card:nth-child(even) { flex-direction: row-reverse; }
  .spotlight-media {
    flex: 0 0 45%;
    min-height: 100%;
  }
  .spotlight-body {
    flex: 0 0 55%;
  }
  .spotlight-card:nth-child(odd) .spotlight-body {
    text-align: left;
    align-items: flex-start;
  }
  .spotlight-card:nth-child(even) .spotlight-body {
    text-align: right;
    align-items: flex-end;
  }
}
.spotlight-media {
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.spotlight-video-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: #0a0a0a;
}
.spotlight-video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.spotlight-video-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-video-box .spotlight-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.spotlight-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.spotlight-play-btn:hover {
  background: rgba(3, 223, 252, 0.85);
  transform: translate(-50%, -50%) scale(1.08);
}
.spotlight-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}
/* Poster (home.png) overlays the video; hidden when playing */
.spotlight-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.spotlight-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.spotlight-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Video: 16:9 when in 60% column; fills height on desktop */
.spotlight-media-video {
  aspect-ratio: 16/9;
}
@media (min-width: 769px) {
  .spotlight-media-video {
    aspect-ratio: auto;
    min-height: 100%;
  }
}
.spotlight-media-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Mobile: stack. Video first, text below, all centered (no alternate) */
@media (max-width: 768px) {
  .spotlight-card {
    min-height: 0;
    flex-direction: column;
  }
  .spotlight-card:nth-child(even) { flex-direction: column; }
  .spotlight-media {
    height: 210px;
    flex: 0 0 auto;
  }
  .spotlight-media-video {
    height: auto;
    aspect-ratio: 16/9;
  }
  .spotlight-card:nth-child(odd) .spotlight-body,
  .spotlight-card:nth-child(even) .spotlight-body {
    text-align: center;
    align-items: center;
  }
}
.spotlight-body {
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 769px) {
  .spotlight-body { padding: 1.5rem 2rem; }
}
.spotlight-card-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
  color: var(--text);
}
.spotlight-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}
.spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

/* Review section – white bar */
.review-section {
  background: #fff;
  color: #1a1a1a;
}
.review-section h2,
.review-section .review-heading { color: #1a1a1a; }
.review-section .review-quote,
.review-section p { color: #444; }
.review-section a { color: var(--accent); }
.review-intro {
  text-align: center;
  padding: 0 1rem 1.5rem;
  margin-bottom: 0.5rem;
}
.review-intro::after {
  content: "";
  display: block;
  width: 10%;
  height: 1px;
  background: var(--accent);
  margin: 1.25rem auto 0;
}
.review-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 900px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.review-quote {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-style: italic;
}
.review-card .review-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Cards grid - Games */
.games-intro {
  margin-bottom: 1rem;
  padding: 2.5rem 1rem 1.25rem;
  text-align: center;
}
.games-intro::after {
  content: "";
  display: block;
  width: 10%;
  height: 1px;
  background: var(--accent);
  margin: 1.25rem auto 0;
}
.games-intro h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.875rem 0;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.games-intro p {
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36rem;
  text-align: center;
}

.game-category { margin-bottom: 2.5rem; text-align: center; }
.game-category h2 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem 0;
  color: var(--accent);
}
.game-category .category-desc {
  font-size: 1rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  max-width: 32rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
  background: rgba(3, 223, 252, 0.06);
  border: 1px solid rgba(3, 223, 252, 0.2);
  border-radius: var(--radius);
}
@media (max-width: 480px) {
  .game-category .category-desc { padding: 1.25rem 1.75rem; }
}
.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}
@media (min-width: 600px) { .games-grid { gap: 1.25rem; } }
@media (min-width: 900px) { .games-grid { gap: 1.5rem; } }

.games-grid .game-card {
  flex: 0 0 calc(50% - 0.5rem);
}
@media (min-width: 600px) {
  .games-grid .game-card { flex: 0 0 calc(33.333% - 0.834rem); }
}
@media (min-width: 900px) {
  .games-grid .game-card { flex: 0 0 calc(25% - 1.125rem); }
}

.game-card {
  display: block;
  color: var(--text);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.game-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.game-card.coming-soon { opacity: 0.9; cursor: default; }
.game-card.coming-soon:hover { transform: none; }

.game-card-img {
  aspect-ratio: 600/900;
  object-fit: cover;
  width: 100%;
  background: var(--bg);
}
.game-card-body {
  padding: 1rem;
  border-left: 3px solid var(--accent);
}
.game-card-body .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.game-card-body h4 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.game-card-body .game-card-tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.game-card-body p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}
.game-card:hover .game-card-body {
  border-left-color: var(--accent-hover);
}

/* Game detail page - Parvus style */
.game-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background: var(--bg) no-repeat center/cover;
}
.game-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%, rgba(0,0,0,0.4) 100%);
}
.game-hero-overlay-30::before { background: rgba(0,0,0,0.3); }

/* Game page wrap: full-width background, no gaps. */
.game-page-wrap {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.game-page-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0,0,0,0.5);
  pointer-events: none;
}
.game-page-wrap .game-hero { background: none; }
.game-page-wrap .game-hero::before { display: none; }
.game-page-wrap > .game-detail-body { position: relative; z-index: 1; }

/* Game detail header (logo, meta, h1) above the black description box, centered to box width */
.game-detail-left-col .game-detail-header {
  margin-bottom: 1.5rem;
  text-align: center;
}
.game-detail-left-col .game-detail-header .game-hero-logo { max-width: 560px; margin-left: auto; margin-right: auto; }
.game-detail-left-col .game-detail-header .game-meta { font-size: 1.15rem; color: var(--text); font-weight: 600; justify-content: center; }
.game-detail-left-col .game-detail-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 1rem 0; }

.game-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
  padding-top: 5rem;
}
.game-hero-logo { max-width: 280px; height: auto; margin-bottom: 1rem; display: block; }

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.game-meta span { display: flex; align-items: center; gap: 0.35rem; }
.game-meta span::after { content: '·'; margin-left: 0.5rem; color: var(--border); }
.game-meta span:last-child::after { display: none; }

.game-detail-body {
  padding: 5rem 0 3rem;
}
.game-detail-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .game-detail-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .game-detail-grid .game-detail-left-col { grid-column: 1; }
  .game-detail-grid .game-detail-right-col { grid-column: 2; padding-top: var(--right-col-offset, 0px); }
  .game-detail-grid .game-detail-image { position: sticky; top: 6rem; }
}

.game-detail-text-box .hook { font-size: 1.1rem; color: var(--accent); margin-bottom: 1rem; font-style: italic; }

.game-detail-text-box {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.game-detail-text-box .hook { margin-top: 0; }
.game-detail-text-box p { margin: 0 0 0.75rem 0; }
.game-detail-text-box p:last-child { margin-bottom: 0; }

.game-detail-body.coming-soon .reqs { display: none; }

.game-detail-grid .reqs {
  margin-top: 0;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.game-detail-grid .reqs h4 { margin: 0 0 0.75rem 0; font-size: 1rem; }
.game-detail-grid .reqs ul { margin: 0; }
.game-detail-grid .reqs li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  list-style: disc;
  margin-left: 1.25rem;
}

.game-detail-integrations {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.game-detail-integrations h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.integrations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.integration-item .integration-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.integration-item .integration-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.game-detail-grid .game-detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.game-detail-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Game detail right col: video aligned with description, image 3-4 lines below */
.game-detail-right-col .game-detail-media { margin-top: 4.5rem; }
.game-detail-media { display: flex; align-items: center; justify-content: center; }
.game-detail-right-col .game-detail-video { width: 100%; }
.game-detail-video {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.game-detail-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.game-detail-single {
  width: 75%;
  max-width: 75%;
  display: block;
  border: none;
  box-shadow: none;
}
.game-detail-video video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
#game-video { scroll-margin-top: 5rem; }
.game-detail-video .video-facade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.game-detail-video .video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Game detail: mobile / smaller screens */
@media (max-width: 768px) {
  .game-page-wrap {
    background-attachment: scroll;
    background-size: auto 130%;
  }
  .game-detail-body {
    padding: 2.5rem 0 2.5rem;
  }
  .game-detail-left-col .game-detail-header .game-hero-logo {
    max-width: 100%;
  }
  .game-detail-left-col .game-detail-header .game-meta {
    font-size: 1rem;
    justify-content: center;
  }
  .game-detail-right-col .game-detail-media {
    margin-top: 2rem;
  }
  .game-detail-single {
    width: 100%;
    max-width: 100%;
  }
  .game-detail-actions {
    flex-direction: column;
  }
  .game-detail-actions .btn {
    width: 100%;
    min-height: 44px;
  }
  .game-detail-grid .reqs,
  .game-detail-text-box {
    padding: 1rem 1.25rem;
  }
  .game-detail-grid .reqs li {
    font-size: 0.9rem;
  }
  #game-video {
    scroll-margin-top: 4.5rem;
  }
}

/* Game detail: single-column only – ~4 lines gap between Book Now and video, no JS offset (laptop/desktop keep 2-col gap and offset) */
@media (max-width: 767px) {
  .game-detail-grid {
    gap: 2.5rem 0;
  }
  .game-detail-right-col {
    padding-top: 0 !important;
  }
}

/* Coming Soon game detail */
.game-detail.coming-soon .game-detail-actions .btn:first-of-type { display: none; }

/* How it works */
.how-intro {
  margin-bottom: 2.5rem;
  padding: 2rem 0 1.5rem;
  text-align: center;
}
.how-intro h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.875rem 0;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.how-intro p {
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36rem;
  text-align: center;
}

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.step {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.step h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.step h3::before {
  counter-increment: step;
  content: counter(step) '. ';
  color: var(--accent);
}
.step p { margin: 0; color: var(--text-muted); line-height: 1.6; }

.how-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Pricing page: "What's included" list inside .step */
.pricing-included ul {
  list-style: disc;
  margin: 0 0 0 1.25rem;
  padding: 0;
}
.pricing-included li {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.pricing-included li:last-child { margin-bottom: 0; }

/* Pricing page: steps inside faq-group, list in faq-group */
.faq-group .steps { margin-bottom: 0; }
.faq-group .pricing-included { margin-top: 0; }
.faq-group .pricing-included ul { margin: 0 0 0 1.25rem; padding: 0; list-style: disc; }
.faq-group .pricing-included li { margin-bottom: 0.35rem; color: var(--text-muted); line-height: 1.55; }
.faq-group .pricing-included li:last-child { margin-bottom: 0; }

/* FAQ */
.faq-intro {
  margin-bottom: 2rem;
  padding: 2rem 0 1.5rem;
  text-align: center;
}
.faq-intro::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  opacity: 0.8;
}
.faq-intro h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.875rem 0;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.faq-intro p {
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36rem;
  text-align: center;
}

/* Centered FAQ column */
.faq-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .faq-content { padding: 0 1rem; }
}

.faq-group {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.25rem;
  background: rgba(3, 223, 252, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-group h2 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem 0;
  color: var(--accent);
  text-align: center;
}
.faq-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.faq-list { margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding-left: 1rem;
  border-left: 3px solid transparent;
  transition: border-left-color var(--transition);
}
.faq-item.is-open { border-left-color: var(--accent); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 0 1.125rem 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h3 { margin: 0 0 0.5rem 0; }
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* Honeypot: hide from users, bots often fill it */
.contact-form-wrap h3 { margin: 0 0 0.5rem 0; }
.contact-form-wrap > p { margin: 0 0 1rem 0; color: var(--text-muted); }
.contact-error { color: #e74c3c; margin-bottom: 1rem !important; }
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Scroll reveal: sections fade/slide in as they enter the viewport */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* Book iframe embed - height set dynamically via JS when iframe sends postMessage */
.book-embed iframe {
  width: 100%;
  min-height: 800px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  display: block;
  overflow: hidden;
}

/* Legal content (terms, privacy) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.legal-content h1 { font-size: clamp(1.75rem, 4vw, 2rem); margin-bottom: 1rem; }
.legal-content h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.25rem; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Util */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
