* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Fonts */
@font-face {
    font-family: 'BlockW1GRegular';
    src: url('assets/fonts/BlockW1GRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-glow: rgba(0, 255, 255, 0.3);
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.05) 0%, rgba(10, 10, 10, 0) 100%);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-family: 'BlockW1GRegular', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.4;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 40px var(--accent-glow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Hide desktop video on mobile, show mobile video */
.video-desktop {
    display: block;
}

.video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .video-desktop {
        display: none;
    }
    .video-mobile {
        display: block;
    }
    .video-container {
        padding-bottom: 177.78%; /* 9:16 aspect ratio for vertical video */
    }
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section h2 {
    font-family: 'BlockW1GRegular', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

section h3 {
    font-family: 'BlockW1GRegular', sans-serif;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.description {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem 4rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.game-details {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item span {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Why This Matters Section */
.why-cards {
    display: flex;
    flex-direction: column;
    gap: 9rem;
    margin-top: 2rem;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 10rem;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:nth-child(1) {
    margin-left: 0;
    margin-right: auto;
}

.why-card:nth-child(2) {
    margin-left: auto;
    margin-right: auto;
}

.why-card:nth-child(3) {
    margin-left: auto;
    margin-right: 0;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card-no-image {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.card-text {
    flex: 1;
}

.card-text p {
    margin: 0;
}

.card-image-container {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.highlight-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* Vision Section */
#vision {
    max-width: 100%;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(0, 255, 255, 0.08));
    border-top: 1px solid rgba(255, 0, 255, 0.15);
    border-bottom: 1px solid rgba(255, 0, 255, 0.15);
}

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#vision h3 {
    margin: 3rem 0;
    font-family: 'Nunito', sans-serif;
}

.vision-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 5rem;
}

.vision-list li {
    padding: 1rem;
    margin-bottom: 0;
    background: var(--card-bg);
    border-left: 3px solid #54699c;
    border-radius: 4px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member h3 {
    font-family: 'Nunito', sans-serif;
    margin-top: 0;
    color: #ffffff;
    text-align: center;
}

.team-member .role {
    color: #ffffff;
    font-style: italic;
    margin-bottom: 1rem;
    text-align: center;
}

.team-member .member-image {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Language Switcher */
.lang-switch a {
    color: var(--primary-color);
    font-weight: 700;
    border: 1px solid var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.lang-switch a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .game-details {
        flex-direction: column;
    }

    .hero {
        margin-top: 100px;
        padding: 2rem 1rem 2rem;
    }

    .hero h1 {
        line-height: 1.1;
    }

    .hero .tagline {
        padding: 0.25rem;
    }

    .description {
        padding: 2rem 1.5rem;
    }

    .why-cards {
        gap: 3rem;
    }

    #why {
        padding-top: 0;
    }

    .why-card,
    .why-card:nth-child(1),
    .why-card:nth-child(2),
    .why-card:nth-child(3),
    .why-card-no-image {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .why-card .card-image-container {
        order: -1;
        width: 100%;
    }

    .vision-list {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        padding: 1.25rem;
    }
}