:root {
  --bg-deep: #050a22;
  --bg-mid: #111a58;
  --text: #f7fbff;
  --muted: rgba(222, 235, 255, 0.78);
  --soft: rgba(248, 251, 255, 0.96);
  --line: rgba(112, 156, 255, 0.16);
  --panel: rgba(6, 14, 45, 0.54);
  --panel-border: rgba(166, 196, 255, 0.16);
  --accent: #5ed4ff;
  --accent-strong: #7b67ff;
  --accent-pink: #ff8fcb;
  --shadow: rgba(3, 8, 28, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Exo 2", sans-serif;
  color: var(--text);
  background: var(--bg-deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(3, 8, 28, 0.72) 0%, rgba(5, 9, 30, 0.38) 40%, rgba(7, 10, 28, 0.46) 100%),
    url("assets/casino-hero-bg.png") 62% center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(7, 10, 28, 0.08) 0%, rgba(7, 10, 28, 0.32) 54%, rgba(4, 7, 21, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 8, 25, 0.2) 0%, rgba(5, 8, 25, 0.48) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 18, 0.52) 0%, rgba(2, 5, 18, 0.12) 34%, rgba(2, 5, 18, 0.12) 66%, rgba(2, 5, 18, 0.52) 100%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(144, 88, 255, 0.24), transparent 20%),
    radial-gradient(circle at 50% 58%, rgba(78, 211, 255, 0.12), transparent 24%);
  filter: blur(22px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(160, 178, 255, 0.12);
  border-radius: 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 8, 27, 0.74), rgba(12, 9, 33, 0.52)),
    radial-gradient(circle at 50% 0%, rgba(182, 85, 255, 0.08), transparent 34%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.08), transparent 32%);
  z-index: -1;
  pointer-events: none;
}

.hero__content::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -42px;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(121, 103, 255, 0.28), transparent 72%);
  filter: blur(8px);
  z-index: -2;
  pointer-events: none;
}

.hero__logo {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  font-family: "Russo One", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 12%, #91f4ff 50%, #8ca7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 12px 24px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(115, 214, 255, 0.22);
}

.hero__kicker {
  margin: 0 auto 18px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 158, 203, 0.18);
  border-radius: 999px;
  color: rgba(255, 209, 233, 0.88);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255, 120, 188, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__title {
  margin: 0 auto;
  max-width: 11ch;
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--soft);
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero__promo {
  margin: 28px 0 0;
  max-width: 28ch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
}

.hero__promo-code {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 141, 194, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 122, 190, 0.24), rgba(107, 103, 255, 0.22)),
    rgba(24, 16, 58, 0.72);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 14px 34px rgba(39, 91, 211, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 64px;
  padding: 14px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 139, 194, 0.14), rgba(103, 119, 255, 0.16)),
    rgba(15, 11, 40, 0.8);
  border: 1px solid rgba(255, 170, 212, 0.14);
  color: #ffffff;
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 20px 46px rgba(69, 24, 96, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 18px rgba(255, 125, 191, 0.16);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  min-width: 230px;
  min-height: 58px;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: "Russo One", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #ff5858 0%, #ff2a2a 54%, #ff7361 100%);
  box-shadow:
    0 18px 42px rgba(255, 48, 48, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.hero__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(255, 61, 61, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.04);
}

.hero__button:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .hero {
    justify-content: center;
    padding: 18px 14px;
    background-position: 72% center;
  }

  .hero__content {
    width: min(100%, 540px);
    margin-left: 0;
    padding: 22px 18px 28px;
    text-align: center;
  }

  .hero__content::before {
    border-radius: 25px;
  }

  .hero__content::after {
    left: 50%;
    transform: translateX(-50%);
    top: -50px;
  }

  .hero__kicker {
    margin: 0 auto 16px;
  }

  .hero__logo {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 13vw, 4rem);
    letter-spacing: 0.12em;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero__promo {
    justify-content: center;
    max-width: none;
    font-size: 0.98rem;
  }

  .hero__promo-code {
    min-height: 38px;
    padding: 7px 14px;
  }

  .hero__bonus {
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    font-size: 1rem;
  }

  .hero__button {
    width: 100%;
    min-width: 0;
  }
}
