/* Base Arena — Landing Page (one-page) */
* { margin: 0; padding: 0; box-sizing: border-box; }

.landing {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0f1419;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.landing a { color: #0052FF; text-decoration: none; }
.landing a:hover { text-decoration: underline; }

/* ----- Hero ----- */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    overflow: visible;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 82, 255, 0.12) 0%, transparent 50%),
                linear-gradient(180deg, #0f1419 0%, #1a202c 100%);
}

.landing-hero .hero-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(2rem, 8vw, 5rem);
    max-width: 1280px;
    width: 100%;
}

.landing-hero .hero-character-wrap {
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92vh;
    height: 92vh;
    min-width: min(420px, 36vw);
    width: min(420px, 36vw);
}

.landing-hero .hero-left {
    margin-right: 0.5cm;
}

.landing-hero .hero-right {
    margin-left: calc(0.5cm + 6px);
}

.landing-hero .hero-character {
    max-height: 84vh;
    max-width: min(580px, 98vw);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

.landing-hero .hero-left .hero-character {
    animation: hero-slide-in-left 2.7s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.landing-hero .hero-right .hero-character {
    animation: hero-slide-in-right 2.7s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

@keyframes hero-slide-in-left {
    from {
        transform: translateX(-120%) translateY(28px);
        opacity: 0.2;
        filter: drop-shadow(-120px 0 80px rgba(0, 0, 0, 0.6)) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
        filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
    }
}

@keyframes hero-slide-in-right {
    from {
        transform: translateX(120%) translateY(28px);
        opacity: 0.2;
        filter: drop-shadow(120px 0 80px rgba(0, 0, 0, 0.6)) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
        filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
    }
}

.landing-hero .hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    min-width: 260px;
    max-width: 420px;
    animation: hero-center-from-dark 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.5s both;
}

@keyframes hero-center-from-dark {
    from {
        opacity: 0;
        filter: brightness(0.12) blur(2px);
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        filter: brightness(1) blur(0);
        transform: translateY(0) scale(1);
    }
}

.landing-hero .hero-logo {
    width: clamp(100px, 20vw, 160px);
    height: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 24px rgba(0, 82, 255, 0.35));
}

.landing-hero .hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0052FF 0%, #0066FF 60%, #5B9FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.landing-hero .hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #a0aec0;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.landing-hero .btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1419;
    background: linear-gradient(135deg, #0052FF 0%, #5B9FFF 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 82, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-hero .btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 82, 255, 0.5);
    text-decoration: none;
}

.landing-hero .btn-play:active { transform: translateY(0); }

/* ----- Section common ----- */
.landing-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.landing-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.landing-section .section-desc {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: #a0aec0;
    font-size: 1.05rem;
}

/* ----- About ----- */
.landing-about .about-text {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    color: #cbd5e0;
    font-size: 1.1rem;
}

/* ----- Features (2x2 grid) ----- */
.landing-features .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.landing-features .feature-card {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(0, 82, 255, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
}

.landing-features .feature-card .icon {
    font-size: 2rem;
    color: #0052FF;
    margin-bottom: 0.75rem;
}

.landing-features .feature-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.landing-features .feature-card p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

@media (max-width: 640px) {
    .landing-features .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- Screenshots (aligned, same height) ----- */
.landing-screenshots {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 32, 44, 0.5) 50%, transparent 100%);
}

.landing-screenshots .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.landing-screenshots .screenshot-card {
    border-radius: 12px;
    overflow: hidden;
    background: #1a202c;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.landing-screenshots .screenshot-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    background: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
}

.landing-screenshots .screenshot-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.landing-screenshots .screenshot-card .caption {
    padding: 1rem;
    font-size: 0.95rem;
    color: #a0aec0;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .landing-hero .hero-wrap {
        grid-template-columns: 1fr;
    }
    .landing-hero .hero-character-wrap {
        display: none;
    }
    .landing-screenshots .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .landing-section {
        padding: 2rem 1rem;
    }
    .landing-hero {
        padding: 2rem 1rem 3rem;
    }
    .landing-screenshots .screenshots-grid {
        max-width: 100%;
        gap: 1rem;
    }
    .landing-screenshots .screenshot-card .caption {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    .btn-play {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 52px;
    }
}

/* ----- Video ----- */
.landing-video .video-wrap {
    max-width: 900px;
    margin: 2rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: #1a202c;
    border: 1px solid rgba(0, 82, 255, 0.2);
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.landing-video .video-wrap .video-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #0f1419;
}

.landing-video .video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.landing-video .video-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #718096;
    font-size: 1rem;
}

.landing-video .video-placeholder .play-icon {
    font-size: 4rem;
    color: rgba(0, 82, 255, 0.5);
    margin-bottom: 0.5rem;
}

/* ----- CTA ----- */
.landing-cta {
    text-align: center;
    padding: 4rem 1.5rem 5rem;
}

.landing-cta .btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1419;
    background: linear-gradient(135deg, #0052FF 0%, #5B9FFF 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 82, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-cta .btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 82, 255, 0.5);
    text-decoration: none;
}

.landing-cta .cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

/* ----- Footer ----- */
.landing-footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #718096;
    font-size: 0.9rem;
}

.landing-footer a { color: #a0aec0; }
.landing-footer .footer-sep { margin: 0 0.35rem; color: #4a5568; }
