:root {
  --bg: #0b0b16;
  --bg-soft: #14162a;
  --card: #171a32;
  --line: rgba(154, 181, 255, 0.2);
  --text: #f4f6ff;
  --muted: #aab3d8;
  --accent: #5a72ff;
  --accent-2: #45d5ff;
  --redirect-bar-height: 52px;
}

body.light {
  --bg: #eef2ff;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --line: rgba(77, 106, 188, 0.2);
  --text: #11182f;
  --muted: #4e618f;
  --accent: #3554e0;
  --accent-2: #0aa7d5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background:
    linear-gradient(rgba(10, 10, 22, 0.72), rgba(10, 10, 22, 0.86)),
    url("./images/36.png") center / cover fixed no-repeat,
    var(--bg);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  z-index: -1;
}

.redirect-bar {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 14px;
  background: linear-gradient(120deg, rgba(255, 44, 160, 0.92), rgba(92, 92, 255, 0.92), rgba(56, 214, 255, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.redirect-bar p {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.redirect-bar a {
  text-decoration: none;
  color: #140f34;
  background: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
}


.topbar {
  position: sticky;
  top: var(--redirect-bar-height);
  z-index: 40;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(8, 9, 20, 0.72);
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  font-size: 1.2rem;
  justify-self: start;
}

.logo span { color: var(--accent-2); }

.age-note {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd6f1;
  background: rgba(255, 56, 170, 0.18);
  border: 1px solid rgba(255, 126, 207, 0.35);
}

.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-self: center;
  grid-column: 3;
}

.header-auth-btn {
  grid-column: 4;
  justify-self: end;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff2ca0, #6f6bff 55%, #38d6ff);
  box-shadow: 0 0 20px rgba(255, 63, 176, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(76, 200, 255, 0.42);
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
}

.menu a:hover { color: var(--text); }

.wrap {
  width: min(1200px, 94vw);
  margin: 20px auto 70px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.hero-left, .hero-right, .promo, .games-section, .content-panel, .faq {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(42, 29, 95, 0.95), rgba(18, 44, 90, 0.96) 45%, rgba(16, 24, 60, 0.97));
  box-shadow: 0 0 0 1px rgba(165, 118, 255, 0.2), 0 14px 32px rgba(31, 28, 70, 0.55);
}

body.light .hero-left,
body.light .hero-right,
body.light .promo,
body.light .games-section,
body.light .content-panel,
body.light .faq {
  background: var(--card);
}

.hero-left {
  padding: clamp(18px, 3.2vw, 36px);
}

.tag {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  font-weight: 700;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
}

p { margin-top: 0; color: var(--muted); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 24px rgba(79, 130, 255, 0.45);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(98, 183, 255, 0.35);
}

.hero-right {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.jackpot-card, .counter-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(130deg, rgba(54, 34, 112, 0.7), rgba(27, 68, 126, 0.66));
}

body.light .jackpot-card, body.light .counter-card { background: rgba(240, 245, 255, 0.9); }

.jackpot-card strong {
  display: block;
  font-size: 1.8rem;
  color: #7fe2ff;
}

.counter-card strong { font-size: 1.9rem; display: block; }

.bonus-value {
  color: #76efff;
  text-shadow: 0 0 14px rgba(118, 239, 255, 0.55);
}

.bonus-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.claim-btn {
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #ff2ca0, #6f6bff 55%, #38d6ff);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 63, 176, 0.45);
  animation: pulseBtn 1.8s ease-in-out infinite;
}

.claim-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 63, 176, 0.42); }
  65% { box-shadow: 0 0 0 14px rgba(255, 63, 176, 0); }
}

.promo-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promo {
  padding: 34px 20px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.promo h2 {
  margin-top: 14px;
}

.promo:hover {
  transform: translateY(-4px);
}

.promo::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  border-radius: 50%;
  filter: blur(12px);
}

.neon-blue {
  background: linear-gradient(135deg, rgba(26, 64, 175, 0.95), rgba(12, 119, 190, 0.92));
  box-shadow: 0 0 0 1px rgba(109, 177, 255, 0.34), 0 16px 32px rgba(20, 60, 148, 0.5);
}

.neon-violet {
  background: linear-gradient(135deg, rgba(87, 34, 162, 0.95), rgba(149, 42, 169, 0.92));
  box-shadow: 0 0 0 1px rgba(205, 111, 255, 0.3), 0 16px 32px rgba(94, 34, 134, 0.52);
}

.neon-cyan {
  background: linear-gradient(135deg, rgba(15, 118, 151, 0.95), rgba(22, 170, 202, 0.92));
  box-shadow: 0 0 0 1px rgba(102, 236, 255, 0.34), 0 16px 32px rgba(20, 114, 146, 0.5);
}

.neon-blue::after { background: rgba(93, 168, 255, 0.6); }
.neon-violet::after { background: rgba(208, 95, 255, 0.55); }
.neon-cyan::after { background: rgba(101, 249, 255, 0.55); }

.games-section, .content-panel, .faq {
  margin-top: 24px;
  padding: 20px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bonus-section {
  border-color: rgba(255, 120, 220, 0.4);
  box-shadow: 0 0 34px rgba(134, 98, 255, 0.28);
  margin-top: 34px;
}

.bonus-banner {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.bonus-text,
.bonus-visual {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 16px 16px;
  background: linear-gradient(130deg, rgba(86, 38, 121, 0.74), rgba(29, 56, 140, 0.72));
}

.bonus-kicker {
  color: #ff76d1;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.big-claim {
  font-size: 1.05rem;
  padding: 14px 20px;
}

.bonus-visual img {
  width: 100%;
  border-radius: 10px;
  display: block;
  animation: bonusGlow 3s ease-in-out infinite;
}

@keyframes bonusGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(85, 209, 255, 0); }
  50% { box-shadow: 0 0 30px rgba(85, 209, 255, 0.5); }
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p { margin: 0; padding: 0 12px 12px; }

.floating-claim {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 90;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.floating-claim.attention {
  animation: shake 0.5s ease-in-out;
}

.site-footer {
  margin: 90px auto 14px;
  width: min(1200px, 94vw);
  text-align: center;
  color: #d2daf7;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes shake {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  25% { transform: translateX(-50%) translateY(-2px) rotate(-1deg); }
  50% { transform: translateX(-50%) translateY(0) rotate(1deg); }
  75% { transform: translateX(-50%) translateY(-1px) rotate(-1deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root { --redirect-bar-height: 56px; }

  .wrap {
    width: min(1200px, 96vw);
  }

  .hero, .promo-grid { grid-template-columns: 1fr; }
  .bonus-banner { grid-template-columns: 1fr; }

  .hero-left,
  .hero-right,
  .promo,
  .games-section,
  .content-panel,
  .faq {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  :root { --redirect-bar-height: 90px; }

  .redirect-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 8px 10px;
  }

  .redirect-bar p {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
  }

  .logo,
  .age-note,
  .menu,
  .header-auth-btn {
    justify-self: center;
  }

  .menu {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .menu a {
    font-size: 0.92rem;
    padding: 7px 9px;
  }

  .header-auth-btn {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.5rem);
    line-height: 1.25;
  }

  p {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .claim-btn {
    width: 100%;
    text-align: center;
  }

  .bonus-text,
  .bonus-visual {
    padding: 16px 12px 12px;
  }

  .floating-claim {
    width: calc(100vw - 16px);
    left: 8px;
    transform: none;
    border-radius: 12px;
    text-align: center;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 13px 14px;
    font-size: 0.95rem;
  }

  .site-footer {
    margin-bottom: 72px;
  }
}
