/* ==========================================================================
   Instant Gamers - Homepage "Modern Casino" Theme
   Scoped entirely under body.home so all other pages keep their styling.
   ========================================================================== */

/* --- Theme Tokens (homepage scope) --- */
.home {
  --gold: #f7c948;
  --gold-bright: #ffdf8e;
  --gold-deep: #e0a52e;
  --gold-ink: #241a02;
  --gold-soft: rgba(247, 201, 72, 0.14);
  --gold-border: rgba(247, 201, 72, 0.45);
  --ink-900: #050a14;
  --ink-850: #060c19;
  --ink-800: #0a1428;
  --ink-750: #0d1a33;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --txt: #f2f6fd;
  --txt-muted: #9fb0c9;
  --txt-dim: #7d90ad;
  --online: #22c55e;
  --font-display: 'Sora', 'Inter', -apple-system, sans-serif;
}

body.home {
  background-color: var(--ink-900);
  color: var(--txt);
}

.home ::selection {
  background: rgba(247, 201, 72, 0.35);
  color: #ffffff;
}

.home h1, .home h2, .home h3 {
  font-family: var(--font-display);
}

.gold-text {
  background: linear-gradient(100deg, #ffe9a3 0%, #f7c948 45%, #e0a52e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 14px rgba(247, 201, 72, 0.22));
}

/* ==========================================================================
   Promo Announcement Bar
   ========================================================================== */
.promo-bar {
  background: linear-gradient(90deg, #e8b62c 0%, #ffdf8e 30%, #f7c948 55%, #e8b62c 100%);
  color: var(--gold-ink);
  font-size: 13px;
  overflow: hidden;
}

.promo-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

.promo-bar p {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.promo-bar p b {
  font-weight: 800;
}

.promo-spark {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--gold-ink);
  transform: rotate(45deg);
  border-radius: 2px;
  animation: sparkPulse 2.4s ease-in-out infinite;
}

@keyframes sparkPulse {
  0%, 100% { opacity: 1; transform: rotate(45deg) scale(1); }
  50% { opacity: 0.45; transform: rotate(45deg) scale(0.8); }
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-ink);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.promo-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 14, 0, 0.35);
}

/* ==========================================================================
   Header / Drawer (Light high-contrast styling)
   ========================================================================== */
.home .site-header {
  background-color: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.home .site-header.scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12);
}

.home .desktop-nav a {
  color: #1e293b;
  font-weight: 600;
}

.home .desktop-nav a:hover,
.home .desktop-nav a.active {
  color: #0284c7;
}

.home .desktop-nav a.active::after {
  background: #0284c7;
  height: 2px;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

.home .menu-toggle {
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.home .menu-toggle:hover {
  background-color: rgba(15, 23, 42, 0.05);
}

.home .mobile-drawer-backdrop {
  background: rgba(2, 5, 12, 0.72);
}

.home .mobile-drawer {
  background: var(--ink-800);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.55);
}

.home .drawer-header {
  border-bottom: 1px solid var(--line);
}

.home .drawer-close {
  color: var(--txt-muted);
}

.home .drawer-nav a {
  color: #e6edf8;
  border-bottom: 1px solid var(--line-soft);
}

.home .drawer-nav a:hover,
.home .drawer-nav a.active {
  color: var(--gold);
}

.home .drawer-footer {
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Buttons (casino variants, homepage scope)
   ========================================================================== */
.home .btn-gold,
.home .btn-primary {
  position: relative;
  background: linear-gradient(135deg, #ffe08a 0%, #f7c948 42%, #e2a313 100%);
  color: var(--gold-ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(247, 201, 72, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.home .btn-gold::after,
.home .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.home .btn-gold:hover,
.home .btn-primary:hover {
  background: linear-gradient(135deg, #ffe9a3 0%, #ffd76a 42%, #eab021 100%);
  box-shadow: 0 12px 32px rgba(247, 201, 72, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.home .btn-gold:hover::after,
.home .btn-primary:hover::after {
  left: 130%;
}

.home .btn-gold-outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  box-shadow: none;
}

.home .btn-gold-outline:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: #ffe9a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247, 201, 72, 0.16);
}

.home .btn-glass,
.home .btn-outline-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.home .btn-glass:hover,
.home .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-image:
    linear-gradient(to right,
      rgba(4, 8, 18, 0.97) 0%,
      rgba(4, 8, 18, 0.93) 40%,
      rgba(4, 8, 18, 0.62) 72%,
      rgba(4, 8, 18, 0.42) 100%),
    url('../assets/hero/hero-section-image.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 0 94px;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(247, 201, 72, 0.10), transparent 60%),
    radial-gradient(800px 460px at 95% 90%, rgba(46, 140, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.55) 0%, transparent 26%, rgba(3, 6, 14, 0.7) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-gold {
  width: 460px;
  height: 460px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.32), transparent 70%);
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.hero-glow-blue {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(46, 140, 255, 0.3), transparent 70%);
  animation: glowDrift 11s ease-in-out infinite alternate-reverse;
}

@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 26px, 0) scale(1.12); }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 660px;
  position: relative;
  z-index: 2;
}

.hero-content > * {
  animation: heroRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > .hero-eyebrow-chip { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.14s; }
.hero-content > p { animation-delay: 0.22s; }
.hero-content > .hero-actions { animation-delay: 0.3s; }
.hero-content > .hero-stats { animation-delay: 0.38s; }
.hero-content > .hero-benefits { animation-delay: 0.46s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(247, 201, 72, 0.09);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(247, 201, 72, 0.55);
  animation: chipPing 2s ease-out infinite;
}

@keyframes chipPing {
  0% { box-shadow: 0 0 0 0 rgba(247, 201, 72, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(247, 201, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 201, 72, 0); }
}

.hero-content h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.hero-content p {
  font-size: 17px;
  line-height: 1.65;
  color: #dbe6f5;
  max-width: 570px;
  margin-bottom: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Hero Stats Strip */
.hero-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-unit {
  font-size: 15px;
  font-weight: 700;
  margin-left: 3px;
  opacity: 0.85;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-muted);
}

/* Hero Trust Benefits */
.hero-benefits {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #d7e2f2;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Floating Game Chips */
.hero-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-chip {
  position: absolute;
  padding: 10px;
  border-radius: 20px;
  background: rgba(8, 16, 34, 0.72);
  border: 1px solid rgba(247, 201, 72, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: floatDrift 6s ease-in-out infinite alternate;
}

.float-chip.is-light-bg {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(247, 201, 72, 0.45);
}

.float-chip img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.fc-1 { width: 108px; top: 14%; right: 7%; animation-duration: 6.5s; }
.fc-2 { width: 86px;  top: 46%; right: 21%; animation-duration: 7.5s; animation-delay: 0.6s; }
.fc-3 { width: 92px;  top: 7%;  right: 27%; animation-duration: 8s;   animation-delay: 1.1s; }
.fc-4 { width: 78px;  top: 62%; right: 5%;  animation-duration: 7s;   animation-delay: 0.3s; }
.fc-5 { width: 88px;  top: 74%; right: 30%; animation-duration: 8.5s; animation-delay: 1.5s; }

@keyframes floatDrift {
  from { transform: translateY(-10px); }
  to { transform: translateY(14px); }
}

/* ==========================================================================
   Section Headings (dark overrides)
   ========================================================================== */
.home .page-section {
  padding: 84px 0;
  position: relative;
}

.home .page-section.alt-bg {
  background:
    radial-gradient(1000px 340px at 50% 0%, rgba(247, 201, 72, 0.045), transparent 70%),
    linear-gradient(180deg, #071021 0%, #081426 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.home .section-eyebrow {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.home .section-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  transform: rotate(45deg);
  border-radius: 1.5px;
  box-shadow: 0 0 10px rgba(247, 201, 72, 0.5);
}

.home .section-title {
  color: #ffffff;
}

.home .section-desc {
  color: var(--txt-muted);
}

.section-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Offers Carousel (dark)
   ========================================================================== */
.offers-carousel-section {
  position: relative;
  background:
    radial-gradient(800px 260px at 85% 0%, rgba(247, 201, 72, 0.05), transparent 65%),
    var(--ink-850);
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.offers-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2.5%, black 97.5%, transparent);
}

.offers-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.offers-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: continuousOffersMarquee 30s linear infinite;
}

.offers-carousel-viewport:hover .offers-carousel-track,
.offers-carousel-viewport:focus-within .offers-carousel-track {
  animation-play-state: paused;
}

.offers-carousel-set {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  flex-shrink: 0;
}

.offers-carousel-item {
  flex: 0 0 calc((min(1320px, calc(100vw - 48px)) - 66px) / 4);
  width: calc((min(1320px, calc(100vw - 48px)) - 66px) / 4);
  max-width: 310px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--ink-800);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
  position: relative;
}

.offers-carousel-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), 0 0 24px rgba(247, 201, 72, 0.18);
  border-color: var(--gold-border);
}

.offers-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Continuous right-to-left marquee loop */
@keyframes continuousOffersMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Staggered entrance when offers render */
.offers-carousel-item {
  animation: offerCardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(1) { animation-delay: 0.05s; }
.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(2) { animation-delay: 0.15s; }
.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(3) { animation-delay: 0.25s; }
.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(4) { animation-delay: 0.35s; }
.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(5) { animation-delay: 0.45s; }
.offers-carousel-set:nth-child(1) .offers-carousel-item:nth-child(n+6) { animation-delay: 0.55s; }

@keyframes offerCardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Trending Spotlight Carousel (Play-Games style) + Game Grid (dark cards)
   ========================================================================== */
.trending-carousel {
  position: relative;
}

.trending-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.trending-track::-webkit-scrollbar {
  display: none;
}

.spotlight-card {
  flex: 0 0 clamp(320px, 44vw, 555px);
  scroll-snap-align: start;
  background: linear-gradient(165deg, var(--ink-750) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.spotlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 22px rgba(247, 201, 72, 0.12);
}

.spotlight-media-link {
  display: block;
}

.spotlight-media {
  position: relative;
  display: block;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.spotlight-card:hover .spotlight-media img {
  transform: scale(1.05);
}

.spotlight-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0) 32%, rgba(4, 8, 18, 0.55) 68%, rgba(4, 8, 18, 0.92) 100%);
  pointer-events: none;
}

.spotlight-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(4, 8, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.spotlight-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
}

.spotlight-title {
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.spotlight-sub {
  font-size: 13px;
  color: #d7e2f2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.spotlight-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.spotlight-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  border: 1px solid var(--gold-border);
  object-fit: contain;
  object-position: center;
  background: #081a35;
  padding: 2px;
}

.spotlight-icon.is-light-bg {
  background: #ffffff;
}

.spotlight-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spotlight-meta b {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-meta span {
  font-size: 12px;
  color: var(--txt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.trending-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.trending-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-50%) scale(1.06);
}

.trending-arrow.prev {
  left: -12px;
}

.trending-arrow.next {
  right: -12px;
}

.trending-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.home .game-card {
  background: linear-gradient(165deg, var(--ink-750) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.home .game-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 22px rgba(247, 201, 72, 0.12);
}

.home .game-card:hover .btn-gold {
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(247, 201, 72, 0.4);
}

.home .game-card-media {
  background: #04070f;
}

.home .game-card-media.is-light-bg {
  background: #ffffff;
}

.home .game-card-badge {
  background: rgba(247, 201, 72, 0.16);
  border: 1px solid rgba(247, 201, 72, 0.4);
  color: var(--gold-bright);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.home .game-category {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}

.home .game-title {
  color: #ffffff;
}

.home .status-indicator {
  color: #8fa3bf;
}

.home .status-dot {
  background-color: var(--online);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: statusPulse 2.2s ease-out infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Library toolbar, search, filter chips (dark) */
.home .library-toolbar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.home .search-box input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.home .search-box input::placeholder {
  color: var(--txt-dim);
}

.home .search-box input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.14);
}

.home .search-icon {
  color: var(--txt-dim);
}

.home .filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--txt-muted);
}

.home .filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}

.home .filter-chip.active {
  background: linear-gradient(135deg, #ffe08a 0%, #f7c948 55%, #e2a313 100%);
  border-color: transparent;
  color: var(--gold-ink);
  box-shadow: 0 6px 18px rgba(247, 201, 72, 0.3);
}

/* Empty state (rendered by js/home.js) */
.games-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--txt-muted);
}

.games-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.games-empty p {
  font-size: 14px;
}

/* ==========================================================================
   How It Works (dark)
   ========================================================================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.home .step-card {
  display: flex;
  gap: 18px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--ink-750) 0%, var(--ink-800) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.home .step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.home .step-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
}

.home .step-card:hover::after {
  opacity: 1;
}

.home .step-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe08a 0%, #f7c948 45%, #e2a313 100%);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(247, 201, 72, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home .step-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.home .step-info p {
  font-size: 13.5px;
  color: var(--txt-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Why Choose Us (dark)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.home .why-card {
  background: linear-gradient(165deg, var(--ink-750) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.home .why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 22px rgba(247, 201, 72, 0.1);
  border-color: var(--gold-border);
}

.home .why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.2), rgba(247, 201, 72, 0.06));
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(247, 201, 72, 0.14);
}

.home .why-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.home .why-card p {
  font-size: 13.5px;
  color: var(--txt-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Support Packages (gradient cards)
   ========================================================================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.offer-card {
  min-height: 236px;
  padding: 34px 30px;
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.offer-card::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.24);
}

.offer-card.blue-gradient {
  background: linear-gradient(135deg, #0c63d8 0%, #06306e 100%);
}

.offer-card.navy-gradient {
  background: linear-gradient(135deg, #0a1e3f 0%, #123c7a 100%);
}

.offer-card.cyan-gradient {
  background: linear-gradient(135deg, #084c7c 0%, #0e8ad1 100%);
}

.offer-card.gold-gradient {
  background: linear-gradient(135deg, #ffe08a 0%, #f2b93b 55%, #d99a14 100%);
  color: var(--gold-ink);
  border-color: rgba(255, 255, 255, 0.35);
}

.offer-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.offer-card.gold-gradient .offer-tag {
  color: rgba(36, 26, 2, 0.72);
}

.offer-card h3 {
  font-size: 25px;
  font-weight: 800;
  margin: 30px 0 10px;
  line-height: 1.2;
  color: #ffffff;
}

.offer-card.gold-gradient h3 {
  color: var(--gold-ink);
}

.offer-card p {
  font-size: 13.5px;
  color: #dbe6f5;
  line-height: 1.6;
  margin-bottom: 22px;
}

.offer-card.gold-gradient p {
  color: rgba(36, 26, 2, 0.82);
}

.offer-card a {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright);
  transition: gap var(--transition-fast);
}

.offer-card.gold-gradient a {
  color: var(--gold-ink);
}

.offer-card a:hover {
  gap: 10px;
}

/* ==========================================================================
   Live Support CTA (dark glow panel)
   ========================================================================== */
.support-cta-section {
  position: relative;
  background:
    radial-gradient(820px 320px at 15% 0%, rgba(247, 201, 72, 0.12), transparent 62%),
    radial-gradient(760px 340px at 92% 100%, rgba(46, 140, 255, 0.14), transparent 62%),
    var(--ink-850);
  color: #ffffff;
  padding: 92px 0;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.12;
}

.cta-content p {
  color: var(--txt-muted);
  font-size: 15.5px;
  max-width: 600px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer (dark overrides)
   ========================================================================== */
.home .site-footer {
  background-color: #04080f;
  border-top: 1px solid var(--line-soft);
  padding: 76px 0 28px;
}

.home .footer-brand p {
  color: #8fa2be;
}

.home .footer-links h4 {
  color: var(--gold);
}

.home .footer-links a {
  color: #93a5c0;
}

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

.home .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #6d80a0;
}

.home .responsible-tag span {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1150px) {
  .hero-floaters {
    display: none;
  }

  .offers-carousel-item {
    flex: 0 0 calc((100vw - 48px - 40px) / 3);
    width: calc((100vw - 48px - 40px) / 3);
    max-width: 280px;
  }
}

@media (max-width: 1050px) {
  .hero-section {
    background-image:
      linear-gradient(to right,
        rgba(4, 8, 18, 0.96) 0%,
        rgba(4, 8, 18, 0.9) 55%,
        rgba(4, 8, 18, 0.66) 100%),
      url('../assets/hero/hero-section-image.png');
    padding: 66px 0 78px;
    min-height: auto;
  }

  .hero-content {
    max-width: 600px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .spotlight-card {
    flex-basis: min(78vw, 440px);
  }

  .trending-arrow {
    width: 40px;
    height: 40px;
  }

  .trending-arrow.prev {
    left: -6px;
  }

  .trending-arrow.next {
    right: -6px;
  }
}

@media (max-width: 800px) {
  .hero-section {
    background-image:
      linear-gradient(to bottom,
        rgba(4, 8, 18, 0.95) 0%,
        rgba(4, 8, 18, 0.9) 70%,
        rgba(4, 8, 18, 0.8) 100%),
      url('../assets/hero/hero-section-image.png');
    background-position: center center;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .promo-bar-inner {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .offers-carousel-section {
    padding: 26px 0;
  }

  .offers-carousel-set {
    gap: 14px;
    padding-right: 14px;
  }

  .offers-carousel-item {
    flex: 0 0 calc((100vw - 32px - 14px) / 2);
    width: calc((100vw - 32px - 14px) / 2);
    max-width: 240px;
    border-radius: 14px;
  }

  .offers-carousel-img {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .spotlight-card {
    flex-basis: 86vw;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding: 56px 0 66px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .hero-benefits {
    gap: 10px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-bar-inner {
    font-size: 12px;
  }
}

@media (max-width: 440px) {
  .offers-carousel-item {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: 290px;
  }

  .promo-cta {
    display: none;
  }
}
