/* ============================================================
   Radio Online — Design System
   Dark Radio Digital Aesthetic | Bebas Neue + Syne + Space Mono
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
    /* Colors */
    --c-bg:         #080b0f;
    --c-surface:    #0d1117;
    --c-surface2:   #131920;
    --c-border:     #1e2832;
    --c-border2:    #243040;

    --c-accent:     #ff3d5a;
    --c-accent2:    #ff6b35;
    --c-accent3:    #00d4ff;
    --c-gold:       #ffd700;

    --c-text:       #e8edf3;
    --c-text2:      #8a9ab0;
    --c-text3:      #4a5a6e;

    /* Gradients */
    --g-accent:     linear-gradient(135deg, #ff3d5a 0%, #ff6b35 100%);
    --g-blue:       linear-gradient(135deg, #00d4ff 0%, #0070ff 100%);
    --g-surface:    linear-gradient(160deg, #0d1117 0%, #131920 100%);
    --g-glow:       radial-gradient(ellipse at center, rgba(255,61,90,.15) 0%, transparent 70%);

    /* Typography */
    --f-display:    'Bebas Neue', 'Impact', sans-serif;
    --f-body:       'Syne', 'Trebuchet MS', sans-serif;
    --f-mono:       'Space Mono', 'Courier New', monospace;

    /* Spacing */
    --sp-xs:  0.25rem;
    --sp-sm:  0.5rem;
    --sp-md:  1rem;
    --sp-lg:  1.5rem;
    --sp-xl:  2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 5rem;

    /* Radius */
    --r-sm:   4px;
    --r-md:   10px;
    --r-lg:   18px;
    --r-xl:   28px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,.4);
    --shadow-md:  0 8px 32px rgba(0,0,0,.5);
    --shadow-lg:  0 20px 60px rgba(0,0,0,.7);
    --shadow-accent: 0 0 30px rgba(255,61,90,.3);
    --shadow-glow:   0 0 60px rgba(255,61,90,.15);

    /* Transitions */
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
    --t-fast:    0.15s;
    --t-mid:     0.3s;
    --t-slow:    0.6s;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    background-color: var(--c-bg);
    color: var(--c-text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(255,61,90,.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0,212,255,.04) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast) ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── Utility ────────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,11,15,.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--sp-md) var(--sp-xl);
    gap: var(--sp-lg);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--f-display);
    font-size: 1.8rem;
    letter-spacing: 2px;
    background: var(--g-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

/* Nav */
.main-nav {}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.nav-link {
    display: block;
    padding: var(--sp-sm) var(--sp-md);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-text2);
    border-radius: var(--r-sm);
    transition: color var(--t-fast) ease, background var(--t-fast) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--g-accent);
    border-radius: var(--r-full);
    transition: transform var(--t-mid) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    transition: background var(--t-fast) ease;
}

.nav-toggle:hover { background: var(--c-surface2); }

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: var(--r-full);
    transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast) ease;
}

.hamburger { position: relative; }

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero-section {
    text-align: center;
    padding: var(--sp-3xl) var(--sp-xl) var(--sp-xl);
}

.hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    background: rgba(255,61,90,.12);
    border: 1px solid rgba(255,61,90,.3);
    border-radius: var(--r-full);
    padding: var(--sp-xs) var(--sp-md);
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--c-accent);
    margin-bottom: var(--sp-lg);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,61,90,0); }
    50%       { box-shadow: 0 0 0 6px rgba(255,61,90,.08); }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 50%;
    animation: liveBlink 1.2s ease-in-out infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: .95;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #c8d8e8 40%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--sp-md);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--c-text2);
    letter-spacing: 1px;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   PLAYER SECTION
══════════════════════════════════════════════════════════════ */
.player-section {
    position: relative;
    display: flex;
    justify-content: center;
    padding: var(--sp-xl) var(--sp-xl) var(--sp-3xl);
    overflow: hidden;
}

/* Spectrum background decoration */
.spectrum-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 0 var(--sp-md);
    opacity: .15;
    pointer-events: none;
}

.spectrum-bar {
    flex: 1;
    max-width: 8px;
    background: var(--g-accent);
    border-radius: 2px 2px 0 0;
    height: 20%;
    animation: spectrumAnim 1.5s ease-in-out infinite;
}

.spectrum-bar:nth-child(odd)  { animation-delay: calc(var(--i, 0) * .05s); }
.spectrum-bar:nth-child(even) { animation-delay: calc(var(--i, 0) * .07s + .3s); }

@keyframes spectrumAnim {
    0%, 100% { height: 15%; }
    50%       { height: 85%; }
}

/* Dynamic spectrum delays */
.spectrum-bar:nth-child(1)  { animation-delay: 0.0s; }
.spectrum-bar:nth-child(2)  { animation-delay: 0.1s; }
.spectrum-bar:nth-child(3)  { animation-delay: 0.2s; }
.spectrum-bar:nth-child(4)  { animation-delay: 0.05s; }
.spectrum-bar:nth-child(5)  { animation-delay: 0.15s; }
.spectrum-bar:nth-child(6)  { animation-delay: 0.25s; }
.spectrum-bar:nth-child(7)  { animation-delay: 0.08s; }
.spectrum-bar:nth-child(8)  { animation-delay: 0.18s; }
.spectrum-bar:nth-child(9)  { animation-delay: 0.28s; }
.spectrum-bar:nth-child(10) { animation-delay: 0.03s; }
.spectrum-bar:nth-child(11) { animation-delay: 0.13s; }
.spectrum-bar:nth-child(12) { animation-delay: 0.23s; }
.spectrum-bar:nth-child(13) { animation-delay: 0.07s; }
.spectrum-bar:nth-child(14) { animation-delay: 0.17s; }
.spectrum-bar:nth-child(15) { animation-delay: 0.27s; }
.spectrum-bar:nth-child(16) { animation-delay: 0.04s; }
.spectrum-bar:nth-child(17) { animation-delay: 0.14s; }
.spectrum-bar:nth-child(18) { animation-delay: 0.24s; }
.spectrum-bar:nth-child(19) { animation-delay: 0.09s; }
.spectrum-bar:nth-child(20) { animation-delay: 0.19s; }

/* Player card */
.player-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--c-surface);
    border: 1px solid var(--c-border2);
    border-radius: var(--r-xl);
    padding: var(--sp-xl) var(--sp-2xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    z-index: 2;
    overflow: hidden;
}

/* Card ambient glow */
.player-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--g-glow);
    pointer-events: none;
    transition: opacity var(--t-slow) ease;
}

.player-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(255,61,90,.5), rgba(255,107,53,.5), transparent);
}

/* Visual area (album art + waveform) */
.player-visual {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: var(--sp-xl);
}

.album-art {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.6), var(--shadow-accent);
    flex-shrink: 0;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) ease;
}

.player-card:hover .album-art img {
    transform: scale(1.05);
}

.art-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,61,90,.2), transparent);
    pointer-events: none;
}

/* Waveform bars */
.waveform {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 3px;
    height: 60px;
    opacity: 0;
    transition: opacity var(--t-mid) ease;
}

.waveform.active { opacity: 1; }

.wave-bar {
    display: block;
    width: 3px;
    background: var(--g-accent);
    border-radius: var(--r-full);
    height: 30%;
    animation: wavePulse 1s ease-in-out infinite;
}

.wave-bar:nth-child(even) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n)   { animation-delay: 0.4s; }
.wave-bar:nth-child(4n)   { animation-delay: 0.1s; }
.wave-bar:nth-child(5n)   { animation-delay: 0.3s; }
.wave-bar:nth-child(6n)   { animation-delay: 0.5s; }

@keyframes wavePulse {
    0%, 100% { height: 20%; }
    50%       { height: 90%; }
}

/* Track info */
.player-info {
    text-align: center;
    margin-bottom: var(--sp-lg);
}

.track-type {
    margin-bottom: var(--sp-sm);
}

.type-badge {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--c-accent);
    background: rgba(255,61,90,.1);
    border: 1px solid rgba(255,61,90,.25);
    border-radius: var(--r-full);
    padding: 2px 10px;
}

.track-title {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: var(--sp-xs);
    min-height: 2.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.title-text {
    display: inline-block;
    animation: titleFadeIn var(--t-slow) var(--ease-out);
}

@keyframes titleFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.track-meta {
    font-size: 0.8rem;
    color: var(--c-text3);
    font-family: var(--f-mono);
    letter-spacing: 1px;
}

/* Progress bar */
.progress-container {
    margin-bottom: var(--sp-lg);
}

.progress-bar {
    position: relative;
    height: 4px;
    background: var(--c-border2);
    border-radius: var(--r-full);
    overflow: hidden;
    margin-bottom: var(--sp-xs);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--g-accent);
    border-radius: var(--r-full);
    animation: progressStream 8s linear infinite;
}

@keyframes progressStream {
    0%   { left: -100%; }
    100% { left: 100%; }
}

.progress-glow {
    position: absolute;
    top: -4px;
    left: -20px;
    width: 40px;
    height: 12px;
    background: rgba(255,61,90,.8);
    filter: blur(6px);
    border-radius: var(--r-full);
    animation: progressStream 8s linear infinite;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 0.65rem;
    color: var(--c-text3);
    letter-spacing: 1px;
}

/* Controls */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

/* Volume */
.volume-control {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    flex: 1;
}

.vol-btn {
    color: var(--c-text2);
    font-size: 1rem;
    padding: var(--sp-sm);
    border-radius: var(--r-sm);
    transition: color var(--t-fast) ease;
    flex-shrink: 0;
}

.vol-btn:hover { color: var(--c-accent); }

.vol-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 3px;
    background: var(--c-border2);
    border-radius: var(--r-full);
    outline: none;
    cursor: pointer;
}

.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--c-text);
    cursor: pointer;
    transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}

.vol-slider::-webkit-slider-thumb:hover {
    background: var(--c-accent);
    transform: scale(1.3);
}

.vol-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--c-text);
    cursor: pointer;
    border: none;
}

/* Play button — the star of the show */
.play-btn {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--g-accent);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255,61,90,.4), 0 0 0 0 rgba(255,61,90,.3);
    transition: transform var(--t-fast) var(--ease-out),
                box-shadow var(--t-mid) ease;
    flex-shrink: 0;
    z-index: 1;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(255,61,90,.6), 0 0 0 8px rgba(255,61,90,.1);
}

.play-btn:active { transform: scale(.96); }

.play-btn.playing {
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,61,90,.4), 0 0 0 0   rgba(255,61,90,.2); }
    50%       { box-shadow: 0 4px 20px rgba(255,61,90,.6), 0 0 0 12px rgba(255,61,90,0); }
}

.play-ripple {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255,61,90,.4);
    animation: rippleOut 2s ease-out infinite;
    pointer-events: none;
}

@keyframes rippleOut {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Extra controls */
.extra-controls {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.share-btn {
    color: var(--c-text2);
    font-size: 1rem;
    padding: var(--sp-sm);
    border-radius: var(--r-sm);
    transition: color var(--t-fast) ease;
}

.share-btn:hover { color: var(--c-accent3); }

/* Status */
.player-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--c-text3);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-text3);
    transition: background var(--t-mid) ease;
}

.status-dot.live    { background: var(--c-accent); animation: liveBlink 1.2s ease infinite; }
.status-dot.loading { background: var(--c-gold);  animation: liveBlink 0.6s ease infinite; }
.status-dot.error   { background: #ff6b6b; }

/* ══════════════════════════════════════════════════════════════
   GENRES SECTION
══════════════════════════════════════════════════════════════ */
.genres-section {
    padding: var(--sp-xl) var(--sp-xl) var(--sp-3xl);
}

.genres-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.genres-title {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-text3);
    margin-bottom: var(--sp-lg);
}

.genres-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-sm);
}

.genre-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--c-text2);
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    padding: 6px 16px;
    cursor: default;
    transition:
        color      var(--t-fast) ease,
        background var(--t-fast) ease,
        border-color var(--t-fast) ease,
        transform  var(--t-fast) ease;
}

.genre-tag:hover {
    color: var(--c-accent);
    background: rgba(255,61,90,.08);
    border-color: rgba(255,61,90,.3);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-xl) var(--sp-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--sp-3xl);
    padding-bottom: var(--sp-2xl);
    border-bottom: 1px solid var(--c-border);
}

/* Brand column */
.footer-brand {}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--sp-md);
}

.footer-about {
    font-size: 0.875rem;
    color: var(--c-text2);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
}

/* Social links */
.social-links {
    display: flex;
    gap: var(--sp-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    color: var(--c-text2);
    font-size: 0.95rem;
    transition:
        color      var(--t-fast) ease,
        background var(--t-fast) ease,
        border-color var(--t-fast) ease,
        transform  var(--t-fast) ease,
        box-shadow var(--t-fast) ease;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-link:nth-child(1):hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 4px 16px rgba(24,119,242,.4); }
.social-link:nth-child(2):hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #dc2743; }
.social-link:nth-child(3):hover { background: #000; border-color: #555; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.social-link:nth-child(4):hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 4px 16px rgba(255,0,0,.4); }
.social-link:nth-child(5):hover { background: #010101; border-color: #555; box-shadow: 0 4px 16px rgba(0,0,0,.5); }

/* Footer columns */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
}

.footer-col {}

.footer-col-title {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-text3);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--c-border);
}

.footer-links li + li { margin-top: var(--sp-sm); }

.footer-links a {
    font-size: 0.875rem;
    color: var(--c-text2);
    font-weight: 600;
    transition: color var(--t-fast) ease, padding-left var(--t-fast) ease;
    display: block;
}

.footer-links a:hover {
    color: var(--c-accent);
    padding-left: 6px;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-xl);
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.8rem;
    color: var(--c-text3);
    font-family: var(--f-mono);
}

.footer-note {
    font-size: 0.75rem;
    color: var(--c-text3);
    font-family: var(--f-mono);
    opacity: .6;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--sp-2xl);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: var(--sp-md);
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8,11,15,.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--c-border);
        padding: var(--sp-md) 0;
        display: none;
    }

    .main-nav.open {
        display: block;
        animation: navSlideDown var(--t-mid) var(--ease-out);
    }

    @keyframes navSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav-list {
        flex-direction: column;
        padding: 0 var(--sp-md);
        gap: var(--sp-xs);
    }

    .nav-link { width: 100%; }

    .hero-section {
        padding: var(--sp-2xl) var(--sp-md) var(--sp-lg);
    }

    .player-section {
        padding: var(--sp-md) var(--sp-md) var(--sp-2xl);
    }

    .player-card {
        padding: var(--sp-lg);
        border-radius: var(--r-lg);
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .player-card {
        padding: var(--sp-md);
    }

    .play-btn {
        width: 58px;
        height: 58px;
        font-size: 1.1rem;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }

    .genres-section {
        padding: var(--sp-lg) var(--sp-md) var(--sp-2xl);
    }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   RADIO DOSIS — Secciones adicionales
══════════════════════════════════════════════════════════════ */

/* Hero description line */
.hero-desc {
    font-size: 0.9rem;
    color: var(--c-text2);
    line-height: 1.7;
    margin-top: var(--sp-md);
    letter-spacing: .3px;
}

.hero-desc strong {
    color: var(--c-accent);
}

/* ── Dosis Cards ─────────────────────────────────────────────── */
.dosis-section {
    padding: var(--sp-xl) var(--sp-xl);
}

.dosis-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.dosis-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.dosis-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-xl);
    text-align: center;
    transition: border-color var(--t-mid) ease, transform var(--t-mid) ease, box-shadow var(--t-mid) ease;
    position: relative;
    overflow: hidden;
}

.dosis-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--g-accent);
    transform: scaleX(0);
    transition: transform var(--t-mid) var(--ease-out);
}

.dosis-card:hover {
    border-color: var(--c-border2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.dosis-card:hover::before {
    transform: scaleX(1);
}

.dosis-card i {
    font-size: 2rem;
    background: var(--g-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--sp-md);
}

.dosis-card h3 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: var(--sp-sm);
    color: var(--c-text);
}

.dosis-card p {
    font-size: 0.875rem;
    color: var(--c-text2);
    line-height: 1.7;
}

/* ── About Quote ─────────────────────────────────────────────── */
.about-quote {
    text-align: center;
    padding: var(--sp-3xl) var(--sp-xl);
    max-width: 700px;
    margin: 0 auto;
}

.about-quote blockquote {
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 4vw, 2rem);
    letter-spacing: 2px;
    line-height: 1.3;
    color: var(--c-text);
    margin-bottom: var(--sp-md);
    position: relative;
}

.quote-mark {
    color: var(--c-accent);
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.4em;
}

.about-quote cite {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--c-text3);
    letter-spacing: 2px;
    font-style: normal;
}

/* ── App Section ─────────────────────────────────────────────── */
.app-section {
    padding: var(--sp-3xl) var(--sp-xl);
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    margin: var(--sp-xl) 0;
}

.app-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sp-3xl);
    align-items: center;
}

.app-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--c-accent);
    margin-bottom: var(--sp-md);
}

.app-title {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: var(--sp-md);
    background: linear-gradient(135deg, #fff 0%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-desc {
    font-size: 0.95rem;
    color: var(--c-text2);
    line-height: 1.7;
    margin-bottom: var(--sp-xl);
    max-width: 480px;
}

.app-buttons {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    background: var(--c-surface2);
    border: 1px solid var(--c-border2);
    border-radius: var(--r-md);
    padding: 12px 20px;
    color: var(--c-text);
    text-decoration: none;
    transition: background var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
    min-width: 160px;
}

.app-btn:hover {
    transform: translateY(-2px);
    border-color: var(--c-accent);
    background: rgba(255,61,90,.08);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn span {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.app-btn span small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--c-text2);
    letter-spacing: .5px;
}

.app-btn-ios:hover i   { color: #a8b2c2; }
.app-btn-android:hover i { color: #34a853; }

/* App visual (decorative phone shape) */
.app-visual {
    display: flex;
    justify-content: center;
}

.app-phone {
    width: 220px;
    height: 360px;
    background: var(--c-surface2);
    border: 2px solid var(--c-border2);
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.app-phone::before {
    content: '';
    position: absolute;
    top: 16px;
    width: 60px;
    height: 6px;
    background: var(--c-border2);
    border-radius: var(--r-full);
}

.app-phone i {
    font-size: 3.5rem;
    background: var(--g-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-phone span {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: var(--c-text3);
    letter-spacing: 1.5px;
}

/* ── Responsive Dosis sections ──────────────────────────────── */
@media (max-width: 900px) {
    .dosis-cards {
        grid-template-columns: 1fr;
    }
    .app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .app-desc { max-width: 100%; }
    .app-buttons { justify-content: center; }
    .app-visual { display: none; }
}

@media (max-width: 600px) {
    .dosis-section { padding: var(--sp-lg) var(--sp-md); }
    .app-section    { padding: var(--sp-2xl) var(--sp-md); }
    .app-buttons    { flex-direction: column; align-items: center; }
    .app-btn        { width: 100%; max-width: 260px; justify-content: center; }
}
