:root[data-theme="dark"] {
    --bg-color: #0b0f19;
    --card-bg: #111827;
    --border-color: #1f2937;
    --text-main: #fff;
    --text-muted: #9ca3af;
    --switcher-bg: #1f2937;
    --btn-hover: #374151;
}

:root[data-theme="light"] {
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --switcher-bg: #e5e7eb;
    --btn-hover: #d1d5db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-muted);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.main-header {
    background-color: var(--card-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo:hover{
    transform: translateY(-2px);
}
.logo img{
    width: 200px;
    height: auto;
}

.logo span {
    color: #3b82f6;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #3b82f6;
}

.lang-switcher {
    display: flex;
    background-color: var(--switcher-bg);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    background-color: #3b82f6;
    color: #fff;
}

#theme-toggle {
    background: var(--switcher-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

#theme-toggle:hover {
    background: var(--btn-hover);
}

:root[data-theme="dark"] .sun-icon { display: block; }
:root[data-theme="dark"] .moon-icon { display: none; }

:root[data-theme="light"] .sun-icon { display: none; }
:root[data-theme="light"] .moon-icon { display: block; }

#theme-toggle svg {
    width: 20px;
    height: 20px;
}

.player-section {
    margin: 40px 0;
    text-align: center;
}

.main-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-main);
}

.player-wrapper {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.responsive-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.responsive-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.player-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 15px;
    color: var(--text-main);
}

.live-badge {
    background-color: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.main-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
}

.main-content h2 {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.main-content h3 {
    font-size: 18px;
    color: #3b82f6;
    margin: 20px 0 10px 0;
}

.main-content p, .main-content ul {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.main-content ul {
    margin-left: 20px;
}

.main-content li {
    margin-bottom: 8px;
}

.main-footer {
    text-align: center;
    padding: 20px;
    background-color: var(--card-bg);
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .header-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .nav-links a {
        margin: 0 10px;
    }
    .main-title {
        font-size: 22px;
    }
    .main-content {
        padding: 20px;
    }
}
/* =========================================
   SCHEDULE PAGE
   ========================================= */

.schedule-section {
    margin: 40px 0 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}


/* ზედა ნაწილი */

.schedule-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.schedule-heading .main-title {
    margin: 0;
    font-size: 26px;
}

.schedule-subtitle {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 14px;
}

.schedule-date {
    background-color: var(--switcher-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 13px;
}


/* პროგრამების სია */

.schedule-list {
    width: 100%;
}


/* ერთი პროგრამა */

.schedule-item {
    display: flex;
    align-items: center;

    min-height: 70px;

    padding: 12px 30px;

    border-bottom: 1px solid var(--border-color);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

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

.schedule-item:hover {
    background-color: rgba(59, 130, 246, 0.04);
}


/* დრო */

.schedule-time {
    width: 70px;

    flex-shrink: 0;

    color: var(--text-main);

    font-size: 16px;

    font-weight: 600;

    font-variant-numeric: tabular-nums;
}


/* ვერტიკალური გამყოფი */

.schedule-separator {
    width: 1px;

    height: 32px;

    background-color: var(--border-color);

    margin: 0 22px;
}


/* პროგრამის სახელი */

.schedule-program {
    display: flex;

    align-items: center;

    gap: 12px;

    flex: 1;

    min-width: 0;
}

.schedule-name {
    color: var(--text-main);

    font-size: 15px;

    line-height: 1.4;
}


/* მიმდინარე პროგრამა */

.schedule-current {
    background-color: rgba(59, 130, 246, 0.07);

    position: relative;
}

.schedule-current::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background-color: #3b82f6;
}

.schedule-current .schedule-time {
    color: #3b82f6;
}

.schedule-current .schedule-name {
    font-weight: 600;
}


/* LIVE */

.schedule-live {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    background-color: #ef4444;

    color: #fff;

    padding: 4px 7px;

    border-radius: 5px;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;
}

.schedule-live span {
    width: 5px;
    height: 5px;

    background-color: #fff;

    border-radius: 50%;

    animation: scheduleLiveBlink 1.4s infinite;
}

@keyframes scheduleLiveBlink {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }
}


/* არაფერი რომ არ იყოს */

.schedule-empty {
    text-align: center;

    padding: 60px 20px;

    color: var(--text-muted);
}

.schedule-empty-icon {
    font-size: 32px;

    margin-bottom: 10px;
}

.schedule-empty p {
    margin: 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .schedule-section {
        margin-top: 25px;
    }

    .schedule-heading {
        padding: 20px;
    }

    .schedule-heading .main-title {
        font-size: 21px;
    }

    .schedule-subtitle {
        font-size: 13px;
    }

    .schedule-date {
        font-size: 12px;

        padding: 6px 9px;
    }

    .schedule-item {
        min-height: 64px;

        padding: 10px 18px;
    }

    .schedule-time {
        width: 52px;

        font-size: 14px;
    }

    .schedule-separator {
        margin: 0 15px;

        height: 28px;
    }

    .schedule-name {
        font-size: 14px;
    }

    .schedule-program {
        gap: 8px;
    }

    .schedule-live {
        font-size: 9px;

        padding: 3px 6px;
    }
}


/* ძალიან პატარა ეკრანი */

@media (max-width: 420px) {

    .schedule-heading {
        align-items: flex-start;

        gap: 10px;
    }

    .schedule-heading .main-title {
        font-size: 19px;
    }

    .schedule-date {
        white-space: nowrap;
    }

    .schedule-item {
        padding-left: 15px;
        padding-right: 15px;
    }

    .schedule-time {
        width: 48px;
    }

    .schedule-separator {
        margin-left: 12px;
        margin-right: 12px;
    }

    .schedule-name {
        font-size: 13px;
    }
}