/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
    background-color: #0f172a;
    /* Fallback color */
    background-image: url('img/adriano.jpg');
    /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay oscuro para mejorar legibilidad */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    /* Capa oscura azulada */
    z-index: -1;
}

/* Efecto de viñeta para centrar la atención */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Contenedor principal */
.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Tarjeta Glassmorfismo */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    /* Más oscuro para contraste con foto */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 40px rgba(56, 189, 248, 0.1);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(56, 189, 248, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Logo de La Mano de Castolo */
.logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Títulos y textos */
.glow-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.divider {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
    margin: 0 auto 2rem;
}

.status-message {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-weight: 300;
}

.highlight {
    color: #38bdf8;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Botón de Discord */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #5865F2;
    /* Color oficial de Discord */
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.discord-btn:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sub-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 1rem;
    min-height: 1.2em;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .glass-card {
        padding: 2rem;
        margin: 1rem;
        background: rgba(15, 23, 42, 0.75);
        /* Más opaco en móvil */
    }

    .glow-text {
        font-size: 2.5rem;
    }

    .logo {
        width: 100px;
    }
}