/* Base styles */
:root {
    --primary: #E3623A;
    --text: #ffffff;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --gradient: linear-gradient(135deg, #8a283d 0%, #ff3366 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* Border Radius */
    --border-radius: 1rem;
    --border-radius-sm: 0.5rem;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, .h1 {
    text-align: center;
    font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
}

h2, .h2 {
    text-align: center;
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    line-height: var(--leading-tight);
    margin-bottom: var(--space-xl);
}

h3, .h3 {
    text-align: center;
    font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: 60px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.brand-group.secondary {
    position: relative;
}

.brand-group.secondary::before {
    content: '';
    position: absolute;
    left: -30px;
    height: 40px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.logo {
    height: auto;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-primary {
    width: 120px;
}

.logo-secondary {
    width: 100px;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-date {
    font-size: var(--text-2xl);
    color: var(--primary);
    margin-bottom: var(--space-xl);
}

.hero-intro {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-intro p {
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* Water Screen Section */
.water-screen {
    padding: var(--space-2xl) 0;
}

.water-intro {
    margin-bottom: var(--space-xl);
}

.main-description {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    opacity: 0.9;
}

.visual-experience {
    margin: var(--space-xl) 0;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.effect-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: transform 0.3s ease;
}

.effect-card:hover {
    transform: translateY(-5px);
}

.effect-card h3 {
    color: var(--primary);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.effect-card p {
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: rgba(255, 255, 255, 0.8);
}

.video-stories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 80vh;
    margin-top: var(--space-xl);
}

.story-video {
    position: relative;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

/* Footer */
footer {
    padding: var(--space-xl) 0;
    background: var(--dark-bg);
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-logos img {
    height: 40px;
    width: auto;
}

.footer-contact {
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-nav {
        gap: var(--space-lg);
    }

    .brand-group {
        gap: var(--space-lg);
    }

    .logo-primary {
        width: 100px;
    }

    .logo-secondary {
        width: 85px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .header-nav {
        gap: var(--space-md);
    }

    .brand-group {
        gap: var(--space-md);
    }

    .logo-primary {
        width: 85px;
    }

    .logo-secondary {
        width: 70px;
    }

    .brand-group.secondary::before {
        left: -10px;
        height: 30px;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 120px;
        padding-bottom: var(--space-xl);
    }

    .hero-date {
        font-size: var(--text-xl);
        margin-bottom: var(--space-lg);
    }

    .effects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: 0 var(--space-sm);
    }

    .video-stories {
        grid-template-columns: 1fr;
        height: auto;
    }

    .story-video {
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }

    .hero-date {
        font-size: var(--text-lg);
    }

    .effects-grid {
        gap: var(--space-sm);
        padding: 0 var(--space-xs);
    }

    .effect-card {
        padding: var(--space-sm);
    }

    p {
        font-size: calc(var(--text-sm) * 0.9);
        margin-bottom: var(--space-xs);
    }
}

@media (max-height: 600px) {
    .hero {
        height: auto;
        padding-bottom: var(--space-md);
    }
}