/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header styles */
header {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.logo-section {
    text-align: left;
}

.logo-left {
    padding-top: 0px;
    text-decoration: none;
    max-height: 60px;
    width: auto;
}

h1 {
    color: #9CF7DE;
    font-size: 3em;
    margin: 0;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons svg {
    transition: fill 0.2s ease;
}

.social-icons a:hover svg {
    fill: #fff;
}

/* Banner styles */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background-color: #FFF;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFDAB9;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.banner-text h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1.2em;
}

/* Loading and error styles */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #9CF7DE;
    font-size: 1.2em;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #ff6b6b;
    background-color: #1a1a1a;
    margin: 20px;
    border-radius: 10px;
}

.error-message a {
    color: #9CF7DE;
    text-decoration: none;
}

.error-message a:hover {
    text-decoration: underline;
}

/* Video grid styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.video-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(156, 247, 222, 0.1);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-title {
    padding: 15px;
    color: #9CF7DE;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 1400px) {
    .video-grid {
        padding: 20px 15px;
    }
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .logo-left {
        max-height: 50px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .banner-text h2 {
        font-size: 1.8em;
    }
    
    .banner-text p {
        font-size: 1em;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
        padding: 12px;
    }
    
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    
    .header-container {
        padding: 0 10px;
    }
    
    .social-icons svg {
        width: 20px;
        height: 20px;
    }
    
    .banner-text h2 {
        font-size: 1.5em;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .video-item iframe {
        height: 180px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .video-item,
    .social-icons a {
        transition: none;
    }
    
    .video-item:hover {
        transform: none;
    }
    
    .social-icons a:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #9CF7DE;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .social-icons,
    .video-grid {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}