/* ═══════════════════════════════════════════
   GAZETICA — Global Stylesheet
   Theme: Neon Cyan on Deep Black (V1 Cyber)
   ═══════════════════════════════════════════ */

:root {
  --bg:        #080c10;
  --bg-card:   #0a1018;
  --bg-card2:  #0d1520;
  --cyan:      #00f5ff;
  --cyan-dim:  #00c8d4;
  --cyan-glow: rgba(0,245,255,0.12);
  --cyan-line: rgba(0,245,255,0.18);
  --text-1:    #e0f4ff;
  --text-2:    #7ab0c0;
  --text-3:    #3a6070;
  --border:    rgba(0,245,255,0.10);
  --border-md: rgba(0,245,255,0.20);
  --font-display: 'Syne', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Ambient effects ── */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,245,255,0.015) 2px,
    rgba(0,245,255,0.015) 4px
  );
}

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(8,12,16,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 4px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(8,12,16,0.98);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-2);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ── Sections & layout ── */
main { position: relative; z-index: 1; }

section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 2rem;
}

/* ── Hero ── */
.hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text-1);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-headline .accent { color: var(--cyan); }

.hero-sub {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--bg); }

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--border-md);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan-line); color: var(--text-2); }

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-3);
  margin-top: 4px;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Games grid ── */
.games-preview { padding-top: 3rem; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.game-card {
  background: var(--bg-card);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
  position: relative;
}
.game-card--live { cursor: pointer; }
.game-card--live:hover { background: var(--bg-card2); }
.game-card--live::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 100%;
  background: var(--cyan);
}

.game-card-index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1px;
}
.game-card--soon .game-card-index { color: var(--text-3); }

.game-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
}
.game-card--soon .game-card-name { color: var(--text-3); }

.game-card-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

.game-card-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(0,245,255,0.08);
  color: var(--cyan);
  border: 1px solid var(--cyan-line);
  width: fit-content;
}
.game-card-badge--soon {
  background: transparent;
  color: var(--text-3);
  border-color: var(--border);
}

/* ── Manifesto ── */
.manifesto {
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 720px; }
.manifesto-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-2);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 5rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.1;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Games page ── */
.games-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2rem;
}

.game-full-card {
  background: var(--bg-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
}
.game-full-card--live { cursor: pointer; }
.game-full-card--live:hover { background: var(--bg-card2); }
.game-full-card--live::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 100%;
  background: var(--cyan);
}
.game-full-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1px;
}
.game-full-card--soon .game-full-card-num { color: var(--text-3); }
.game-full-card-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
}
.game-full-card--soon .game-full-card-name { color: var(--text-3); }
.game-full-card-genre {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1px;
}
.game-full-card-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}
.game-full-card--soon .game-full-card-desc { color: var(--text-3); }
.game-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border: 1px solid var(--cyan-line);
  color: var(--cyan);
  border-radius: 2px;
  width: fit-content;
  transition: background 0.2s;
}
.game-cta:hover { background: var(--cyan-glow); }

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

.about-block h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.about-block p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-rule {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.about-rule li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.about-rule li::before {
  content: '›';
  color: var(--cyan);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}
.contact-card h2 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.contact-card a {
  color: var(--cyan);
  text-decoration: none;
}
.contact-card a:hover { text-decoration: underline; }

/* ── Legal pages (Privacy, Terms) ── */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.legal-body h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin: 2.5rem 0 0.75rem;
  text-transform: uppercase;
}
.legal-body p, .legal-body li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-body ul li { list-style: disc; }
.legal-body a { color: var(--cyan); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 2rem;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 4px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding-top: 4rem; }
  .hero-stat-row { gap: 1.25rem; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3rem 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
