@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Luckiest+Guy&family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #FF3B30;
    --primary-glow: rgba(255, 59, 48, 0.5);
    --secondary: #34C759;
    --secondary-glow: rgba(52, 199, 89, 0.5);
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --bg-dark: #0A0A0C;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
    --comic-font: 'Luckiest Guy', cursive;
    --body-font: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.simple-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 50% 50%, #1A1A2E 0%, #0A0A0C 100%);
    position: relative;
}

.simple-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/landing_bg.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.landing-container {
    max-width: 900px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.logo-wrapper {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px var(--gold-glow));
}

.main-logo {
    max-width: 320px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

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

.tagline-container {
    margin-bottom: 40px;
    text-align: center;
}

.tagline {
    font-family: var(--comic-font);
    font-size: 2.8rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -1px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.preview-wrapper {
    margin: 20px 0 50px;
    width: 100%;
    max-width: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-preview {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.preview-wrapper:hover .game-preview {
    transform: scale(1.05);
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.store-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    height: clamp(40px, 8vw, 60px); /* Altura dinámica controlada */
}

.store-btn img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    max-width: 100%; /* Previene desbordamiento lateral */
}

.store-btn:hover {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.1);
}

.store-btn:active {
    transform: scale(0.95);
}

.cta-wrapper {
    width: 100%;
    max-width: 400px;
}

.btn-play-online {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, #28A745 100%);
    color: white;
    font-family: var(--comic-font);
    text-decoration: none;
    font-size: 1.8rem;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px var(--secondary-glow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-play-online:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--secondary-glow);
    background: linear-gradient(135deg, #40E66D 0%, #2CB14B 100%);
}

.btn-play-online:active {
    transform: translateY(2px);
}

.landing-footer {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .landing-container {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .tagline {
        font-size: 1.8rem;
    }

    .main-logo {
        max-width: 220px;
    }

    .store-btn {
        height: 48px;
    }

    .btn-play-online {
        font-size: 1.4rem;
        padding: 16px 30px;
    }
}