:root {
  --green-950: #040b07;
  --green-925: #07130d;
  --green-900: #0a1b12;
  --green-850: #0d2518;
  --green-800: #11331f;
  --green-700: #1b5130;
  --green-accent: #46e55e;
  --gold: #e4bd4d;
  --gold-bright: #ffe27a;
  --gold-deep: #806321;
  --ink: #f4fff7;
  --ink-dim: #9aae9f;
  --blue: #3157dc;
  --live: #39db68;
  --sidebar-w: clamp(246px, 17vw, 276px);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--green-950);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 220ms ease;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 520px;
  padding: 16px 13px 13px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(14, 22, 38, 0.98), rgba(5, 12, 19, 0.99)),
    radial-gradient(circle at 35% 20%, rgba(63, 89, 138, 0.18), transparent 42%);
  border-right: 1px solid rgba(147, 171, 222, 0.18);
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(228, 189, 77, 0.35);
  border-radius: 999px;
}

.sidebar__top {
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: start;
  gap: 8px;
  margin-bottom: 13px;
}

.brand {
  display: block;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 8px rgba(86, 230, 76, 0.22));
}

.icon-btn {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
  color: #b7c2cf;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: rgba(255, 226, 122, 0.45);
  color: #fff;
}

.status-pill {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8e9aab;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f7b88;
  box-shadow: 0 0 6px currentColor;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu__item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #b3bdc7;
  font-size: 13.25px;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-align: left;
  cursor: pointer;
  transition: 150ms ease;
}

.menu__item:hover {
  background: rgba(34, 56, 76, 0.45);
  color: #fff;
}

.menu__item--active {
  border-color: rgba(79, 106, 194, 0.62);
  background: linear-gradient(90deg, rgba(28, 45, 85, 0.72), rgba(16, 26, 43, 0.52));
  box-shadow: 0 0 16px rgba(48, 82, 198, 0.18), inset 0 0 13px rgba(76, 102, 196, 0.08);
  color: #fff;
}

.menu__icon {
  width: 23px;
  flex: 0 0 23px;
  color: #c4bc81;
  font-size: 17px;
  text-align: center;
}

.menu__label {
  flex: 1;
  line-height: 1.15;
}

.menu__chevron {
  order: 2;
  color: #87929d;
  font-size: 12px;
  transition: transform 150ms ease;
}

.menu__item--toggle[aria-expanded="true"] .menu__chevron {
  transform: rotate(180deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
}

.badge--green {
  background: #36cf63;
  color: #06150a;
  box-shadow: 0 0 9px rgba(54, 207, 99, 0.28);
}

.badge--gold {
  background: linear-gradient(180deg, #f4d76e, #9e7a21);
  color: #211803;
}

.badge--live {
  background: #38d967;
  color: #06150a;
}

.sidebar__bottom {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
}

.twitch-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(145, 70, 255, 0.58);
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(105, 47, 176, 0.42), rgba(42, 25, 64, 0.56));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}

.twitch-label span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 4px;
  background: #9146ff;
  color: #fff;
  font-weight: 950;
}

.channel-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(69, 196, 87, 0.25);
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(11, 66, 29, 0.76), rgba(8, 32, 19, 0.5));
  transition: border-color 150ms ease, filter 150ms ease, transform 150ms ease;
}

.channel-card:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.channel-card__avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: 50% 29%;
  border: 1px solid rgba(228, 189, 77, 0.45);
  border-radius: 5px;
  background: #0c1d12;
}

.channel-card__meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.channel-card__name {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 6px;
  color: #6be477;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-card__status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #77817b;
  box-shadow: 0 0 6px rgba(119, 129, 123, 0.35);
}

.channel-card__watch {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #d7e0da;
  font-size: 9px;
  font-weight: 800;
}

.channel-card__watch .badge {
  margin-left: auto;
}

.channel-card__badge {
  background: #59615d;
  color: #f2f5f3;
  box-shadow: none;
}

.channel-card[data-state="live"] .channel-card__status-dot {
  background: #36cf63;
  box-shadow: 0 0 8px rgba(54, 207, 99, 0.56);
}

.channel-card[data-state="live"] .channel-card__badge {
  background: #36cf63;
  color: #06150a;
  box-shadow: 0 0 9px rgba(54, 207, 99, 0.28);
}

.channel-card[data-state="offline"] .channel-card__status-dot,
.channel-card[data-state="unavailable"] .channel-card__status-dot {
  background: #858d88;
  box-shadow: none;
}

.channel-card[data-state="loading"] .channel-card__watch,
.channel-card[data-state="unavailable"] .channel-card__watch {
  color: #aeb7b1;
}

.broadcast-icon {
  color: #4ee872;
  font-size: 14px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 10px 11px;
  border: 1px solid rgba(76, 233, 100, 0.26);
  border-radius: 8px;
  background: linear-gradient(90deg, #2dba42, #176f29);
  box-shadow: 0 0 13px rgba(52, 203, 73, 0.16);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.1;
  transition: filter 150ms ease, transform 150ms ease;
}

.partner-card:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.partner-card__brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.partner-card__brand > span:first-child {
  font-size: 9px;
  font-weight: 750;
}

.partner-card__logo-viewport {
  position: relative;
  display: block;
  width: 92px;
  height: 24px;
  overflow: hidden;
}

.partner-card__logo-viewport img {
  position: absolute;
  top: -32px;
  left: 50%;
  display: block;
  width: 145px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}

.partner-card small {
  padding: 4px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.26);
  font-size: 6.5px;
  font-weight: 900;
  white-space: nowrap;
}

.menu-open,
.sidebar-shade {
  display: none;
}

.menu-open {
  position: fixed;
  z-index: 60;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(228, 189, 77, 0.42);
  border-radius: 8px;
  background: rgba(5, 14, 9, 0.88);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.menu-open span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.sidebar-collapsed .app {
  grid-template-columns: 0 minmax(0, 1fr);
}

.sidebar-collapsed .sidebar {
  transform: translateX(-102%);
}

.sidebar-collapsed .menu-open {
  display: flex;
}

/* Hero */
.main {
  position: relative;
  min-width: 0;
  background: var(--green-950);
}

.hero-stage {
  position: relative;
  height: 170svh;
  min-height: max(600px, 100svh);
  background: var(--green-950);
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 37%, rgba(83, 181, 48, 0.3), transparent 29%),
    linear-gradient(90deg, rgba(4, 11, 7, 0.98) 0%, rgba(5, 15, 9, 0.74) 39%, rgba(5, 15, 9, 0.2) 73%, rgba(4, 10, 6, 0.58) 100%),
    #07130d;
}

.hero-pin::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -3%;
  background: url("assets/celtic-pattern.png") center / cover no-repeat;
  filter: saturate(0.72) brightness(0.56) contrast(1.08);
  opacity: 0.92;
  transform: scale(1.04);
}

.hero-pin::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 6, 0.58), rgba(4, 14, 8, 0.24) 48%, rgba(3, 9, 6, 0.1) 75%),
    linear-gradient(0deg, rgba(2, 8, 5, 0.72), transparent 30%, rgba(2, 8, 5, 0.08) 70%);
  pointer-events: none;
}

.hero {
  position: absolute;
  z-index: 5;
  top: clamp(118px, calc(18vh + 9px), 189px);
  left: clamp(48px, 8.5vw, 150px);
  width: min(440px, 42vw);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.86);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -60px -110px -80px -70px;
  background: radial-gradient(ellipse at 42% 44%, rgba(3, 9, 6, 0.78), rgba(3, 9, 6, 0.22) 55%, transparent 76%);
  pointer-events: none;
}

.hero__title {
  margin: 0 0 14px;
}

.hero__title img {
  display: block;
  width: min(330px, 90%);
  height: auto;
  margin-left: -12px;
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(81, 235, 54, 0.18));
}

.hero__desc {
  max-width: 420px;
  margin: 0 0 20px;
  color: #f5f8f5;
  font-size: 13.5px;
  font-weight: 520;
  line-height: 1.48;
}

.hero__desc strong {
  color: #fff;
  font-weight: 900;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease;
}

.btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(180deg, #4869ee, #2c43a9);
  border-color: rgba(122, 149, 255, 0.44);
  box-shadow: 0 0 20px rgba(53, 83, 221, 0.45), inset 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--dark {
  background: linear-gradient(180deg, rgba(24, 31, 39, 0.96), rgba(10, 15, 20, 0.96));
  border-color: rgba(142, 160, 184, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.btn__sub {
  margin-left: 3px;
  font-size: 9px;
}

.promo-code {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 0 13px;
  border: 1px solid rgba(169, 180, 196, 0.16);
  border-radius: 7px;
  background: rgba(12, 19, 29, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.promo-code span {
  color: #8e9ba8;
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.promo-code strong {
  color: #d7ae4c;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.promo-code:hover {
  border-color: rgba(228, 189, 77, 0.42);
}

.hero-art {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  pointer-events: none;
}

.hero-art__halo {
  position: absolute;
  top: 9%;
  right: 10%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 212, 54, 0.25), rgba(49, 118, 30, 0.06) 52%, transparent 72%);
  filter: blur(8px);
}

.hero-video-frame,
.hero-video-vignette {
  position: absolute;
  inset: 0;
}

.hero-video-frame {
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 13%, #000 32%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 13%, #000 32%, #000 100%);
}

.hero-video-vignette {
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 8.7%;
  right: calc(-36.99vh - clamp(28px, 3.5vw, 92px));
  display: block;
  width: auto;
  height: 85%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  transform: translateZ(0);
  user-select: none;
}

.casino-chip,
.gold-coin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.65), inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.casino-chip {
  width: 82px;
  height: 82px;
  border: 9px dashed #d8d4b0;
  background: radial-gradient(circle, #2d342f 0 38%, #090c0b 40% 60%, #303c34 62%);
  color: #d2b348;
  font-size: 25px;
}

.casino-chip--one {
  right: 4%;
  bottom: 5%;
  transform: rotate(-18deg);
}

.casino-chip--two {
  right: 20%;
  bottom: 1%;
  width: 58px;
  height: 58px;
  border-width: 7px;
  font-size: 18px;
  transform: rotate(24deg);
}

.gold-coin {
  width: 88px;
  height: 88px;
  border: 5px solid #f7d56c;
  background: radial-gradient(circle at 35% 28%, #fff2a2, #d49625 42%, #72440d 78%);
  color: #70420c;
  font-size: 30px;
  text-shadow: 0 1px rgba(255, 255, 255, 0.45);
}

.gold-coin--one {
  right: 31%;
  bottom: 9%;
  transform: rotate(10deg);
}

.gold-coin--two {
  right: -2%;
  bottom: 19%;
  width: 58px;
  height: 58px;
  font-size: 24px;
  transform: rotate(-12deg);
}

.ambient {
  position: absolute;
  z-index: 1;
  color: rgba(235, 210, 94, 0.44);
  line-height: 1;
  pointer-events: none;
  filter: blur(5px);
  text-shadow: 0 0 18px rgba(255, 223, 90, 0.8);
}

.ambient--one {
  top: -5%;
  left: 2%;
  font-size: 108px;
  transform: rotate(-12deg);
}

.ambient--two {
  top: 33%;
  right: -2%;
  font-size: 118px;
  transform: rotate(20deg);
}

.ambient--three {
  bottom: 14%;
  left: 4%;
  font-size: 94px;
  opacity: 0.62;
  transform: rotate(-22deg);
}

/* Floating statistics bar */
.stats {
  position: absolute;
  z-index: 8;
  right: 10%;
  bottom: 18px;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 82px;
  overflow: hidden;
  border: 1px solid rgba(84, 172, 74, 0.24);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(9, 40, 22, 0.88), rgba(15, 72, 31, 0.88), rgba(8, 40, 21, 0.9));
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.stat-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  text-align: center;
}

.stat-card + .stat-card::before {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(143, 206, 136, 0.24), transparent);
}

.stat-card__value {
  color: #fff;
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.stat-card__value--code {
  font-size: clamp(17px, 1.45vw, 22px);
  letter-spacing: 0.01em;
}

.stat-card__label {
  margin-top: 6px;
  color: #a8b9ab;
  font-size: 8px;
  line-height: 1.22;
  letter-spacing: 0.08em;
}

/* Content below the opening hero */
.below-fold {
  position: relative;
  overflow: hidden;
  padding: 72px 32px 118px;
  background:
    radial-gradient(circle at 52% 42%, rgba(22, 49, 119, 0.2), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(30, 48, 102, 0.12), transparent 28%),
    linear-gradient(180deg, #050814, #040712 56%, #03060e);
}

.below-fold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}

.giveaway-total,
.content-section {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.giveaway-total {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 162, 42, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 52%, rgba(245, 180, 38, 0.08), transparent 28%),
    linear-gradient(112deg, rgba(29, 25, 18, 0.9), rgba(23, 31, 61, 0.92));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
  text-align: center;
}

.giveaway-total::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -45%;
  left: -10%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(46, 87, 209, 0.13), transparent 65%);
  pointer-events: none;
}

.giveaway-total__eyebrow {
  margin: 0 0 7px;
  color: #8993aa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.26em;
}

.giveaway-total__value {
  color: #f0b52f;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(58px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-shadow: 0 0 24px rgba(240, 181, 47, 0.35), 0 5px 0 rgba(112, 68, 4, 0.35);
}

.giveaway-total__copy {
  margin: 10px 0 0;
  color: #c3c8d3;
  font-size: 15px;
  font-weight: 650;
}

.content-section {
  scroll-margin-top: 32px;
}

.leaderboard-teaser,
.leaderboard-section {
  padding-top: 82px;
}

.leaderboard-section {
  display: none;
}

body.leaderboard-mode .hero-stage,
body.leaderboard-mode .giveaway-total,
body.leaderboard-mode .leaderboard-teaser,
body.leaderboard-mode .socials-section {
  display: none;
}

body.leaderboard-mode .below-fold {
  min-height: 100vh;
  padding-top: 0;
}

body.leaderboard-mode .leaderboard-section {
  display: block;
  padding-top: 82px;
}

.socials-section {
  padding-top: 126px;
}

.section-head {
  max-width: 670px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title {
  margin: 0;
  color: #f5f6fb;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(45px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 0 19px rgba(82, 110, 255, 0.3);
}

.section-title span {
  color: #f0b52f;
}

.section-head p {
  margin: 10px 0 0;
  color: #929bb2;
  font-size: 16px;
  line-height: 1.5;
}

.section-head strong {
  color: #c3cad9;
}

.leaderboard-grid,
.social-grid {
  display: grid;
  gap: 20px;
}

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

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(112, 127, 179, 0.24);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(24, 33, 67, 0.98), rgba(13, 18, 39, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  border-color: rgba(240, 181, 47, 0.48);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28), 0 0 22px rgba(55, 79, 169, 0.12);
  transform: translateY(-3px);
}

.leaderboard-card {
  min-height: 208px;
  padding: 26px 25px;
}

.feature-card__value {
  margin-bottom: 8px;
  color: #f2b72f;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.025em;
  text-shadow: 0 0 16px rgba(242, 183, 47, 0.22);
}

.feature-card h3 {
  margin: 0;
  color: #f4f5fa;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.feature-card p {
  margin: 11px 0 0;
  color: #8e97b0;
  font-size: 14px;
  line-height: 1.45;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: #648aff;
  font-size: 14px;
  font-weight: 850;
}

.feature-card__link span,
.social-card strong span {
  font-size: 20px;
  line-height: 0;
  transition: transform 160ms ease;
}

.feature-card__link:hover span,
.social-card:hover strong span {
  transform: translateX(4px);
}

.social-card {
  display: flex;
  min-height: 212px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 23px;
}

.social-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  color: #fff;
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
}

.social-card--twitch .social-card__icon {
  border-color: rgba(172, 116, 255, 0.72);
  background: linear-gradient(145deg, #a970ff, #6b28c9);
  box-shadow: 0 0 18px rgba(145, 70, 255, 0.23);
}

.social-card--x .social-card__icon {
  background: linear-gradient(145deg, #40475d, #202536);
}

.social-card--telegram .social-card__icon {
  border-color: rgba(86, 158, 231, 0.62);
  background: linear-gradient(145deg, #35a9e7, #176ba9);
  box-shadow: 0 0 18px rgba(44, 165, 225, 0.18);
}

.social-card__icon--plane {
  padding-right: 4px;
  transform: rotate(-28deg);
}

.social-card h3 {
  font-size: 20px;
}

.social-card p {
  margin-top: 5px;
}

.social-card strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: #fff;
  font-size: 14px;
}

.social-card--twitch strong {
  color: #b783ff;
}

.social-card--telegram strong {
  color: #5bbdf0;
}

.vod-button {
  display: flex;
  width: max-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 0 28px;
  border: 1px solid rgba(107, 124, 179, 0.3);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(19, 24, 43, 0.95), rgba(11, 15, 29, 0.95));
  color: #e2e5ee;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 15px;
  letter-spacing: 0.055em;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.vod-button:hover {
  border-color: rgba(240, 181, 47, 0.5);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.footer {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 30px 24px;
  border-top: 1px solid rgba(85, 104, 159, 0.24);
  background: #03060d;
  color: #7f899f;
  font-size: 12px;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer__brand {
  display: block;
  width: 118px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 3px;
  filter: drop-shadow(0 0 12px rgba(240, 181, 47, 0.18));
}

.footer .footer__code {
  color: #d9dde7;
  font-size: 14px;
  font-weight: 750;
}

.footer__code strong {
  color: #efb52f;
}

.footer small {
  color: #687185;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  padding: 11px 16px;
  border: 1px solid rgba(228, 189, 77, 0.55);
  border-radius: 8px;
  background: rgba(7, 19, 13, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-height: 720px) and (min-width: 901px) {
  .hero-pin,
  .sidebar {
    min-height: 100svh;
  }

  .sidebar {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sidebar__top {
    margin-bottom: 5px;
  }

  .brand__logo {
    height: 38px;
    width: 126px;
  }

  .menu {
    gap: 1px;
  }

  .menu__item {
    min-height: 29px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 9px;
  }

  .sidebar__bottom {
    gap: 5px;
    padding-top: 6px;
  }

  .twitch-label {
    padding: 5px 7px;
  }

  .channel-card {
    padding: 4px;
  }

  .partner-card {
    min-height: 40px;
  }

  .hero {
    top: 14vh;
  }

  .hero__title img {
    width: min(240px, 78%);
  }

  .hero__desc {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .btn {
    min-height: 36px;
  }

  .promo-code {
    min-height: 32px;
    margin-top: 8px;
  }

  .stats {
    min-height: 66px;
    bottom: 12px;
  }

}

@media (max-width: 1120px) and (min-width: 901px) {
  :root {
    --sidebar-w: 246px;
  }

  .hero {
    left: 42px;
    width: 410px;
  }

  .hero-art {
    width: 67%;
  }

  .stats {
    right: 5%;
    left: 5%;
  }
}

@media (max-width: 900px) {
  .app {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(310px, 88vw);
    height: 100svh;
    min-height: 0;
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }

  .sidebar-open {
    overflow: hidden;
  }

  .sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-shade {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    backdrop-filter: blur(3px);
  }

  .sidebar-open .sidebar-shade {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-open {
    position: fixed;
    z-index: 40;
    top: 16px;
    left: 16px;
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(228, 189, 77, 0.42);
    border-radius: 8px;
    background: rgba(5, 14, 9, 0.88);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
    cursor: pointer;
    backdrop-filter: blur(8px);
  }

  .menu-open span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .hero-stage {
    height: auto;
    min-height: 880px;
  }

  .hero-pin {
    position: relative;
    top: auto;
    height: 880px;
    min-height: 880px;
  }

  .hero {
    position: relative;
    top: auto;
    left: auto;
    width: min(560px, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 101px;
    text-align: center;
  }

  .hero::before {
    inset: -40px -30px -70px;
  }

  .hero__title img {
    width: min(310px, 80vw);
    margin: 0 auto;
  }

  .hero__desc {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero-art {
    top: 390px;
    bottom: 76px;
    width: 100%;
  }

  .hero-art__halo {
    top: 0;
    right: 50%;
    width: 620px;
    max-width: 105vw;
    transform: translateX(50%);
  }

  .hero-video-frame {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-video {
    top: -14%;
    right: auto;
    left: 50%;
    height: 125%;
    transform: translateX(-50%) translateZ(0);
  }

  .gold-coin--one {
    right: 19%;
  }

  .casino-chip--one {
    right: 8%;
  }

  .stats {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .below-fold {
    padding: 56px 22px 92px;
  }

  .giveaway-total {
    min-height: 200px;
  }

  .leaderboard-teaser,
  .leaderboard-section {
    padding-top: 72px;
  }

  .socials-section {
    padding-top: 96px;
  }

  .section-head {
    margin-bottom: 30px;
  }
}

@media (max-width: 760px) {
  .leaderboard-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 190px;
  }
}

@media (max-width: 620px) {
  .hero-stage {
    height: auto;
    min-height: 860px;
  }

  .hero-pin {
    height: 860px;
    min-height: 860px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero__desc {
    font-size: 12.5px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: min(320px, 100%);
  }

  .hero-art {
    top: 440px;
  }

  .casino-chip,
  .gold-coin {
    transform: scale(0.72);
  }

  .gold-coin--one {
    right: 5%;
    bottom: 19%;
  }

  .casino-chip--one {
    right: -2%;
    bottom: 14%;
  }

  .casino-chip--two,
  .gold-coin--two {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 154px;
  }

  .stat-card:nth-child(3)::before {
    display: none;
  }

  .stat-card:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 16%;
    left: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 206, 136, 0.24), transparent);
  }

  .below-fold {
    padding: 44px 16px 76px;
  }

  .giveaway-total {
    min-height: 180px;
    padding: 28px 16px;
    border-radius: 14px;
  }

  .giveaway-total__eyebrow {
    font-size: 10px;
  }

  .giveaway-total__value {
    font-size: clamp(50px, 16vw, 66px);
  }

  .giveaway-total__copy {
    font-size: 13px;
  }

  .leaderboard-teaser,
  .leaderboard-section {
    padding-top: 62px;
  }

  .socials-section {
    padding-top: 78px;
  }

  .section-title {
    font-size: 43px;
  }

  .section-head p {
    font-size: 14px;
  }

  .leaderboard-card,
  .social-card {
    padding: 23px 20px;
  }

  .leaderboard-card {
    min-height: 194px;
  }

  .feature-card__value {
    font-size: 37px;
  }

  .feature-card h3 {
    font-size: 21px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .hero-stage {
    height: 100svh;
  }

  .hero-pin {
    position: relative;
  }
}
