/* ==========================================
   Variables y Reset
   ========================================== */
:root {
    --bg-primary: #263238;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --accent-green: #4caf50;
    --accent-light: #81c784;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   Estilos Generales
   ========================================== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

/* ==========================================
   Container y Layout
   ========================================== */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: fadeIn 1s ease-in-out;
}

/* ==========================================
   Logos Container
   ========================================== */
.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    opacity: 0;
    animation: slideIn 0.8s ease-out 0.2s forwards;
}

.logo-cangu,
.logo-surtiapp {
    max-width: 200px;
    width: 100%;
    flex-shrink: 0;
}

    .logo-cangu img,
    .logo-surtiapp img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 4px 8px var(--shadow-color));
    }

    .logo-surtiapp img {
        animation: pulseLogo 2.5s ease-in-out infinite;
    }

/* ==========================================
   Mensaje
   ========================================== */
.message {
    text-align: center;
    max-width: 650px;
    padding: 0 20px;
    opacity: 0;
    animation: slideIn 0.8s ease-out 0.4s forwards;
}

    .message p {
        font-size: 1.25rem;
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.8;
    }

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

    .message strong {
        color: var(--text-primary);
        font-weight: 600;
    }

.emoji {
    display: inline-block;
    font-size: 1.4em;
    vertical-align: middle;
}

    .emoji.heart {
        animation: pulse 1.5s ease-in-out infinite;
    }

/* ==========================================
   Flecha
   ========================================== */
.arrow {
    color: var(--accent-green);
    flex-shrink: 0;
    animation: bounceHorizontal 2s ease-in-out infinite;
}

    .arrow svg {
        display: block;
    }

/* ==========================================
   Call to Action
   ========================================== */
.cta {
    margin-top: 20px;
    opacity: 0;
    animation: slideIn 0.8s ease-out 1s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-light) 100%);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
        background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-green) 100%);
    }

    .btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
    }

/* ==========================================
   Animaciones
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes bounceHorizontal {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .content {
        gap: 30px;
    }

    .logos-container {
        gap: 25px;
    }

    .logo-cangu,
    .logo-surtiapp {
        max-width: 160px;
    }

    .message p {
        font-size: 1.125rem;
    }

    .arrow svg {
        width: 50px;
        height: 50px;
    }

    .btn-primary {
        padding: 14px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .content {
        gap: 25px;
    }

    .logos-container {
        flex-direction: column;
        gap: 20px;
    }

        .logos-container .arrow {
            transform: rotate(90deg);
        }

    .logo-cangu,
    .logo-surtiapp {
        max-width: 180px;
    }

    .message {
        padding: 0 10px;
    }

        .message p {
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }

    .emoji {
        font-size: 1.3em;
    }

    .arrow svg {
        width: 45px;
        height: 45px;
    }

    .btn-primary {
        padding: 12px 32px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .logo-cangu,
    .logo-surtiapp {
        max-width: 160px;
    }

    .message p {
        font-size: 0.9375rem;
    }

    .btn-primary {
        padding: 10px 28px;
        font-size: 0.875rem;
    }
}
