/* =========================================================
   SPANGLISH RADIO — Global Stylesheet
   Theme: Metallic Red & Black
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --black:       #050505;
  --dark:        #0c0c0c;
  --card:        #131313;
  --card2:       #1a1a1a;
  --border:      #242424;
  --border2:     #2e2e2e;

  /* Metallic Red Palette */
  --red:         #C8102E;
  --red-bright:  #E8192E;
  --red-deep:    #8B0000;
  --red-glow:    rgba(200,16,46,0.35);
  --red-subtle:  rgba(200,16,46,0.08);

  /* Metallic sheen */
  --metal-grad:  linear-gradient(135deg, #C8102E 0%, #8B0000 40%, #C8102E 60%, #6B0000 100%);
  --metal-light: linear-gradient(135deg, #ff2a44 0%, #C8102E 50%, #8B0000 100%);
  --silver:      #a8a8a8;

  --white:       #f0ede8;
  --off-white:   #c8c4be;
  --muted:       #666;
  --dim:         #3a3a3a;

  --radius:      14px;
  --radius-lg:   24px;
  --nav-h:       72px;

  --font-display: 'Bebas Neue', cursive;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* =========================================================
   CURSOR
   ========================================================= */
body { cursor: none; }
.cursor {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: screen;
  transition: transform 0.1s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(200,16,46,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: border-color 0.3s;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex; align-items: center;
  padding: 0 48px;
  transition: background 0.4s, border-color 0.4s;
}
.site-nav.scrolled {
  background: rgba(5,5,5,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  background: var(--metal-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: sheen 4s linear infinite;
}
@keyframes sheen {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.nav-links {
  display: flex; gap: 4px;
  margin-left: auto;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.8px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--red-bright); }

.nav-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--metal-grad);
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  margin-left: 8px;
  transition: opacity 0.2s, transform 0.2s !important;
  background-size: 200%;
  animation: sheen 4s linear infinite;
}
.nav-download:hover { opacity: 0.9; transform: scale(1.04) !important; background: rgba(0,0,0,0) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  margin-left: auto;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 510;
  position: relative;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(5,5,5,0.98);
  z-index: 499;
  flex-direction: column;
  padding: 40px 32px;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 28px;
  font-family: var(--font-display);
  letter-spacing: 3px;
  color: var(--off-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--red-bright); }

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
.section { padding: 100px 48px; }
.section-sm { padding: 64px 48px; }
.container { max-width: 1200px; margin: 0 auto; }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red-bright);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.section-body {
  font-size: 16px;
  color: var(--off-white);
  line-height: 1.8;
  max-width: 560px;
}

/* Metallic divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.4;
  margin: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--metal-grad);
  color: #fff;
  background-size: 200%;
  animation: sheen 4s linear infinite;
  box-shadow: 0 4px 24px rgba(200,16,46,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,16,46,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-2px);
}

/* Store buttons */
.store-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--card2);
  border: 1px solid var(--border2);
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
}
.store-btn:hover {
  border-color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200,16,46,0.2);
}
.store-btn svg { width: 30px; height: 30px; flex-shrink: 0; }
.store-btn-text small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.3px; }
.store-btn-text strong { display: block; font-size: 15px; color: var(--white); font-weight: 600; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.up { transform: translateY(28px); }
.reveal.left { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: translate(0,0); }

/* =========================================================
   METALLIC CARD
   ========================================================= */
.metal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.metal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* =========================================================
   SOUND BARS
   ========================================================= */
.sound-bars {
  display: flex; align-items: flex-end; gap: 5px;
}
.sound-bars .bar {
  width: 4px; border-radius: 2px;
  background: linear-gradient(to top, var(--red-deep), var(--red-bright));
  animation: bar-wave 1.3s ease-in-out infinite;
}
.sound-bars .bar:nth-child(1)  { height: 16px; animation-delay: 0s; }
.sound-bars .bar:nth-child(2)  { height: 28px; animation-delay: 0.1s; }
.sound-bars .bar:nth-child(3)  { height: 40px; animation-delay: 0.2s; }
.sound-bars .bar:nth-child(4)  { height: 24px; animation-delay: 0.15s; }
.sound-bars .bar:nth-child(5)  { height: 36px; animation-delay: 0.05s; }
@keyframes bar-wave {
  0%, 100% { transform: scaleY(0.35); }
  50%       { transform: scaleY(1); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand img {
  width: 52px; height: 52px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  background: var(--metal-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--dim); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--red); background: var(--red-subtle); transform: translateY(-2px); }

/* =========================================================
   PAGE HERO (shared inner pages)
   ========================================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  padding-left: 48px; padding-right: 48px;
  background: linear-gradient(180deg, rgba(200,16,46,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .section-title { font-size: clamp(48px, 7vw, 96px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .section, .section-sm { padding: 64px 24px; }
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 24px 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding-left: 24px; padding-right: 24px; }
}
