/* Importar fuentes adicionales */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* Efectos de fondo animados */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent, 
        rgba(255, 255, 255, 0.05)
    );
    animation: shimmer 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
}

.border-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.25), 
        rgba(255, 255, 255, 0.1)
    );
    padding: 4px;
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 450px;
    margin: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: containerEntry 0.8s ease-out;
}

@keyframes containerEntry {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 255, 255, 0.9)
    );
    padding: 45px;
    border-radius: 16px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
}

h1 {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: titleGlow 0.8s ease-out 0.3s both;
}

@keyframes titleGlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    color: #64748b;
    margin-bottom: 35px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    animation: subtitleFade 0.8s ease-out 0.5s both;
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: buttonsSlide 0.8s ease-out 0.7s both;
}

@keyframes buttonsSlide {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 20px rgba(102, 126, 234, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

button i {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Efectos hover especiales para cada botón */
button:nth-child(1) {
    animation-delay: 0.1s;
}

button:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 
        0 10px 25px rgba(240, 147, 251, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

button:nth-child(2):hover {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
    box-shadow: 
        0 15px 35px rgba(240, 147, 251, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Estilos específicos para móviles */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .border-container {
        margin: 15px;
        max-width: none;
    }
    
    .container {
        padding: 35px 25px;
    }
    
    h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    button {
        padding: 16px 24px;
        font-size: 15px;
        min-height: 54px;
    }
    
    .buttons-container {
        gap: 16px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .border-container {
        padding: 3px;
        margin: 10px;
        border-radius: 16px;
    }
    
    .container {
        padding: 30px 20px;
        border-radius: 13px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    p {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    button {
        padding: 14px 20px;
        font-size: 14px;
        min-height: 50px;
        border-radius: 10px;
    }
    
    .buttons-container {
        gap: 14px;
    }
}

/* Para landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        align-items: center;
        padding: 10px;
    }
    
    .border-container {
        margin: 10px;
    }
    
    .container {
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    p {
        margin-bottom: 20px;
        font-size: 14px;
    }
    
    button {
        padding: 12px 20px;
        min-height: 44px;
        font-size: 14px;
    }
    
    .buttons-container {
        gap: 12px;
    }
}

/* Animación de entrada para los botones */
@keyframes buttonEntry {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

button {
    animation: buttonEntry 0.6s ease-out both;
}

/* Efectos de hover mejorados */
.container:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Efecto de pulso sutil en el borde */
.border-container {
    animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.3);
    }
}

/* Mejora del foco para accesibilidad */
button:focus {
    outline: none;
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 0 0 3px rgba(102, 126, 234, 0.3);
}

