/* Sierra88 Theme: Black · Green · Gold */
:root {
  --black: rgba(10, 10, 10, 0.75);
  --black-soft: #111111;
  --black-card: #1a1a1a;
  --black-border: #2a2a2a;
  --green: #1a8f4a;
  --green-light: #22b35a;
  --green-dark: #0d5c30;
  --green-glow: rgba(26, 143, 74, 0.35);
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #9a7b1a;
  --gold-glow: rgba(201, 162, 39, 0.3);
  --text: #f0f0f0;
  --text-muted: #9a9a9a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Kanit", sans-serif;
  background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)), url("img/background/photo_2026-05-15_23-20-18.jpg") no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: var(--gold-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  color: var(--black);
  border-color: var(--gold-light);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--gold-glow);
}

.btn--green {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  color: #fff;
  border-color: var(--green-light);
  box-shadow: 0 4px 20px var(--green-glow);
}

.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--green-glow);
}

.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: rgba(201, 162, 39, 0.1);
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(140px, 35vw, 240px);
  max-height: clamp(38px, 10vw, 64px);
  object-fit: contain;
}

.logo__img--footer {
  max-width: clamp(160px, 45vw, 300px);
  max-height: clamp(48px, 12vw, 80px);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .logo__img {
    max-width: clamp(180px, 20vw, 260px);
    max-height: clamp(48px, 6vw, 70px);
  }

  .logo__img--footer {
    max-width: clamp(200px, 25vw, 320px);
    max-height: clamp(56px, 8vw, 90px);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.08);
}

.nav__link--line {
  color: #06c755;
}

.nav__link--line:hover {
  color: #2ee06a;
  background: rgba(6, 199, 85, 0.1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Promo Section: Announce + Slider ===== */
.promo-section {
  background: rgba(10, 10, 10, 0.75);
}

/* Announcement ticker */
.announce-bar {
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-dark));
  border-bottom: 1px solid var(--green-light);
  overflow: hidden;
}

.announce-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px;
}

.announce-bar__icon {
  flex-shrink: 0;
  font-size: 0.85rem;
}

.announce-bar__wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.announce-bar__text {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  color: #fff;
  animation: marquee 28s linear infinite;
  padding-left: 100%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Hero slider */
.hero-slider {
  position: relative;
  padding: 16px 0 36px;
  background: var(--black);
}

.hero-slider__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
}

.hero-slider__viewport.is-dragging {
  cursor: grabbing;
}

.hero-slider__track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* Slide card */
.slide {
  flex-shrink: 0;
  width: var(--slide-w, 88vw);
  opacity: 0.55;
  transform: scale(0.94);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide__inner {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: var(--black-card);
  aspect-ratio: 21 / 9;
}

.slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 36px;
  height: 56px;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(26, 143, 74, 0.5);
  color: var(--gold-light);
}

.slider-arrow--prev {
  left: 4px;
  border-radius: 0 8px 8px 0;
}

.slider-arrow--next {
  right: 4px;
  border-radius: 8px 0 0 8px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 16px;
}

.slider-dot {
  width: 28px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background: #333;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 8px var(--gold-glow);
}

.slider-dot:hover:not(.active) {
  background: var(--green-dark);
}

.promo-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--black-border);
}

/* Desktop: wider slides, peek adjacent */
@media (min-width: 769px) {
  .hero-slider {
    padding: 20px 0 40px;
  }

  .slide {
    --slide-w: min(680px, 72vw);
  }

  .slider-arrow {
    width: 44px;
    height: 64px;
    font-size: 2.4rem;
  }

  .slider-arrow--prev { left: max(8px, calc((100% - 1200px) / 2)); }
  .slider-arrow--next { right: max(8px, calc((100% - 1200px) / 2)); }
}

@media (max-width: 768px) {
  .slide {
    --slide-w: 88vw;
  }

  .slider-arrow--prev { left: 0; }
  .slider-arrow--next { right: 0; }
}

/* ===== Game Hub: Left Sidebar + Content ===== */
.game-hub {
  background: var(--black);
  border-bottom: 1px solid var(--black-border);
}

.game-hub__layout {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 420px;
}

/* Side navigation */
.side-nav {
  flex-shrink: 0;
  width: 88px;
  background: linear-gradient(180deg, #0d1a12 0%, #0a120e 40%, #080808 100%);
  border-right: 1px solid var(--green-dark);
  position: sticky;
  top: 70px;
  align-self: flex-start;
  z-index: 50;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.side-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.side-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 72px;
  padding: 10px 6px;
  border: none;
  border-left: 4px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.side-nav__item:hover:not(.active) {
  background: rgba(26, 143, 74, 0.12);
}

.side-nav__item.active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  border-left-color: #fff;
  color: var(--black);
  border-radius: 12px 0 0 0;
  box-shadow: inset -4px 0 12px rgba(0, 0, 0, 0.15), 4px 4px 15px var(--gold-glow);
  position: relative;
  z-index: 1;
}

.side-nav__icon {
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.side-nav__item.active .side-nav__icon {
  filter: none;
}

.side-nav__label {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.side-nav__item.active .side-nav__label {
  font-weight: 600;
  color: var(--black);
}

/* Main content area */
.game-hub__main {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 20px;
}

.game-panel {
  display: none;
  animation: panelIn 0.3s ease;
}

.game-panel.active {
  display: block;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.game-panel__title {
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-panel__subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: -6px 0 14px;
}

/* Featured inside hub */
.game-hub .featured {
  padding: 0 0 12px;
}

.game-hub .featured__card {
  padding: 16px 18px;
}

.game-hub .featured__card h2 {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
}

/* Game grid in hub - 2 columns mobile */
.game-hub .game-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0;
}

.game-hub .slot-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Desktop sidebar wider */
@media (min-width: 769px) {
  .side-nav {
    width: 118px;
  }

  .side-nav__item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 64px;
    padding: 12px 14px;
  }

  .side-nav__label {
    font-size: 0.82rem;
    text-align: left;
  }

  .side-nav__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .game-hub__main {
    padding: 16px 20px 28px;
  }

  .game-hub .game-grid,
  .game-hub .slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .game-hub .game-grid,
  .game-hub .slot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Featured (global fallback) */
.featured {
  padding: 24px 0;
}

.featured__card {
  position: relative;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--black-card) 0%, #1f2a1a 100%);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.featured__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}

.featured__tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.featured__card h2 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section--alt {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.section__title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__icon {
  font-size: 1.4rem;
}

.section__subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.game-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.game-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
}

.game-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid var(--accent, var(--gold));
  background: var(--black-card);
}

.game-card__name {
  display: block;
  padding: 12px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.game-card:hover .game-card__name {
  color: var(--gold-light);
}

/* Slot grid */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.slot-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.slot-card:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.slot-card__thumb {
  width: 100%;
  height: auto;
  display: block;
  background: var(--black-card);
}

.slot-card span {
  display: block;
  padding: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slot-card:hover span {
  color: var(--green-light);
}

/* Content */
.content-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
  color: var(--text-muted);
  line-height: 1.8;
}

.content-card--baccarat {
  border-left-color: var(--gold);
  margin-top: 32px;
  margin-bottom: 0;
}

.content-card--baccarat h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.promo-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.promo-card__img-wrap {
  width: 100%;
  background: var(--black-card);
}

.promo-card__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.promo-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  border-color: var(--green-dark);
}

.promo-card--featured {
  border-color: var(--gold-dark);
  background: linear-gradient(160deg, #1a1810 0%, var(--black-card) 100%);
  box-shadow: 0 0 40px var(--gold-glow);
}

.promo-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.promo-card__highlight {
  color: var(--green-light);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.promo-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.promo-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Providers */
.providers {
  padding: 40px 0;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  overflow: hidden;
}

.providers__track {
  display: flex;
  gap: 16px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.providers__track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.provider-logo {
  flex-shrink: 0;
  padding: 16px 28px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}

.provider-logo:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Footer CTA */
.footer-cta {
  padding: 56px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 70%),
    var(--black);
  border-top: 2px solid var(--gold-dark);
}

.footer-cta h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 8px;
}

.footer-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.footer-cta img {
  margin: 24px auto 0;
  max-width: 100%;
  display: block;
}

/* Footer */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding: 40px 0 24px;
}

.footer__inner {
  text-align: center;
}

.logo--footer {
  justify-content: center;
  margin-bottom: 16px;
}

.footer__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.footer__terms {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.footer__terms:hover {
  color: var(--gold-light);
}

.footer__copy {
  color: #555;
  font-size: 0.8rem;
}

/* ===== Mobile Sticky Bottom Nav ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;
}

.floating-banner {
  position: absolute;
  bottom: 100%;
  right: 12px;
  margin-bottom: -10px;
  z-index: 10;
  pointer-events: all;
  text-align: right;
  width: auto;
  max-width: 160px; /* Adjust based on image size */
}

.floating-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
  filter: drop-shadow(0 -4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
}

.floating-banner img:active {
  transform: scale(0.96);
}

.bottom-nav__bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 76px;
  padding: 0 6px 10px;
  background: linear-gradient(
    180deg,
    #1a1520 0%,
    #120d14 35%,
    #0a0a0a 70%,
    #050505 100%
  );
  border-radius: 22px 22px 0 0;
  box-shadow:
    0 -6px 28px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: all;
}

/* Top white border with center notch */
.bottom-nav__border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.bottom-nav__border::before,
.bottom-nav__border::after {
  content: "";
  position: absolute;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

.bottom-nav__border::before {
  left: 14px;
  right: calc(50% + 42px);
}

.bottom-nav__border::after {
  left: calc(50% + 42px);
  right: 14px;
}

/* Center notch arc */
.bottom-nav__bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: none;
  border-radius: 88px 88px 0 0;
  background: transparent;
  pointer-events: none;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  padding: 0 2px;
  color: #fff;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav__item:active {
  transform: scale(0.94);
}

.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

.bottom-nav__icon svg {
  width: 100%;
  height: 100%;
}

.bottom-nav__icon--line {
  width: 42px;
  height: 42px;
}

.bottom-nav__label {
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Center raised button */
.bottom-nav__item--center {
  flex: 0 0 76px;
  margin-top: -36px;
  z-index: 2;
  gap: 2px;
}

.bottom-nav__center-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: radial-gradient(
    circle at 35% 28%,
    #3d2a10 0%,
    #1f1508 45%,
    #0d0a06 100%
  );
  box-shadow:
    0 6px 24px rgba(201, 162, 39, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.5),
    inset 0 2px 10px rgba(255, 255, 255, 0.12);
}

.bottom-nav__item--center .bottom-nav__icon--lg {
  width: 48px;
  height: 48px;
}

.bottom-nav__label--center {
  font-size: 0.65rem;
  margin-top: 2px;
}

.bottom-nav__item.active .bottom-nav__label,
.bottom-nav__item--center.active .bottom-nav__label {
  color: var(--gold-light);
}

.bottom-nav__item--center.active .bottom-nav__center-ring {
  box-shadow:
    0 6px 28px rgba(26, 143, 74, 0.5),
    0 0 20px var(--gold-glow),
    inset 0 2px 10px rgba(255, 255, 255, 0.15);
  border-color: var(--gold-light);
}

/* Mobile */
@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }

  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0));
  }

  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
  }

  /* Hide duplicate quick actions on mobile */
  .quick-bar {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--black-soft);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--black-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .btn--outline {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Promotions Page ===== */
.promotions-page {
  padding: 40px 20px 80px;
}

.promotions-page__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-item {
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}

.promo-item:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(26, 143, 74, 0.3);
}

.promo-item__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.promo-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-item__content {
  padding: 16px;
  text-align: center;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-item__content p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.page-link, .page-num {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.page-num.active {
  background: var(--black-border);
  color: #fff;
}

.page-num:hover:not(.active), .page-link:hover:not(.disabled) {
  color: var(--gold-light);
}

.page-link.disabled {
  opacity: 0.5;
  cursor: default;
}


/* ===== Activities Page ===== */
.activities-page {
  padding: 40px 20px 80px;
}

.activities-page__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.activity-item {
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}

.activity-item:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(26, 143, 74, 0.3);
}

.activity-item__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.activity-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-item__content {
  padding: 20px 16px;
  text-align: left;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  flex: 1;
  display: flex;
  align-items: center;
}

.activity-item__content p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}


/* ===== SEO Content ===== */
.seo-content {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.seo-content__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .seo-content__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.seo-content__text {
  flex: 1;
}

.seo-content__text h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.seo-content__text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.seo-content__text p:last-child {
  margin-bottom: 0;
}

.seo-content__image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--green-dark);
}

.seo-content__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Image lightbox (admin-driven banner / promo / activity images) ===== */
.sierra-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 48px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sierra-lightbox--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sierra-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.sierra-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.sierra-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sierra-lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sierra-lightbox__image-link {
  display: block;
  line-height: 0;
}

.sierra-lightbox__image-link--active {
  cursor: pointer;
}

.sierra-lightbox__img {
  max-width: 100%;
  max-height: calc(90vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.sierra-lightbox__caption {
  color: #e8e8e8;
  font-size: 15px;
  text-align: center;
  max-width: 100%;
  line-height: 1.45;
}

img.sierra-lightbox-trigger {
  cursor: zoom-in;
}

/* ===== Activity fullscreen modal + comments ===== */
.sierra-activity-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  background: #0f0f12;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sierra-activity-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sierra-activity-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100vh;
  width: 100%;
}

.sierra-activity-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sierra-activity-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sierra-activity-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 56px 16px 24px;
}

.sierra-activity-modal__image-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.sierra-activity-modal__image-link {
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
}

.sierra-activity-modal__image {
  display: block;
  max-width: 100%;
  max-height: 45vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-sm, 8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.sierra-activity-modal__details {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.sierra-activity-modal__details-title {
    text-align: center;
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.35;
}

.sierra-activity-modal__details-body {
    text-align: center;
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.sierra-activity-modal__form-section {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.sierra-activity-modal__form-title,
.sierra-activity-modal__comments-heading {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f3f4f6;
}

.sierra-activity-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sierra-activity-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sierra-activity-modal__field span {
  font-size: 14px;
  color: #d1d5db;
}

.sierra-activity-modal__field input {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}

.sierra-activity-modal__field input:focus {
  outline: 2px solid var(--purple, #a855f7);
  outline-offset: 1px;
}

.sierra-activity-modal__submit {
  align-self: flex-start;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sierra-activity-modal__submit:hover:not(:disabled) {
  filter: brightness(1.08);
}

.sierra-activity-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sierra-activity-modal__form-error {
  margin: 0;
  font-size: 14px;
  color: #fca5a5;
}

.sierra-activity-modal__comments-section {
  padding-bottom: 24px;
}

.sierra-activity-modal__comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sierra-activity-comment {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.sierra-activity-comment__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.sierra-activity-comment__row:last-child {
  margin-bottom: 0;
}

.sierra-activity-comment__label {
  color: #9ca3af;
  flex: 0 0 auto;
  min-width: 72px;
}

.sierra-activity-comment__value {
  color: #f3f4f6;
  flex: 1 1 auto;
  word-break: break-word;
}

.sierra-activity-modal__comments-loading,
.sierra-activity-modal__comments-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding: 12px 0;
}

.sierra-activity-modal__comments-sentinel {
  height: 1px;
}

img.activity-item__img {
  cursor: pointer;
}
