/**
 * Club Reggaeton.com — Styles
 * 
 * Diseño minimalista, futurista, responsive.
 * Colores: Morado, Azul, Cyan.
 * Animaciones suaves.
 */

:root {
    --color-bg-dark: #08080f;
    --color-bg-card: #111126;
    --color-border: #2a2a44;
    --color-purple: #6b00cc;
    --color-cyan: #00d4ff;
    --color-blue: #00b4d8;
    --color-text: #ffffff;
    --color-text-secondary: #9999bb;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══ CONTENEDOR PRINCIPAL ═══ */
.club-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(26, 0, 64, 0.5) 0%,
        rgba(10, 10, 32, 0.5) 50%,
        rgba(0, 26, 51, 0.5) 100%
    );
}

/* ═══ CARD ═══ */
.club-card {
    width: 100%;
    max-width: 500px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ═══ LOGO ═══ */
.club-logo {
    text-align: center;
    margin-bottom: 24px;
}

.club-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(107, 0, 204, 0.6);
    display: inline-block;
}

/* ═══ LABEL PEQUEÑO ═══ */
.club-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-cyan);
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ═══ TÍTULO ═══ */
.club-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

@media (max-width: 480px) {
    .club-title {
        font-size: 24px;
    }
}

/* ═══ DESCRIPCIÓN ═══ */
.club-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ═══ FORMULARIO ═══ */
.club-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

/* ═══ INPUT ═══ */
.club-input {
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
}

.club-input::placeholder {
    color: rgba(153, 153, 187, 0.6);
}

.club-input:focus {
    border-color: var(--color-purple);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(107, 0, 204, 0.1);
}

.club-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══ BOTÓN ═══ */
.club-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
    border: none;
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.club-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 0, 204, 0.3);
}

.club-button:active:not(:disabled) {
    transform: translateY(0);
}

.club-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.club-button__loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══ MENSAJE ═══ */
.club-message {
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.club-message--success {
    background-color: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--color-cyan);
}

.club-message--error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* ═══ DISCLAIMER ═══ */
.club-disclaimer {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.5;
}

.club-disclaimer a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition);
}

.club-disclaimer a:hover {
    text-decoration: underline;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 480px) {
    .club-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .club-title {
        margin-bottom: 16px;
    }

    .club-description {
        margin-bottom: 24px;
    }

    .club-form {
        gap: 12px;
        margin-bottom: 16px;
    }

    .club-input,
    .club-button {
        font-size: 16px; /* Prevenir zoom en iOS */
    }
}

/* ═══ DARK MODE (redundante pero asegura compatibilidad) ═══ */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--color-bg-dark);
        color: var(--color-text);
    }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
