/* ============================================================
   179th DAWGS — Shared Stylesheet
   dawgs.css
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --gold:        #c9a227;
  --gold-light:  #f0c040;
  --gold-dim:    #7a5f12;
  --dark:        #0a0b0d;
  --dark2:       #111318;
  --dark3:       #181c22;
  --dark4:       #1e232b;
  --red:         #8b1a1a;
  --red-bright:  #c0392b;
  --green:       #2ecc71;
  --green-dim:   rgba(46,204,113,0.1);
  --orange:      #f39c12;
  --blue:        #3498db;
  --silver:      #b0b8c1;
  --bronze:      #cd7f32;
  --text:        #d4cfc5;
  --text-dim:    #7a7670;
  --grid:        rgba(201,162,39,0.06);
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  cursor: crosshair;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TACTICAL GRID OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── SCANLINE OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  top: -100%; left: 0; right: 0;
  height: 200%;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.03) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 1;
  animation: scanlines 0.1s steps(1) infinite;
}

@keyframes scanlines {
  0%   { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(10,11,13,0.92);
  border-bottom: 1px solid var(--gold-dim);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  object-fit: cover;
}

.nav-callsign {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover        { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }

/* Stats link — pulsing gold dot */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold) !important;
}

.nav-live::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: nav-live-pulse 2s ease-in-out infinite;
  margin-bottom: 1px;
}

.nav-live::after {
  background: var(--gold) !important;
  transform: scaleX(1) !important;
}

@keyframes nav-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,162,39,0.7); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 5px rgba(201,162,39,0); }
}

/* Nav status indicator */
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.nav-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

  100% { transform: translateX(-50%); }
}

/* Push all page content below the fixed nav */
body { padding-top: 64px; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  z-index: 2;
  padding: 80px 40px 48px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,162,39,0.12);
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

.page-hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 14px;
  animation: fadeup 0.7s ease both;
}

.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: 6px;
  color: #fff;
  line-height: 1;
  animation: fadeup 0.7s ease 0.1s both;
}

.page-hero-title span { color: var(--gold); }

.page-hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-top: 14px;
  line-height: 1.7;
  animation: fadeup 0.7s ease 0.2s both;
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--gold-dim);
  padding: 40px 40px 24px;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
}

.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--gold);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(201,162,39,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.classification {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--red-bright);
  border: 1px solid var(--red);
  padding: 3px 10px;
}

/* ── SHARED UTILITIES ── */

/* Animations */
@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

/* Section labels */
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 4px;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.section-title span { color: var(--gold); }

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 36px;
}

/* Buttons */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 14px 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 13px 40px;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
  transform: translateY(-2px);
}

/* Loading spinner */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  gap: 20px;
}

.loading-radar {
  width: 60px; height: 60px;
  border: 2px solid var(--gold-dim);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: radar-spin 1s linear infinite;
}

.loading-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--text-dim);
  text-transform: uppercase;
  animation: blink 1.5s step-start infinite;
}

/* Corner brackets decoration */
.corner { position: absolute; width: 20px; height: 20px; border-color: var(--gold); border-style: solid; }
.corner.tl { top: -6px; left: -6px;  border-width: 2px 0 0 2px; }
.corner.tr { top: -6px; right: -6px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: -6px; left: -6px;  border-width: 0 0 2px 2px; }
.corner.br { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 60px 20px 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
