/* TheBlindtzy Smiley Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Press+Start+2P&display=swap');

:root {
    /* Main Colors - Smiley Theme */
    --primary-color: #FFEB3B;      /* Smiley Yellow */
    --secondary-color: #121212;    /* Dark Background */
    --text-color: #FFFFFF;         /* White Text */
    --background-color: #000000;   /* Black Background */
    --light-gray: #333333;         /* Dark Gray */
    --medium-gray: #555555;        /* Medium Gray */
    --dark-gray: #AAAAAA;          /* Light Gray Text */
    --white: #FFFFFF;              /* White */

    /* Accent Colors - Smiley Theme */
    --blue: #00E5FF;               /* Neon Blue */
    --green: #76FF03;              /* Neon Green */
    --yellow: #FFF176;             /* Highlight Yellow */
    --danger-color: #FF1744;       /* Neon Red */
    --neon-yellow: #FFFF33;        /* Neon Yellow for Glow */
    --yellow-shadow: #FBC02D;      /* Darker Yellow for Shadow */
    --black-soft: #1A1A1A;         /* Soft Black for Smiley Features */

    /* UI Elements */
    --border-radius: 20px;         /* Rounded Corners */
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 10px var(--neon-yellow);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes neonPulse {
    0% { filter: drop-shadow(0 0 5px var(--neon-yellow)); }
    50% { filter: drop-shadow(0 0 15px var(--neon-yellow)); }
    100% { filter: drop-shadow(0 0 5px var(--neon-yellow)); }
}

body {
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    filter: drop-shadow(0 0 5px var(--neon-yellow));
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Header */
header {
    background-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    overflow: hidden; /* Contiene gli elementi che potrebbero fuoriuscire */
}

.logo h1 {
    font-family: 'Press Start 2P', 'Orbitron', cursive;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-yellow);
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.logo h1 i {
    margin-right: 12px;
    animation: pulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px var(--neon-yellow));
}

.youtube-red {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px; /* Spazio per la scrollbar */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

nav ul::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

nav ul li {
    margin-left: 20px;
    flex-shrink: 0; /* Impedisce agli elementi di restringersi */
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    display: inline-block;
}

nav ul li a:hover {
    background-color: rgba(255, 235, 59, 0.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 5px var(--neon-yellow);
}

nav ul li a.nav-highlight {
    background-color: var(--primary-color);
    color: var(--black-soft);
    border: 1px solid var(--yellow-shadow);
}

#user-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 5px;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 235, 59, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Press Start 2P', 'Orbitron', cursive;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--neon-yellow);
    letter-spacing: 2px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.hero-button i {
    margin-right: 12px;
}

.news-button {
    background-color: var(--primary-color);
    color: var(--black-soft);
    border: 2px solid var(--yellow-shadow);
}

.news-button:hover {
    background-color: var(--yellow-shadow);
    color: var(--black-soft);
    box-shadow: 0 0 15px var(--neon-yellow);
    transform: translateY(-3px);
}

.about-button {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.about-button:hover {
    background-color: var(--medium-gray);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.3);
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-family: 'Press Start 2P', 'Orbitron', cursive;
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--neon-yellow);
}

/* Video Grid */
.news-grid, .related-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 235, 59, 0.1);
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 235, 59, 0.2);
    border-color: var(--primary-color);
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--black-soft);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 12px;
    color: var(--black-soft);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 8px rgba(255, 235, 59, 0.3);
}

.news-category i {
    margin-right: 6px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--white);
    font-weight: 600;
}

.news-meta {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 12px;
}

.news-author {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date i, .video-views i {
    margin-right: 5px;
}

.video-views {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Featured Video */
.featured-video {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms and Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--black-soft);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover {
    background-color: var(--yellow-shadow);
    box-shadow: 0 0 15px var(--neon-yellow);
    transform: translateY(-3px);
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 35px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 235, 59, 0.2);
    border: 1px solid var(--primary-color);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    transform: rotate(90deg);
    color: var(--yellow-shadow);
    text-shadow: 0 0 8px var(--neon-yellow);
}

.auth-form h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-family: 'Press Start 2P', 'Orbitron', cursive;
    text-align: center;
    font-size: 22px;
    text-shadow: 0 0 8px var(--neon-yellow);
    letter-spacing: 1px;
}

.form-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--dark-gray);
}

.form-switch a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.form-switch a:hover {
    text-shadow: 0 0 8px var(--neon-yellow);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 3px solid var(--primary-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 235, 59, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-family: 'Press Start 2P', 'Orbitron', cursive;
    font-size: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--neon-yellow);
    letter-spacing: 1px;
}

.footer-column h3 i {
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--neon-yellow));
}

.footer-column p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--dark-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--neon-yellow);
}

.footer-links a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    margin-right: 12px;
    margin-top: 3px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px var(--neon-yellow));
}

.footer-bottom {
    border-top: 1px solid rgba(255, 235, 59, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--dark-gray);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Loading and Error States */
.loading, .error, .no-videos {
    text-align: center;
    padding: 60px;
    color: var(--dark-gray);
}

.loading i {
    margin-right: 15px;
    animation: rotate 1.5s linear infinite;
    color: var(--primary-color);
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--neon-yellow));
}

.loading::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 20px auto 0;
    animation: pulse 1.5s infinite;
}

.error {
    color: var(--danger-color);
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.5);
}

/* Smiley Loading Animation */
.smiley-loader {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
    animation: pulse 2s infinite ease-in-out;
    box-shadow: 0 0 15px var(--neon-yellow);
}

.smiley-loader::before, .smiley-loader::after {
    content: '';
    position: absolute;
    background-color: var(--black-soft);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    top: 15px;
}

.smiley-loader::before {
    left: 15px;
}

.smiley-loader::after {
    right: 15px;
}

.smiley-loader .mouth {
    position: absolute;
    width: 30px;
    height: 15px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: var(--black-soft);
    bottom: 15px;
    left: 15px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: var(--black-soft);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    max-width: 350px;
    animation: slideIn 0.4s ease-out forwards;
    border: 2px solid transparent;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.notification.success {
    background-color: var(--green);
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(118, 255, 3, 0.5);
}

.notification.error {
    background-color: var(--danger-color);
    border-color: #D32F2F;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.5);
}

.notification.info {
    background-color: var(--blue);
    border-color: #0288D1;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.notification.warning {
    background-color: var(--primary-color);
    color: var(--black-soft);
    border-color: var(--yellow-shadow);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.5);
}

.notification i {
    margin-right: 12px;
    font-size: 20px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }

    nav ul li {
        margin-left: 15px;
    }

    nav ul li a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    header .container {
        padding: 15px 10px;
    }

    .logo h1 {
        font-size: 16px;
    }

    nav {
        flex: 1;
        overflow-x: auto;
        margin-left: 15px;
    }

    nav ul {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    nav ul li a {
        font-size: 12px;
        padding: 5px 8px;
    }
}

/* About Page Styles */
.about-section {
    padding: 40px 0;
}

.about-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.about-card {
    text-align: center;
    padding: 20px;
}

.about-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-section {
    margin-top: 60px;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-image {
    height: 200px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.team-role i {
    margin-right: 5px;
}

/* Video Detail Page */
.video-detail-section {
    padding: 40px 0;
}

.video-detail-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.video-header h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.video-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-name {
    font-weight: 500;
    margin: 0 5px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--blue);
}

.back-btn i {
    margin-right: 5px;
}

/* Comments Section */
.comments-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.comments-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.comments-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.comment-author-badge {
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

.comment-date {
    color: var(--dark-gray);
    font-size: 14px;
}

.login-prompt {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-grid, .related-videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-grid, .related-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .video-detail-content, .comments-section {
        padding: 20px;
    }
}