:root {
  --black: #0f1114;
  --charcoal: #181b20;
  --panel: #1d2127;
  --panel-soft: #242a31;
  --gold: #baff00;
  --gold-deep: #5f9400;
  --red: #17391f;
  --red-bright: #37f46c;
  --emerald: #45f883;
  --cream: #f4ffe1;
  --muted: #9ca8a0;
  --line: rgba(186, 255, 0, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --font-base: "Noto Sans SC", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Noto Sans SC", Arial, sans-serif;
}

@property --contact-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 255, 106, 0.055), transparent 36%),
    linear-gradient(90deg, rgba(186, 255, 0, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(186, 255, 0, 0.025) 1px, transparent 1px),
    var(--black);
  background-size: 72px 72px;
  color: #fff;
  font-family: var(--font-base);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main > section {
  scroll-margin-top: 86px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 34px;
  background: rgba(15, 17, 20, 0.86);
  border-bottom: 1px solid rgba(186, 255, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.hero-cta,
.hero-stats,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 150px;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-button,
.planner,
.login-button,
.primary-action,
.secondary-action,
.spin-button,
.contact-actions a {
  min-height: 42px;
  border-radius: 6px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-button,
.planner,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--cream);
}

.home-button,
.planner {
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
}

.home-button.icon-only,
.planner.icon-only {
  width: 46px;
  padding: 0;
}

.planner.icon-only {
  position: relative;
  border-color: rgba(225, 255, 142, 0.48);
  background: linear-gradient(135deg, #66ff9d 0%, var(--gold) 48%, #5f9400 100%);
  color: #0c1507;
  box-shadow:
    0 0 0 1px rgba(225, 255, 142, 0.2),
    0 12px 30px rgba(186, 255, 0, 0.2);
  animation: giftShake 2.8s ease-in-out infinite;
}

.planner.icon-only::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid #101608;
  border-radius: 50%;
  background: #ff2b2b;
  box-shadow: 0 0 12px rgba(255, 43, 43, 0.76);
  animation: notificationPulse 1.4s ease-in-out infinite;
}

.planner.icon-only:hover,
.planner.icon-only:focus-visible {
  box-shadow:
    0 0 0 1px rgba(225, 255, 142, 0.26),
    0 0 26px rgba(186, 255, 0, 0.38);
}

.home-button svg,
.planner svg,
.language-switcher svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.login-button,
.primary-action,
.spin-button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(225, 255, 142, 0.48);
  background: linear-gradient(135deg, #dfff66 0%, var(--gold) 42%, #79bd00 100%);
  color: #101608;
  box-shadow: 0 10px 32px rgba(186, 255, 0, 0.18);
}

.login-button {
  min-width: 116px;
  padding: 0 26px;
  font-size: 15px;
  box-shadow:
    0 0 0 1px rgba(225, 255, 142, 0.24),
    0 14px 38px rgba(186, 255, 0, 0.28),
    0 0 30px rgba(186, 255, 0, 0.18);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 12, 14, 0.72);
  color: var(--cream);
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.language-switcher svg {
  position: absolute;
  left: 12px;
  z-index: 1;
  pointer-events: none;
}

.language-switcher select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 42px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  opacity: 0;
  padding: 0;
}

.language-switcher select option {
  color: #101608;
}

.language-switcher:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(186, 255, 0, 0.14);
}

.home-button:hover,
.planner:hover,
.login-button:hover,
.primary-action:hover,
.secondary-action:hover,
.spin-button:hover,
.contact-actions a:hover {
  transform: translateY(-2px);
}

.login-button:hover,
.primary-action:hover,
.spin-button:hover,
.contact-actions a:hover {
  box-shadow: 0 0 28px rgba(186, 255, 0, 0.34);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 148px 7vw 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 17, 20, 0.96) 0%, rgba(15, 17, 20, 0.78) 42%, rgba(15, 17, 20, 0.24) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(15, 17, 20, 0.34) 24%, rgba(15, 17, 20, 0.08) 100%);
  pointer-events: none;
}

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

.promo-carousel {
  position: relative;
  width: min(1220px, calc(100vw - 56px));
  margin: 28px auto 0;
}

.promo-carousel-viewport {
  overflow: hidden;
}

.promo-carousel-track {
  display: flex;
  gap: 14px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}

.promo-carousel-track::-webkit-scrollbar {
  display: none;
}

.promo-slide {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 28px) / 3);
  aspect-ratio: 1065 / 510;
  min-width: 0;
  border: 1px solid rgba(186, 255, 0, 0.18);
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
  background: rgba(15, 17, 20, 0.76);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0.72;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.promo-slide.is-active {
  border-color: rgba(186, 255, 0, 0.66);
  opacity: 1;
  transform: translateY(-2px);
}

.promo-copy-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-copy {
  position: absolute;
  inset: 0 45% 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
  background: linear-gradient(90deg, rgba(5, 10, 8, 0.92), rgba(5, 10, 8, 0.54) 78%, transparent);
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.72);
}

.campaign-brand {
  margin-bottom: 7px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(13px, 1.3vw, 21px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.promo-copy h3 {
  max-width: 100%;
  margin: 0;
  color: #baff00;
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: clamp(16px, 1.8vw, 31px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.promo-copy strong {
  margin-top: 7px;
  font-size: clamp(12px, 1.15vw, 20px);
  line-height: 1.1;
}

.campaign-cta {
  margin-top: 11px;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--gold);
  color: #0a1206;
  font-size: clamp(9px, 0.85vw, 14px);
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  text-transform: uppercase;
}

.promo-slide:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.promo-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(218, 255, 120, 0.34);
  border-radius: 6px;
  background: rgba(15, 17, 20, 0.72);
  color: var(--cream);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.promo-carousel-control:hover,
.promo-carousel-control:focus-visible {
  border-color: rgba(218, 255, 120, 0.74);
  background: rgba(15, 17, 20, 0.78);
  color: var(--gold);
}

.promo-carousel-control.previous {
  left: -12px;
}

.promo-carousel-control.next {
  right: -12px;
}

.promo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.promo-carousel-dots button {
  width: 14px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 255, 225, 0.35);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.promo-carousel-dots button.is-active,
.promo-carousel-dots button:hover,
.promo-carousel-dots button:focus-visible {
  width: 30px;
  background: var(--gold);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
}

h1 {
  max-width: 720px;
  font-size: 70px;
  font-weight: 900;
  line-height: 0.98;
  color: #f7ffe9;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.46);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #d9e2dc;
  font-size: 19px;
  line-height: 1.8;
}

.hero-cta {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-width: 150px;
  padding: 13px 20px;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero-stats > span {
  position: relative;
  overflow: hidden;
  min-width: 132px;
  padding: 16px 18px 15px;
  border: 1px solid rgba(186, 255, 0, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(186, 255, 0, 0.1), transparent 58%),
    rgba(28, 33, 39, 0.82);
  color: var(--muted);
  box-shadow:
    inset 0 1px 0 rgba(218, 255, 120, 0.12),
    0 0 22px rgba(186, 255, 0, 0.07);
}

.hero-stats > span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(69, 248, 131, 0.2), transparent 34%);
  opacity: 0.84;
  pointer-events: none;
}

.hero-stats strong {
  position: relative;
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 16px rgba(186, 255, 0, 0.32);
}

.spin-section,
.winners-section,
.intro-section,
.contact-section {
  padding: 84px 7vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-section h2 {
  position: relative;
  display: inline-block;
  color: var(--gold);
  font-size: 42px;
  line-height: 1.12;
  text-shadow:
    0 0 12px rgba(186, 255, 0, 0.42),
    0 0 30px rgba(69, 248, 131, 0.24),
    0 4px 20px rgba(0, 0, 0, 0.45);
}

.section-heading p:last-child,
.contact-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.spin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 460px);
  gap: 30px;
  align-items: center;
}

.wheel-stage,
.spin-panel,
.video-carousel,
.winner-feed,
.game-types article,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(36, 42, 49, 0.96), rgba(17, 20, 24, 0.94));
  box-shadow: var(--shadow);
}

.wheel-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}

.wheel-stage::before {
  content: "1XROLL";
  position: absolute;
  inset: auto 0 28px;
  color: rgba(186, 255, 0, 0.055);
  font-family: var(--font-display);
  font-size: 92px;
  font-weight: 900;
  text-align: center;
}

.wheel-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(480px, 100%);
  aspect-ratio: 1;
  place-items: center;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  z-index: 4;
  width: 0;
  height: 0;
  border-right: 22px solid transparent;
  border-left: 22px solid transparent;
  border-top: 46px solid var(--gold);
  filter: drop-shadow(0 0 10px rgba(186, 255, 0, 0.4));
}

.wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 12px solid #27351a;
  border-radius: 50%;
  background:
    conic-gradient(
      from -16.364deg,
      #173b20 0deg 32.727deg,
      #11171a 32.727deg 65.455deg,
      #6da600 65.455deg 98.182deg,
      #20272b 98.182deg 130.909deg,
      #173b20 130.909deg 163.636deg,
      #11171a 163.636deg 196.364deg,
      #6da600 196.364deg 229.091deg,
      #20272b 229.091deg 261.818deg,
      #173b20 261.818deg 294.545deg,
      #11171a 294.545deg 327.273deg,
      #6da600 327.273deg 360deg
    );
  box-shadow:
    inset 0 0 0 6px rgba(222, 255, 132, 0.18),
    inset 0 0 40px rgba(0, 0, 0, 0.55),
    0 0 46px rgba(186, 255, 0, 0.13),
    0 24px 60px rgba(0, 0, 0, 0.46);
  transition: transform 4.2s cubic-bezier(0.12, 0.78, 0.22, 1);
}

.wheel.is-idling {
  transition: none;
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(218, 255, 120, 0.42);
  border-radius: 50%;
}

.wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  height: 30px;
  color: #f4ffe4;
  font-size: 21px;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.62);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-170px)
    rotate(var(--counter-angle));
  z-index: 2;
}

.wheel-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 6px solid rgba(211, 255, 89, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(15, 17, 20, 0.98), rgba(18, 62, 31, 0.95)),
    var(--black);
  color: var(--gold);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  padding: 0;
  transform: translate(-50%, -50%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.wheel-logo:hover,
.wheel-logo:focus-visible {
  border-color: rgba(211, 255, 89, 0.82);
  box-shadow: 0 0 28px rgba(186, 255, 0, 0.28);
  transform: translate(-50%, -50%) scale(1.03);
}

.wheel-logo:disabled {
  cursor: wait;
  opacity: 0.82;
}

.wheel-logo img {
  width: 104px;
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(186, 255, 0, 0.2));
}

.spin-panel {
  padding: 30px;
}

.panel-header {
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(69, 248, 131, 0.42);
  border-radius: 6px;
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
}

.spin-panel h3,
.winner-feed h3,
.game-types h3 {
  margin: 14px 0 0;
  color: #f3ffe3;
  font-size: 24px;
}

.chance-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(186, 255, 0, 0.18);
  border-radius: 6px;
  background: rgba(186, 255, 0, 0.055);
}

.chance-meter span {
  color: #dce9dc;
  font-size: 14px;
  font-weight: 800;
}

.chance-meter strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
}

.spin-panel label {
  display: block;
  margin-top: 18px;
  color: #dde8df;
  font-weight: 800;
}

.spin-panel input {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 1px solid rgba(186, 255, 0, 0.2);
  border-radius: 6px;
  background: rgba(9, 12, 14, 0.58);
  color: #fff;
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.spin-panel input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(186, 255, 0, 0.12), 0 0 22px rgba(69, 248, 131, 0.08);
}

.spin-button {
  width: 100%;
  margin-top: 24px;
  border: 0;
  cursor: pointer;
  font-size: 17px;
}

.spin-button:disabled {
  cursor: wait;
  filter: grayscale(0.4);
  opacity: 0.74;
}

.spin-message {
  min-height: 58px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.spin-message strong {
  color: var(--gold);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(360px, 430px);
  gap: 26px;
  align-items: stretch;
}

.video-carousel {
  position: relative;
  display: grid;
  min-height: 590px;
  padding: 0 0 44px;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.video-carousel:active {
  cursor: grabbing;
}

.video-carousel-viewport {
  position: relative;
  width: min(720px, 100%);
  min-height: 546px;
  overflow: visible;
  border-radius: 10px;
}

.video-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(300px, 62vw);
  aspect-ratio: 9 / 16;
  height: auto;
  border: 1px solid rgba(186, 255, 0, 0.18);
  border-radius: 8px;
  background: #050708;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.video-slide.is-active {
  z-index: 4;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 244, 153, 0.82),
    0 0 26px rgba(255, 213, 66, 0.56),
    0 0 46px rgba(186, 255, 0, 0.34),
    0 26px 56px rgba(0, 0, 0, 0.52);
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}

.video-slide.is-before,
.video-slide.is-after,
.video-slide.is-far-before,
.video-slide.is-far-after {
  opacity: 0.48;
  filter: brightness(0.72) saturate(0.85);
}

.video-slide.is-before,
.video-slide.is-after {
  z-index: 3;
}

.video-slide.is-before {
  transform: translate(calc(-50% - 132px), -50%) scale(0.86);
}

.video-slide.is-after {
  transform: translate(calc(-50% + 132px), -50%) scale(0.86);
}

.video-slide.is-far-before,
.video-slide.is-far-after {
  z-index: 2;
  opacity: 0.34;
  filter: brightness(0.58) saturate(0.75);
}

.video-slide.is-far-before {
  transform: translate(calc(-50% - 218px), -50%) scale(0.78);
}

.video-slide.is-far-after {
  transform: translate(calc(-50% + 218px), -50%) scale(0.78);
}

.video-carousel-dots {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.video-carousel-dots button {
  width: 14px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 255, 225, 0.35);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.video-carousel-dots button.is-active,
.video-carousel-dots button:hover,
.video-carousel-dots button:focus-visible {
  width: 30px;
  background: var(--gold);
}

.winner-feed {
  min-height: 590px;
  padding: 28px;
  overflow: hidden;
}

.winner-feed-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.winner-feed-header > strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
}

.live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 14px rgba(69, 248, 131, 0.74);
}

.winner-ticker {
  position: relative;
  height: 470px;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.winner-feed ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.winner-feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 16px;
  border: 1px solid rgba(186, 255, 0, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.winner-feed li.is-new {
  border-color: rgba(186, 255, 0, 0.42);
  background: rgba(186, 255, 0, 0.09);
  animation: winnerPulse 1200ms ease;
}

.winner-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.winner-name {
  color: #f4ffe1;
  font-weight: 800;
}

.winner-time {
  color: var(--muted);
  font-size: 12px;
}

.winner-prize {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

@keyframes winnerPulse {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.game-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-types article {
  position: relative;
  isolation: isolate;
  min-height: 218px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 54%),
    linear-gradient(145deg, rgba(36, 42, 49, 0.96), rgba(17, 20, 24, 0.94));
}

.game-types article::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 40%),
    linear-gradient(90deg, rgba(17, 20, 24, 0.98) 0%, rgba(17, 20, 24, 0.92) 42%, rgba(17, 20, 24, 0.46) 74%, rgba(17, 20, 24, 0.18) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%);
  opacity: 1;
  pointer-events: none;
}

.game-types article::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: var(--showcase-image);
  background-position: 68% center;
  background-size: cover;
  opacity: 0.75;
  pointer-events: none;
}

.game-types article > * {
  position: relative;
  z-index: 2;
}

.game-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 54%, transparent);
  border-radius: 8px;
  background: rgba(6, 12, 9, 0.48);
  box-shadow:
    inset 0 0 18px color-mix(in srgb, var(--accent) 10%, transparent),
    0 0 22px color-mix(in srgb, var(--accent) 13%, transparent);
}

.game-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.game-types article > span:not(.game-icon) {
  display: block;
  margin-top: 18px;
  color: #f4ffe4;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.game-types h3 {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(186, 255, 0, 0.28);
}

.game-types p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 7vw 84px;
  padding: 34px;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--contact-glow-angle, 0deg),
    rgba(186, 255, 0, 0.05) 0deg,
    rgba(186, 255, 0, 0.05) 230deg,
    rgba(255, 255, 255, 0.96) 274deg,
    rgba(255, 238, 91, 1) 296deg,
    rgba(186, 255, 0, 0.96) 318deg,
    rgba(186, 255, 0, 0.05) 350deg,
    rgba(186, 255, 0, 0.05) 360deg
  );
  opacity: 1;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: contactGlowRun 5.5s linear infinite;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 34px rgba(186, 255, 0, 0.09),
    0 0 42px rgba(255, 238, 91, 0.14),
    0 0 18px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.contact-section.is-guided {
  animation: contactGuidePulse 1.7s ease-in-out 2;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-actions {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-actions a {
  position: relative;
  overflow: hidden;
  gap: 10px;
  min-width: 132px;
  padding: 13px 18px;
}

.contact-actions img {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.contact-actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.contact-actions .telegram {
  background: linear-gradient(135deg, #baff00, #58c927);
  color: #101608;
}

.contact-actions .whatsapp {
  background: linear-gradient(135deg, #66ff9d, #14a94c);
  color: #07160c;
}

.coin-drop {
  position: fixed;
  top: -26px;
  z-index: 50;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(232, 255, 169, 0.74);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f3ffc9, var(--gold) 55%, #4f8a00 100%);
  box-shadow: 0 0 18px rgba(186, 255, 0, 0.42);
  pointer-events: none;
  animation: coinFall linear forwards;
}

.confetti-piece {
  position: fixed;
  top: -18px;
  z-index: 80;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  background: var(--confetti-color, var(--gold));
  box-shadow: 0 0 12px color-mix(in srgb, var(--confetti-color, var(--gold)) 48%, transparent);
  pointer-events: none;
  animation: confettiFall linear forwards;
}

.win-modal[hidden] {
  display: none;
}

.win-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}

.win-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 8, 0.72);
  backdrop-filter: blur(10px);
}

.win-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(186, 255, 0, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(186, 255, 0, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(36, 42, 49, 0.98), rgba(14, 17, 20, 0.98));
  box-shadow:
    0 0 48px rgba(186, 255, 0, 0.2),
    0 30px 90px rgba(0, 0, 0, 0.62);
  text-align: center;
}

.win-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 12, 14, 0.62);
  color: var(--cream);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.win-modal-badge {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(69, 248, 131, 0.42);
  border-radius: 6px;
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.win-modal h2 {
  margin: 18px 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(186, 255, 0, 0.52),
    0 0 34px rgba(255, 238, 91, 0.22);
}

.win-modal-copy {
  margin: 20px 0 0;
  color: #f4ffe4;
  font-size: 20px;
  line-height: 1.55;
}

.win-modal-copy strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.win-modal-subcopy {
  max-width: 430px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.win-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.win-modal-actions a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  min-height: 50px;
  border-radius: 6px;
  color: #101608;
  font-weight: 900;
}

.win-modal-actions img {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.win-modal-actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.win-modal-actions .telegram {
  background: linear-gradient(135deg, #baff00, #58c927);
}

.win-modal-actions .whatsapp {
  background: linear-gradient(135deg, #66ff9d, #14a94c);
}

.contact-actions :is(.telegram, .whatsapp)::after,
.win-modal-actions :is(.telegram, .whatsapp)::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -55%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.18),
    transparent
  );
  filter: blur(1px);
  transform: skewX(-20deg) translateX(-220%);
  animation: contactButtonGlare 3.2s ease-in-out infinite;
}

.contact-actions .whatsapp::after,
.win-modal-actions .whatsapp::after {
  animation-delay: 0.35s;
}

@keyframes contactButtonGlare {
  0%,
  18% {
    transform: skewX(-20deg) translateX(-220%);
  }

  48%,
  100% {
    transform: skewX(-20deg) translateX(620%);
  }
}

@keyframes coinFall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) scale(0.8);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(104vh) rotate(520deg) scale(1);
  }
}

@keyframes confettiFall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(106vh) rotate(720deg);
  }
}

@keyframes contactGlowRun {
  0% {
    --contact-glow-angle: 0deg;
  }

  100% {
    --contact-glow-angle: 360deg;
  }
}

@keyframes giftShake {
  0%,
  76%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  80% {
    transform: translateY(-1px) rotate(-5deg);
  }

  84% {
    transform: translateY(1px) rotate(5deg);
  }

  88% {
    transform: translateY(-1px) rotate(-4deg);
  }

  92% {
    transform: translateY(0) rotate(3deg);
  }
}

@keyframes notificationPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.28);
    opacity: 0.78;
  }
}

@keyframes contactGuidePulse {
  0%,
  100% {
    box-shadow: var(--shadow);
  }

  45% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.72),
      0 0 38px rgba(255, 238, 91, 0.42),
      0 0 68px rgba(186, 255, 0, 0.32),
      var(--shadow);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 56px;
  }

  .spin-grid,
  .video-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .game-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 118px;
  }

  .top-actions {
    gap: 8px;
  }

  .home-button {
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .planner.icon-only {
    display: inline-flex;
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .login-button {
    min-width: 92px;
    min-height: 38px;
    padding: 0 18px;
  }

  .language-switcher select {
    min-height: 38px;
  }

  .language-switcher {
    width: 54px;
    min-height: 38px;
  }

  .language-switcher svg {
    left: 10px;
  }

  .hero {
    min-height: 92vh;
    padding: 118px 20px 108px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 17, 20, 0.97), rgba(15, 17, 20, 0.8)),
      linear-gradient(0deg, var(--black), rgba(15, 17, 20, 0.18));
  }

  .promo-carousel {
    width: 100%;
    margin-top: 24px;
  }

  .promo-slide {
    flex-basis: 82%;
  }

  .promo-carousel-control {
    width: 32px;
    height: 44px;
    font-size: 27px;
  }

  .promo-carousel-control.previous {
    left: 6px;
  }

  .promo-carousel-control.next {
    right: 6px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy,
  .section-heading p:last-child,
  .contact-section p {
    font-size: 16px;
  }

  .hero-stats > span {
    flex: 1 1 140px;
    min-width: 0;
  }

  .spin-section,
  .winners-section,
  .intro-section {
    padding: 60px 20px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 33px;
  }

  .wheel-stage {
    min-height: auto;
    padding: 16px;
  }

  .wheel span {
    width: 88px;
    height: 24px;
    font-size: 15px;
    line-height: 24px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-118px)
      rotate(var(--counter-angle));
  }

  .wheel-logo {
    width: 112px;
    height: 112px;
    font-size: 20px;
  }

  .wheel-logo img {
    width: 78px;
    max-height: 66px;
  }

  .spin-panel,
  .winner-feed {
    padding: 22px;
  }

  .chance-meter {
    align-items: flex-start;
    flex-direction: column;
  }

  .winner-ticker {
    height: 336px;
  }

  .video-carousel {
    min-height: 500px;
    padding: 0 0 46px;
  }

  .video-carousel-viewport {
    min-height: 430px;
  }

  .video-slide {
    width: min(240px, 70vw);
  }

  .video-slide.is-before {
    transform: translate(calc(-50% - 92px), -50%) scale(0.82);
  }

  .video-slide.is-after {
    transform: translate(calc(-50% + 92px), -50%) scale(0.82);
  }

  .video-slide.is-far-before {
    transform: translate(calc(-50% - 156px), -50%) scale(0.72);
  }

  .video-slide.is-far-after {
    transform: translate(calc(-50% + 156px), -50%) scale(0.72);
  }

  .game-types {
    grid-template-columns: 1fr;
  }

  .contact-section {
    margin: 0 20px 60px;
    padding: 24px;
  }

  .contact-actions a,
  .primary-action,
  .secondary-action {
    flex: 1 1 140px;
  }

  .win-modal-card {
    padding: 28px 20px;
  }

  .win-modal h2 {
    font-size: 40px;
  }

  .win-modal-actions a {
    flex: 1 1 180px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 34px;
  }

  .hero-copy {
    line-height: 1.65;
  }

  .wheel span {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-104px)
      rotate(var(--counter-angle));
  }
}
