body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-image: 
        radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
}

h1 {
    margin: 0;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.announcement-header {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.header-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-icon {
    width: 50px;
    height: 50px;
    color: white;
}

.announcement-header h1 {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 200;
    letter-spacing: 0.3px;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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


@keyframes shimmer {
    to {
        left: 100%;
    }
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.thumbnails-sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 1rem;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.thumbnails-sidebar::-webkit-scrollbar {
    width: 6px;
}

.thumbnails-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.thumbnails-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.thumbnails-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.thumbnail-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay svg {
    width: 20px;
    height: 20px;
    color: white;
    margin-left: 2px;
}

.thumbnail-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.thumbnail-item:hover .play-overlay {
    background: rgba(231, 76, 60, 0.9);
}

.thumbnail-item.active {
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.thumbnail-item.active .play-overlay {
    background: rgba(231, 76, 60, 0.9);
}

.video-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(231, 76, 60, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

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

.info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.5rem;
        gap: 1rem;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .live-icon {
        width: 40px;
        height: 40px;
    }
    
    .announcement-header h1 {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thumbnails-sidebar {
        width: 100%;
        flex-direction: row;
        max-height: 120px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 0.5rem;
    }
    
    .thumbnails-sidebar::-webkit-scrollbar {
        height: 6px;
    }
    
    .thumbnail-item {
        min-width: 150px;
        max-width: 150px;
    }
    
    .video-container {
        border-radius: 10px;
    }
}

.youtube-link-container {
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeIn 1s ease-out 0.8s both;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.youtube-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.youtube-link:hover .youtube-icon {
    transform: scale(1.1);
}