:root {
  --bg-1: #03142c;
  --bg-2: #072c5e;
  --bg-3: #0c4c9d;
  --accent-1: #27b6ff;
  --accent-2: #6fe3ff;
  --accent-3: #96d8ff;
  --text-1: #eaf8ff;
  --text-2: #bddff7;
  --card: rgba(12, 42, 80, 0.78);
  --border: rgba(122, 210, 255, 0.32);
  --shadow: 0 20px 42px rgba(0, 10, 33, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-1);
  background:
    radial-gradient(circle at 12% 10%, rgba(55, 196, 255, 0.24), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(78, 143, 255, 0.3), transparent 34%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2) 46%, var(--bg-3) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -140px;
  left: -160px;
  background: rgba(102, 202, 255, 0.3);
  animation: pulseFog 8s ease-in-out infinite alternate;
}

body::after {
  bottom: -150px;
  right: -140px;
  background: rgba(39, 112, 255, 0.35);
  animation: pulseFog 10s ease-in-out infinite alternate-reverse;
}

.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ref-banner {
  position: relative;
  z-index: 35;
  background: linear-gradient(140deg, rgba(8, 38, 76, 0.95), rgba(16, 95, 162, 0.88));
  border-bottom: 1px solid rgba(141, 225, 255, 0.4);
  box-shadow: 0 10px 24px rgba(2, 16, 39, 0.36);
}

.ref-banner-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.ref-banner-text {
  margin: 0;
  color: #dcf6ff;
  font-size: 16px;
  font-weight: 700;
}

.ref-banner-count {
  color: var(--accent-2);
  font-size: 20px;
  text-shadow: 0 0 18px rgba(122, 220, 255, 0.8);
}

.ref-banner-go {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(3, 20, 44, 0.78);
  border-bottom: 1px solid rgba(122, 210, 255, 0.16);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(111, 227, 255, 0.66);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-1);
  border-color: rgba(129, 220, 255, 0.4);
  background: rgba(87, 176, 255, 0.14);
  transform: translateY(-2px);
}

.btn-neon {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid rgba(146, 232, 255, 0.62);
  background: linear-gradient(140deg, rgba(24, 145, 238, 0.92), rgba(78, 212, 255, 0.88));
  color: #001731;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 rgba(95, 214, 255, 0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(95, 214, 255, 0.52);
}

.hero {
  padding: 78px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.panel {
  background: linear-gradient(165deg, rgba(12, 42, 80, 0.84), rgba(8, 30, 64, 0.72));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.12) 44%, transparent 57%);
  transform: translateX(-125%);
  animation: sheen 8.6s linear infinite;
  pointer-events: none;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.65;
}

.hero-tagline {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(137, 224, 255, 0.4);
  background: rgba(100, 190, 255, 0.14);
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-image {
  width: 100%;
  height: clamp(260px, 48vh, 460px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(146, 232, 255, 0.36);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric {
  background: rgba(76, 175, 255, 0.1);
  border: 1px solid rgba(139, 226, 255, 0.3);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--accent-2);
}

.metric span {
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
}

.section {
  padding: 28px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.1vw, 46px);
}

.section p {
  margin: 0 0 14px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 17px;
}

.cards-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  text-decoration: none;
  color: var(--text-1);
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(145, 228, 255, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  min-height: 140px;
  transform: translateY(0) scale(1);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(154, 233, 255, 0.7);
  box-shadow: 0 18px 30px rgba(5, 20, 45, 0.55);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card .meta {
  padding: 14px 16px;
}

.game-card .meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.game-card .meta p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.provider-strip {
  margin: 14px 0 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(137, 223, 255, 0.26);
  background: rgba(20, 67, 117, 0.48);
  overflow: hidden;
}

.provider-track {
  display: flex;
  gap: 26px;
  min-width: max-content;
  animation: marquee 22s linear infinite;
}

.provider-track img {
  width: 102px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(121, 224, 255, 0.32));
  opacity: 0.92;
}

.columns {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.content-block {
  background: rgba(10, 38, 73, 0.68);
  border: 1px solid rgba(141, 224, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
}

.content-block h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.faq {
  margin-top: 18px;
}

.faq-item {
  border: 1px solid rgba(143, 227, 255, 0.25);
  border-radius: 14px;
  margin-bottom: 10px;
  background: rgba(15, 53, 98, 0.62);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  color: var(--text-1);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .plus {
  color: var(--accent-2);
  font-size: 24px;
  line-height: 1;
  transform: rotate(0);
  transition: transform 0.24s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease, padding 0.34s ease;
  padding: 0 18px;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-item.active .faq-answer {
  max-height: 700px;
  padding: 0 18px 14px;
}

.faq-item.active .faq-question .plus {
  transform: rotate(45deg);
}

.footer {
  margin-top: 36px;
  border-top: 1px solid rgba(122, 210, 255, 0.2);
  padding: 24px 0 42px;
  color: #b7d9f3;
}

.footer .foot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sheen {
  from { transform: translateX(-125%); }
  to { transform: translateX(130%); }
}

@keyframes pulseFog {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .columns {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ref-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 12px;
  }
  .ref-banner-go {
    width: 100%;
  }
  .game-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .game-card img {
    height: 210px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .game-card img {
    height: 180px;
  }
}
