.hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  padding: 11rem 0 7rem;
  background:
    radial-gradient(circle at 15% 24%, rgba(13, 76, 145, .45), transparent 35%),
    radial-gradient(circle at 88% 58%, rgba(117, 25, 116, .35), transparent 38%),
    linear-gradient(135deg, #071225 0%, #09091d 42%, #1b0824 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  width: 16rem;
  height: 58rem;
  top: -18rem;
  opacity: .09;
  filter: blur(12px);
  transform: rotate(28deg);
  background: linear-gradient(to bottom, #fff, transparent 75%);
}
.hero-beam-one { left: 9%; }
.hero-beam-two { right: 8%; transform: rotate(-24deg); }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.5rem, 7.5vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.065em;
}
.hero .lead { max-width: 660px; color: rgba(var(--cream-rgb), .72); line-height: 1.68; }
.hero-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .72rem;
  border: 1px solid rgba(55, 227, 135, .28);
  border-radius: 999px;
  color: #9af5bd;
  background: rgba(32, 173, 101, .11);
  text-decoration: none;
  font-size: .65rem;
  font-weight: 800;
}
.live-pill i,
.studio-head b i {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #37e587;
  box-shadow: 0 0 12px rgba(55, 229, 135, .65);
}
.hero-stats { display: flex; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; min-width: 125px; padding: 1.25rem 2rem 0 0; }
.hero-stats strong { color: var(--yellow); font-size: 1.65rem; line-height: 1; }
.hero-stats span { margin-top: .38rem; color: var(--muted); font-size: .66rem; font-weight: 750; }

.game-stage {
  position: relative;
  min-height: 550px;
  padding: 2.6rem 2.4rem;
  border: 1px solid rgba(102, 215, 255, .25);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(25, 29, 74, .94), rgba(49, 12, 56, .95));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateY(-5deg) rotateX(1deg);
}
.stage-lights {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle, #ffe8a0 0 2px, #ffc849 3px, transparent 6px) top left / 34px 12px repeat-x,
    radial-gradient(circle, #ffe8a0 0 2px, #ffc849 3px, transparent 6px) bottom left / 34px 12px repeat-x;
  filter: drop-shadow(0 0 7px rgba(255, 203, 84, .55));
}
.puzzle-board {
  position: relative;
  z-index: 2;
  min-height: 250px;
  padding: 3.7rem 2rem 2rem;
  border: 1px solid rgba(77, 218, 255, .3);
  border-radius: 21px;
  background: linear-gradient(120deg, #141846, #2e103c);
  box-shadow: inset 0 0 60px rgba(19, 8, 40, .5);
}
.board-label {
  position: absolute;
  left: 1.3rem;
  top: 1rem;
  color: var(--cyan);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.board-line { display: flex; justify-content: center; gap: .38rem; margin: 1.1rem 0; }
.board-line.short { transform: translateX(2rem); }
.board-line i {
  display: grid;
  width: clamp(31px, 5.2vw, 47px);
  aspect-ratio: .82;
  place-items: center;
  border: 1px solid #00bae8;
  border-radius: 7px;
  color: #0b1327;
  background: #f8f7f4;
  box-shadow: 0 0 18px rgba(66, 217, 255, .22);
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 950;
}
.board-line i.hidden-letter { background: rgba(71, 60, 121, .58); box-shadow: none; }
.wheel-wrap { position: absolute; z-index: 4; width: 220px; height: 220px; right: -42px; bottom: 62px; }
.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border: 10px solid #0a0910;
  border-radius: 50%;
  background: conic-gradient(
    #1fb9ad 0 15deg, #7650d3 15deg 30deg, #f35261 30deg 45deg, #2587d7 45deg 60deg,
    #e68227 60deg 75deg, #2daf64 75deg 90deg, #b13a9e 90deg 105deg, #0d8a68 105deg 120deg,
    #6b36cb 120deg 135deg, #df293d 135deg 150deg, #20b9ad 150deg 165deg, #318db4 165deg 180deg,
    #7b4cd3 180deg 195deg, #f35560 195deg 210deg, #2ba95e 210deg 225deg, #e78128 225deg 240deg,
    #2a82d0 240deg 255deg, #b13c9f 255deg 270deg, #10b7ad 270deg 285deg, #6d4bd1 285deg 300deg,
    #f15361 300deg 315deg, #318fb5 315deg 330deg, #2cac62 330deg 345deg, #e58328 345deg 360deg
  );
  box-shadow: 0 0 0 4px #5f536d, 0 20px 45px rgba(0, 0, 0, .52);
  animation: wheel-float 5s ease-in-out infinite;
}
.wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(rgba(0, 0, 0, .62) 0 1deg, transparent 1deg 15deg);
}
.wheel-hub {
  position: absolute;
  z-index: 2;
  inset: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 5px solid #585260;
  border-radius: 50%;
  color: #0b0d18;
  background: linear-gradient(145deg, #fff, #acacb2);
  font-weight: 950;
  transform: translate(-50%, -50%);
}
.wheel-pointer {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: -17px;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 55px solid #fff;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .5));
  transform: translateX(-50%);
}
.stage-status {
  position: absolute;
  z-index: 5;
  left: 2.4rem;
  right: 10rem;
  bottom: 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 15, 40, .87);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
.stage-status .avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #06213b; background: var(--cyan); font-weight: 900; }
.stage-status div { display: grid; min-width: 0; }
.stage-status strong { color: var(--cyan); font-size: .62rem; letter-spacing: .12em; }
.stage-status small { overflow: hidden; color: rgba(var(--cream-rgb), .70); text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; }
.stage-status b { display: grid; width: 38px; height: 38px; place-items: center; border: 4px solid var(--cyan); border-radius: 50%; font-size: .76rem; }

.platform-strip { padding: 2.2rem 0; border-block: 1px solid var(--line); background: #0a0c20; }
.platform-intro { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.platform-intro p { margin: 0; color: var(--muted); font-size: .82rem; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.platform-grid article { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.platform-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--cyan); background: rgba(66, 217, 255, .1); font-size: 1.15rem; }
.platform-grid article div { display: grid; }
.platform-grid strong { font-size: .8rem; }
.platform-grid small { color: var(--muted); font-size: .64rem; }

.game-section { background: linear-gradient(180deg, #0b0d22, #10102b); }
.step-card {
  position: relative;
  min-height: 330px;
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 255, 255, .035);
}
.step-card.featured { border-color: rgba(66, 217, 255, .32); background: linear-gradient(145deg, rgba(36, 78, 111, .45), rgba(35, 20, 67, .66)); }
.step-card > span { position: absolute; right: 1.5rem; top: 1.2rem; color: rgba(255, 255, 255, .12); font-size: 3rem; font-weight: 950; }
.step-icon { display: grid; width: 58px; height: 58px; margin-bottom: 4.5rem; place-items: center; border-radius: 17px; color: #08121b; background: var(--cyan); font-size: 1.55rem; font-weight: 950; box-shadow: 0 0 30px rgba(66, 217, 255, .18); }
.step-card:nth-child(1) .step-icon { background: var(--orange); }
.step-card h3 { margin-bottom: .8rem; font-size: 1.4rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.round-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: .8rem; }
.round-flow > div { display: grid; gap: .3rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.round-flow > div.bonus { border-color: rgba(255, 211, 72, .35); background: rgba(255, 211, 72, .07); }
.round-flow strong { font-size: .75rem; }
.round-flow span { color: var(--muted); font-size: .65rem; }
.round-flow > i { align-self: center; color: rgba(var(--cream-rgb), .30); font-size: 1.7rem; font-style: normal; }

.online-section { background: #090a1d; }
.online-panel { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); border: 1px solid rgba(127, 81, 220, .28); border-radius: 35px; background: radial-gradient(circle at 90% 15%, rgba(159, 47, 138, .22), transparent 32%), linear-gradient(135deg, #111b3a, #200c2a 70%); box-shadow: 0 34px 80px rgba(0, 0, 0, .28); }
.online-lead { max-width: 620px; color: var(--muted); line-height: 1.75; }
.online-features { display: grid; gap: .8rem; }
.online-features article { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .8rem; }
.online-features article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--cyan); background: rgba(66, 217, 255, .1); }
.online-features article div { display: grid; }
.online-features strong { font-size: .82rem; }
.online-features small { margin-top: .15rem; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.studio-card { padding: 1.2rem; border: 1px solid rgba(66, 217, 255, .25); border-radius: 25px; background: linear-gradient(155deg, rgba(27, 32, 76, .95), rgba(42, 18, 58, .96)); box-shadow: 0 25px 60px rgba(0, 0, 0, .4), inset 0 1px rgba(255,255,255,.08); }
.studio-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .3rem .2rem 1rem; }
.studio-head > div { display: flex; align-items: center; gap: .55rem; color: var(--cyan); font-size: .78rem; letter-spacing: .08em; }
.studio-head b { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .6rem; border-radius: 999px; color: #7af0a9; background: rgba(32, 164, 95, .14); font-size: .58rem; }
.room-code { display: flex; align-items: baseline; gap: .55rem; padding: .8rem .9rem; border-radius: 15px; background: rgba(255,255,255,.045); }
.room-code small { color: var(--muted); font-size: .58rem; font-weight: 900; }
.room-code strong { font-size: 1.1rem; letter-spacing: .12em; }
.room-code span { margin-left: auto; color: var(--yellow); font-size: .55rem; font-weight: 900; }
.studio-player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; margin-top: .65rem; padding: .75rem .8rem; border: 1px solid rgba(255,255,255,.06); border-radius: 15px; background: rgba(255,255,255,.04); }
.studio-player > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: #08131f; font-size: .7rem; font-weight: 950; }
.studio-player .cyan { background: var(--cyan); }
.studio-player .pink { background: var(--pink); }
.studio-player .orange { background: var(--orange); }
.studio-player div { display: grid; }
.studio-player strong { font-size: .73rem; }
.studio-player small { color: #52e491; font-size: .53rem; font-weight: 900; }
.studio-player > b { color: var(--muted); font-size: .55rem; }
.chat-bubble { width: 75%; margin: .85rem 0 0 auto; padding: .7rem .8rem; border-radius: 14px 14px 4px 14px; background: rgba(66, 217, 255, .12); font-size: .67rem; }
.chat-bubble strong { display: block; color: var(--cyan); font-size: .52rem; letter-spacing: .08em; }

.feature-section { background: linear-gradient(180deg, #10102b, #17102b); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.04); }
.feature-card > :not(.feature-art) { margin-inline: 1.3rem; }
.feature-card > small { display: block; margin-top: 1.25rem; color: var(--cyan); font-size: .58rem; font-weight: 950; letter-spacing: .13em; }
.feature-card h3 { margin-top: .5rem; font-size: 1.15rem; }
.feature-card p { min-height: 100px; margin-bottom: 1.45rem; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.feature-art { position: relative; display: flex; min-height: 170px; align-items: center; justify-content: center; gap: .5rem; overflow: hidden; background: #221744; }
.feature-art::after { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.025), 0 0 0 50px rgba(255,255,255,.018); }
.power .feature-art { background: linear-gradient(135deg, #67305e, #a8464d); }
.power .feature-art span { z-index: 1; display: grid; width: 65px; height: 65px; place-items: center; border-radius: 20px; background: rgba(255,255,255,.16); font-size: 2rem; }
.power .feature-art i { z-index: 1; width: 7px; height: 45px; border-radius: 8px; background: var(--yellow); transform: scaleY(.45); }
.power .feature-art i:nth-of-type(2) { transform: scaleY(.78); }
.power .feature-art i:nth-of-type(3) { transform: scaleY(1); }
.achievement .feature-art { background: linear-gradient(135deg, #9b5b19, #f0a62c); }
.achievement .feature-art span { z-index: 1; font-size: 4rem; text-shadow: 0 8px 22px rgba(0,0,0,.25); }
.achievement .feature-art b { z-index: 1; position: absolute; right: 1rem; top: 1rem; padding: .3rem .55rem; border-radius: 999px; color: #2a1604; background: rgba(255,255,255,.72); font-size: .6rem; }
.themes .feature-art { background: #101225; }
.themes .feature-art i { z-index: 1; width: 46px; height: 78px; border: 2px solid #fff; border-radius: 14px; background: linear-gradient(#142e67, #36103f); transform: rotate(-7deg); }
.themes .feature-art i:nth-child(2) { background: linear-gradient(#5f0d25, #270815); transform: translateY(-10px); }
.themes .feature-art i:nth-child(3) { background: linear-gradient(#0e543a, #08281d); transform: rotate(7deg); }
.fair .feature-art { gap: 1rem; background: linear-gradient(135deg, #10445b, #122442); }
.fair .feature-art span { z-index: 1; display: grid; width: 70px; height: 70px; place-items: center; border: 6px solid var(--cyan); border-radius: 50%; font-size: 1.2rem; font-weight: 950; }
.fair .feature-art span:nth-child(2) { border-color: var(--orange); }

.download-section { background: linear-gradient(180deg, #17102b, #09091d); }
.download-panel { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); border: 1px solid rgba(255,255,255,.12); border-radius: 34px; background: linear-gradient(135deg, #0a6491, #343078 55%, #7c235f); box-shadow: 0 35px 90px rgba(0,0,0,.32); }
.download-glow { position: absolute; width: 500px; height: 500px; right: -180px; top: -270px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.015); }
.download-panel h2 { max-width: 720px; font-family: var(--font-display); font-weight: 950; letter-spacing: -.045em; line-height: 1; }
.download-panel .text-white-50 { color: rgba(var(--cream-rgb), .62) !important; }
.download-points { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; color: rgba(var(--cream-rgb), .82); font-size: .7rem; font-weight: 750; }
.availability-card { display: grid; gap: .65rem; padding: 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(7,9,26,.32); backdrop-filter: blur(10px); }
.availability-card > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: .8rem; border-radius: 14px; background: rgba(255,255,255,.06); }
.availability-card > div > span { grid-row: span 2; align-self: center; width: 32px; color: var(--cyan); font-size: 1.2rem; text-align: center; }
.availability-card strong { font-size: .72rem; }
.availability-card small { color: rgba(var(--cream-rgb), .60); font-size: .6rem; }

@keyframes wheel-float { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }

@media (max-width: 1199.98px) {
  .game-stage { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .hero { min-height: 0; padding-top: 9rem; }
  .game-stage { max-width: 720px; margin: 1rem auto 0; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .round-flow { grid-template-columns: 1fr; }
  .round-flow > i { display: none; }
  .studio-card { max-width: 640px; margin: 0 auto; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-stats div { min-width: 0; flex: 1; padding-right: .7rem; }
  .game-stage { min-height: 475px; padding: 1.8rem 1.2rem; }
  .puzzle-board { min-height: 220px; padding-inline: .7rem; }
  .board-line { gap: .22rem; }
  .board-line.short { transform: none; }
  .board-line i { width: 32px; }
  .wheel-wrap { width: 170px; height: 170px; right: -28px; bottom: 75px; }
  .wheel-hub { width: 48px; height: 48px; }
  .stage-status { left: 1.2rem; right: 4.3rem; bottom: 1.4rem; }
  .stage-status .avatar { display: none; }
  .stage-status { grid-template-columns: 1fr auto; }
  .platform-intro { display: block; }
  .platform-intro p { margin-top: .55rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card p { min-height: 0; }
  .online-panel,
  .download-panel { border-radius: 24px; }
  .studio-player > b { display: none; }
}
