/* style.css — 5eplay | Esports Platform | Variant G: Deep Ocean | Utility/Review Template */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:        #050c14;
  --bg2:       #091523;
  --surface:   rgba(255,255,255,0.04);
  --surface-h: rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.18);
  --accent:    #0ea5e9;
  --accent2:   #38bdf8;
  --glow:      rgba(14,165,233,0.35);
  --txt:       #dff0fa;
  --txt-m:     rgba(223,240,250,0.55);
  --txt-d:     rgba(223,240,250,0.35);
  --radius:    12px;
  --radius-sm: 8px;
  --trans:     .18s ease;

  /* Score colors */
  --score-great: #22d3ee;
  --score-good:  #34d399;
  --score-mid:   #fbbf24;
  --score-low:   #f87171;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle underwater depth background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(14,165,233,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(56,189,248,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(0,20,60,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Exo 2', system-ui, sans-serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--txt);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--txt-m); line-height: 1.75; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--trans), opacity var(--trans);
}
a:hover { color: var(--accent2); opacity: 0.9; }

strong { color: var(--txt); font-weight: 700; }
em { color: var(--accent2); font-style: italic; }

ul, ol { padding-left: 1.5rem; }
li { color: var(--txt-m); margin-bottom: 0.35rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--glow);
}

section {
  padding: 80px 0;
}

/* ============================================================
   FLOATING PARTICLES (Deep Ocean Hero)
   ============================================================ */
.ocean-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: floatParticle linear infinite;
}

.particle:nth-child(1)  { left: 8%;  width: 3px; height: 3px; animation-duration: 12s; animation-delay: 0s;   opacity: 0.5; }
.particle:nth-child(2)  { left: 18%; width: 5px; height: 5px; animation-duration: 16s; animation-delay: 2s;   opacity: 0.3; }
.particle:nth-child(3)  { left: 30%; width: 2px; height: 2px; animation-duration: 10s; animation-delay: 4s;   opacity: 0.6; }
.particle:nth-child(4)  { left: 45%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 1s;   opacity: 0.4; }
.particle:nth-child(5)  { left: 58%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: 3s;   opacity: 0.35; }
.particle:nth-child(6)  { left: 70%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 5s;   opacity: 0.25; }
.particle:nth-child(7)  { left: 82%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: 0.5s; opacity: 0.55; }
.particle:nth-child(8)  { left: 92%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 6s;   opacity: 0.4; }
.particle:nth-child(9)  { left: 25%; width: 3px; height: 3px; animation-duration: 17s; animation-delay: 2.5s; opacity: 0.3; }
.particle:nth-child(10) { left: 65%; width: 5px; height: 5px; animation-duration: 9s;  animation-delay: 7s;   opacity: 0.45; }
.particle:nth-child(11) { left: 40%; width: 2px; height: 2px; animation-duration: 20s; animation-delay: 1.5s; opacity: 0.6; }
.particle:nth-child(12) { left: 55%; width: 3px; height: 3px; animation-duration: 12s; animation-delay: 8s;   opacity: 0.35; }

@keyframes floatParticle {
  0%   { transform: translateY(100vh) translateX(0);    opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-80px) translateX(20px); opacity: 0; }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,12,20,0.6);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans), backdrop-filter 0.3s ease, border-color var(--trans);
}

.site-header.scrolled {
  background: rgba(5,12,20,0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(14,165,233,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 12px var(--glow);
  letter-spacing: -0.05em;
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: 0.04em;
}

.nav-logo-text span {
  color: var(--accent);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.nav-links li a {
  display: block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-m);
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
  letter-spacing: 0.02em;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--txt);
  background: var(--surface-h);
}

/* Nav CTA */
nav .btn-primary {
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile nav open state */
.site-header.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(5,12,20,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  gap: 4px;
}

.site-header.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans), opacity var(--trans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(14,165,233,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
}

/* Wave shimmer on btn-primary */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,165,233,0.55), 0 1px 0 rgba(255,255,255,0.15) inset;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--txt);
  border: 1px solid var(--border-h);
}

.btn-secondary:hover {
  background: var(--surface-h);
  color: var(--txt);
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,20,60,0.3) 0%, transparent 60%);
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  animation: fadeInUp 0.55s 0.1s ease both;
}

.hero-title .depth-text {
  display: block;
  background: linear-gradient(135deg, var(--txt) 0%, var(--accent2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(14,165,233,0.4));
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--txt-m);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeInUp 0.55s 0.2s ease both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.55s 0.3s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCORE WIDGET (hero integrated)
   ============================================================ */
.score-widget {
  background: linear-gradient(180deg, var(--surface), rgba(0,0,0,0.3));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 36px;
  align-items: center;
  max-width: 780px;
  margin: 0 auto 40px;
  box-shadow: 0 16px 48px rgba(0,20,60,0.6), 0 0 0 1px rgba(14,165,233,0.08);
  animation: fadeInUp 0.6s 0.35s ease both;
  position: relative;
  z-index: 2;
}

.score-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,165,233,0.06), transparent);
  pointer-events: none;
}

.score-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score-pct, 88) * 3.6deg), rgba(255,255,255,0.06) 0);
  box-shadow: 0 0 0 6px rgba(14,165,233,0.1), 0 0 30px rgba(14,165,233,0.25);
  position: relative;
  flex-shrink: 0;
  --score-pct: 88;
}

.score-circle::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg2);
}

.score-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.score-max {
  font-size: 0.7rem;
  color: var(--txt-d);
  position: relative;
  z-index: 1;
}

.score-info {}

.score-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.score-verdict {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--score-great);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.score-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.score-bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--txt-d);
  font-weight: 600;
}

.score-bar-label span:last-child {
  color: var(--txt-m);
}

.score-bar-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 6px var(--glow);
  transition: width 1s ease;
}

/* ============================================================
   DEFI PANEL / KEY STATS STRIP
   ============================================================ */
.defi-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(180deg, var(--surface), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,20,60,0.6);
  animation: fadeInUp 0.6s 0.45s ease both;
}

.dp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--trans);
}

.dp-item:last-child { border-right: none; }

.dp-item:hover { background: var(--surface-h); }

.dp-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(14,165,233,0.4);
}

.dp-label {
  font-size: 0.7rem;
  color: var(--txt-d);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   INTRO / BENTO GRID
   ============================================================ */
#intro { padding: 60px 0; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ig {
  background: linear-gradient(180deg, var(--surface), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 48px rgba(0,20,60,0.4);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.ig:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,20,60,0.7), 0 0 0 1px rgba(14,165,233,0.12);
  border-color: rgba(14,165,233,0.15);
}

.ig.w2 { grid-column: span 2; }

.ig-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(14,165,233,0.3));
}

.ig h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}

.ig p {
  font-size: 0.85rem;
  color: var(--txt-m);
  line-height: 1.6;
}

/* ============================================================
   KEY STATS GRID
   ============================================================ */
#key-stats {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(0,20,60,0.15) 0%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: linear-gradient(180deg, var(--surface), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0,20,60,0.4);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(0,20,60,0.6);
  border-color: rgba(14,165,233,0.14);
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-card-body {}

.stat-card-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-card-label {
  font-size: 0.78rem;
  color: var(--txt-d);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.stat-card-note {
  font-size: 0.8rem;
  color: var(--txt-m);
  line-height: 1.5;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
}

.ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--txt-m);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.ticker-item .ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--glow);
  flex-shrink: 0;
}

.ticker-item .ticker-val {
  color: var(--accent2);
  font-weight: