/* brave new art - Main Styles */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Design System */
/* Impact Font */
@font-face {
    font-family: 'Impact';
    src: url('/fonts/impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --primary-red: #FF0000;
    --black: #0D0D0D;
    --white: #FFFFFF;
    --grey-light: rgba(255, 255, 255, 0.6);
    --grey-dark: rgba(255, 255, 255, 0.3);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-brand: 'Impact', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Brand Text - Impact font for "brave new art" */
.brand-text {
    font-family: var(--font-brand);
    text-transform: none;
    letter-spacing: 0.05em;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.logo,
.nav-logo,
a.logo,
a.nav-logo {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

.logo img,
.nav-logo img {
    display: block;
    height: 40px;
    width: auto;
    border: none !important;
    text-decoration: none !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--transition-base);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-base);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background: var(--black);
        width: 70%;
        height: calc(100vh - 60px);
        padding: var(--space-2xl) var(--space-xl);
        transition: right var(--transition-base);
        border-left: 1px solid var(--primary-red);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

/* Hero Background with Geometric Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.geometric-shape {
    position: absolute;
    opacity: 0.15;
}

/* Rotating Circles */
.circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: rotateClockwise 20s linear infinite, pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: rotateCounterClockwise 25s linear infinite, pulse 5s ease-in-out infinite;
}

/* Pulsing Squares */
.square-1 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-red);
    top: 30%;
    left: 15%;
    transform: rotate(45deg);
    animation: pulseSquare 6s ease-in-out infinite, floatUp 8s ease-in-out infinite;
}

.square-2 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--primary-red);
    bottom: 25%;
    right: 20%;
    transform: rotate(25deg);
    animation: pulseSquare 7s ease-in-out infinite 1s, floatDown 10s ease-in-out infinite;
}

/* Wave Effect */
.wave {
    width: 100%;
    height: 150px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.1) 25%, 
        rgba(255, 0, 0, 0.2) 50%, 
        rgba(255, 0, 0, 0.1) 75%, 
        transparent 100%);
    animation: waveMovement 15s ease-in-out infinite;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 0, 0, 0.15) 0%,
        rgba(13, 13, 13, 0.8) 50%,
        var(--black) 100%
    );
    animation: gradientPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

/* Hero Title with Letter Animation */
.hero-title {
    color: var(--primary-red);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
    font-family: var(--font-brand);
    text-transform: none;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    animation: letterReveal 0.8s ease-out forwards;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--grey-light);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* CTA Button with Glow Effect */
.cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-2xl);
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 4px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1.2s backwards;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6), 
                0 0 60px rgba(255, 0, 0, 0.4),
                0 0 80px rgba(255, 0, 0, 0.2);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes letterReveal {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

@keyframes pulseSquare {
    0%, 100% {
        opacity: 0.15;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: rotate(45deg) scale(1.15);
    }
}

@keyframes floatUp {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-30px);
    }
}

@keyframes floatDown {
    0%, 100% {
        transform: rotate(25deg) translateY(0);
    }
    50% {
        transform: rotate(25deg) translateY(30px);
    }
}

@keyframes waveMovement {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-50px) scaleY(1.2);
    }
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Parallax Scroll Effect */
@media (prefers-reduced-motion: no-preference) {
    .geometric-shape {
        transition: transform 0.1s ease-out;
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero {
        padding: var(--space-xl) var(--space-md);
    }
    
    /* Scale down geometric shapes on mobile */
    .circle-1 {
        width: 250px;
        height: 250px;
        top: 5%;
        right: -10%;
    }
    
    .circle-2 {
        width: 200px;
        height: 200px;
        bottom: 10%;
        left: -10%;
    }
    
    .square-1 {
        width: 120px;
        height: 120px;
        top: 25%;
        left: 5%;
    }
    
    .square-2 {
        width: 100px;
        height: 100px;
        bottom: 20%;
        right: 5%;
    }
    
    .wave {
        height: 100px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: var(--space-xl);
    }
    
    .cta-button {
        font-size: 1rem;
        padding: var(--space-sm) var(--space-xl);
    }
}

@media (max-width: 480px) {
    /* Further reduce geometric shapes on small mobile */
    .circle-1, .circle-2 {
        opacity: 0.08;
    }
    
    .square-1, .square-2 {
        opacity: 0.1;
    }
    
    .hero-content {
        padding: 0 var(--space-sm);
    }
}

/* Featured Projects Carousel */
.featured-projects {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--black) 0%, #0D0D0D 100%);
    position: relative;
}

.section-title {
    text-align: center;
    color: var(--primary-red);
    margin-bottom: var(--space-md);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-subtitle {
    text-align: center;
    color: var(--grey-light);
    margin-bottom: var(--space-3xl);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.carousel-container {
    overflow: hidden;
    flex: 1;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    gap: var(--space-lg);
}

/* Project Cards */
.project-card {
    min-width: calc((100% - (var(--space-lg) * 2)) / 3);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.3);
}

/* Card Image */
.card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(13, 13, 13, 0.5);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-card:hover .card-image img {
    transform: scale(1.1);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(255, 0, 0, 0.9) 0%,
        rgba(255, 0, 0, 0.5) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.view-project-btn {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.project-card:hover .view-project-btn {
    transform: translateY(0);
}

/* Card Content */
.card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.card-category {
    color: var(--primary-red);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.1em;
}

.card-title {
    color: var(--white);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin: var(--space-xs) 0;
}

.card-description {
    color: var(--grey-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 1;
}

/* Tech Badges */
.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.tech-badge {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--primary-red);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.project-card:hover .tech-badge {
    background: rgba(255, 0, 0, 0.2);
    border-color: var(--primary-red);
}

/* Carousel Navigation Buttons */
.carousel-nav {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

.carousel-nav:active {
    transform: scale(0.95);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

.carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .project-card {
        min-width: calc((100% - var(--space-lg)) / 2);
    }
}

@media (max-width: 768px) {
    .project-card {
        min-width: 100%;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .featured-projects {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        gap: var(--space-sm);
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .card-content {
        padding: var(--space-md);
    }
    
    .card-image {
        height: 180px;
    }
}

/* Carousel Animation for Auto-play */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-card.animating {
    animation: slideIn 0.5s ease-out;
}

/* Mission Statement Section */
.mission-statement {
    padding: var(--space-3xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-red) 50%, 
        transparent 100%);
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.mission-label {
    display: inline-block;
    color: var(--primary-red);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--primary-red);
    border-radius: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
    }
}

.mission-title {
    color: var(--white);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-body {
    max-width: 900px;
    margin: 0 auto;
}

.mission-lead {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    text-align: center;
    color: var(--grey-light);
    margin-bottom: var(--space-3xl);
    font-weight: 400;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.mission-pillar {
    background: rgba(255, 0, 0, 0.03);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.mission-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.mission-pillar:hover::before {
    left: 100%;
}

.mission-pillar:hover {
    background: rgba(255, 0, 0, 0.08);
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.15);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    color: var(--primary-red);
    transition: all var(--transition-base);
}

.mission-pillar:hover .pillar-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--primary-red);
    color: var(--white);
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
}

.mission-pillar h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.mission-pillar p {
    color: var(--grey-light);
    line-height: 1.6;
    font-size: 1rem;
}

.mission-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all var(--transition-base);
    border: 2px solid var(--primary-red);
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.2);
}

.cta-button.cta-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-button.cta-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* Mission Statement Responsive */
@media (max-width: 768px) {
    .mission-statement {
        padding: var(--space-2xl) 0;
    }
    
    .mission-header {
        margin-bottom: var(--space-2xl);
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .mission-pillar {
        padding: var(--space-lg);
    }
    
    .mission-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mission-lead {
        font-size: 1.125rem;
    }
    
    .pillar-icon {
        width: 56px;
        height: 56px;
    }
    
    .pillar-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* YouTube Section */
.youtube-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(to bottom, var(--black) 0%, #0D0D0D 100%);
}

.youtube-section .section-title {
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--primary-red);
    font-size: clamp(2rem, 4vw, 3rem);
}

.youtube-section .section-subtitle {
    text-align: center;
    color: var(--grey-light);
    margin-bottom: var(--space-2xl);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 0, 0, 0.1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.2);
    border-color: var(--primary-red);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: var(--grey-dark);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    pointer-events: none;
}

.video-card:hover .video-play-icon {
    background: var(--primary-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
    margin-left: 4px;
}

.video-info {
    padding: var(--space-lg);
}

.video-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-size: 0.875rem;
    color: var(--grey-light);
}

.video-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-lg);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 0, 0, 0.1);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--grey-light);
}

.youtube-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.youtube-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
}

.youtube-icon {
    width: 24px;
    height: 24px;
}

/* YouTube Section Responsive */
@media (max-width: 768px) {
    .youtube-section {
        padding: var(--space-2xl) 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .video-play-icon {
        width: 48px;
        height: 48px;
    }
    
    .video-play-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Footer */
footer {
    background: var(--black);
    border-top: 1px solid var(--primary-red);
    padding: var(--space-xl);
    text-align: center;
    color: var(--grey-light);
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-3xl) 0;
}
