/* ═══════════════════════════════════════════════
   ZILLA ENGINE — Design System
   RK Design System Blue / KK Rekreativo
   ═══════════════════════════════════════════════ */

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

/* ─── TOKENS ─── */
:root {
  /* Backgrounds */
  --bg: #080808;
  --surface: #111111;
  --surface-alt: #0d0d0d;
  --surface-hover: #1a1a1a;

  /* Accents — org branding overrides --blue, --blue-light, --gold */
  --blue: #2196F3;
  --blue-dim: #1976D2;
  --blue-light: #4dabf5;
  --blue-glow: rgba(33,150,243,0.12);
  --gold: #D4A84B;

  /* Status */
  --danger: #ff4444;
  --warning: #FFB300;
  --success: #4CAF50;

  /* Text */
  --text: #e4eaf0;
  --text-muted: #6a7a8a;
  --text-dim: #4a5a6a;
  --text-heading: #f0f4f8;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(33,150,243,0.15);

  /* Typography — org branding overrides --font-display, --font-body */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* Layout */
  --content-max: 1200px;
  --gutter: 20px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  color-scheme: dark;
}

/* ─── GLOBAL ─── */
html { font-size: 15px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0;
}

/* ─── CONTAINER ─── */
.container { max-width: var(--content-max); margin-inline: auto; width: 100%; padding-inline: var(--gutter); }

/* ─── TOP ACCENT LINE (hidden — accent moved to nav border-bottom) ─── */
.top-line { display: none; }

/* ═══════ NAV ═══════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px; display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 2px solid var(--blue);
  transition: box-shadow 0.4s;
}
.nav.scrolled {
  background: var(--bg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav__inner {
  max-width: var(--content-max); margin-inline: auto; width: 100%;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.nav__logo {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
}
.nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav__logo-placeholder {
  width: 42px; height: 42px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: #fff; letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(33,150,243,0.4), 0 0 60px rgba(33,150,243,0.15);
  filter: drop-shadow(0 0 8px rgba(33,150,243,0.5));
}
.nav__name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.05em;
}
.nav__name b { color: var(--blue); font-weight: 700; }
.nav__links { display: flex; gap: 32px; list-style: none; margin: 0; margin-left: auto; padding: 0; }
.nav__links a {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.2s; padding: 4px 0;
}
.nav__links a:hover { color: var(--text-heading); }
.nav__links a.active { color: var(--blue); border-bottom: 2px solid var(--blue); }

/* Hamburger */
.nav__hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; padding: 0; flex-shrink: 0;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text-heading);
  position: absolute; left: 7px; transition: all 0.3s;
}
.nav__hamburger span:nth-child(1) { top: 10px; }
.nav__hamburger span:nth-child(2) { top: 17px; }
.nav__hamburger span:nth-child(3) { top: 24px; }
.nav__hamburger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* Mobile nav drawer */
.nav__drawer {
  display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
  z-index: 99; padding: 32px var(--gutter);
  flex-direction: column; gap: 0;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.nav__drawer.open { display: flex; opacity: 1; transform: translateY(0); }
.nav__drawer a {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 18px 0; border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.nav__drawer a:hover, .nav__drawer a.active { color: var(--blue); }

/* ─── MAIN ─── */
.main { flex: 1; padding-top: 66px; }

/* ═══════ FOOTER ═══════ */
.footer {
  border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 20px;
}
.footer__inner {
  max-width: var(--content-max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo {
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.footer__logo img { width: 100%; height: 100%; object-fit: contain; }
.footer__logo-placeholder {
  width: 28px; height: 28px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 9px; color: #fff;
}
.footer__name {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.05em;
}
.footer__name b { color: var(--blue); }
.footer__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer__links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--blue); }
.footer__copy {
  font-size: 12px; color: var(--text-muted); text-align: center;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); opacity: 0.5;
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  text-transform: uppercase; letter-spacing: 0.08em;
  border: none; cursor: pointer; transition: all 0.3s;
}
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 20px rgba(33,150,243,0.2);
}
.btn--primary:hover {
  background: var(--blue-dim); transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(33,150,243,0.35);
}
.btn--outline {
  background: transparent; color: var(--text-heading);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--border-accent); background: var(--blue-glow);
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 40px; font-size: 15px; }

/* ═══════ FOLLOW BUTTON ═══════ */
.follow-wrap { margin-top: 10px; }
.follow-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.follow-btn:hover {
  color: var(--text);
  border-color: var(--blue);
  background: rgba(33,150,243,0.06);
}
.follow-btn--active {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(33,150,243,0.08);
}
.follow-btn--active:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(255,68,68,0.06);
}

/* ═══════ BADGE (Team Circle) ═══════ */
.badge {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: #fff; letter-spacing: 0.03em; flex-shrink: 0;
}
.badge--sm { width: 30px; height: 30px; font-size: 10px; }
.badge--xs { width: 22px; height: 22px; font-size: 8px; }
.badge--lg { width: 56px; height: 56px; font-size: 17px; }
.badge--hero {
  width: 48px; height: 48px; font-size: 14px;
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
}

/* ═══════ SECTION PATTERNS ═══════ */
.section { padding: 100px 0; }
.section--alt {
  background: var(--surface-alt);
  padding-inline: var(--gutter);
}
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.section-header { margin-bottom: 48px; }
.section-header__label {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  color: var(--blue); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 8px;
}
.section-header__title { font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; }
.section-header__title b { color: var(--blue); font-weight: 700; }

/* ─── ACCENT LINE ─── */
.accent-line { width: 60px; height: 3px; background: var(--blue); transform: skewX(-20deg); }

/* ═══════ FORM DOTS ═══════ */
.form-dots { display: flex; gap: 4px; align-items: center; }
.form-dot { width: 8px; height: 8px; border-radius: 50%; }
.form-dot--w { background: var(--success); }
.form-dot--l { background: var(--danger); }

/* ═══════ ANIMATIONS ═══════ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.85)} }

/* ═══════ UTILITIES ═══════ */
.tabular-nums { font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; }
.font-display { font-family: var(--font-display); }
.live-dot {
  width: 8px; height: 8px; background: var(--danger); border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite; flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,68,68,0.4);
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .section { padding: 64px 0; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-header__title { font-size: 1.6rem; }
}

/* ═══════ REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}