/* ============================================================
   Black Lounge Casino - "Royal FX" Premium Layer
   Additive Visual-Upgrade Ebene.
   Wird NACH style.css / games.css / admin.css geladen und
   veredelt die bestehenden Komponenten ohne Layout-Bruch.
   ============================================================ */

@property --fx-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --fx-gold-ring: conic-gradient(from var(--fx-angle),
      rgba(212, 175, 55, 0) 0deg,
      rgba(212, 175, 55, 0.15) 60deg,
      #fef0b3 110deg,
      #d4af37 140deg,
      rgba(212, 175, 55, 0.15) 190deg,
      rgba(212, 175, 55, 0) 300deg,
      rgba(212, 175, 55, 0) 360deg);
  --fx-glass: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(0, 0, 0, 0.12) 100%);
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-emerald: #10b981;
  --fx-ember: #f97316;
}

@keyframes fxSpinAngle {
  to { --fx-angle: 360deg; }
}

/* ============================================================
   01 · AMBIENT BACKGROUND (Aurora, Gold-Dust, Vignette)
   ============================================================ */
.fx-ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.fx-aurora {
  position: absolute;
  border-radius: 50%;
  /* 90px Blur auf halbbildschirmgroßen Layern war der teuerste Paint der
     Seite. 56px sieht bei diesen weichen Radial-Gradients praktisch
     identisch aus, kostet aber einen Bruchteil. */
  filter: blur(56px);
  opacity: 0.5;
  will-change: transform;
  transform: translateZ(0);
  contain: strict;
}

.fx-aurora-1 {
  width: 46vw;
  height: 46vw;
  top: -16vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.30) 0%, transparent 68%);
  animation: fxAuroraA 26s ease-in-out infinite;
}

.fx-aurora-2 {
  width: 40vw;
  height: 40vw;
  top: 12vh;
  right: -12vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.20) 0%, transparent 68%);
  animation: fxAuroraB 32s ease-in-out infinite;
}

.fx-aurora-3 {
  width: 52vw;
  height: 52vw;
  bottom: -22vw;
  left: 22vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  animation: fxAuroraC 38s ease-in-out infinite;
}

/* Nur noch translate3d: Ein skalierter Blur-Layer muss in jedem Frame neu
   gerastert werden, ein verschobener wird vom Compositor nur versetzt. */
@keyframes fxAuroraA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(7vw, 6vh, 0); }
}
@keyframes fxAuroraB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-8vw, 10vh, 0); }
}
@keyframes fxAuroraC {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(6vw, -8vh, 0); }
}

/* Feines Luxus-Raster über dem Hintergrund */
.fx-ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.8;
}

#fxDustCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
}

.fx-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 85% at 50% 42%, transparent 42%, rgba(2, 3, 5, 0.6) 100%);
}

/* ============================================================
   02 · HEADER / NAVIGATION
   ============================================================ */
.site-header {
  background: linear-gradient(180deg, rgba(9, 10, 15, 0.985) 0%, rgba(7, 8, 12, 0.97) 100%);
  transition: box-shadow 0.35s var(--fx-ease), background 0.35s var(--fx-ease), border-color 0.35s var(--fx-ease);
}

/* Laufender Gold-Lichtstrahl an der Header-Unterkante */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0) 15%, #fef0b3 50%, rgba(212, 175, 55, 0) 85%, transparent 100%);
  opacity: 0.85;
  animation: fxHeaderBeam 7s ease-in-out infinite;
}

@keyframes fxHeaderBeam {
  0%, 100% { transform: translateX(-35%); opacity: 0.25; }
  50%      { transform: translateX(35%); opacity: 0.9; }
}

.site-header.fx-scrolled {
  background: rgba(6, 7, 10, 0.97);
  border-bottom-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 60px rgba(212, 175, 55, 0.08);
}

/* Logo mit rotierendem Gold-Halo */
.brand-link {
  position: relative;
}

.brand-logo-img {
  position: relative;
  z-index: 2;
}

.brand-link::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  border-radius: 50%;
  background: var(--fx-gold-ring);
  /* Statt des Conic-Winkels (--fx-angle) wird der fertige Gradient gedreht.
     Ein animierter Conic-Gradient muss pro Frame neu gemalt werden - und
     invalidiert hier zusätzlich den backdrop-filter des Headers. */
  will-change: transform;
  animation: fxRotate 5s linear infinite;
  opacity: 0.85;
  z-index: 1;
}

.brand-title {
  background-size: 220% auto;
  animation: fxGoldFlow 6s linear infinite;
}

@keyframes fxGoldFlow {
  to { background-position: 220% center; }
}

/* Navigation: Unterstrich-Glow */
.nav-item a {
  position: relative;
  overflow: hidden;
}

.nav-item a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  transition: left 0.3s var(--fx-ease), right 0.3s var(--fx-ease);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  left: 16%;
  right: 16%;
}

.nav-item a.active {
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15), inset 0 0 18px rgba(212, 175, 55, 0.1);
}

/* Guthaben-Pille: Glanz + Gewinn-Impuls */
.balance-pill {
  position: relative;
  overflow: hidden;
}

.balance-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  will-change: transform;
  --fx-sheen-travel: 456%;
  animation: fxSheen 5.5s ease-in-out infinite;
}

/* Früher wurde "left" animiert - das löst in JEDEM Frame Layout + Paint des
   Elternelements aus (hier mitten im sticky Header). translate3d läuft rein
   auf dem Compositor. Die Distanz wird pro Element über --fx-sheen-travel
   gesetzt, weil sie relativ zur eigenen Breite zählt. */
@keyframes fxSheen {
  0%, 72%  { transform: translate3d(0, 0, 0) skewX(var(--fx-sheen-skew, -18deg)); }
  100%     { transform: translate3d(var(--fx-sheen-travel, 456%), 0, 0) skewX(var(--fx-sheen-skew, -18deg)); }
}

.balance-amount {
  font-variant-numeric: tabular-nums;
}

.balance-pill.fx-balance-up {
  animation: fxBalancePop 0.75s var(--fx-ease);
}

.balance-pill.fx-balance-up .balance-amount {
  color: #6ee7b7;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.75);
}

.balance-pill.fx-balance-down .balance-amount {
  color: #fca5a5;
}

@keyframes fxBalancePop {
  0%   { transform: scale(1); }
  38%  { transform: scale(1.09); box-shadow: 0 0 28px rgba(16, 185, 129, 0.5); }
  100% { transform: scale(1); }
}

.spins-pill strong {
  font-variant-numeric: tabular-nums;
}

/* Freispiel-Stern pulsiert dezent, damit neue Spins auffallen */
.spins-pill .icon {
  animation: fxSpinsPulse 3.4s ease-in-out infinite;
}

@keyframes fxSpinsPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.14); opacity: 1; }
}

/* Profil-Dropdown */
.user-menu-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 22px;
  width: 10px;
  height: 10px;
  background: rgba(19, 22, 31, 0.99);
  border-left: 1px solid var(--gold-border);
  border-top: 1px solid var(--gold-border);
  transform: rotate(45deg);
}

/* Ticker etwas edler */
.vip-live-ticker-wrap {
  background: linear-gradient(90deg, rgba(10, 12, 18, 0.98), rgba(14, 16, 24, 0.94), rgba(10, 12, 18, 0.98));
}

.ticker-badge {
  position: relative;
  overflow: hidden;
}

.ticker-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: fxTickerShine 3.6s ease-in-out infinite;
}

@keyframes fxTickerShine {
  0%, 60% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

/* ============================================================
   03 · BUTTONS (Gloss-Sweep, Ripple, Tiefe)
   ============================================================ */
.btn,
.btn-spin-action,
.btn-bet-pill,
.btn-slot-toggle,
.bj-action-btn,
.casino-chip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before,
.btn-spin-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--fx-ease);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before,
.btn-spin-action:hover:not(:disabled)::before {
  left: 135%;
}

.btn:active,
.btn-spin-action:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.btn-gold {
  background-size: 180% auto;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold:hover {
  background-position: right center;
}

/* Klick-Ripple (von fx.js erzeugt) */
.fx-ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: fxRipple 0.65s ease-out forwards;
  z-index: 2;
}

@keyframes fxRipple {
  to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* ============================================================
   04 · HERO
   ============================================================ */
.hero-banner {
  background:
    radial-gradient(circle at 78% 42%, rgba(212, 175, 55, 0.16) 0%, transparent 58%),
    radial-gradient(circle at 12% 88%, rgba(249, 115, 22, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, rgba(20, 23, 33, 0.95) 0%, rgba(7, 8, 12, 0.99) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 70px rgba(0, 0, 0, 0.75), 0 0 80px rgba(212, 175, 55, 0.06);
}

/* Gold-Rahmen. Der Conic-Winkel wurde früher dauerhaft animiert, was den
   maskierten Rahmen in voller Hero-Größe pro Frame neu malt. Jetzt rotiert
   er nur beim Hover über den Hero. */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--fx-gold-ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.hero-banner:hover::before {
  animation: fxSpinAngle 9s linear infinite;
}

/* Diagonaler Lichtstreifen über dem Hero */
.hero-banner::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.035) 0%, transparent 50%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px);
}

.hero-tag {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.hero-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 179, 0.4), transparent);
  transform: skewX(-18deg);
  will-change: transform;
  --fx-sheen-travel: 410%;
  animation: fxSheen 4.5s ease-in-out infinite;
}

.hero-title .gold-text {
  background: linear-gradient(110deg, #8c6a18 0%, #e5be49 28%, #fffbe8 48%, #e5be49 68%, #8c6a18 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxGoldFlow 5.5s linear infinite;
  filter: drop-shadow(0 6px 22px rgba(212, 175, 55, 0.25));
}

.hero-trust-strip > div {
  position: relative;
  padding-left: 14px;
}

.hero-trust-strip > div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-primary), transparent);
}

/* Logo-Ring: doppelt rotierende Halos */
.hero-logo-ring::before,
.hero-logo-ring::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-ring::before {
  background: var(--fx-gold-ring);
  animation: fxRotate 8s linear infinite;
  will-change: transform;
  opacity: 0.75;
  filter: blur(1px);
}

.hero-logo-ring::after {
  inset: -30px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  animation: fxRotate 24s linear infinite reverse;
}

@keyframes fxRotate {
  to { transform: rotate(360deg); }
}

.hero-logo-glow {
  position: relative;
  z-index: 2;
}

/* Schwebende Casino-Chips im Hero */
.fx-hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.fx-float-chip {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.72rem;
  color: #fff;
  border: 3px dashed rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  opacity: 0.5;
  animation: fxFloatChip 11s ease-in-out infinite;
}

.fx-float-chip.c-a { background: #b91c1c; top: 7%;  left: 2.5%;  animation-delay: -1s; }
.fx-float-chip.c-b { background: #0f766e; bottom: 9%; left: 1.5%; animation-delay: -4s; }
.fx-float-chip.c-c { background: linear-gradient(135deg, #fff3c4, #a1771b); color: #140f02; top: 9%; right: 4%; animation-delay: -7s; }
.fx-float-chip.c-d { background: #1e293b; color: var(--gold-light); bottom: 8%; right: 2.5%; animation-delay: -2.5s; }

@keyframes fxFloatChip {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-26px) rotate(12deg); }
}

/* Jackpot-Anzeige */
.fx-jackpot-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: -24px 0 40px;
  padding: 16px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 17, 6, 0.95) 0%, rgba(10, 11, 16, 0.97) 55%, rgba(21, 12, 4, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 240, 179, 0.14), 0 18px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.fx-jackpot-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 179, 0.16), transparent);
  transform: skewX(-20deg);
  will-change: transform;
  --fx-sheen-skew: -20deg;
  --fx-sheen-travel: 512%;
  animation: fxSheen 6s ease-in-out infinite;
}

.fx-jackpot-label {
  font-family: var(--font-serif);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 2px;
}

.fx-jackpot-value {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, #a1771b 0%, #e5be49 30%, #fffbe8 50%, #e5be49 70%, #a1771b 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxGoldFlow 4s linear infinite;
  line-height: 1.1;
}

.fx-jackpot-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fx-jackpot-chip {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.fx-jackpot-chip strong { color: #fff; }

.fx-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-emerald);
  margin-right: 7px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: fxLivePulse 2s infinite;
}

@keyframes fxLivePulse {
  70%  { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================================
   05 · LOBBY GAME CARDS (3D-Tilt, Spotlight, Glow-Rahmen)
   ============================================================ */
.section-title.gold-heading {
  position: relative;
  display: inline-block;
}

.section-title.gold-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.games-grid {
  perspective: 1400px;
}

.game-card {
  transform-style: preserve-3d;
  transition: transform 0.45s var(--fx-ease), box-shadow 0.45s var(--fx-ease), border-color 0.35s var(--fx-ease);
}

.game-card.fx-tilting {
  transition: transform 0.12s linear, box-shadow 0.35s var(--fx-ease), border-color 0.35s var(--fx-ease);
  transform: perspective(1400px) rotateX(var(--fx-rx, 0deg)) rotateY(var(--fx-ry, 0deg)) translateY(-8px) scale(1.015);
}

.game-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 26px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.16);
}

/* Cursor-Spotlight */
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--fx-ease);
  background: radial-gradient(420px circle at var(--fx-mx, 50%) var(--fx-my, 50%), rgba(255, 240, 179, 0.13), transparent 62%);
}

.game-card:hover::before { opacity: 1; }

/* Glanz-Sweep über die Vorschau */
.game-card-preview::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 55%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(14deg);
  transition: transform 0.8s var(--fx-ease);
  pointer-events: none;
  z-index: 3;
}

.game-card:hover .game-card-preview::after { transform: translate3d(364%, 0, 0) rotate(14deg); }

/* Lichtschein am unteren Vorschaurand */
.game-card-preview::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.85), transparent);
  opacity: 0.45;
  transition: opacity 0.35s var(--fx-ease);
  z-index: 4;
}

.game-card:hover .game-card-preview::before { opacity: 1; }

.game-card-badge {
  animation: fxBadgeFloat 3.4s ease-in-out infinite;
}

@keyframes fxBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.game-card-title {
  transition: letter-spacing 0.35s var(--fx-ease);
}

.game-card:hover .game-card-title { letter-spacing: 0.055em; }

.game-tag {
  transition: var(--transition);
}

.game-card:hover .game-tag {
  border-color: rgba(212, 175, 55, 0.3);
  color: #e2e8f0;
}

/* Mini-Vorschauen: Leben einhauchen */
.game-card:hover .mini-wheel-ring {
  animation: fxRotate 6s linear infinite;
}

.game-card:hover .mini-slot-tile:nth-child(1) { animation: fxTileBump 0.9s var(--fx-ease) infinite; }
.game-card:hover .mini-slot-tile:nth-child(2) { animation: fxTileBump 0.9s var(--fx-ease) 0.12s infinite; }
.game-card:hover .mini-slot-tile:nth-child(3) { animation: fxTileBump 0.9s var(--fx-ease) 0.24s infinite; }

@keyframes fxTileBump {
  0%, 100% { transform: translateY(0); }
  45%      { transform: translateY(-7px); }
}

.game-card:hover .mini-road-lane.active { animation: fxLaneGlow 1.4s ease-in-out infinite; }

@keyframes fxLaneGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.45); }
  50%      { box-shadow: 0 0 28px rgba(245, 158, 11, 0.85); }
}

.game-card:hover .mini-bj-card.rotated { transform: rotate(16deg) translateY(-4px); }
.mini-bj-card { transition: transform 0.4s var(--fx-ease); }

/* VIP Feature Cards */
.vip-panel-section {
  position: relative;
  overflow: hidden;
}

.vip-panel-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 70%;
  height: 160%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.07), transparent 65%);
  pointer-events: none;
}

.vip-feature-card {
  position: relative;
  overflow: hidden;
  background: var(--fx-glass);
  backdrop-filter: blur(6px);
}

.vip-feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--fx-ease);
}

.vip-feature-card:hover::after { transform: scaleX(1); }

/* ============================================================
   06 · SCROLL-REVEAL
   Der versteckte Startzustand hängt an .fx-ready (per Inline-Skript
   gesetzt und nach 4s wieder entfernt). Ohne JavaScript oder bei
   einem Skriptfehler bleibt der Inhalt dadurch immer sichtbar.
   ============================================================ */
[data-fx-reveal] {
  transition: opacity 0.7s var(--fx-ease), transform 0.7s var(--fx-ease);
  will-change: opacity, transform;
}

.fx-ready [data-fx-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

[data-fx-reveal].fx-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   07 · GAME STAGE (gemeinsame Spiel-Hülle)
   ============================================================ */
.game-header-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(19, 22, 32, 0.92) 0%, rgba(9, 11, 16, 0.96) 100%);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 36px rgba(0, 0, 0, 0.55);
}

.game-header-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fef0b3, var(--gold-primary), #8c6a18);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.6);
}

.game-header-bar::after {
  content: '';
  position: absolute;
  top: -120%;
  right: -10%;
  width: 240px;
  height: 340%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.14), transparent 65%);
  pointer-events: none;
}

.game-title-group h1 {
  background: linear-gradient(110deg, #a1771b 0%, #e5be49 30%, #fffbe8 50%, #e5be49 70%, #a1771b 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxGoldFlow 6s linear infinite;
}

/* Casino-Chips in 3D */
.casino-chip {
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65), inset 0 -3px 6px rgba(0, 0, 0, 0.45), inset 0 3px 6px rgba(255, 255, 255, 0.25);
}

/* Riffelung nur am Rand, damit der Chip-Wert lesbar bleibt */
.casino-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.26) 0deg 11deg, transparent 11deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 58%);
  mask: radial-gradient(circle, transparent 56%, #000 58%);
  pointer-events: none;
}

.casino-chip::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.casino-chip.active {
  animation: fxChipBob 2.4s ease-in-out infinite;
}

@keyframes fxChipBob {
  0%, 100% { transform: translateY(-6px) scale(1.15); }
  50%      { transform: translateY(-10px) scale(1.17); }
}

/* ============================================================
   08 · SLOTS – Neon-Cabinet
   ============================================================ */
.slots-cabinet-modern {
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(249, 115, 22, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #121826 0%, #080b12 55%, #05070b 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 70px rgba(249, 115, 22, 0.12),
    inset 0 1px 0 rgba(255, 240, 170, 0.18);
}

/* Umlaufende Marquee-Glühbirnen */
.slots-cabinet-modern::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 214, 140, 0.95) 1.6px, transparent 2.4px) repeat-x top    left / 26px 26px,
    radial-gradient(circle, rgba(255, 214, 140, 0.95) 1.6px, transparent 2.4px) repeat-x bottom left / 26px 26px,
    radial-gradient(circle, rgba(255, 214, 140, 0.95) 1.6px, transparent 2.4px) repeat-y top left  / 26px 26px,
    radial-gradient(circle, rgba(255, 214, 140, 0.95) 1.6px, transparent 2.4px) repeat-y top right / 26px 26px;
  opacity: 0.55;
  animation: fxBulbs 1.6s steps(2) infinite;
  z-index: 1;
}

@keyframes fxBulbs {
  0%   { opacity: 0.25; filter: drop-shadow(0 0 3px rgba(255, 190, 90, 0.5)); }
  100% { opacity: 0.8;  filter: drop-shadow(0 0 7px rgba(255, 190, 90, 0.95)); }
}

.slots-cabinet-modern > * {
  position: relative;
  z-index: 2;
}

/* LED-Statusband */
.slot-status-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #121a2a 0%, #080c14 100%);
  border-color: rgba(249, 115, 22, 0.28);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.slot-status-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.slot-status-banner.win-banner {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(8, 12, 20, 0.95));
  animation: fxWinBanner 0.9s ease-in-out infinite alternate;
}

@keyframes fxWinBanner {
  from { box-shadow: 0 0 14px rgba(56, 189, 248, 0.3); }
  to   { box-shadow: 0 0 34px rgba(56, 189, 248, 0.75); }
}

/* Walzen-Viewport: Glas, Spiegelung, Rahmen */
.slots-viewport-5 {
  background: linear-gradient(180deg, #080c14 0%, #04060a 100%);
  border: 2px solid #26324a;
  box-shadow:
    inset 0 0 44px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(249, 115, 22, 0.18),
    0 8px 30px rgba(0, 0, 0, 0.75);
}

.slots-viewport-5::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 16%, transparent 80%, rgba(0, 0, 0, 0.45) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}

.slot-reel-5 {
  background: linear-gradient(180deg, #0c111c 0%, #070a11 100%);
  border: 1px solid rgba(249, 115, 22, 0.12);
}

.slot-reel-5::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.75) 100%);
}

.slot-cell-5 {
  background: linear-gradient(165deg, #182134 0%, #0d1320 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slot-cell-5.cell-highlight {
  background: linear-gradient(165deg, rgba(249, 115, 22, 0.32) 0%, rgba(120, 53, 15, 0.3) 100%);
  border-color: #fb923c;
  box-shadow: 0 0 34px rgba(249, 115, 22, 0.8), inset 0 0 22px rgba(249, 115, 22, 0.45);
  animation: fxCellWin 0.75s ease-in-out infinite alternate;
}

@keyframes fxCellWin {
  from { transform: scale(1.01); }
  to   { transform: scale(1.06); }
}

/* Licht-Sweep während des Drehens */
.reel-strip-5.reel-spinning {
  filter: blur(0.6px) brightness(1.08);
}

.slot-reel-5:has(.reel-spinning)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: fxReelSweep 0.55s linear infinite;
}

@keyframes fxReelSweep {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

/* Paylines-Leiste */
.slot-paylines-bar {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
}

.payline-legend-item {
  transition: var(--transition);
}

.payline-legend-item:hover {
  transform: translateY(-2px);
}

/* Einsatz-Pillen */
.btn-bet-pill {
  background: linear-gradient(180deg, #18202f 0%, #0d131e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 3px 8px rgba(0, 0, 0, 0.5);
}

.btn-bet-pill.active {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-slot-toggle.is-active {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55), inset 0 0 14px rgba(56, 189, 248, 0.18);
}

/* Spin-Button mit Energie-Puls */
.btn-spin-action {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: fxSpinPulse 2.6s ease-in-out infinite;
}

@keyframes fxSpinPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(234, 88, 12, 0.5), 0 0 16px rgba(249, 115, 22, 0.35); }
  50%      { box-shadow: 0 6px 28px rgba(234, 88, 12, 0.75), 0 0 36px rgba(249, 115, 22, 0.7); }
}

.btn-spin-action:disabled { animation: none; }

/* ============================================================
   09 · ROULETTE – Kessel & Filz
   ============================================================ */
.roulette-wheel-wrapper {
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 175, 55, 0.12) 0%, transparent 58%),
    radial-gradient(circle at 50% 40%, #1a2030 0%, #080a10 100%);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(0, 0, 0, 0.6);
}

/* Spotlight von oben auf den Kessel */
.roulette-wheel-wrapper::before {
  content: '';
  position: absolute;
  top: -45%;
  left: 50%;
  width: 115%;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 240, 179, 0.14), transparent 62%);
  pointer-events: none;
}

.wheel-canvas-box {
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.8));
}

.wheel-canvas-box::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: var(--fx-gold-ring);
  animation: fxRotate 11s linear infinite;
  will-change: transform;
  opacity: 0.55;
  filter: blur(3px);
  pointer-events: none;
  z-index: 0;
}

#rouletteCanvas {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35), 0 0 50px rgba(0, 0, 0, 0.9);
}

.last-num-pill {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.last-num-pill:hover { transform: translateY(-3px) scale(1.08); }

/* Filz-Tisch */
.roulette-board-wrapper {
  position: relative;
}

.roulette-board-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 5px);
}

.bet-spot {
  transition: transform 0.18s var(--fx-ease), box-shadow 0.18s var(--fx-ease), filter 0.18s var(--fx-ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 5px rgba(0, 0, 0, 0.45);
}

.bet-spot:hover {
  transform: translateY(-3px);
  filter: brightness(1.25);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.35);
  z-index: 5;
}

.bet-spot.has-bet {
  box-shadow: 0 0 0 2px var(--gold-primary), 0 0 22px rgba(212, 175, 55, 0.5);
}

.bet-chip-badge {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.bet-spot.spot-winner {
  animation: fxWinnerSpot 0.8s ease-in-out infinite alternate;
}

@keyframes fxWinnerSpot {
  from { box-shadow: 0 0 0 2px #fef0b3, 0 0 20px rgba(212, 175, 55, 0.6); }
  to   { box-shadow: 0 0 0 3px #fff, 0 0 44px rgba(212, 175, 55, 1); }
}

.spin-btn-huge {
  animation: fxGoldPulse 2.8s ease-in-out infinite;
}

@keyframes fxGoldPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 18px rgba(212, 175, 55, 0.35); }
  50%      { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 34px rgba(212, 175, 55, 0.7); }
}

/* ============================================================
   10 · BLACKJACK – Filz, Karten, Rail
   ============================================================ */
.blackjack-table-felt {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(34, 140, 75, 0.38), transparent 62%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.016) 0 2px, transparent 2px 4px),
    linear-gradient(165deg, #0d2b1a 0%, #08190f 58%, #040d08 100%);
  border: 8px solid #35200f;
  box-shadow:
    inset 0 0 90px rgba(0, 0, 0, 0.88),
    inset 0 2px 0 rgba(255, 255, 255, 0.06),
    0 28px 65px rgba(0, 0, 0, 0.8),
    0 0 70px rgba(16, 185, 129, 0.07);
}

/* Holz-Rail Glanzkante */
.blackjack-table-felt::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 220, 160, 0.3) 0%, transparent 25%, transparent 72%, rgba(255, 220, 160, 0.18) 100%);
  mix-blend-mode: overlay;
}

.bj-card {
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.3s var(--fx-ease), box-shadow 0.3s var(--fx-ease);
  position: relative;
  overflow: hidden;
}

.bj-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(16deg);
  will-change: transform;
  animation: fxCardShine 5s ease-in-out infinite;
  pointer-events: none;
}

/* Lief vorher über "left" und erzwang pro Karte und Frame ein Layout. */
@keyframes fxCardShine {
  0%, 78% { transform: translate3d(0, 0, 0) rotate(16deg); }
  100%    { transform: translate3d(444%, 0, 0) rotate(16deg); }
}

.bj-cards-row:hover .bj-card {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.8);
}

.bj-score-pill {
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 12px rgba(0, 0, 0, 0.55);
}

.bj-score-pill.pill-bj {
  animation: fxGoldPulse 1.6s ease-in-out infinite;
}

.bj-outcome-stamp {
  backdrop-filter: blur(4px);
}

.bj-outcome-stamp.stamp-win {
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.65), inset 0 0 26px rgba(255, 240, 179, 0.25);
}

.bj-felt-arc-text {
  text-shadow: 0 0 18px rgba(255, 240, 179, 0.25);
}

.bj-action-btn {
  letter-spacing: 0.04em;
}

/* ============================================================
   11 · CHICKEN ROAD – Neon-Highway
   ============================================================ */
.chicken-game-stage {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(16, 185, 129, 0.14) 0%, transparent 62%),
    radial-gradient(circle at 50% 20%, #16202c 0%, #080a0f 100%);
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8), 0 0 70px rgba(16, 185, 129, 0.08);
}

.highway-arena {
  border: 3px solid #233049;
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.96),
    0 0 0 1px rgba(16, 185, 129, 0.14),
    0 8px 30px rgba(0, 0, 0, 0.6);
}

/* Neonröhren links/rechts der Arena */
.highway-arena::before,
.highway-arena::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, transparent, #34d399, transparent);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.8);
  opacity: 0.65;
  animation: fxNeonTube 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}

.highway-arena::before { left: 6px; }
.highway-arena::after  { right: 6px; animation-delay: -1.6s; }

@keyframes fxNeonTube {
  from { opacity: 0.3; }
  to   { opacity: 0.95; }
}

.chicken-hud-bar {
  background: var(--fx-glass);
  backdrop-filter: blur(8px);
  border-radius: 14px;
}

.chicken-hud-val {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 16px currentColor;
}

.highway-lane {
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.8);
}

.highway-lane.lane-next-target {
  animation: fxNextLane 1.5s ease-in-out infinite;
}

@keyframes fxNextLane {
  0%, 100% { box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.8), 0 0 14px rgba(212, 175, 55, 0.35); }
  50%      { box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.8); }
}

.highway-lane.lane-current {
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.7), 0 0 34px rgba(245, 158, 11, 0.5);
}

.lane-multiplier {
  font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.chicken-status-banner {
  backdrop-filter: blur(6px);
}

.chicken-status-banner.banner-win {
  animation: fxWinBannerGold 0.9s ease-in-out infinite alternate;
}

@keyframes fxWinBannerGold {
  from { box-shadow: 0 0 16px rgba(212, 175, 55, 0.3); }
  to   { box-shadow: 0 0 40px rgba(212, 175, 55, 0.8); }
}

.cashout-btn-pulse {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   12 · PREMIUM TOASTS
   ============================================================ */
#fxToastHost {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.fx-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px 14px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.97), rgba(9, 11, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  transform: translateX(120%);
  animation: fxToastIn 0.45s var(--fx-ease) forwards;
}

.fx-toast.fx-toast-out {
  animation: fxToastOut 0.4s var(--fx-ease) forwards;
}

@keyframes fxToastIn {
  to { transform: translateX(0); }
}

@keyframes fxToastOut {
  to { transform: translateX(120%); opacity: 0; }
}

.fx-toast-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.fx-toast-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  animation: fxToastBar linear forwards;
}

@keyframes fxToastBar {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

.fx-toast-success { border-color: rgba(16, 185, 129, 0.45); }
.fx-toast-success .fx-toast-icon { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.fx-toast-success .fx-toast-bar { background: linear-gradient(90deg, #10b981, #6ee7b7); }

.fx-toast-error { border-color: rgba(239, 68, 68, 0.45); }
.fx-toast-error .fx-toast-icon { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.fx-toast-error .fx-toast-bar { background: linear-gradient(90deg, #ef4444, #fca5a5); }

.fx-toast-info { border-color: rgba(212, 175, 55, 0.45); }
.fx-toast-info .fx-toast-icon { background: rgba(212, 175, 55, 0.18); color: var(--gold-light); }
.fx-toast-info .fx-toast-bar { background: linear-gradient(90deg, var(--gold-primary), var(--gold-light)); }

/* ============================================================
   13 · CELEBRATION FX (Münzregen, Konfetti, Big Win)
   ============================================================ */
#fxCelebrationHost {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  overflow: hidden;
}

.fx-coin {
  position: absolute;
  top: -60px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fffbe8 0%, #e5be49 45%, #8c6a18 100%);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.75), inset 0 -3px 5px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #6b4f0c;
  animation: fxCoinFall linear forwards;
}

@keyframes fxCoinFall {
  0%   { transform: translateY(0) rotateY(0deg) rotateZ(0deg); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(110vh) rotateY(900deg) rotateZ(220deg); opacity: 0; }
}

.fx-confetti {
  position: absolute;
  top: -30px;
  width: 9px;
  height: 16px;
  border-radius: 2px;
  opacity: 0.95;
  animation: fxConfettiFall linear forwards;
}

@keyframes fxConfettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(108vh) rotate(760deg); opacity: 0; }
}

/* Big-Win-Overlay */
.fx-bigwin {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(20, 14, 2, 0.72) 0%, rgba(0, 0, 0, 0.88) 100%);
  opacity: 0;
  animation: fxFadeIn 0.35s var(--fx-ease) forwards;
}

.fx-bigwin.fx-bigwin-out {
  animation: fxFadeOut 0.5s var(--fx-ease) forwards;
}

@keyframes fxFadeIn  { to { opacity: 1; } }
@keyframes fxFadeOut { to { opacity: 0; } }

.fx-bigwin-inner {
  position: relative;
  text-align: center;
  padding: 36px 54px;
  transform: scale(0.75);
  animation: fxBigWinPop 0.7s var(--fx-ease) forwards;
}

@keyframes fxBigWinPop {
  to { transform: scale(1); }
}

/* Strahlenkranz */
.fx-bigwin-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg,
      rgba(255, 240, 179, 0.14) 0deg 6deg,
      transparent 6deg 16deg);
  animation: fxRotate 18s linear infinite;
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  pointer-events: none;
}

.fx-bigwin-label {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(110deg, #a1771b, #fffbe8 50%, #a1771b);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxGoldFlow 2.4s linear infinite;
  margin-bottom: 8px;
}

.fx-bigwin-amount {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 11vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fffbe8;
  text-shadow:
    0 0 18px rgba(255, 240, 179, 0.9),
    0 0 55px rgba(212, 175, 55, 0.75),
    0 10px 30px rgba(0, 0, 0, 0.8);
  animation: fxAmountBeat 0.85s ease-in-out infinite alternate;
}

@keyframes fxAmountBeat {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

/* Textbasierte Gewinne (z. B. Free Spins) brauchen eine kleinere Schrift */
.fx-bigwin-amount-text {
  font-size: clamp(1.6rem, 6vw, 3.4rem);
  letter-spacing: 0.06em;
  max-width: min(90vw, 760px);
  overflow-wrap: break-word;
}

.fx-bigwin-sub {
  position: relative;
  margin-top: 14px;
  font-size: 0.86rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 240, 179, 0.75);
}

/* Bildschirm-Blitz bei Mega-Gewinn */
.fx-flash {
  position: fixed;
  inset: 0;
  z-index: 9400;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 240, 179, 0.5) 0%, transparent 65%);
  animation: fxFlash 0.6s ease-out forwards;
}

@keyframes fxFlash {
  from { opacity: 0.9; }
  to   { opacity: 0; }
}

/* Schwebende Gewinn-Zahl am Guthaben */
.fx-float-gain {
  position: fixed;
  z-index: 9600;
  pointer-events: none;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: #6ee7b7;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
  animation: fxFloatGain 1.5s var(--fx-ease) forwards;
}

@keyframes fxFloatGain {
  0%   { transform: translate(-50%, 0) scale(0.7); opacity: 0; }
  22%  { transform: translate(-50%, -14px) scale(1.12); opacity: 1; }
  100% { transform: translate(-50%, -62px) scale(1); opacity: 0; }
}

/* ============================================================
   14 · SEITENEINSTIEG & SONSTIGES
   ============================================================ */
.main-wrapper {
  animation: fxPageIn 0.6s var(--fx-ease) both;
}

@keyframes fxPageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.modal-window {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 70px rgba(212, 175, 55, 0.14);
}

.modal-overlay.active .modal-window {
  animation: fxModalIn 0.4s var(--fx-ease);
}

@keyframes fxModalIn {
  from { transform: scale(0.9) translateY(14px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.6) 0%, #040507 100%);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.6;
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--gold-primary);
  transition: right 0.3s var(--fx-ease);
}

.footer-links a:hover::after { right: 0; }

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3a3f52, #1d2130);
}

/* ============================================================
   15 · RESPONSIVE & BARRIEREFREIHEIT
   ============================================================ */
@media (max-width: 1200px) {
  /* Das Nav-Panel klappt nach unten auf - der Lichtstrahl an der
     Header-Kante würde dann mitten über dem Panel liegen. */
  .site-header.nav-open::after {
    opacity: 0;
    animation: none;
  }
}

@media (max-width: 860px) {
  .fx-hero-chips,
  .fx-aurora-3 { display: none; }

  .fx-jackpot-strip {
    margin: -14px 0 30px;
    justify-content: center;
    text-align: center;
  }

  #fxToastHost {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

@media (hover: none) {
  .game-card.fx-tilting { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-aurora,
  .fx-float-chip,
  .brand-link::before,
  .hero-banner::before,
  .hero-logo-ring::before,
  .hero-logo-ring::after,
  .wheel-canvas-box::before,
  .slots-cabinet-modern::before,
  .site-header::after,
  .ticker-badge::after,
  .balance-pill::after,
  .spins-pill .icon,
  .hero-tag::after,
  .fx-jackpot-strip::after,
  .bj-card::after,
  .highway-arena::before,
  .highway-arena::after,
  .btn-spin-action,
  .spin-btn-huge,
  .fx-bigwin-rays,
  .fx-bigwin-amount {
    animation: none !important;
  }

  [data-fx-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  #fxDustCanvas { display: none; }
}

/* ============================================================
   16 · LITE-STUFE FÜR SCHWACHE GERÄTE
   fx.js setzt .fx-lite auf <html>, wenn das Gerät wenig CPU-Kerne/RAM
   hat oder mobil ist. Dort laufen keine Dauer-Animationen mehr, die
   Paint oder Rasterung erzwingen - das Layout bleibt identisch.
   ============================================================ */
.fx-lite #fxDustCanvas { display: none; }

.fx-lite .fx-aurora {
  animation: none !important;
  filter: blur(40px);
}

.fx-lite .fx-aurora-2,
.fx-lite .fx-aurora-3 { display: none; }

.fx-lite .brand-link::before,
.fx-lite .brand-title,
.fx-lite .site-header::after,
.fx-lite .ticker-badge::after,
.fx-lite .balance-pill::after,
.fx-lite .spins-pill .icon,
.fx-lite .hero-tag::after,
.fx-lite .hero-banner::before,
.fx-lite .hero-banner:hover::before,
.fx-lite .hero-logo-ring::before,
.fx-lite .hero-logo-ring::after,
.fx-lite .hero-title .gold-text,
.fx-lite .fx-float-chip,
.fx-lite .fx-jackpot-strip::after,
.fx-lite .fx-jackpot-amount,
.fx-lite .game-title-group h1,
.fx-lite .balance-amount,
.fx-lite .game-card-badge,
.fx-lite .bj-card::after,
.fx-lite .wheel-canvas-box::before,
.fx-lite .slots-cabinet-modern::before {
  animation: none !important;
}

/* Mehrfach-Blur hinter Glas-Flächen ist auf schwacher Hardware der
   teuerste Composite-Schritt - durch einen festen Ton ersetzt. */
.fx-lite .hero-tag,
.fx-lite .vip-feature-card,
.fx-lite .game-header-bar,
.fx-lite .chicken-hud-bar,
.fx-lite .chicken-status-banner,
.fx-lite .bj-outcome-stamp,
.fx-lite .fx-toast {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Gold-Verlaufstext ohne Laufanimation braucht keinen Clip-Repaint. */
.fx-lite .brand-title,
.fx-lite .hero-title .gold-text,
.fx-lite .fx-jackpot-amount,
.fx-lite .game-title-group h1,
.fx-lite .balance-amount {
  background-position: 50% center;
}
