/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F9A826;
    --dark: #1F2937;
    --darker: #111827;
    --light: #F3F4F6;
    --gray: #6B7280;
    --gray-dark: #374151;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: #ffc061;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

section {
    padding: 4rem 0;
}

/* Header Styles */
header {
    background-color: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--light);
}

.logo h1 span {
    color: var(--primary);
    font-weight: 400;
}

nav {
    display: flex;
    align-items: center;
}

#main-nav {
    display: flex;
}

#main-nav li {
    margin-left: 1.5rem;
}

#main-nav a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

#main-nav a:hover {
    color: var(--primary);
}

#main-nav a:hover::after {
    width: 100%;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

#menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--light);
    border-radius: 3px;
    transition: all 0.3s linear;
}

#menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.1) 0%, rgba(31, 41, 55, 0) 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 1rem;
    padding: 0;
}

.hero-content h2::after {
    display: none;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image svg {
    width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 168, 38, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Categories Section */
.categories {
    background-color: var(--darker);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background-color: var(--dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    display: block;
}

.category-card h3 {
    padding: 1rem;
    margin: 0;
    text-align: center;
    background-color: var(--gray-dark);
    color: var(--light);
}

/* Trending Section */
.trending {
    background-color: var(--dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-card {
    background-color: var(--gray-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--gray-dark);
}

.video-thumbnail svg {
    width: 100%;
    height: 100%;
    display: block;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Membership Section */
.membership {
    background-color: var(--darker);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background-color: var(--dark);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.benefit-card p {
    color: var(--gray);
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--gray-dark);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    min-width: 200px;
    flex: 1;
}

.footer-logo .logo-icon {
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1.5rem;
    min-width: 150px;
    flex: 1;
}

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-dark);
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-card {
        width: 100%;
    }
}

@media (max-width: 640px) {
    #menu-toggle {
        display: flex;
    }
    
    #main-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        background-color: var(--dark);
        padding: 2rem;
        transition: left 0.3s ease;
    }
    
    #main-nav.active {
        left: 0;
    }
    
    #main-nav li {
        margin: 1rem 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
}
