/* Base styles and variables */
:root {
    --primary: #00B0FF;       /* Bright Blue */
    --primary-dark: #01579B;  /* Dark Blue */
    --primary-light: #E1F5FE; /* Light Blue */
    --accent: #FF9800;        /* Orange accent */
    --dark: #263238;          /* Dark Blue-Grey */
    --light: #FAFAFA;         /* Off White */
    --text-dark: #263238;     /* Dark text */
    --text-light: #FFFFFF;    /* Light text */
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

h1 {
    font-size: 2.5rem;
    color: var(--text-light);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h2 span {
    color: var(--accent);
    position: relative;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.2rem;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.logo span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 42px;
    height: 42px;
}

.logo-icon.small {
    width: 36px;
    height: 36px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: var(--shadow);
}

.nav-button:hover {
    background-color: var(--text-light);
    color: var(--accent);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M20 20h20v20H20z' fill='%23FFFFFF' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-text h1 span {
    color: var(--accent);
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 100%;
    max-width: 450px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.primary-button {
    background-color: var(--accent);
    color: var(--text-light);
}

.primary-button:hover {
    background-color: #FB8C00;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondary-button:hover {
    background-color: var(--text-light);
    color: var(--primary);
    transform: translateY(-3px);
}

.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Section styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #607D8B;
}

/* Featured section */
.featured-section {
    background-color: var(--light);
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='none'/%3E%3Ccircle cx='10' cy='10' r='1' fill='%2300B0FF' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.video-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.video-thumbnail {
    height: 180px;
    overflow: hidden;
}

.video-thumbnail svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.video-info p {
    margin-bottom: 1rem;
    color: #607D8B;
    font-size: 0.9rem;
}

.watch-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.watch-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.watch-link:hover::after {
    width: 100%;
}

/* Genres section */
.genres-section {
    background-color: #E1F5FE;
    position: relative;
}

.genres-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 30L40 20L30 10L20 20L30 30' fill='%2300B0FF' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.genre-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.genre-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.genre-link {
    color: var(--accent);
    font-weight: 600;
    position: relative;
}

.genre-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.genre-link:hover::after {
    margin-left: 10px;
}

/* About section */
.about-section {
    background-color: var(--light);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='none'/%3E%3Ccircle cx='3' cy='3' r='1.5' fill='%23FF9800' fill-opacity='0.1'/%3E%3Ccircle cx='17' cy='17' r='1.5' fill='%23FF9800' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-graphic {
    width: 100%;
    max-width: 400px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Ccircle cx='20' cy='20' r='3' fill='%23FFFFFF' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: var(--text-light);
}

.cta-content h2 span {
    color: var(--accent);
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent), var(--primary), var(--accent));
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo span {
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.adults-only {
    color: var(--accent);
    font-weight: 600;
}

/* Animation classes */
.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-visual {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1005;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .video-grid, .genres-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card, .genre-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}
