/*
 * Author:      Adam ChapChap Ng'uni
 * Date:        2026-10-17
 * Time:        19:14
 * Description: Responsive radio-inspired styles for the Flava FM construction landing page
 * Notes:       Dark theme, high contrast, accessible focus states, prefers-reduced-motion respected.
 */

@import url('./fonts.css');

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #001a0f;
  --surface: #002915;
  --surface-2: #00381f;
  --text-primary: #ffffff;
  --text-muted: #e6e6e6;
  --primary-green: #0b6623;
  --primary-green-dark: #064d19;
  --primary-green-light: #1a7f3a;
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --gold-light: #ffeb99;
  --border: rgba(212, 175, 55, 0.5);
  --border-light: rgba(212, 175, 55, 0.3);
  --glow: 0 0 0 4px rgba(255, 215, 0, 0.4);
  --glow-subtle: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 800px at top, rgba(11, 102, 35, 0.15), var(--bg));
  color: var(--text-primary);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: clamp(16px, 2.5vw, 18px);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip-link:focus {
  left: 50%;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--gold-bright);
  color: #000000;
  border-radius: 4px;
  z-index: 999;
  transform: translateX(-50%);
  box-shadow: var(--glow);
  font-weight: 600;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: clamp(1rem, 4vw, 1.5rem) 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(0, 41, 21, 0.9), rgba(0, 0, 0, 0.4));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: clamp(48px, 8vw, 72px);
  width: auto;
  filter: drop-shadow(0 10px 40px rgba(255, 61, 139, 0.25));
}

.hero {
  padding: clamp(3rem, 12vw, 6rem) 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--gold-bright);
  font-weight: 600;
}

.headline {
  margin: 0;
  font-family: 'Righteous', 'Impact', 'Arial Black', sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 10vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 30px 80px rgba(0, 0, 0, 0.8);
}

.supporting-text {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  border: 2px solid var(--gold-bright);
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 20px 60px rgba(11, 102, 35, 0.4);
}

.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 180px));
  gap: clamp(0.75rem, 3vw, 1.5rem);
}

.countdown-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1rem, 5vw, 2rem) clamp(0.5rem, 3vw, 1.5rem);
  border: 2px solid var(--gold-bright);
  border-radius: 6px;
  background: var(--primary-green);
  background: linear-gradient(180deg, var(--primary-green-light) 0%, var(--primary-green-dark) 100%);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3), 0 30px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.countdown-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(200px 100px at 50% -10%, rgba(255, 215, 0, 0.15), transparent);
  pointer-events: none;
}

.countdown-digit {
  position: relative;
  font-family: 'Righteous', 'Arial Black', sans-serif;
  font-size: clamp(2.8rem, 12vw, 6rem);
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.countdown-label {
  position: relative;
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
}

.countdown-fallback {
  display: none;
  color: var(--text-muted);
}

.links-section,
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 6vw, 3rem);
}

.section-heading {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 600;
}

.section-subtext {
  margin: 0;
  color: var(--text-muted);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--glow);
  border-color: rgba(255, 176, 32, 0.8);
}

.button:hover {
  transform: translateY(-2px);
  cursor: pointer;
}

.button:active {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #000000;
  font-weight: 700;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 20px 60px rgba(11, 102, 35, 0.4);
}

.button-ghost {
  background: rgba(0, 41, 21, 0.9);
  color: var(--text-primary);
  border: 2px solid var(--gold-bright);
  backdrop-filter: blur(8px);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: clamp(3rem, 10vw, 5rem);
  padding: 2rem 0;
  color: var(--text-primary);
  background: linear-gradient(to top, rgba(0, 41, 21, 0.7), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.footer-note {
  font-size: 0.9rem;
}

a {
  color: var(--gold-bright);
  font-weight: 600;
}

a:focus-visible {
  outline: none;
  box-shadow: var(--glow);
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
