/* Intrepidu - CMYK Game Studio Theme */
:root {
    --cyan: #00E5FF;
    --magenta: #FF2D95;
    --yellow: #FFEB3B;
    --black: #0A0A0A;
    --dark: #111111;
    --gray: #1A1A1A;
    --light: #F5F5F5;
    --text: #E8E8E8;
    --text-muted: #A0A0A0;
    
    --font-main: 'Space Grotesk', system-ui, sans-serif;
    --font-jp: 'Noto Sans JP', 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content stays above the canvas */
.nav, .hero, .section, footer {
    position: relative;
    z-index: 1;
}

body.ja {
    font-family: var(--font-jp);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--light);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.lang-switcher {
    display: flex;
    gap: 0.4rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--cyan);
    color: var(--black);
    border-color: var(--cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--light);
    display: block;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    background: transparent;
}

.section-alt {
    background: rgba(17, 17, 17, 0.65);
}

.section {
    padding: 6rem 0;
    background: rgba(10, 10, 10, 0.55);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-eyebrow {
    color: var(--cyan);
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: inline-block;
}

.cmyk-c { color: var(--cyan); }
.cmyk-m { color: var(--magenta); }
.cmyk-y { color: var(--yellow); }
.cmyk-k { color: var(--light); }

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: var(--magenta);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.3);
}

.cmyk-bars {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 8px;
}

.bar {
    flex: 1;
}

.bar.cyan { background: var(--cyan); }
.bar.magenta { background: var(--magenta); }
.bar.yellow { background: var(--yellow); }
.bar.black { background: #333; }

/* Sections */
.section {
    padding: 6rem 0;
    background: rgba(10, 10, 10, 0.55);
}

.section-alt {
    background: rgba(17, 17, 17, 0.65);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.studio-card {
    background: rgba(26, 26, 26, 0.85);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
}

.studio-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
}

.studio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--yellow);
}

.work-placeholder {
    display: flex;
    justify-content: center;
}

.placeholder-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 16px;
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
}

.placeholder-visual {
    height: 220px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 50%, var(--yellow) 100%);
    opacity: 0.7;
}

.placeholder-card h3,
.placeholder-card p {
    padding: 0 1.5rem;
}

.placeholder-card h3 {
    padding-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-card p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-box {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--magenta);
}

.note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile */
@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: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .lang-switcher {
        order: -1;
        margin-right: auto;
    }

    .hero-title {
        letter-spacing: 0.02em;
    }
}
