/* Shared base for app landing pages. Each app's landing.css only holds what differs. */

html {
    height: 100%;
}

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

main {
    flex: 1;
}

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

.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;
}

.btn-play {
    background: #FFD700;
    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 {
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-play-large:hover {
    transform: translateY(-3px);
}

.app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 200px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.store-badge:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.store-badge svg {
    width: 24px;
    height: 24px;
}

.store-text-content {
    display: flex;
    flex-direction: column;
    color: white;
    text-align: left;
}

.store-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1;
}

.store-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.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;
}

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

.instruction {
    text-align: center;
}

.instruction-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.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;
}

.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-preview h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

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

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

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

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    color: #9ca3af;
}

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

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

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

.btn-download {
    background: #2563eb;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.55);
}

.phone-mockup {
    position: relative;
    width: 200px;
    height: 380px;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.float-dot:nth-child(1) {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.float-dot:nth-child(2) {
    top: 40%;
    right: -25px;
    animation-delay: 0.8s;
    width: 8px;
    height: 8px;
}

.float-dot:nth-child(3) {
    bottom: 25%;
    left: -20px;
    animation-delay: 1.5s;
    width: 14px;
    height: 14px;
}

.float-dot:nth-child(4) {
    top: 65%;
    right: -35px;
    animation-delay: 0.4s;
    width: 6px;
    height: 6px;
}

.btn-store-large {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-store-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.app-footer-section {
    padding: 2rem 0;
}

.hero-note {
    font-size: 0.95rem;
    opacity: 0.75;
    margin: 0;
}

.problem-band {
    padding: 4rem 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.problem-band .container {
    max-width: 760px;
    text-align: center;
}

.problem-band p {
    font-size: 1.35rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.problem-band p.answer {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

.privacy-strip {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #0a1024, #16306e);
    color: white;
}

.privacy-strip .container {
    max-width: 780px;
    text-align: center;
}

.privacy-strip h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-strip p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.privacy-strip p:last-child {
    margin-bottom: 0;
}

.privacy-strip a {
    color: #93c5fd;
}

.requirements-section {
    padding: 5rem 0;
    background: #f9fafb;
    text-align: center;
}

.requirements-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.requirements-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.requirement {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    color: #374151;
    font-weight: 600;
}

@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); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

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

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

    .app-store-buttons {
        align-items: center;
    }

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

@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;
    }

    .game-title {
        font-size: 2.5rem;
    }

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

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

    .phone-mockup {
        width: 160px;
        height: 300px;
    }

    .problem-band p {
        font-size: 1.15rem;
    }

    .problem-band p.answer {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .cta-buttons:has(.app-store-badge) {
        justify-content: center;
    }

    .cta-buttons .app-store-badge {
        align-self: center;
    }
}

.play-cta .app-store-badge {
    margin: 0.4rem;
    vertical-align: middle;
}
