/* ========================================
   SHARED SECTION LAYOUT
======================================== */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

.copy-block {
  position: relative;
  z-index: 10;
}

.section-title {
  margin: 0;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: .82;
  letter-spacing: -.06em;
  font-weight: 900;
}

.section-copy {
  max-width: 650px;
  margin: 28px 0 34px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255,255,255,.78);
}

.visual-stage {
  position: relative;
  min-height: 700px;
}

/* ========================================
   DEPTH LAYERS
======================================== */

.parallax-layer,
.bokeh-depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-layer {
  z-index: 1;
}

.parallax-layer::before,
.parallax-layer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.parallax-layer::before {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.08);
}

.parallax-layer::after {
  width: 500px;
  height: 500px;
  background: rgba(255,215,90,.06);
}

.bokeh-depth {
  z-index: 2;
}

.bokeh-depth span {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .34;
  mix-blend-mode: screen;
}

.bokeh-depth span:nth-child(1) {
  width: 90px;
  height: 90px;
  left: 12%;
  top: 24%;
  background: rgba(255,220,120,.45);
}

.bokeh-depth span:nth-child(2) {
  width: 150px;
  height: 150px;
  right: 16%;
  top: 18%;
  background: rgba(255,255,255,.18);
}

.bokeh-depth span:nth-child(3) {
  width: 220px;
  height: 220px;
  right: 24%;
  bottom: 12%;
  background: rgba(255,80,160,.2);
}

/* ========================================
   HERO
======================================== */

.scene-hero {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,210,80,.18), transparent 40%),
    linear-gradient(180deg, #080808, #030303);
}

.scene-hero::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,90,.16), transparent 58%);
  filter: blur(22px);
  pointer-events: none;
}

.scene-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0 48%, rgba(255,210,90,.08) 49%, transparent 50%),
    radial-gradient(circle at 50% 44%, transparent 0 22%, rgba(0,0,0,.38) 62%);
  background-size: 100% 8px, auto;
  opacity: .45;
  pointer-events: none;
}

.hero-inner {
  perspective: 900px;
}

.brand-title {
  position: relative;
  display: inline-block;
  padding: .08em .14em;
  transform:
    perspective(1200px)
    rotateX(7deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  isolation: isolate;

  background:
    linear-gradient(
      180deg,
      #fffef6 0%,
      #fff4c5 10%,
      #ffd86a 22%,
      #a96a0f 36%,
      #fff6cf 50%,
      #ffc94a 66%,
      #7f4c07 82%,
      #fff8dc 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-text-stroke: 0;

  text-shadow:
    0 1px 0 rgba(255,255,255,.15),
    0 3px 0 rgba(90,50,0,.55),
    0 5px 0 rgba(45,22,0,.45),
    0 20px 30px rgba(0,0,0,.85),
    0 0 45px rgba(255,190,60,.35);

  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform:
      perspective(1200px)
      rotateX(7deg)
      translateY(0px);
  }

  50% {
    transform:
      perspective(1200px)
      rotateX(7deg)
      translateY(-8px);
  }
}

.brand-title::before {
  content: attr(data-text);

  position: absolute;
  inset: 0;

  z-index: -1;

  transform:
    translate(14px, 18px)
    scale(1.02);

  color: rgba(0,0,0,.65);

  filter:
    blur(10px);
}

/* intentionally disabled broken logo shine */
.brand-title::after {
  content: none;
}

.hero-copy {
  text-shadow: 0 0 28px rgba(255,210,90,.18);
}

.hero-orbit,
.hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit span:nth-child(1) {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,210,90,.15);
}

.hero-orbit span:nth-child(2) {
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255,210,90,.08);
}

.hero-orbit span:nth-child(3) {
  width: 900px;
  height: 900px;
  border: 1px solid rgba(255,210,90,.04);
}

/* Hero light beams */
.hero-light-beam {
  position: absolute;

  top: -20%;
  left: 50%;

  width: 800px;
  height: 1400px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.10),
      rgba(255,210,90,.08),
      transparent 72%
    );

  clip-path: polygon(
    48% 0%,
    52% 0%,
    100% 100%,
    0% 100%
  );

  filter: blur(50px);

  opacity: .45;

  pointer-events: none;

  z-index: 3;
}

.hero-chips {
  z-index: 12;
}

.hero-chips span {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 22%, #b4001d 23% 48%, #fff 49% 56%, #111 57%);
  box-shadow:
    0 0 28px rgba(255,50,80,.45),
    0 22px 35px rgba(0,0,0,.45);
}

.hero-chips span:nth-child(1) {
  left: 12%;
  top: 26%;
}
.hero-chips span:nth-child(2) {
  right: 14%;
  top: 22%;
  transform: scale(.72);
}
.hero-chips span:nth-child(3) {
  left: 22%;
  bottom: 20%;
  transform: scale(.55);
}
.hero-chips span:nth-child(4) {
  right: 23%;
  bottom: 18%;
  transform: scale(.9);
}

/* ========================================
   POKER
======================================== */

.scene-poker {
  background:
    radial-gradient(circle at 75% 35%, rgba(255,190,60,.15), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(180,0,40,.25), transparent 40%),
    linear-gradient(135deg, #090204, #140305, #060203);
}

.poker-title {
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #fff7d6, #ffd86b, #d07f10);
  -webkit-background-clip: text;
  color: transparent;
}

.poker-stage {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.poker-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,100,.24), transparent 58%);
  filter: blur(30px);
}

.bokeh {
  position: absolute;
  inset: 0;
}

.bokeh-red::before,
.bokeh-red::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.bokeh-red::before {
  width: 320px;
  height: 320px;
  background: rgba(255,180,50,.3);
  right: 10%;
  top: 10%;
}

.bokeh-red::after {
  width: 400px;
  height: 400px;
  background: rgba(170,0,30,.25);
  left: 5%;
  bottom: 10%;
}

.card {
  position: absolute;
  overflow: hidden;
  width: 260px;
  height: 380px;
  border-radius: 24px;
  box-shadow:
    0 35px 60px rgba(0,0,0,.55),
    inset 0 0 18px rgba(255,255,255,.08);
}

/* card shine */
.card-front::before,
.card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 47%,
      rgba(255,255,255,.28) 50%,
      transparent 53%,
      transparent 100%
    );

  background-size: 360% 100%;
  background-position: -260% 0;
  animation: pokerCardSweep 7s ease-in-out infinite;
}

@keyframes pokerCardSweep {
  0%, 65% {
    background-position: -260% 0;
  }

  100% {
    background-position: 260% 0;
  }
}

.card-back {
  background:
    linear-gradient(
      135deg,
      #170607,
      #090909
    );

  border: 3px solid #d89f2f;

  transform: rotate(-12deg);

  left: 120px;
  top: 120px;
}
.card-back::after {
  content: "";

  position: absolute;
  inset: 16px;

  border-radius: 14px;

  background:

    repeating-linear-gradient(
      45deg,
      rgba(216,159,47,.08) 0px,
      rgba(216,159,47,.08) 4px,
      transparent 4px,
      transparent 12px
    ),

    repeating-linear-gradient(
      -45deg,
      rgba(216,159,47,.08) 0px,
      rgba(216,159,47,.08) 4px,
      transparent 4px,
      transparent 12px
    );

  opacity: .8;
}

.card-front {
  left: 280px;
  top: 80px;
  transform: rotate(8deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  color: #111;
  background: linear-gradient(135deg, #fffef7, #f7e6bf);
  border: 3px solid #e0bc5d;
}

.card-front span {
  font-size: 2rem;
}

.card-front strong {
  font-size: 8rem;
  align-self: center;
}

.chip {
  position: absolute;
  border-radius: 50%;
}

.chip::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 8px dashed rgba(255,255,255,.78);
}

.chip::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: url("../assets/logoster.png") center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(255,216,106,.45));
}

.chip-red {
  width: 180px;
  height: 180px;
  left: 150px;
  bottom: 60px;
  background:
    radial-gradient(circle, #fff 20%, #b5001f 21%, #b5001f 45%, white 46%, white 55%, #b5001f 56%);
  filter:
    drop-shadow(0 0 24px rgba(255,0,50,.45))
    drop-shadow(0 20px 28px rgba(0,0,0,.5));
}

.chip-black {
  width: 140px;
  height: 140px;
  right: 140px;
  bottom: 10px;
  background:
    radial-gradient(circle, #fff 20%, #111 21%, #111 45%, white 46%, white 55%, #111 56%);
  filter:
    drop-shadow(0 0 24px rgba(255,210,90,.3))
    drop-shadow(0 20px 28px rgba(0,0,0,.5));
}

.light-sweep {
  display: none;
}

/* ========================================
   ROULETTE
======================================== */

.scene-roulette {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,220,100,.18), transparent 35%),
    linear-gradient(135deg, #0c0804, #18110b, #080604);
}

.roulette-title {
  background: linear-gradient(135deg, #fffef1, #ffd15a, #b47b17);
  -webkit-background-clip: text;
  color: transparent;
}

.roulette-stage {
  display: grid;
  place-items: center;
}

.roulette-stage::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: conic-gradient(
    transparent,
    rgba(255,210,90,.16),
    transparent,
    rgba(255,255,255,.08),
    transparent
  );
  filter: blur(18px);
  opacity: .35;
  animation: rouletteAura 12s linear infinite;
  pointer-events: none;
}

@keyframes rouletteAura {
  to { transform: rotate(360deg); }
}

.roulette-wheel {
  position: relative;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), transparent 54%),
    repeating-conic-gradient(
      from -15deg,
      rgba(255,230,160,.55) 0deg 2deg,
      transparent 2deg 30deg
    ),
    conic-gradient(
      #0f6a33 0deg 20deg,
      #b80024 20deg 40deg,
      #111 40deg 60deg,
      #b80024 60deg 80deg,
      #111 80deg 100deg,
      #b80024 100deg 120deg,
      #111 120deg 140deg,
      #b80024 140deg 160deg,
      #111 160deg 180deg,
      #b80024 180deg 200deg,
      #111 200deg 220deg,
      #b80024 220deg 240deg,
      #111 240deg 260deg,
      #b80024 260deg 280deg,
      #111 280deg 300deg,
      #b80024 300deg 320deg,
      #111 320deg 340deg,
      #b80024 340deg 360deg
    );
  border: 14px solid #d9a83d;
  box-shadow:
    inset 0 0 0 5px rgba(92,45,7,.55),
    inset 0 0 26px rgba(255,255,255,.08),
    0 0 50px rgba(255,200,80,.25),
    0 30px 55px rgba(0,0,0,.45);
  overflow: visible;
}

.roulette-wheel::before,
.roulette-wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.roulette-wheel::before {
  inset: -16px;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,242,190,.95),
      rgba(194,126,20,.9),
      rgba(255,241,184,.92),
      rgba(140,86,10,.95),
      rgba(255,242,190,.95)
    );
  box-shadow:
    0 0 0 2px rgba(255,236,170,.35),
    0 0 26px rgba(255,210,90,.24);
  -webkit-mask: radial-gradient(circle, transparent 72%, #000 73%);
          mask: radial-gradient(circle, transparent 72%, #000 73%);
}

.roulette-wheel::after {
  top: -30px;
  left: 50%;
  width: 38px;
  height: 52px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 38%, 76% 100%, 24% 100%, 0 38%);
  background: linear-gradient(180deg, #fff7d7, #ffcb4d 45%, #9b5d07 100%);
  filter: drop-shadow(0 0 10px rgba(255,215,100,.48)) drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.roulette-wheel.spinning {
  box-shadow:
    inset 0 0 0 5px rgba(92,45,7,.55),
    inset 0 0 40px rgba(255,255,255,.18),
    0 0 70px rgba(255,210,90,.5),
    0 0 130px rgba(255,80,40,.22),
    0 30px 55px rgba(0,0,0,.45);
}

.wheel-outer,
.wheel-numbers {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.wheel-outer {
  inset: 18px;
  background:
    radial-gradient(circle, transparent 58%, rgba(255,255,255,.12) 58.8%, transparent 60.1%),
    radial-gradient(circle, transparent 67%, rgba(255,239,188,.22) 68%, transparent 69%),
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.18), transparent 36%);
  box-shadow:
    inset 0 0 0 3px rgba(255,226,150,.18),
    inset 0 0 25px rgba(0,0,0,.15);
}

.wheel-numbers {
  inset: 12px;
}

.wheel-numbers span {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform-origin: center calc(min(500px, 62svh) / 2 - 28px);
  color: #fffdf6;
  font-size: .9rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.65);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), rgba(255,255,255,.06) 45%, rgba(0,0,0,.18) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,236,170,.22),
    0 0 10px rgba(0,0,0,.18);
}

.wheel-numbers span:nth-child(1) { transform: translateX(-50%) rotate(0deg); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(35,130,70,.75) 45%, rgba(7,42,20,.95) 100%); }
.wheel-numbers span:nth-child(2) { transform: translateX(-50%) rotate(30deg); }
.wheel-numbers span:nth-child(3) { transform: translateX(-50%) rotate(60deg); }
.wheel-numbers span:nth-child(4) { transform: translateX(-50%) rotate(90deg); }
.wheel-numbers span:nth-child(5) { transform: translateX(-50%) rotate(120deg); }
.wheel-numbers span:nth-child(6) { transform: translateX(-50%) rotate(150deg); }
.wheel-numbers span:nth-child(7) { transform: translateX(-50%) rotate(180deg); }
.wheel-numbers span:nth-child(8) { transform: translateX(-50%) rotate(210deg); }
.wheel-numbers span:nth-child(9) { transform: translateX(-50%) rotate(240deg); }
.wheel-numbers span:nth-child(10) { transform: translateX(-50%) rotate(270deg); }
.wheel-numbers span:nth-child(11) { transform: translateX(-50%) rotate(300deg); }
.wheel-numbers span:nth-child(12) { transform: translateX(-50%) rotate(330deg); }

.wheel-center {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), rgba(255,226,122,.9) 32%, rgba(194,126,18,.98) 68%, rgba(93,53,6,1) 100%);
  box-shadow:
    inset 0 0 0 4px rgba(255,241,200,.42),
    inset 0 0 22px rgba(255,255,255,.32),
    0 0 30px rgba(255,200,80,.35),
    0 0 0 12px rgba(75,37,4,.24);
}

.wheel-center::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/ML-only logo 400x400.png") center / 70% no-repeat;
  filter: drop-shadow(0 1px 2px rgba(99,53,5,.45));
  z-index: 2;
  pointer-events: none;
}

.wheel-ball {
  --ball-radius: calc(min(500px, 62svh) * .34);

  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #f3f3f3 42%, #cfd1d4 70%, #8f949a 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    inset -3px -3px 6px rgba(0,0,0,.12),
    0 0 10px rgba(255,255,255,.42);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(var(--ball-radius));
}

.roulette-wheel.spinning .wheel-ball {
  box-shadow:
    inset -3px -3px 6px rgba(0,0,0,.12),
    0 0 22px white,
    0 0 42px rgba(255,220,120,.8);
}

/* ========================================
   SLOTS
======================================== */

.scene-slots {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,0,210,.18), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(0,220,255,.18), transparent 35%),
    #050505;
}

.slots-title {
  background: linear-gradient(135deg, #ff72f2, #00dfff);
  -webkit-background-clip: text;
  color: transparent;
}

.slot-machine {
  position: relative;
  width: 500px;
  padding: 44px 40px 42px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 217, 112, .18), transparent 38%),
    linear-gradient(180deg, rgba(70, 17, 88, .95), #12061b 42%, #050505 100%);
  border: 2px solid rgba(255, 218, 120, .18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 18px 40px rgba(255,255,255,.04),
    inset 0 -24px 48px rgba(0,0,0,.42),
    0 0 40px rgba(255,0,200,.15),
    0 0 70px rgba(0,220,255,.12),
    0 30px 60px rgba(0,0,0,.5);
}

.slot-machine::before,
.slot-machine::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.slot-machine::before {
  inset: -3px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 211, 92, .66), rgba(255,0,200,.38), rgba(0,220,255,.45), rgba(255, 211, 92, .58));
  z-index: -1;
  filter: blur(14px);
}

.slot-machine::after {
  inset: 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 219, 120, .16);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.025),
    inset 0 0 28px rgba(255, 200, 80, .05);
}

.slot-top {
  position: relative;
  text-align: center;
  font-family: "Orbitron ChaChing", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: .08em;
  margin-bottom: 32px;
  padding: 11px 18px 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #fff, #ff72f2, #00dfff);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 114, 242, .16);
}

.slot-top::before,
.slot-top::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7c8, #ffd45c 48%, #a35c04 100%);
  box-shadow:
    0 0 12px rgba(255, 210, 92, .55),
    34px 0 0 rgba(255, 212, 92, .95),
    -34px 0 0 rgba(255, 212, 92, .95);
  transform: translateY(-50%);
}

.slot-top::before {
  left: 24px;
}

.slot-top::after {
  right: 24px;
}

.reels {
  display: flex;
  gap: 20px;
  position: relative;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 230, 160, .18), rgba(65, 28, 8, .2)),
    linear-gradient(135deg, rgba(255, 213, 92, .22), rgba(0, 223, 255, .08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 222, 140, .18),
    inset 0 12px 20px rgba(255,255,255,.04),
    inset 0 -18px 26px rgba(0,0,0,.32),
    0 16px 28px rgba(0,0,0,.28);
}

.reels::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.reel {
  position: relative;
  flex: 1;
  height: 140px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.95), rgba(255,255,255,.72) 28%, transparent 29%),
    linear-gradient(180deg, #fffdf6 0%, #f3ecdc 48%, #c8b89b 100%);
  color: black;
  font-size: 4rem;
  border: 1px solid rgba(255, 231, 170, .55);
  box-shadow:
    inset 0 6px 14px rgba(255,255,255,.74),
    inset 0 -12px 22px rgba(87, 47, 10, .2),
    0 0 0 3px rgba(61, 22, 77, .62),
    0 10px 18px rgba(0,0,0,.24);
  overflow: hidden;
}

.reel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), transparent 26%, transparent 70%, rgba(0,0,0,.12));
  pointer-events: none;
}

.slot-symbol {
  display: block;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,255,255,.3);
}

.seven {
  color: #ff4040;
  font-size: 4.5rem;
  text-shadow: 0 0 18px rgba(255,50,50,.5);
}

.diamond {
  color: #00dfff;
  font-size: 4rem;
  text-shadow: 0 0 24px rgba(0,223,255,.6);
}

.crown {
  color: #ffd45c;
  font-size: 4rem;
  text-shadow: 0 0 20px rgba(255,212,92,.5);
}

.slot-lever {
  position: absolute;
  right: -40px;
  top: 120px;
  width: 80px;
  height: 180px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  transform-origin: 50% 88%;
  transition: transform .25s ease, filter .25s ease;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .45));
}

.slot-lever::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 46px;
  height: 34px;
  border: 1px solid rgba(255, 212, 92, .45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .42), transparent 28%),
    linear-gradient(135deg, #7a5a18 0%, #f5c64a 38%, #7a4a10 72%, #251406 100%);
  box-shadow:
    inset 0 3px 7px rgba(255, 255, 255, .28),
    inset 0 -8px 12px rgba(0, 0, 0, .45),
    0 0 18px rgba(255, 190, 40, .22);
  transform: translateX(-50%);
}

.slot-lever:hover {
  filter:
    drop-shadow(0 18px 20px rgba(0, 0, 0, .48))
    drop-shadow(0 0 14px rgba(255, 190, 40, .2));
}

.slot-lever span {
  display: block;
  width: 14px;
  height: 122px;
  margin: 13px auto 0;
  position: relative;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #3a3328 0%, #f8f0d0 22%, #b98520 48%, #fff5c6 66%, #4d2d09 100%);
  box-shadow:
    inset 2px 0 4px rgba(255, 255, 255, .45),
    inset -3px 0 5px rgba(0, 0, 0, .45),
    0 0 10px rgba(255, 212, 92, .18);
}

.slot-lever span::before {
  content: "";
  position: absolute;
  inset: 9px 4px 11px 3px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 45%, rgba(255, 255, 255, .18));
  opacity: .85;
}

.slot-lever span::after {
  content: "";
  position: absolute;
  top: -31px;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 7%, rgba(255, 255, 255, .28) 8% 18%, transparent 19%),
    radial-gradient(circle at 58% 64%, #8b0000 0 32%, transparent 33%),
    linear-gradient(135deg, #ff4b38 0%, #c90b0b 46%, #5c0000 100%);
  box-shadow:
    inset 7px 8px 11px rgba(255, 255, 255, .2),
    inset -9px -11px 15px rgba(0, 0, 0, .45),
    0 0 22px rgba(255, 40, 30, .42),
    0 8px 14px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
}

.slot-flash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 60%);
  pointer-events: none;
  opacity: 0;
}

.burst-coin {
  position: fixed;
  z-index: 1000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7b8, #ffbf22 55%, #b76b00);
  box-shadow: 0 0 16px rgba(255,210,80,.8);
  pointer-events: none;
}

/* ========================================
   SCRATCH
======================================== */

html.scratch-cursor-active,
html.scratch-cursor-active *,
body.scratch-cursor-active,
body.scratch-cursor-active * {
  cursor: none !important;
}

.scene-scratch {
  background:
    radial-gradient(circle at 58% 42%, rgba(47, 223, 255, .16), transparent 34%),
    radial-gradient(circle at 38% 58%, rgba(125, 60, 255, .18), transparent 36%),
    linear-gradient(135deg, #140624, #090512, #030303);
}

.scratch-title {
  background: linear-gradient(135deg, #fff7d1, #7d3cff 35%, #2fdfff 78%, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.scratch-card-wrap {
  position: relative;
  overflow: hidden;
  width: 520px;
  max-width: 100%;
  aspect-ratio: 520 / 320;
  padding: 20px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 236, 160, .2), transparent 34%),
    linear-gradient(135deg, rgba(255, 211, 92, .42), rgba(123,50,255,.58) 36%, rgba(41,223,255,.5) 72%, rgba(255,255,255,.14));
  border: 1px solid rgba(255, 223, 145, .24);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 18px 34px rgba(255,255,255,.05),
    inset 0 -24px 42px rgba(0,0,0,.34),
    0 0 55px rgba(123,50,255,.35),
    0 0 95px rgba(41,223,255,.18),
    0 28px 55px rgba(0,0,0,.42);
  cursor: none !important;
}

.scratch-card-wrap * {
  cursor: none !important;
}

.scratch-card-wrap::before,
.scratch-card-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.scratch-card-wrap::before {
  inset: 20px;
  border-radius: 25px;
  z-index: 4;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 34%,
      rgba(255,255,255,.28) 45%,
      rgba(255,221,120,.18) 49%,
      rgba(41,223,255,.2) 54%,
      transparent 66%,
      transparent 100%
    );
  background-size: 260% 100%;
  background-position: -160% 0;
  animation: scratchSweepClean 4.8s ease-in-out infinite;
}

.scratch-card-wrap::after {
  inset: 8px;
  border-radius: 30px;
  z-index: 2;
  border: 1px solid rgba(255, 229, 160, .18);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.025),
    inset 0 0 28px rgba(255, 210, 90, .05);
}

@keyframes scratchSweepClean {
  0%, 45% { background-position: -160% 0; }
  100% { background-position: 160% 0; }
}

.scratch-prize {
  position: absolute;
  inset: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.34), transparent 26%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, #7a31ff, #28dfff);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    inset 0 0 40px rgba(255,255,255,.18),
    inset 0 -24px 38px rgba(0,0,0,.18);
}

.scratch-prize::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(from 0deg, transparent, rgba(255,255,255,.18), transparent, rgba(255,218,98,.18), transparent);
  animation: scratchPrizeSpin 10s linear infinite;
}

@keyframes scratchPrizeSpin {
  to { transform: rotate(360deg); }
}

.winner-banner {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 9px 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.7), transparent 24%),
    linear-gradient(135deg, #fff2a8, #ffd86a 42%, #ffb300 100%);
  color: #111;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.42),
    0 0 20px rgba(255,210,90,.4),
    0 8px 18px rgba(0,0,0,.18);
}

.scratch-prize strong {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: .9;
  color: white;
  text-shadow:
    0 0 22px rgba(255,255,255,.4),
    0 0 34px rgba(41,223,255,.34);
}

.scratch-prize span {
  position: relative;
  z-index: 1;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
  font-weight: 800;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

#scratchCanvas {
  position: absolute;
  inset: 20px;
  z-index: 3;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border-radius: 25px;
  cursor: none !important;
  touch-action: none;
  pointer-events: auto;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 22px rgba(0,0,0,.18);
}

.scratch-coin-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  width: 58px;
  height: 58px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.45));
  will-change: transform;
}

.scratch-coin-cursor.active {
  opacity: 1;
}

.scratch-coin-cursor svg {
  width: 100%;
  height: 100%;
}

.scratch-card-wrap.scratch-won {
  scale: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 0 28px rgba(255,255,255,.72),
    0 0 86px rgba(255,210,90,.88),
    0 0 165px rgba(41,223,255,.44),
    0 24px 65px rgba(0,0,0,.44);
}

.scratch-card-wrap.scratch-won::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 6;
  pointer-events: none;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.68), rgba(255,210,90,.32) 28%, rgba(41,223,255,.18) 44%, transparent 66%),
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.45) 48%, transparent 60% 100%);
  opacity: 0;
}

.scratch-card-wrap.scratch-pop {
  animation:
    floatSlow 9s ease-in-out infinite,
    scratchCardWinPop .72s cubic-bezier(.16, 1.3, .32, 1) 1;
}

.scratch-card-wrap.scratch-pop::after {
  animation:
    scratchCardWinFlash .72s ease-out 1;
}

@keyframes scratchCardWinPop {
  0% { scale: 1; }
  28% { scale: 1.11; }
  48% { scale: .985; }
  68% { scale: 1.045; }
  100% { scale: 1; }
}

@keyframes scratchCardWinFlash {
  0% {
    opacity: 0;
    transform: scale(.86);
  }

  28% {
    opacity: .9;
    transform: scale(1.02);
  }

  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

.scratch-card-wrap .interaction-hint {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* ========================================
   CONTACT
======================================== */

.scene-contact {
  background:
    radial-gradient(circle at 50% 40%, rgba(255,210,80,.15), transparent 30%),
    #050505;
}

.contact-inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-title {
  background: linear-gradient(135deg, #fff8d7, #ffc84f);
  -webkit-background-clip: text;
  color: transparent;
}

.contact-card {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
}

.contact-card::before {
  content: "JACKPOT";
  position: absolute;
  inset: auto 0 12px;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(255,215,90,.045);
  pointer-events: none;
}

.contact-card.unlocked {
  box-shadow:
    0 0 50px rgba(255,210,90,.35),
    0 0 110px rgba(255,180,40,.18);
}

.contact-card.unlocked::after {
  content: "PORTFOLIO JACKPOT UNLOCKED";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  color: #ffd86a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255,210,90,.55);
}

.contact-details {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px) scale(.96);
}

.contact-card.unlocked .contact-details {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity .55s ease,
    transform .55s ease;
}

.contact-details a {
  color: var(--gold-1);
  text-decoration: none;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
  text-shadow: 0 0 22px rgba(255,210,90,.3);
}

.contact-burst {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd86a;
  pointer-events: none;
  box-shadow: 0 0 14px #ffd86a;
}

/* ========================================
   SMALL HELPERS
======================================== */

.interaction-hint {
  margin-top: 20px;
  opacity: .6;
}

/* ========================================
   DESKTOP HEIGHT FIT SYSTEM
======================================== */
