/* NERVAL NETWORKS — style.css v3 (font overhaul) */

:root {
  --black:   #000000;
  --deep:    #050a18;
  --blue:    #1a6bff;
  --blue-lt: #4da6ff;
  --white:   #ffffff;
  --grey:    #8899bb;
  --grey-lt: #ccd8ee;
  --border:  #162035;
  --card-bg: #080f1e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Exo 2', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
}
.nav-n-img {
  width: 42px; height: 42px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(77,166,255,0.7));
}
.nav-n-img.small { width: 32px; height: 32px; }
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: 0.12em;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px; letter-spacing: 0.3em; color: var(--blue-lt);
  font-weight: 500; margin-top: 3px;
}
.nav-socials { display: flex; gap: 20px; align-items: center; }
.social-icon {
  color: var(--grey-lt); text-decoration: none;
  display: flex; align-items: center; transition: color 0.2s;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--blue-lt); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('assets/hero_bg.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.1) 35%,
      rgba(0,0,0,0.35) 70%,
      rgba(0,0,0,0.92) 100%),
    radial-gradient(ellipse 70% 40% at 50% 45%, rgba(0,8,30,0.25) 0%, transparent 70%);
}
.hero-ground-glow {
  position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 3px; background: var(--blue-lt); border-radius: 50%;
  filter: blur(6px); opacity: 0.5;
  box-shadow: 0 0 80px 30px rgba(20,90,255,0.35);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 100px 20px 100px; gap: 0;
}
.hero-logo-wrap { margin-bottom: 10px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-n-logo {
  width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(40,130,255,0.95)) drop-shadow(0 0 70px rgba(10,60,200,0.5));
}

/* NERVAL brand block */
.hero-brand {
  display: flex; flex-direction: column; align-items: center;
  line-height: 1; margin-bottom: 22px;
}
.brand-nerval {
  font-family: 'Teko', sans-serif;
  font-weight: 600;
  font-size: clamp(72px, 10vw, 130px);
  letter-spacing: 0.08em;
  line-height: 0.9;
  /* metallic silver gradient like original */
  background: linear-gradient(180deg,
    #ffffff 0%,
    #d0dff0 30%,
    #a8c4e0 55%,
    #7ba8cc 75%,
    #c8ddef 90%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(60,140,255,0.5)) drop-shadow(0 0 30px rgba(40,100,220,0.3));
}
.brand-networks {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: 0.45em;
  color: var(--blue-lt);
  margin-top: 2px;
  /* flanking dashes like original */
  display: flex; align-items: center; gap: 10px;
}
.brand-networks::before,
.brand-networks::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--blue-lt);
  opacity: 0.8;
}

/* Tagline */
.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: 0.05em; line-height: 1.25;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.accent { color: var(--blue-lt); }

/* Description */
.hero-description {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px); font-weight: 300;
  color: rgba(200,215,240,0.9); line-height: 1.8;
  margin-bottom: 48px; max-width: 500px;
}

/* Coming soon block */
.hero-coming-soon { display: flex; flex-direction: column; align-items: center; }
.coming-label {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: 0.5em; color: var(--blue-lt); margin-bottom: 0;
}
.coming-year {
  font-family: 'Teko', sans-serif; font-weight: 600;
  font-size: clamp(100px, 17vw, 210px); line-height: 0.82; letter-spacing: 0.01em;
  /* same metallic silver as NERVAL */
  background: linear-gradient(180deg,
    #e8f0ff 0%,
    #c0d4ee 25%,
    #9ab8d8 50%,
    #7898ba 70%,
    #b8d0e8 88%,
    #ddeeff 100%
  );
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 25px rgba(40,100,220,0.6));
  margin-bottom: 14px;
}
.coming-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  color: var(--grey); text-transform: uppercase;
}
.accent-link { color: var(--blue-lt); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.accent-link:hover { border-bottom-color: var(--blue-lt); }

/* ── UNIVERSE ── */
.universe { padding: 70px 20px 100px; background: var(--black); }
.universe::before {
  content: ''; display: block; height: 1px; margin-bottom: 60px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.universe-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: clamp(14px, 2vw, 20px); letter-spacing: 0.38em;
  color: var(--grey-lt); text-align: center; margin-bottom: 44px;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 580px) { .cards-grid { grid-template-columns: repeat(2,1fr); } }

/* ── GAME CARD ── */
.game-card {
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: var(--card-bg);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.game-card:hover {
  transform: translateY(-5px); border-color: rgba(77,166,255,0.5);
  box-shadow: 0 8px 30px rgba(20,80,200,0.25);
}
.game-card.active {
  border-color: var(--blue-lt);
  box-shadow: 0 0 25px rgba(77,166,255,0.25), inset 0 0 25px rgba(10,50,160,0.1);
}
.card-img {
  position: relative; aspect-ratio: 1 / 1.1;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,5,20,0.7) 100%);
  pointer-events: none;
}
.lock-icon {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; color: rgba(200,220,255,0.6);
}
.lock-icon svg { width: 100%; height: 100%; }
.card-info { padding: 12px 8px 14px; text-align: center; }
.card-name {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.15em; color: var(--white); margin-bottom: 3px;
}
.card-status {
  font-family: 'Rajdhani', sans-serif; font-size: 10px;
  letter-spacing: 0.2em; color: var(--grey); font-weight: 600;
}
.card-status.blue { color: var(--blue-lt); }

/* ── FOOTER ── */
.footer { background: var(--deep); border-top: 1px solid var(--border); padding: 48px 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px;
  align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-tagline { font-family: 'Exo 2', sans-serif; font-size: 13px; color: var(--grey); line-height: 1.9; font-weight: 300; }
.newsletter-label {
  font-family: 'Rajdhani', sans-serif; font-size: 12px;
  letter-spacing: 0.3em; color: var(--blue-lt); font-weight: 700; margin-bottom: 12px;
}
.newsletter-form { display: flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.newsletter-input {
  flex: 1; background: rgba(255,255,255,0.04); border: none; outline: none;
  padding: 10px 14px; font-size: 13px; color: var(--white); font-family: 'Exo 2', sans-serif;
}
.newsletter-input::placeholder { color: var(--grey); }
.newsletter-input:focus { background: rgba(255,255,255,0.07); }
.newsletter-btn {
  background: var(--blue); border: none; padding: 0 16px; cursor: pointer;
  color: var(--white); display: flex; align-items: center; transition: background 0.2s;
}
.newsletter-btn svg { width: 18px; height: 18px; }
.newsletter-btn:hover { background: var(--blue-lt); }
.newsletter-thanks { display: none; font-size: 12px; color: var(--blue-lt); margin-top: 8px; }
.footer-copy {
  max-width: 1100px; margin: 20px auto 0;
  text-align: center;
  font-family: 'Exo 2', sans-serif; font-size: 12px; color: var(--grey); letter-spacing: 0.04em;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
