/* ============================================================
   WEBSKY RADIO – Sky/Cloud Theme CSS
   ============================================================ */

/* ── Google Fonts ──────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────── */
:root {
    --sky-light: #b3e0ff;
    --sky-mid: #5dade2;
    --sky-deep: #2471a3;
    --sky-dark: #1a3550;
    --sky-night: #0d1b2a;
    --cloud-white: rgba(255,255,255,0.85);
    --cloud-glass: rgba(255,255,255,0.12);
    --cloud-glass-strong: rgba(255,255,255,0.22);
    --gold: #f4c542;
    --gold-glow: #ffd96640;
    --accent: #6dd5fa;
    --accent-bright: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.75);
    --text-dark: #1a2a3a;
    --danger: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-main: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ── Reset & Base ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: linear-gradient(170deg, #0d1b2a 0%, #1b3a5c 25%, #2471a3 50%, #5dade2 75%, #87ceeb 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/clouds-bg.png') repeat;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: cloudsDrift 60s linear infinite;
}

@keyframes cloudsDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 100% 20%; }
}

a { color: var(--accent-bright); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-main); font-weight: 700; }

img { max-width: 100%; }

/* ── Container ─────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ── Glass Panels ──────────────────────── */
.glass {
    background: var(--cloud-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.glass-strong {
    background: var(--cloud-glass-strong);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.glass-card {
    background: var(--cloud-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

/* ── Animated Clouds ───────────────────── */
.clouds-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

.cloud {
    position: absolute;
    background: radial-gradient(ellipse, rgba(255,255,255,0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}

.cloud-1 { width: 500px; height: 200px; top: 10%; left: -10%; animation: floatCloud 45s linear infinite; }
.cloud-2 { width: 350px; height: 150px; top: 35%; left: -15%; animation: floatCloud 60s linear infinite 10s; }
.cloud-3 { width: 600px; height: 250px; top: 60%; left: -20%; animation: floatCloud 50s linear infinite 20s; }
.cloud-4 { width: 400px; height: 180px; top: 80%; left: -10%; animation: floatCloud 55s linear infinite 30s; }

@keyframes floatCloud {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(calc(100vw + 100%)); }
}

/* ── Navbar ────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 12px 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.92);
    padding: 8px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary) !important;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(109,213,250,0.5));
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--accent-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.1);
}

/* User dropdown */
.user-dropdown { position: relative; }

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.user-dropdown-toggle:hover { background: rgba(255,255,255,0.1); }

.user-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-mid), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.85rem;
    overflow: hidden;
}

.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.user-dropdown-menu.open { display: flex; }

.user-dropdown-menu a {
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.user-dropdown-menu a.danger { color: var(--danger); }

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none; border: none;
    color: var(--text-primary);
    font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0; bottom: 0;
        flex-direction: column;
        background: rgba(13, 27, 42, 0.96);
        backdrop-filter: blur(25px);
        padding: 30px 20px;
        gap: 4px;
        transform: translateX(100%);
        transition: var(--transition);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { padding: 14px 20px; font-size: 1.05rem; }
}

/* ── Hero Section ──────────────────────── */
.hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(109,213,250,0.4));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(109,213,250,0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(109,213,250,0.6)); }
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 30px;
}

/* ── Radio Player ──────────────────────── */
.player-bar {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
}

.player-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(109,213,250,0.1), rgba(244,197,66,0.05));
    border-radius: inherit;
}

.play-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
    position: relative;
    z-index: 1;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(0,212,255,0.5);
}

.play-btn.playing {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    box-shadow: 0 0 20px var(--gold-glow);
}

.player-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.player-info .now-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.player-info .now-track-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 200px;
}

.player-info .now-track-scroll {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    padding-right: 40px;
}

.player-info .now-track-scroll.marquee {
    animation: marqueeScroll var(--marquee-duration, 10s) linear infinite;
}

@keyframes marqueeScroll {
    0%    { transform: translateX(0); }
    5%    { transform: translateX(0); }
    85%   { transform: translateX(var(--marquee-distance, -100%)); }
    90%   { transform: translateX(var(--marquee-distance, -100%)); }
    100%  { transform: translateX(var(--marquee-distance, -100%)); }
}

.player-info .now-artist {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.player-listeners {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.player-listeners .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.volume-control input[type="range"] {
    width: 80px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent-bright);
    cursor: pointer;
}

/* Equalizer animation */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.equalizer .bar {
    width: 3px;
    background: linear-gradient(to top, var(--accent-bright), var(--gold));
    border-radius: 2px;
    animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.equalizer .bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.equalizer .bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.equalizer .bar:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.equalizer .bar:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.equalizer .bar:nth-child(5) { height: 60%; animation-delay: 0.6s; }

.equalizer.paused .bar { animation-play-state: paused; height: 15% !important; }

@keyframes eqBounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* ── Section Titles ────────────────────── */
.section-title {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-bright), var(--gold));
    border-radius: 2px;
}

/* ── News Cards ────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.news-card-img img { width: 100%; height: 100%; object-fit: cover; }

.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.news-card-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    flex: 1;
    line-height: 1.6;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.news-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.tag {
    font-size: 0.72rem;
    padding: 3px 10px;
    background: rgba(109,213,250,0.15);
    color: var(--accent);
    border-radius: 20px;
    border: 1px solid rgba(109,213,250,0.2);
}

/* ── Livechat ──────────────────────────── */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    max-height: 500px;
    border-radius: var(--radius);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.chat-widget.minimized {
    max-height: 48px;
    cursor: pointer;
}

.chat-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    flex-shrink: 0;
}

.chat-header h4 {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header .online-count {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 400;
}

.chat-toggle-btn {
    background: none; border: none; color: var(--text-secondary);
    cursor: pointer; font-size: 1rem; transition: var(--transition);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    min-height: 200px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat-msg-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-mid), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-msg-content { min-width: 0; }

.chat-msg-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

.chat-msg-text {
    font-size: 0.84rem;
    color: var(--text-secondary);
    word-break: break-word;
    line-height: 1.4;
}

.chat-msg-time {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    margin-left: auto;
    flex-shrink: 0;
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xs);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus { border-color: var(--accent-bright); }
.chat-input-area input::placeholder { color: rgba(255,255,255,0.3); }

.chat-send-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    border: none;
    border-radius: var(--radius-xs);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.chat-send-btn:hover { transform: scale(1.05); }

.chat-login-prompt {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.chat-login-prompt a { font-weight: 600; }

/* ── Forms ─────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-bright);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}

.form-control::placeholder { color: rgba(255,255,255,0.3); }

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L1 4h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

select.form-control option { background: var(--sky-night); color: var(--text-primary); }

/* ── Buttons ───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-xs);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    color: white;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.btn-primary:hover { box-shadow: 0 6px 30px rgba(0,212,255,0.4); color: white; }

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover { background: rgba(255,255,255,0.18); color: white; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    color: var(--sky-night);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #c0392b);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #27ae60);
    color: white;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-block { width: 100%; }

/* ── Auth Pages ────────────────────────── */
.auth-container {
    max-width: 440px;
    margin: 130px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    padding: 40px;
}

.auth-card h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-align: center;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.auth-card .auth-logo {
    display: block;
    width: 100px;
    margin: 0 auto 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ── Schedule ──────────────────────────── */
.schedule-page { padding: 120px 0 60px; position: relative; z-index: 1; }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.schedule-day { min-width: 0; }

.schedule-day-header {
    text-align: center;
    padding: 12px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
}

.schedule-day-header.today {
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    color: white;
}

.schedule-slots {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 var(--radius-xs) var(--radius-xs);
    overflow: hidden;
}

.schedule-slot {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.schedule-slot:last-child { border-bottom: none; }
.schedule-slot:hover { background: rgba(255,255,255,0.05); }

.schedule-slot.active {
    background: rgba(0,212,255,0.1);
    border-left: 3px solid var(--accent-bright);
}

.schedule-slot .time {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
}

.schedule-slot .show-name {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 4px 0;
}

.schedule-slot .moderator {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.schedule-empty {
    padding: 20px 12px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

@media (max-width: 992px) {
    .schedule-grid { grid-template-columns: 1fr; }
    .schedule-day-header { border-radius: var(--radius-xs); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .schedule-slots { border-radius: var(--radius-xs); margin-bottom: 10px; }
}

/* ── Flash Messages ────────────────────── */
.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-xs);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: flashSlideIn 0.4s ease;
}

@keyframes flashSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-success { background: rgba(46,204,113,0.15); border: 1px solid rgba(46,204,113,0.3); color: var(--success); }
.flash-error { background: rgba(231,76,60,0.15); border: 1px solid rgba(231,76,60,0.3); color: var(--danger); }
.flash-info { background: rgba(109,213,250,0.15); border: 1px solid rgba(109,213,250,0.3); color: var(--accent); }

/* ── Page Content ──────────────────────── */
.page-content { padding: 120px 0 60px; position: relative; z-index: 1; }

.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ── Cookie Banner ─────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 10000;
    display: none;
    animation: slideUpBanner 0.5s ease;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-banner .btn { flex-shrink: 0; }

/* ── Footer ────────────────────────────── */
.site-footer {
    padding: 40px 0 20px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-weight: 700;
}

.footer-brand img { height: 30px; }

.footer-links { display: flex; gap: 16px; list-style: none; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text-primary); }

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ── Pagination ────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    list-style: none;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a {
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
}

.pagination a:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

.pagination .active {
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    color: white;
    border: none;
}

/* ── Songrequest & Greetings ───────────── */
.request-list {
    margin-top: 30px;
}

.request-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
}

.request-item:last-child { border-bottom: none; }

.request-item .req-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-bright), var(--sky-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.request-item .req-info { flex: 1; }
.request-item .req-title { font-weight: 600; font-size: 0.95rem; }
.request-item .req-artist { font-size: 0.82rem; color: var(--text-secondary); }
.request-item .req-time { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pending { background: rgba(243,156,18,0.15); color: var(--warning); border: 1px solid rgba(243,156,18,0.3); }
.status-played { background: rgba(46,204,113,0.15); color: var(--success); border: 1px solid rgba(46,204,113,0.3); }
.status-rejected { background: rgba(231,76,60,0.15); color: var(--danger); border: 1px solid rgba(231,76,60,0.3); }

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ── Team Dashboard ────────────────────── */
.team-layout { display: flex; min-height: 100vh; }

.team-sidebar {
    width: 260px;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    flex-shrink: 0;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    overflow-y: auto;
    z-index: 100;
}

.team-sidebar-brand {
    padding: 10px 20px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 15px;
}

.team-sidebar-brand img { height: 35px; }

.team-nav { list-style: none; padding: 0 10px; }

.team-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
}

.team-nav li a:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.team-nav li a.active { background: rgba(0,212,255,0.12); color: var(--accent-bright); }
.team-nav li a .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }

.team-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.team-header h1 {
    font-size: 1.6rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--cloud-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card .stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card .stat-icon.blue { background: rgba(0,212,255,0.15); color: var(--accent-bright); }
.stat-card .stat-icon.green { background: rgba(46,204,113,0.15); color: var(--success); }
.stat-card .stat-icon.gold { background: rgba(244,197,66,0.15); color: var(--gold); }
.stat-card .stat-icon.red { background: rgba(231,76,60,0.15); color: var(--danger); }

.stat-card .stat-value {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
}

.data-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.data-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Team Chat */
.team-chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    border-radius: var(--radius);
    overflow: hidden;
}

.team-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-chat-input {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
    background: rgba(20, 35, 55, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.modal h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* AutoDJ */
.autodj-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.autodj-status .status-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}

.autodj-status .status-dot.active { background: var(--success); box-shadow: 0 0 10px rgba(46,204,113,0.5); }
.autodj-status .status-dot.inactive { background: var(--danger); }

/* Chart container */
.chart-container {
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.chart-container canvas { max-height: 300px; }

@media (max-width: 768px) {
    .team-sidebar { display: none; }
    .team-main { margin-left: 0; padding: 15px; }
}

/* ── Utility ───────────────────────────── */
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-10 { gap: 10px; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ── Mini Radio Player (persistent) ────── */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(12,15,30,0.97), rgba(18,22,42,0.97));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,212,255,0.15);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
    animation: miniPlayerSlideUp 0.4s ease;
}

@keyframes miniPlayerSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mini-player .play-btn {
    border: 2px solid var(--accent);
}

.mini-player .equalizer {
    gap: 2px;
}
.mini-player .equalizer span {
    width: 2px;
}

/* ── Article Content (Rich Text) ─────── */
.article-content h1,
.article-content h2,
.article-content h3 { color: var(--text-primary); margin: 1.2em 0 0.5em; }
.article-content h1 { font-size: 1.5rem; }
.article-content h2 { font-size: 1.25rem; }
.article-content h3 { font-size: 1.1rem; }
.article-content p { margin-bottom: 0.8em; }
.article-content ul, .article-content ol { margin: 0.8em 0; padding-left: 1.5em; }
.article-content li { margin-bottom: 0.3em; }
.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 8px 16px;
    margin: 1em 0;
    background: rgba(0,212,255,0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content a:hover { color: var(--sky-light); }
.article-content pre, .article-content code {
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.88em;
}
.article-content code { padding: 2px 6px; }
.article-content pre { padding: 12px 16px; overflow-x: auto; margin: 1em 0; }
.article-content strong { color: var(--text-primary); }
