/* assets/css/landing.css */
:root {
    --lp-bg: #050508;
    --lp-primary: #4f46e5;
    --lp-primary-hover: #4338ca;
    --lp-accent: #06b6d4;
    --lp-text-main: #ffffff;
    --lp-text-muted: #94a3b8;
    --lp-card-bg: rgba(255, 255, 255, 0.03);
    --lp-card-border: rgba(255, 255, 255, 0.08);
    --lp-card-hover-bg: rgba(255, 255, 255, 0.06);
    --lp-card-hover-border: rgba(255, 255, 255, 0.15);
    --lp-font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--lp-bg);
    color: var(--lp-text-main);
    font-family: var(--lp-font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

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

.lp-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Nav */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: all 0.3s ease;
    background: transparent;
}

.lp-nav.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-card-border);
    padding: 1rem 2rem;
}

.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-logo span {
    color: var(--lp-primary);
    -webkit-text-fill-color: initial;
}

.lp-nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.lp-nav-link:hover {
    color: #fff;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.lp-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.lp-btn-primary {
    background: var(--lp-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.lp-btn-primary:hover {
    background: var(--lp-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    color: white;
}

.lp-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.lp-btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Hero Section */
.lp-hero {
    position: relative;
    padding: 12rem 2rem 8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90vh;
}

.lp-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 9999px;
    color: #818cf8;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.lp-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom right, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero p {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: var(--lp-text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.lp-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.lp-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}
.lp-scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Section Common */
.lp-section {
    padding: 8rem 2rem;
    position: relative;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lp-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lp-section-desc {
    color: var(--lp-text-muted);
    font-size: 1.125rem;
}

/* Features Grid */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.lp-feature-card {
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.lp-feature-card:hover::before {
    opacity: 1;
}

.lp-feature-card:hover {
    transform: translateY(-5px);
    background: var(--lp-card-hover-bg);
    border-color: var(--lp-card-hover-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.lp-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #818cf8;
}

.lp-feature-icon span {
    font-size: 1.75rem;
}

.lp-feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.lp-feature-text {
    color: var(--lp-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Games Grid */
.lp-games-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.lp-game-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    border-radius: 9999px;
    color: var(--lp-text-muted);
    font-weight: 600;
    transition: all 0.3s;
    cursor: default;
}

.lp-game-pill:hover {
    border-color: var(--lp-primary);
    color: #fff;
    transform: scale(1.05);
    background: rgba(79, 70, 229, 0.05);
}

/* CTA Section */
.lp-cta {
    text-align: center;
    padding: 10rem 2rem;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
}

.lp-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.lp-footer {
    border-top: 1px solid var(--lp-card-border);
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(5, 5, 8, 0.95);
}

.lp-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.lp-footer-links a {
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.lp-footer-links a:hover {
    color: #fff;
}

.lp-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Mobile Nav Toggle */
.lp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lp-nav-links {
        display: none; /* Simplify for now, or add mobile menu JS later */
    }
    .lp-mobile-toggle {
        display: block;
    }
    .lp-hero {
        padding-top: 10rem;
    }
}

/* Animations */
.lp-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
