/* ============================================================
   SLOTSPICE CASINO - Warm-spice overrides on top of theme3
   Cinnamon + saffron + chili. Sticky scroll-spy nav. Inline link recolour.
   Load order: base.css -> style.css -> theme3.css -> slotspice.css
   ============================================================ */

/* --- Slotspice typography: clean sans body + condensed display --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

body.theme3 {
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
}

body.theme3 h1,
body.theme3 h2,
body.theme3 h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.18;
}

/* --- Warm spice wash on body --- */
body.theme3 {
  background:
    radial-gradient(ellipse at top, rgba(245, 166, 35, 0.10), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(224, 52, 26, 0.05), transparent 60%),
    var(--color-bg);
  background-attachment: fixed;
}

/* --- Header: sticky, warm glass --- */
.site-header--t3 {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}

/* Anchor scroll offset so sticky header does not cover anchored sections */
body.theme3 section[id] {
  scroll-margin-top: 130px;
}

/* --- Nav row: cyan underline on active scroll-spy --- */
.site-header--t3 .nav-main--t3 a {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-text);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.site-header--t3 .nav-main--t3 a:hover,
.site-header--t3 .nav-main--t3 a.active,
.site-header--t3 .nav-main--t3 a.scrollspy-active {
  color: var(--color-accent);
  background: var(--color-nav-hover);
}
.site-header--t3 .nav-main--t3 a.scrollspy-active::after {
  content: '';
  position: absolute;
  left: 14%; right: 14%; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}

/* --- Hero: warm glow + spice-edge bonus card --- */
body.theme3 .hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
body.theme3 .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 166, 35, 0.16), transparent 42%),
    radial-gradient(circle at 80% 75%, rgba(245, 166, 35, 0.10), transparent 45%);
  pointer-events: none;
}
body.theme3 .hero > *:not(.hero__art) { position: relative; z-index: 1; }

body.theme3 .hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: 0.02em;
  font-weight: 700;
}
body.theme3 .hero h1 .brand-name {
  display: block;
  color: var(--color-accent);
  text-shadow: 0 2px 24px rgba(245, 166, 35, 0.35);
}
body.theme3 .hero h1 .brand-type {
  display: block;
  margin-top: 0.6rem;
  color: var(--color-text);
  font-size: 0.45em;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0.9;
  font-family: var(--font-body);
  text-transform: none;
}
body.theme3 .hero__badge {
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: rgba(245, 166, 35, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
body.theme3 .hero__bonus-card {
  border: 1px solid var(--color-accent);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.10), rgba(26, 14, 8, 0.5));
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(245, 166, 35, 0.25),
    0 0 24px rgba(245, 166, 35, 0.08);
}

/* --- Stats bar polish --- */
body.theme3 .stats-bar {
  background: var(--color-surface);
  border-top: 1px solid rgba(245, 166, 35, 0.22);
  border-bottom: 1px solid rgba(245, 166, 35, 0.22);
}
body.theme3 .stat__value {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Content section dividers --- */
body.theme3 .content-section + .content-section {
  border-top: 1px solid var(--color-border);
}

/* --- Inline link colour: never browser blue --- */
body.theme3 main p a,
body.theme3 main li a,
body.theme3 .content-section a:not(.btn) {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.theme3 main p a:hover,
body.theme3 main li a:hover {
  color: var(--color-accent-hover);
}

/* --- Tables in body_html --- */
body.theme3 main table {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
body.theme3 main table thead th {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* --- CTA banner: saffron-edged stripe --- */
.cta-banner--t3 {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.14), rgba(224, 52, 26, 0.05));
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}
.cta-banner--t3 h2 {
  color: var(--color-accent);
}
body.theme3 .cta-banner--alt {
  background: var(--color-surface-alt);
}

/* --- FAQ styling --- */
body.theme3 .faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
body.theme3 .faq-item summary,
body.theme3 .faq-item h3 {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- Games grid tabs --- */
body.theme3 .game-tabs .tab,
body.theme3 .game-tabs button {
  font-family: var(--font-body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.82rem;
}
body.theme3 .game-tab__item,
body.theme3 .game-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
body.theme3 .game-tab__item:hover,
body.theme3 .game-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.12);
}

/* --- Footer warm tone --- */
body.theme3 .site-footer--t3 {
  background: linear-gradient(180deg, var(--color-bg-2), var(--color-bg));
  border-top: 2px solid var(--color-accent);
}
body.theme3 .site-footer--t3 h5 {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
body.theme3 .footer-badge {
  border-color: rgba(127, 212, 232, 0.3);
  background: rgba(245, 166, 35, 0.06);
  color: var(--color-text);
}

/* --- Sticky CTA --- */
.sticky-cta--t3 {
  background: var(--color-sticky-bg);
  border-top: 1px solid var(--color-accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sticky-cta--t3 .sticky-cta__bonus {
  color: var(--color-accent);
}

/* --- Logo: clean Cormorant + saffron S accent --- */
body.theme3 .site-logo--t3 {
  font-family: var(--font-display);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
  font-size: 1.5rem;
}
body.theme3 .site-logo__vegas {
  color: var(--color-text);
}
body.theme3 .site-logo__nova {
  background: var(--color-accent);
  color: var(--color-cta-text);
  padding: 0.05em 0.4em 0.02em;
  border-radius: 4px;
  display: inline-block;
  font-weight: 700;
  margin-left: 0.1em;
}

/* --- Mobile fixes --- */
@media (max-width: 768px) {
  body.theme3 section[id] {
    scroll-margin-top: 90px;
  }
  body.theme3 .hero { padding: 3rem 0 3rem; }
  body.theme3 .hero h1 { font-size: 2.2rem; }
  .site-header--t3 .nav-main--t3 a {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }
}

/* ============================================================
   MOBILE HEADER FIT (<=430px): the sign-up button used to run
   past the right edge and force a horizontal scroll.
   ============================================================ */
@media (max-width: 430px) {
  .site-header--t3 .site-header__actions { gap: 0.35rem; }
  .site-header--t3 .site-header__actions .btn--ghost { display: none; }
  .site-header--t3 .site-header__actions .btn--sm {
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }
  .site-header--t3 .lang-selector__toggle { padding: 0.4rem 0.45rem; }
}

/* ============================================================
   ROUND 3: brand mark, hero art, product imagery, logo rows,
   named game tiles.
   ============================================================ */

/* Logo in the centred header: mark only, no wordmark beside it */
.site-header--t3 .site-logo--t3 {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0;
  line-height: 0;
}
.site-logo__img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.site-footer--t3 .footer-brand .site-logo__img { height: 34px; }
@media (max-width: 768px) { .site-header--t3 .site-logo__img { height: 40px; } }
@media (max-width: 430px) {
  .site-header--t3 .site-logo__img { height: 34px; }
}

/* Hero artwork sits behind the copy, dimmed so text keeps contrast */
.hero--with-art { position: relative; isolation: isolate; }
body.theme3 .hero--with-art .hero__art,
.hero--with-art .hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
}
.hero--with-art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.88) 0%, rgba(8, 10, 16, 0.84) 45%, rgba(8, 10, 16, 0.95) 100%);
  pointer-events: none;
}
.hero--with-art .container { position: relative; }

/* Wide product imagery */
.shot-grid {
  display: grid;
  gap: 1.6rem;
  margin: 1.8rem 0 0;
  align-items: start;
}
.shot-grid--1 { grid-template-columns: minmax(0, 820px); justify-content: center; }
.shot-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shot-card {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--color-border);
}
.shot-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.shot-grid--phone { grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; }
.shot-grid--phone .shot-card { border-radius: 22px; }
@media (max-width: 860px) {
  .shot-grid--2, .shot-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Payment and studio logo rows */
.logo-strip {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.logo-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  min-height: 56px;
}
.logo-strip__item img {
  height: 26px;
  width: auto;
  max-width: 104px;
  object-fit: contain;
  display: block;
}
.logo-strip--sm .logo-strip__item img { height: 22px; max-width: 88px; }
.logo-strip__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.logo-strip__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
@media (max-width: 640px) {
  .logo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .logo-strip__item {
    justify-content: center;
    padding: 0.5rem 0.4rem;
    min-height: 46px;
  }
  .logo-strip__item img { height: 20px; max-width: 100%; }
  .logo-strip__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Named game tiles */
.tile-grid {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.tile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  background: var(--color-surface-2);
}
.tile-card__name {
  padding: 0.7rem 0.8rem 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.tile-card__studio {
  padding: 0 0.8rem 0.8rem;
  font-size: 0.76rem;
  color: var(--color-text-muted);
}
