*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    background-color: rgba(30, 30, 30, 0.8);
    color: #fff;
    padding: 1rem 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

header h1 {
    font-family: 'Fira Code', monospace;
    margin: 0;
    font-size: 1.8rem;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav a {
    color: #00aaff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #0077cc;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        background-color: rgba(30, 30, 30, 0.95);
        padding: 20px 0;
        border-top: 1px solid #333;
    }

    .main-nav .nav-links.active {
        display: flex;
    }

    .main-nav .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

main {
    padding-top: 80px; /* Adjust for fixed header */
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 90vh;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('https://www.transparenttextures.com/patterns/cubes.png');
}

.hero-content h2 {
    font-family: 'Fira Code', monospace;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #aaa;
}

.cta-button {
    background-color: #00aaff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0077cc;
}

.subscriber-count {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #aaa;
}

.animated-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

section {
    border-bottom: 1px solid #333;
}

h2 {
    font-family: 'Fira Code', monospace;
    font-size: 2.5rem;
    color: #00aaff;
    text-align: center;
    margin-bottom: 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

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

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #1e1e1e;
    color: #aaa;
}

#contact .section-content {
    text-align: center;
}

#contact ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#contact ul li {
    display: inline-block;
    margin: 0 20px;
}

#contact a {
    color: #00aaff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

#contact a:hover {
    color: #0077cc;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 20px;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    nav ul li {
        margin: 0 10px;
    }
}
