:root {
  --bg: #141414;
  --bg-deep: #0b0b0b;
  --surface: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f6f8;
  --muted: #9ca1a9;
  --blue: #1975ef;
  --blue-hot: #3d8fff;
  --green: #4fd65a;
  --green-deep: #0f7a1c;
  --gold: #ffc207;
  --orange: #ff8a2b;
  --red: #ef3b3b;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 1.25rem;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(25, 117, 239, 0.18), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(79, 214, 90, 0.12), transparent 50%),
    linear-gradient(180deg, #171717 0%, var(--bg) 35%, var(--bg-deep) 100%);
  line-height: 1.5;
  overflow-x: clip;
}

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

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

h1,
h2,
h3,
.brand__mark,
.brand--hero {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(14px);
  background: rgba(20, 20, 20, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand__mark,
.brand--hero {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
}

.brand__mark {
  font-size: 1.15rem;
}

.nav {
  display: none;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--blue {
  background: linear-gradient(180deg, var(--blue-hot), var(--blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(25, 117, 239, 0.35);
}

.btn--blue:hover {
  box-shadow: 0 14px 36px rgba(25, 117, 239, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn--sm {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

.btn--lg {
  min-height: 3.25rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.72) 48%, rgba(10, 10, 10, 0.94) 100%),
    linear-gradient(115deg, rgba(10, 10, 10, 0.88) 10%, rgba(10, 10, 10, 0.2) 55%, rgba(18, 70, 28, 0.4) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(79, 214, 90, 0.35), transparent 55%),
    linear-gradient(180deg, #12331a 0%, #0d1a12 45%, #141414 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero__glow--green {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(79, 214, 90, 0.45), rgba(15, 122, 28, 0.05) 70%);
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero__glow--blue {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  left: -10%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(25, 117, 239, 0.35), transparent 70%);
  animation: pulse-glow 7.5s ease-in-out infinite reverse;
}

.hero__bars {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 28px,
      rgba(111, 235, 120, 0.05) 28px,
      rgba(111, 235, 120, 0.05) 42px
    );
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 34rem;
  padding: clamp(12rem, 42vw, 18rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}

@media (min-width: 720px) {
  .hero__copy {
    padding: clamp(3rem, 10vh, 6rem) clamp(1rem, 4vw, 2rem);
  }
}

.brand--hero {
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 0.85rem;
  animation: rise 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 16ch;
  animation: rise 0.9s ease 0.08s both;
}

.hero__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 36ch;
  animation: rise 0.9s ease 0.16s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  animation: rise 0.9s ease 0.24s both;
}

.hero__cta .promo-copy strong {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.promo-panel {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-panel__label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.promo-panel__code code {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.promo-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.promo-copy.is-copied {
  border-color: rgba(79, 214, 90, 0.55);
  color: var(--green);
}

@media (min-width: 720px) {
  .promo-panel {
    grid-template-columns: 1fr auto;
  }
}

.hero__visual {
  position: absolute;
  z-index: 1;
  margin: 0;
  right: -10%;
  top: 4%;
  width: min(105vw, 560px);
  pointer-events: none;
  animation: float-in 1.1s ease 0.15s both;
}

.hero__visual img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  animation: float-y 5.5s ease-in-out infinite;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section__head h2,
.giveaway__copy h2,
.finale h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.section__head p,
.giveaway__copy p,
.finale p {
  color: var(--muted);
  font-size: 1.05rem;
}

.perk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.perk {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid transparent;
}

.perk__tone {
  position: absolute;
  left: -1px;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  border-radius: 2px;
}

.perk__tone--gold {
  background: linear-gradient(180deg, var(--gold), var(--orange));
  box-shadow: 0 0 18px rgba(255, 194, 7, 0.35);
}

.perk__tone--green {
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  box-shadow: 0 0 18px rgba(79, 214, 90, 0.3);
}

.perk__tone--blue {
  background: linear-gradient(180deg, var(--blue-hot), var(--blue));
  box-shadow: 0 0 18px rgba(25, 117, 239, 0.35);
}

.perk h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.perk p {
  color: var(--muted);
  max-width: 40ch;
}

.section--games {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.game-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.game-rail::-webkit-scrollbar {
  height: 6px;
}

.game-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.game {
  scroll-snap-align: start;
  display: grid;
  gap: 0.65rem;
  color: var(--text);
  transition: transform 0.25s ease;
}

.game:hover {
  transform: translateY(-4px);
}

.game img {
  width: 100%;
  aspect-ratio: 275 / 368;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.game span {
  font-weight: 600;
  font-size: 0.95rem;
}

.giveaway {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.giveaway__media {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
}

.giveaway__media::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(239, 59, 59, 0.35), rgba(25, 117, 239, 0.15), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.giveaway__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.giveaway__copy em {
  font-style: normal;
  color: var(--blue-hot);
  font-weight: 700;
}

.giveaway__copy .btn {
  margin-top: 1.4rem;
}

.finale {
  text-align: center;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.finale p {
  max-width: 34ch;
  margin: 0 auto 1.5rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .hero {
    align-items: center;
  }

  .hero {
    background:
      linear-gradient(105deg, rgba(10, 10, 10, 0.94) 22%, rgba(10, 10, 10, 0.55) 48%, rgba(10, 10, 10, 0.18) 70%),
      radial-gradient(ellipse at 72% 45%, rgba(79, 214, 90, 0.32), transparent 55%),
      linear-gradient(180deg, #12331a 0%, #0d1a12 45%, #141414 100%);
  }

  .hero__visual {
    right: -2%;
    top: auto;
    bottom: -6%;
    width: min(58vw, 680px);
  }

  .perk-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .perk {
    padding-left: 0;
    border-left: 0;
    padding-top: 1rem;
  }

  .perk__tone {
    left: 0;
    right: auto;
    top: 0;
    bottom: auto;
    width: 2.5rem;
    height: 3px;
  }

  .giveaway {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .game-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

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

  .hero__visual img,
  .hero__glow,
  .brand--hero,
  .hero h1,
  .hero__lead,
  .hero__cta,
  .hero__visual {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
