* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}
 
body {
    background: linear-gradient(to bottom, #3a1c0a, #562815);
    color: #fff;
    line-height: 1.6;
    padding: 20px;
    background-attachment: fixed;
}
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 100, 0, 0.5);
    border: 1px solid #2a5ba8;
}
 
/* Header styles */
header {
    background: linear-gradient(to right, #d86500, #ff9600);
    padding: 20px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #ffcc00;
}
 
.logo {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 3px 3px 0 #b35200, 6px 6px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
 
.logo span {
    color: #ffcc00;
}
 
.slogan {
    font-style: normal;
    margin-bottom: 15px;
    color: #e6f2ff;
    font-size: 2.0rem;
}
 
/* Navigation */
nav {
    background: linear-gradient(to right, #873d87, #b85700);
    padding: 12px;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ffcc00;
}
 
nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}
 
nav a:hover {
    background: #ffcc00;
    color: #003d87;
}
 
/* Main content */
.main-content {
    display: flex;
    padding: 20px;
}
 
.content {
    flex: 3;
    padding: 20px;
}
 
.sidebar {
    flex: 1;
    background: rgba(0, 70, 150, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #a85b2a;
}

/* Show grid */
.shows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
 
.show {
    background: rgba(120, 50, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #b86b3a;
}
 
.show:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 100, 255, 0.4);
}
 
.show img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 2px solid #ffcc00;
}
 
.show-info {
    padding: 15px;
}
 
.show-title {
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 8px;
    font-size: 1.1rem;
}
 
/* News ticker */
.news-ticker {
    background: #002b5f;
    padding: 12px;
    margin: 20px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: 1px solid #2a5ba8;
}
 
.news-label {
    background: #ffcc00;
    color: #873d00;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 15px;
}
 
.ticker-content {
    white-space: nowrap;
    overflow: hidden;
    animation: ticker 30s linear infinite;
}
 
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
 
/* Footer */
footer {
    background: linear-gradient(to right, #873d00, #b35200);
    padding: 20px;
    text-align: center;
    border-top: 3px solid #ffcc00;
}
 
.social-icons {
    margin-bottom: 15px;
}
 
.social-icons a {
    color: #ffcc00;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}
 
.social-icons a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
 
/* Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
 
    .shows {
        grid-template-columns: 1fr;
    }
 
    nav {
        flex-wrap: wrap;
    }
 
    nav a {
        margin-bottom: 5px;
    }
 
    .logo {
        font-size: 2.5rem;
    }
}
 
/* Additional decorative elements */
.decoration {
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, 
        #ffcc00, #0065d8, #ffcc00, #0065d8, #ffcc00);
    bottom: 0;
    left: 0;
}
 
.channel-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffcc00;
    color: #003d87;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}
 
.live-badge {
    background: #e60000;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

/* Оновлення для новинної стрічки */
.news-ticker {
    background: #5f2b00 !important;
    border: 1px solid #a85b2a !important;
}

/* Оновлення бічної колонки */
.sidebar {
    background: rgba(150, 70, 0, 0.3) !important;
    border: 1px solid #a85b2a !important;
}

/* Стилі для елементів списку новин */
.sidebar ul li {
    background: rgba(120, 50, 0, 0.2) !important;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    border-left: 3px solid #ffcc00 !important;
}

/* Оновлення заголовків */
.sidebar h3 {
    color: #d86500 !important;
    border-bottom: 2px solid #ffcc00 !important;
    padding-bottom: 5px;
}

/* Оновлення кнопки новин */
.news-label {
    background: #ffcc00 !important;
    color: #873d00 !important; /* Темно-помаранчевий */
}
 
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}





.teleprogram-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.date-selector {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
}

.date-btn {
    background: none;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    color: white;
}

.current-date {
    margin: 0 15px;
    font-weight: bold;
}

.program-table {
    border: 1px solid #ccc;
}

.program-row {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.program-row:last-child {
    border-bottom: none;
}

.program-time {
    width: 80px;
    font-weight: bold;
}

.program-info {
    flex: 1;
}

.program-title {
    margin: 0;
}





.