/* ===== RAPSODIA TV - Modern 2026 Stylesheet ===== */

:root {
    --primary: #1e2a78;
    --primary-light: #3d52d5;
    --primary-dark: #0a0f2e;
    --primary-rgb: 30, 42, 120;
    --accent: #d4243b;
    --accent-light: #ff4d63;
    --accent-dark: #a01a2c;
    --gold: #f0c040;
    --gold-dark: #c9a020;
    --gold-rgb: 240, 192, 64;
    --white: #ffffff;
    --light: #f0f2f8;
    --gray: #8a92a6;
    --gray-light: #e2e6f0;
    --dark: #151823;
    --text: #2c3040;
    --text-light: #6b7280;
    --surface: #ffffff;
    --surface-alt: #f8f9fc;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Schedule colors */
    --sched-blue: #00bfff;
    --sched-yellow: #ffff00;
    --sched-red: #ff0000;
    --sched-orange: #ff8c00;
}

/* ===== RESET & BASE ===== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

::selection {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-dark);
}

/* ===== TOP BAR ===== */

.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 10px 0;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 24px;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 6px;
    opacity: 0.7;
}

.top-bar-right a {
    color: rgba(255,255,255,0.85);
    margin-left: 16px;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.top-bar-right a:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.08);
}

/* ===== HEADER ===== */

.main-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .logo-img {
        height: 58px;
    }
}

.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-radius: 0 0 var(--radius) var(--radius);
}

.main-nav.active {
    display: flex;
}

.main-nav a {
    padding: 14px 24px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition-fast);
    letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
}

.main-nav a.active {
    color: var(--primary);
    position: relative;
}

.nav-live {
    color: var(--accent) !important;
}

.live-dot {
    font-size: 0.5rem;
    color: var(--accent);
    animation: pulse 1.5s infinite;
    vertical-align: middle;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--gray-light);
    font-size: 1.2rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--light);
    border-color: var(--primary-light);
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        gap: 4px;
        background: none;
        backdrop-filter: none;
    }
    .main-nav a {
        padding: 10px 18px;
        border-bottom: none;
        border-radius: var(--radius);
        position: relative;
    }
    .main-nav a.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 18px;
        right: 18px;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
    }
}

/* ===== HERO SECTION ===== */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: 4px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(212, 36, 59, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 36, 59, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.45);
}

/* ===== SECTIONS ===== */

.section {
    padding: 72px 0;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-white {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    margin: 18px auto 0;
    border-radius: 4px;
}

/* ===== LIVE STREAM ===== */

.live-section {
    background: linear-gradient(180deg, var(--dark) 0%, #1a1d2e 100%);
    padding: 48px 0;
}

.live-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.live-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--white);
}

.live-badge {
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 20px rgba(212, 36, 59, 0.4);
}

.live-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.06);
}

.live-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== TODAY SCHEDULE ===== */

.today-schedule {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 32px;
    border: 1px solid var(--gray-light);
}

.today-schedule-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.today-schedule-header i {
    margin-right: 10px;
    opacity: 0.85;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-fast);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: var(--surface-alt);
}

.schedule-item.current {
    background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.12) 0%, rgba(var(--gold-rgb), 0.04) 100%);
    border-left: 4px solid var(--gold);
}

.schedule-time {
    font-weight: 700;
    color: var(--primary);
    min-width: 120px;
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}

.schedule-show {
    font-weight: 600;
    flex: 1;
    font-size: 0.95rem;
}

.schedule-show.highlight {
    color: var(--accent);
}

.schedule-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    margin-left: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-direct {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(212, 36, 59, 0.25);
}

.tag-reluare {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-dark);
}

/* ===== PROGRAM TV TABLE ===== */

.program-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.program-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 800px;
}

.program-table th {
    background: var(--primary-dark);
    color: var(--white);
    padding: 14px 12px;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.program-table th.today {
    background: var(--accent);
}

.program-table td {
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 500;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.program-table tr:hover td {
    background-color: rgba(var(--primary-rgb), 0.03) !important;
}

.program-table .time-col {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
    min-width: 100px;
    font-variant-numeric: tabular-nums;
}

.cell-blue { background-color: #e3f2fd !important; color: #0d47a1; font-weight: 600; }
.cell-yellow { background-color: #fffde7 !important; color: #f57f17; font-weight: 600; }
.cell-red { background-color: #fce4ec !important; color: #b71c1c; font-weight: 700; }
.cell-orange { background-color: #fff3e0 !important; color: #e65100; font-weight: 600; }
.cell-white { background-color: #ffffff !important; }
.cell-music { color: var(--text-light); font-style: italic; }

/* ===== SHOWS CARDS ===== */

.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.show-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.show-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.show-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.show-card-body {
    padding: 24px;
}

.show-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.show-card-body .show-schedule {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.show-card-body .show-schedule i {
    margin-right: 2px;
    opacity: 0.7;
}

.show-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.show-card-body .btn {
    padding: 10px 22px;
    font-size: 0.82rem;
}

/* ===== DEDICATII BOX ===== */

.dedicatii-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 52px 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(212, 36, 59, 0.25);
    position: relative;
    overflow: hidden;
}

.dedicatii-box::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dedicatii-box h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.dedicatii-box p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.dedicatii-phone {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 20px 0;
    letter-spacing: 3px;
}

.dedicatii-phone i {
    margin-right: 12px;
}

.dedicatii-sms {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== CONTACT FORM ===== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px;
    border: 1px solid var(--gray-light);
}

.contact-info-card h3 {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 4px;
    min-width: 22px;
    opacity: 0.85;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-item a {
    color: var(--text);
}

.contact-item a:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--surface-alt);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.alert {
    padding: 16px 22px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* ===== DESPRE NOI ===== */

.about-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px;
    line-height: 1.9;
    border: 1px solid var(--gray-light);
}

.about-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 16px;
}

/* ===== EMISIUNE SINGLE ===== */

.emisiune-detail {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.emisiune-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: var(--white);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emisiune-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.emisiune-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
}

.emisiune-hero .show-schedule {
    font-size: 1.1rem;
    opacity: 0.85;
    position: relative;
}

.emisiune-body {
    padding: 48px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.emisiune-body p {
    margin-bottom: 16px;
}

/* ===== COD CONDUITA ===== */

.cod-conduita {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px;
    line-height: 1.9;
    border: 1px solid var(--gray-light);
}

.cod-conduita h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
}

.cod-conduita h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.cod-conduita p {
    margin-bottom: 14px;
    text-align: justify;
}

.cod-conduita ol {
    margin: 16px 0;
    padding-left: 28px;
}

.cod-conduita ol li {
    margin-bottom: 6px;
}

/* ===== ERROR PAGE ===== */

.error-page {
    text-align: center;
    padding: 120px 0;
}

.error-page h1 {
    font-size: 7rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.error-page p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 36px;
}

/* ===== FOOTER ===== */

.main-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #060a1f 100%);
    color: rgba(255,255,255,0.75);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 36px;
    padding-bottom: 48px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.footer-col p {
    margin-bottom: 12px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

.footer-note {
    font-size: 0.83rem;
    opacity: 0.6;
    margin-top: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0;
}

/* GDPR Footer Section */
.footer-gdpr {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0 8px;
    margin-top: 8px;
}
.footer-gdpr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.footer-gdpr h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-top: 0;
}
.footer-gdpr h3 i {
    color: var(--gold);
    margin-right: 6px;
}
.footer-gdpr h3 + p,
.footer-gdpr h3 + h3 {
    margin-top: 14px;
}
.footer-gdpr p {
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 5px;
}
.footer-gdpr a {
    color: var(--gold);
}
.footer-gdpr strong {
    color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
    .footer-gdpr-grid { grid-template-columns: 1fr; gap: 20px; }
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--gold);
}

/* ===== ADMIN PANEL ===== */

.admin-login {
    max-width: 440px;
    margin: 0 auto;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.admin-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--gold) 100%);
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.admin-login .form-group input {
    padding: 14px 16px;
}

.admin-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.admin-header h2 {
    color: var(--white);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.admin-header nav,
.admin-header div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-header a {
    color: rgba(255,255,255,0.8);
    margin-left: 0;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.admin-header a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-xs);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-card .stat-label {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-top: 8px;
    font-weight: 500;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-light);
}

.admin-table th {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.88rem;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--surface-alt);
}

.admin-table .btn-sm {
    padding: 7px 16px;
    font-size: 0.78rem;
    border-radius: 8px;
}

/* ===== PAGE HEADER ===== */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.3rem;
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    opacity: 0.8;
    font-size: 1.05rem;
    position: relative;
}

/* ===== BREADCRUMB ===== */

.breadcrumb {
    padding: 16px 0;
    font-size: 0.83rem;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--gray);
    margin: 0 8px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 2rem; letter-spacing: 2px; }
    .hero p { font-size: 1rem; }
    .section { padding: 48px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .top-bar-left span:last-child { display: none; }
    .dedicatii-box { padding: 32px 24px; border-radius: var(--radius-lg); }
    .dedicatii-phone { font-size: 1.6rem; }
    .about-content, .cod-conduita { padding: 28px; }
    .emisiune-hero { padding: 36px 24px; }
    .emisiune-hero h1 { font-size: 1.8rem; }
    .emisiune-body { padding: 28px; }
    .shows-grid { grid-template-columns: 1fr; }
    .admin-header .container { flex-direction: column; gap: 12px; }
    .admin-header div { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 1.6rem; }
    .logo-img { height: 40px; }
    .admin-login { margin: 20px; padding: 32px 24px; }
}

/* ===== Cookie Consent Overlay ===== */
.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.cookie-overlay.hidden { display: none; }

.cookie-modal {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    padding: 36px 32px 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.cookie-modal-header i {
    font-size: 1.8rem;
    color: var(--gold);
}
.cookie-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin: 0;
}
.cookie-modal-desc {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}
.cookie-modal-desc strong { color: var(--accent); }

/* Cookie categories */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.cookie-cat {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    transition: border-color 0.2s;
}
.cookie-cat:hover { border-color: var(--primary-light); }
.cookie-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.cookie-cat-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-cat-info strong {
    font-size: 0.95rem;
    color: var(--dark);
}
.cookie-cat p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    padding-left: 58px;
}
.cookie-cat p a { color: var(--primary); text-decoration: underline; }

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s;
}
.cookie-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cookie-toggle input:checked + .cookie-slider {
    background: var(--primary);
}
.cookie-toggle input:checked + .cookie-slider::before {
    transform: translateX(20px);
}
.cookie-slider.locked {
    background: var(--primary);
    opacity: 0.7;
    cursor: not-allowed;
}
.cookie-slider.locked::before {
    transform: translateX(20px);
}

/* Badges */
.cookie-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.badge-required { background: var(--primary-light); color: var(--primary); }
.badge-optional { background: #fef3c7; color: #92400e; }

/* Modal actions */
.cookie-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-modal-actions .btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 160px;
    text-align: center;
}
.cookie-modal-actions .btn-secondary {
    background: #f1f5f9;
    color: var(--dark);
    border: 2px solid #cbd5e1;
}
.cookie-modal-actions .btn-secondary:hover {
    background: #e2e8f0;
    color: var(--primary-dark);
    border-color: var(--primary);
}
.cookie-modal-links {
    margin-top: 16px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray);
}
.cookie-modal-links a { color: var(--primary); text-decoration: underline; }

@media (max-width: 480px) {
    .cookie-modal { padding: 28px 20px 22px; }
    .cookie-cat p { padding-left: 0; margin-top: 8px; }
    .cookie-modal-actions { flex-direction: column; }
    .cookie-modal-actions .btn-sm { min-width: unset; }
}

/* ===== Twitch 2-Click Placeholder ===== */
.twitch-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #0e0e2c 0%, #1a1a3e 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.twitch-consent-msg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 24px;
    gap: 8px;
}
.twitch-consent-msg > i {
    font-size: 3rem;
    color: #9146ff;
    margin-bottom: 8px;
}
.twitch-consent-msg p { margin: 0; font-size: 0.92rem; opacity: 0.85; max-width: 420px; }
.twitch-consent-msg .twitch-load-btn { margin-top: 12px; }

/* ===== Legal Pages (GDPR) ===== */
.legal-page {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}
.legal-page h2:first-of-type { margin-top: 20px; }
.legal-page h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 24px 0 10px;
}
.legal-page p, .legal-page li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
}
.legal-page ul, .legal-page ol {
    padding-left: 24px;
    margin: 10px 0;
}
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--primary); text-decoration: underline; }
.legal-page code {
    background: var(--primary-light);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88rem;
}
.legal-updated {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.legal-table th, .legal-table td {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}
.legal-table tr:nth-child(even) { background: #f8fafc; }
@media (max-width: 640px) {
    .legal-page { padding: 28px 20px; }
    .legal-table { font-size: 0.82rem; }
    .legal-table th, .legal-table td { padding: 8px 10px; }
}
