:root {
    --primary-red: #e63946;
    --secondary-black: #000000;
    --accent-white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-dark: #2d3436;
    --text-light: #636e72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-black) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loader-icon {
    font-size: 5rem;
    color: var(--accent-white);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.loader-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: var(--accent-white);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-black);
    color: var(--accent-white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--accent-white);
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-red);
}

/* Navbar */
.navbar {
    background-color: var(--accent-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-red) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    color: var(--secondary-black);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1585771724684-382b0b8e1fd2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
    color: var(--accent-white);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-title i {
    color: var(--primary-red);
}

.page-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
}

/* Current Program */
.current-program {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: var(--accent-white);
    box-shadow: 0 8px 30px rgba(230,57,70,0.3);
    position: relative;
    overflow: hidden;
}

.current-program::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.current-program-content {
    position: relative;
    z-index: 1;
}

.current-program-badge {
    display: inline-block;
    background-color: var(--secondary-black);
    color: var(--accent-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.current-program-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.current-program-time {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.current-program-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-white);
    color: var(--primary-red);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.live-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary-red);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

/* Schedule Navigation */
.schedule-nav {
    background-color: var(--accent-white);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.schedule-nav-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.schedule-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.schedule-nav-item {
    padding: 8px 20px;
    border: 2px solid var(--medium-gray);
    background-color: var(--accent-white);
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.schedule-nav-item:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.schedule-nav-item.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--accent-white);
}

/* Schedule Section */
.schedule-section {
    margin-bottom: 4rem;
}

.schedule-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--medium-gray);
}

.schedule-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    color: var(--accent-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(230,57,70,0.4);
}

.schedule-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.schedule-date {
    color: var(--text-light);
}

/* Time Slots */
.time-slot {
    background-color: var(--accent-white);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.time-slot:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.time-slot.current {
    border-left-color: var(--primary-red);
    background: linear-gradient(135deg, var(--accent-white) 0%, #fff5f5 100%);
}

.time-slot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.time-range {
    font-weight: 600;
    color: var(--primary-red);
    font-size: 1.1rem;
}

.program-category {
    display: inline-block;
    background-color: var(--secondary-black);
    color: var(--accent-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
}

.program-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-host {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.host-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.host-name {
    font-weight: 500;
    color: var(--text-dark);
}

.program-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 8px 15px;
    border: 2px solid var(--medium-gray);
    background-color: var(--accent-white);
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.action-btn.primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--accent-white);
}

.action-btn.primary:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--accent-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--medium-gray);
    display: flex;
    align-items: center;
}

.widget-title i {
    margin-right: 10px;
    color: var(--secondary-black);
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.program-item:last-child {
    border-bottom: none;
}

.program-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.program-link:hover {
    color: var(--primary-red);
}

.program-name {
    font-weight: 500;
}

.program-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    color: var(--accent-white);
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    will-change: clip-path;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 8px;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--accent-white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
}

/* Social Fixed */
.social-fixed {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-white);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .current-program-title {
        font-size: 1.5rem;
    }

    .schedule-nav-list {
        gap: 0.5rem;
    }

    .time-slot-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .program-actions {
        flex-wrap: wrap;
    }
}