/* Momentum Landing Page Styles */

/* Sticky Footer Layout */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Hero Section */
.momentum-hero {
    background: linear-gradient(135deg, #6C63FF 0%, #4F3DB0 50%, #3a2d8a 100%);
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.momentum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.app-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.btn-play {
    background: #FFD700;
    color: #4F3DB0;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: #FFED4E;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-play-large {
    background: #6C63FF;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

.btn-play-large:hover {
    background: #5a52e0;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(108, 99, 255, 0.5);
}

/* Momentum Preview Visual */
.momentum-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.momentum-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.momentum-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.momentum-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.momentum-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.color-1 {
    background: linear-gradient(135deg, #6C63FF, #4F3DB0);
}

.color-2 {
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
}

.color-3 {
    background: linear-gradient(135deg, #34D399, #059669);
}

.color-4 {
    background: linear-gradient(135deg, #60A5FA, #2563EB);
}

.momentum-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Features Section */
.momentum-features {
    padding: 5rem 0;
    background: #f9fafb;
}

.momentum-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.momentum-howto {
    padding: 5rem 0;
    background: white;
}

.momentum-howto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.instruction {
    text-align: center;
    padding: 2rem;
}

.instruction-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C63FF, #4F3DB0);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.instruction h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.instruction p {
    color: #666;
    line-height: 1.6;
}

.play-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Identity Section */
.gallery-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.styles-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.style-preview {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.style-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.style-box {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.style-box.identity-1 {
    background: linear-gradient(135deg, #34D399, #059669);
}

.style-box.identity-2 {
    background: linear-gradient(135deg, #60A5FA, #2563EB);
}

.style-box.identity-3 {
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
}

.style-box.identity-4 {
    background: linear-gradient(135deg, #6C63FF, #4F3DB0);
}

.style-preview h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.style-preview p {
    color: #666;
    font-size: 0.95rem;
}

/* Game Footer Section */
.game-footer-section {
    padding: 2rem 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-links {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6C63FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4F3DB0;
    text-decoration: underline;
}

.separator {
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-title {
        font-size: 3rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .app-title {
        font-size: 2.5rem;
    }

    .app-tagline {
        font-size: 1.2rem;
    }

    .btn-play {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .momentum-features,
    .momentum-howto,
    .gallery-section {
        padding: 3rem 0;
    }

    .momentum-features h2,
    .momentum-howto h2,
    .gallery-section h2 {
        font-size: 2rem;
    }

    .momentum-showcase {
        grid-template-columns: 1fr;
    }
}
