/* ═══════════════════════════════════════════════════════════════
   RadioCMS — Design System
   Dark + Vibrant · Mobile-first · Modern
═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Variables ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
    --bg:          #0d0d14;
    --bg2:         #12121f;
    --bg3:         #1a1a2e;
    --card:        #16162a;
    --card-hover:  #1e1e38;
    --border:      rgba(255,255,255,.08);
    --border-soft: rgba(255,255,255,.04);
    --primary:     #7c3aed;
    --primary-dark:#5b21b6;
    --accent:      #f97316;
    --text:        #e2e8f0;
    --text-soft:   #94a3b8;
    --text-muted:  #64748b;
    --success:     #22c55e;
    --error:       #ef4444;
    --warning:     #eab308;
    --glass:       rgba(255,255,255,.03);
    --glass-border:rgba(255,255,255,.06);
    --radius:      12px;
    --radius-lg:   20px;
    --radius-sm:   8px;
    --shadow:      0 4px 20px rgba(0,0,0,.4);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.5);
    --player-h:    72px;
    --header-h:    68px;
    --topbar-h:    36px;
    --transition:  .2s ease;
    --font:        'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── Base ──────────────────────────────────────────────────── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: calc(var(--topbar-h) + var(--header-h) + var(--player-h));
}

body.no-player { padding-top: calc(var(--topbar-h) + var(--header-h)); }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Top Bar ───────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-h);
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
.topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-slogan {
    font-size: .75rem;
    color: var(--text-soft);
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    border-radius: 6px;
    background: var(--glass);
    color: var(--text-soft);
    transition: all var(--transition);
}
.topbar-social:hover { background: var(--primary); color: #fff; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
    height: var(--header-h);
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    z-index: 999;
    transition: box-shadow .3s;
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
    background: rgba(18,18,31,.95);
    backdrop-filter: blur(20px);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo-img { height: 40px; width: auto; }
.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex; align-items: center; gap: 8px;
}
.logo-icon { font-size: 1.4rem; -webkit-text-fill-color: initial; }

/* Nav */
.main-nav { flex: 1; }
.nav-list {
    list-style: none;
    display: flex;
    gap: 4px;
}
.nav-link {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: var(--glass);
}
.nav-link.active { color: var(--primary); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-search-toggle, .btn-menu {
    width: 38px; height: 38px;
    border: none; border-radius: 8px;
    background: var(--glass);
    color: var(--text-soft);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.btn-search-toggle:hover, .btn-menu:hover {
    background: var(--primary);
    color: #fff;
}
.btn-menu { display: none; flex-direction: column; gap: 4px; padding: 10px; }
.btn-menu span {
    display: block; width: 18px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all .3s;
}
.btn-menu.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.btn-menu.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.btn-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    background: rgba(13,13,20,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    z-index: 998;
    transform: translateY(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.search-overlay.open { transform: translateY(0); }
.search-form { display: flex; gap: 10px; }
.search-input {
    flex: 1; padding: 12px 16px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text); font-size: .9rem;
    outline: none;
}
.search-input:focus { border-color: var(--primary); }
.btn-search-submit {
    padding: 12px 20px;
    background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius);
    font-weight: 600; font-size: .875rem;
    transition: opacity .2s;
}
.btn-search-submit:hover { opacity: .85; }
.btn-search-close {
    width: 44px; background: var(--glass);
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text-soft); font-size: 1rem;
}

/* ─── Sticky Player ─────────────────────────────────────────── */
.sticky-player {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    height: var(--player-h);
    background: linear-gradient(90deg, var(--bg3) 0%, #1e1040 50%, var(--bg3) 100%);
    border-bottom: 1px solid var(--border);
    z-index: 997;
    box-shadow: 0 4px 20px rgba(124,58,237,.15);
}
.player-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Play button */
.player-btn-play {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    box-shadow: 0 0 20px rgba(124,58,237,.4);
    position: relative;
}
.player-btn-play:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(124,58,237,.6); }
.player-btn-play.playing { animation: playerPulse 2s infinite; }

@keyframes playerPulse {
    0%,100% { box-shadow: 0 0 20px rgba(124,58,237,.4); }
    50% { box-shadow: 0 0 35px rgba(249,115,22,.6); }
}

.spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Player info */
.player-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.player-live-badge {
    display: flex; align-items: center; gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.3);
    font-size: .65rem; font-weight: 700; letter-spacing: .1em;
    color: #f87171;
    flex-shrink: 0;
}
.live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #ef4444;
    animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
    0%,100% { opacity: 1; }
    50% { opacity: .3; }
}

.player-now-playing {
    display: flex; flex-direction: column;
    min-width: 0;
}
.player-song {
    font-size: .875rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 280px;
}
.player-artist {
    font-size: .75rem; color: var(--text-soft);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 280px;
}

/* Cover art */
.player-cover {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border);
}
.player-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Volume */
.player-volume-wrap {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
}
.player-mute {
    background: none; border: none; color: var(--text-soft);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s;
}
.player-mute:hover { color: var(--text); }
.player-volume {
    width: 90px; height: 4px;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--primary); cursor: pointer;
    transition: transform .2s;
}
.player-volume::-webkit-slider-thumb:hover { transform: scale(1.2); }

.player-share {
    background: none; border: none; color: var(--text-soft);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; transition: all .2s;
}
.player-share:hover { background: var(--glass); color: var(--text); }

/* ─── Section Styles ────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
    font-size: 1.75rem; font-weight: 800;
    margin-bottom: 8px;
}
.section-subtitle {
    color: var(--text-soft);
    font-size: .95rem;
    margin-bottom: 40px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.section-header .section-title { margin-bottom: 0; }
.btn-see-all {
    font-size: .8rem; font-weight: 600;
    color: var(--primary); padding: 6px 14px;
    border: 1px solid rgba(124,58,237,.3);
    border-radius: 20px;
    transition: all .2s;
    white-space: nowrap;
}
.btn-see-all:hover { background: var(--primary); color: #fff; }

/* ─── Cards ─────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.news-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    display: flex; flex-direction: column;
}
.news-card:hover {
    background: var(--card-hover);
    border-color: rgba(124,58,237,.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.news-card-img {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--bg3);
}
.news-card-img-placeholder {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg3), var(--card));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-category {
    display: inline-block;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    color: #fff;
}
.news-card-title {
    font-size: 1rem; font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-excerpt {
    font-size: .825rem; color: var(--text-soft);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: .75rem; color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    padding-top: 12px;
    margin-top: auto;
}
.news-card-meta-icon { opacity: .6; }

/* Featured post (hero card) */
.post-featured {
    grid-column: span 2;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
}
.post-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
    transition: transform .5s;
}
.post-featured:hover img { transform: scale(1.03); }
.post-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.post-featured-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px;
}
.post-featured-title {
    font-size: 1.4rem; font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #fff;
}
.post-featured-meta { font-size: .75rem; color: rgba(255,255,255,.6); }

/* ─── Hero / Banner ─────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(249,115,22,.1) 0%, transparent 60%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 20px;
    background: rgba(124,58,237,.15); border: 1px solid rgba(124,58,237,.3);
    font-size: .75rem; font-weight: 600; letter-spacing: .05em;
    color: #a78bfa; margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900; line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px;
    border: none; border-radius: var(--radius);
    font-size: .9rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,.5); opacity: .95; color: #fff; }
.btn-accent { background: linear-gradient(135deg, var(--accent), #ea580c); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); opacity: .9; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(124,58,237,.05); }
.btn-ghost { background: transparent; color: var(--text-soft); padding: 8px 14px; }
.btn-ghost:hover { color: var(--text); background: var(--glass); }
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Programming Grid ──────────────────────────────────────── */
.prog-tabs {
    display: flex; gap: 6px; overflow-x: auto;
    padding-bottom: 4px; margin-bottom: 28px;
    scrollbar-width: none;
}
.prog-tabs::-webkit-scrollbar { display: none; }
.prog-tab {
    padding: 8px 20px; border-radius: 30px;
    background: var(--bg3); border: 1px solid var(--border);
    font-size: .825rem; font-weight: 600; color: var(--text-soft);
    cursor: pointer; transition: all .2s; white-space: nowrap;
    flex-shrink: 0;
}
.prog-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.prog-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.prog-day { display: none; }
.prog-day.active { display: block; }

.prog-list { display: flex; flex-direction: column; gap: 12px; }
.prog-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 20px;
    transition: all .2s;
}
.prog-item.now-on-air {
    border-color: var(--primary);
    background: linear-gradient(90deg, rgba(124,58,237,.1), var(--card));
}
.prog-item:hover { border-color: rgba(124,58,237,.3); transform: translateX(3px); }
.prog-time {
    font-size: .8rem; font-weight: 700;
    color: var(--text-soft); min-width: 80px;
    font-variant-numeric: tabular-nums;
}
.prog-item.now-on-air .prog-time { color: var(--primary); }
.prog-cover {
    width: 52px; height: 52px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
}
.prog-info { flex: 1; min-width: 0; }
.prog-name { font-weight: 700; font-size: .925rem; }
.prog-presenter { font-size: .78rem; color: var(--text-soft); margin-top: 2px; }
.prog-badge-live {
    padding: 3px 10px; border-radius: 20px;
    background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3);
    font-size: .65rem; font-weight: 700; letter-spacing: .08em;
    color: #f87171; flex-shrink: 0;
}

/* ─── Podcast Cards ─────────────────────────────────────────── */
.podcast-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all .3s; display: flex; align-items: center;
    gap: 16px; padding: 16px;
}
.podcast-card:hover { background: var(--card-hover); border-color: rgba(124,58,237,.3); transform: translateX(4px); }
.podcast-cover {
    width: 72px; height: 72px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
}
.podcast-body { flex: 1; min-width: 0; }
.podcast-title { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.podcast-presenter { font-size: .75rem; color: var(--text-soft); margin-bottom: 8px; }
.podcast-meta { display: flex; gap: 12px; font-size: .72rem; color: var(--text-muted); }
.podcast-play-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all .2s;
    box-shadow: 0 4px 14px rgba(124,58,237,.4);
}
.podcast-play-btn:hover { transform: scale(1.1); }

/* ─── Vote Section ──────────────────────────────────────────── */
.vote-section { background: var(--bg2); }
.vote-list { display: flex; flex-direction: column; gap: 12px; }
.vote-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 16px;
    transition: all .2s;
}
.vote-rank {
    font-size: 1.2rem; font-weight: 900;
    min-width: 36px; text-align: center;
    color: var(--text-muted);
}
.vote-rank.top1 { color: #fbbf24; text-shadow: 0 0 12px rgba(251,191,36,.4); }
.vote-rank.top2 { color: #94a3b8; }
.vote-rank.top3 { color: #cd7c2f; }
.vote-cover {
    width: 50px; height: 50px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
}
.vote-info { flex: 1; min-width: 0; }
.vote-song { font-weight: 700; font-size: .9rem; }
.vote-artist { font-size: .78rem; color: var(--text-soft); }
.vote-count { font-size: .8rem; color: var(--text-soft); min-width: 50px; text-align: right; }
.btn-vote {
    padding: 6px 16px; font-size: .78rem; font-weight: 700;
    border: 1px solid rgba(249,115,22,.4); color: var(--accent);
    border-radius: 20px; background: rgba(249,115,22,.08);
    transition: all .2s; white-space: nowrap;
}
.btn-vote:hover, .btn-vote.voted {
    background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ─── Advertisers Page ──────────────────────────────────────── */
.adv-hero {
    background: linear-gradient(135deg, var(--bg2) 0%, rgba(124,58,237,.1) 100%);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
    text-align: center;
}
.adv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.stat-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px;
    text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .8rem; color: var(--text-soft); margin-top: 4px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px; position: relative;
    transition: all .3s;
}
.plan-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(124,58,237,.08), var(--card));
}
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; padding: 4px 16px; border-radius: 20px;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em;
    white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.plan-price span { font-size: .9rem; font-weight: 400; color: var(--text-soft); }
.plan-desc { font-size: .85rem; color: var(--text-soft); margin-bottom: 20px; }
.plan-features { list-style: none; margin-bottom: 24px; }
.plan-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .85rem; padding: 6px 0;
    border-bottom: 1px solid var(--border-soft);
}
.plan-features li:last-child { border: none; }
.plan-features .check { color: var(--success); flex-shrink: 0; }

/* ─── Contact Form ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-item {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 20px; padding: 16px;
    background: var(--card); border-radius: var(--radius); border: 1px solid var(--border);
}
.contact-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(124,58,237,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.contact-label { font-size: .75rem; color: var(--text-soft); margin-bottom: 2px; }
.contact-value { font-weight: 600; font-size: .9rem; }

/* ─── Form Styles ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .825rem; color: var(--text-soft); margin-bottom: 6px; font-weight: 500; }
.form-control {
    width: 100%; padding: 11px 14px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-size: .9rem; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: .75rem; color: var(--error); margin-top: 4px; }

/* ─── Newsletter Section ────────────────────────────────────── */
.newsletter-section {
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 48px 0;
}
.newsletter-card {
    display: flex; align-items: center; gap: 32px;
    flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.newsletter-text p { color: var(--text-soft); font-size: .875rem; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 300px; }
.newsletter-input {
    flex: 1; padding: 11px 16px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text); font-size: .875rem;
    outline: none;
}
.newsletter-input:focus { border-color: var(--primary); }
.btn-newsletter {
    padding: 11px 22px; background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius-sm); font-weight: 600;
    font-size: .875rem; white-space: nowrap; transition: all .2s;
}
.btn-newsletter:hover { opacity: .85; }
.newsletter-privacy { font-size: .72rem; color: var(--text-muted); width: 100%; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-text { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.footer-slogan { color: var(--text-soft); font-size: .85rem; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--glass); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-soft); transition: all .2s;
}
.footer-social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-title {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-soft);
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .875rem; color: var(--text-soft); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-app p { font-size: .825rem; color: var(--text-soft); margin-bottom: 16px; }
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-sm);
    background: #22c55e; color: #fff;
    font-size: .85rem; font-weight: 600; transition: opacity .2s;
}
.btn-whatsapp:hover { opacity: .85; color: #fff; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-size: .8rem; color: var(--text-muted);
}
.footer-credits a { color: var(--text-muted); }
.footer-credits a:hover { color: var(--primary); }

/* ─── Banners ───────────────────────────────────────────────── */
.banner-slot { text-align: center; padding: 12px 0; }
.banner-slot img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 0 auto; }
.banner-header { margin: 8px 0; }
.banner-sidebar { margin-bottom: 24px; }
.banner-content { margin: 24px 0; }

/* ─── Sidebar ───────────────────────────────────────────────── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + var(--player-h) + 24px); }
.sidebar-widget { margin-bottom: 28px; }
.sidebar-widget-title {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-soft);
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ─── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination ul { list-style: none; display: flex; gap: 6px; }
.btn-page {
    min-width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--border);
    font-size: .85rem; font-weight: 600; color: var(--text-soft);
    transition: all .2s;
}
.btn-page:hover, .btn-page.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Alerts & Badges ───────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .875rem; margin-bottom: 16px; }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.alert-warning { background: rgba(234,179,8,.1); border: 1px solid rgba(234,179,8,.3); color: #fde047; }
.alert-info { background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.3); color: #a78bfa; }

.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 20px;
    font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}
.badge-primary { background: rgba(124,58,237,.15); color: #a78bfa; border: 1px solid rgba(124,58,237,.2); }
.badge-accent { background: rgba(249,115,22,.15); color: #fb923c; border: 1px solid rgba(249,115,22,.2); }
.badge-success { background: rgba(34,197,94,.15); color: #86efac; border: 1px solid rgba(34,197,94,.2); }

/* ─── Back to Top & Cookie ──────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 100px; right: 24px;
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--primary); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(124,58,237,.5);
    z-index: 900;
    opacity: 0; transform: translateY(10px);
    transition: all .3s; pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

.cookie-notice {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--bg3); border-top: 1px solid var(--border);
    padding: 16px 24px; z-index: 9999;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    font-size: .875rem; color: var(--text-soft);
}
.cookie-notice a { color: var(--primary); }
.btn-cookie {
    padding: 7px 18px; background: var(--primary); color: #fff;
    border: none; border-radius: 8px; font-size: .8rem; font-weight: 600;
    flex-shrink: 0;
}

/* ─── Utility ───────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-soft); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.loading-skeleton {
    background: linear-gradient(90deg, var(--bg3) 25%, var(--card-hover) 50%, var(--bg3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Lazy image fade-in */
img.lazy { opacity: 0; transition: opacity .3s; }
img.lazy.loaded { opacity: 1; }

/* ─── Post/Article Content ──────────────────────────────────── */
.post-content {
    line-height: 1.8; font-size: .975rem; color: var(--text);
}
.post-content h2, .post-content h3 { font-weight: 700; margin: 28px 0 12px; }
.post-content p { margin-bottom: 16px; }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content img { border-radius: var(--radius); margin: 20px 0; }
.post-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 20px; margin: 20px 0;
    background: rgba(124,58,237,.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-soft); font-style: italic;
}
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content code {
    background: var(--bg3); border-radius: 4px;
    padding: 2px 6px; font-size: .875em; font-family: monospace;
}
.post-content pre {
    background: var(--bg3); border-radius: var(--radius-sm);
    padding: 16px 20px; overflow-x: auto; margin-bottom: 16px;
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: .78rem; color: var(--text-muted);
    padding: 24px 0 0;
}
.breadcrumb a { color: var(--text-soft); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .4; }

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp .5s ease forwards; }

[data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .adv-stats { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    :root { --player-h: 64px; }
    .main-nav { display: none; position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px; z-index: 996; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { display: block; padding: 10px 16px; }
    .btn-menu { display: flex; }
    .post-featured { grid-column: span 1; min-height: 280px; }
    .card-grid { grid-template-columns: 1fr; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .newsletter-card { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; min-width: 0; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .player-volume-wrap { display: none; }
    .player-cover { display: none; }
    .prog-tabs { padding-bottom: 8px; }
    .section-title { font-size: 1.4rem; }
    .adv-stats { grid-template-columns: repeat(2, 1fr); }
    .topbar-slogan { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .hero-title { font-size: 1.8rem; }
    .adv-stats { grid-template-columns: 1fr 1fr; }
    .player-info { gap: 8px; }
    .player-song { max-width: 180px; }
}
