@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #020617;
    /* Deepest Midnight */
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Slate-800 Glass */
    --primary: #6366f1;
    /* Indigo-500 */
    --accent: #fbbf24;
    /* Amber-400 (Gold) */
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --success: #22c55e;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Permite scroll natural */
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Luxury Mesh Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(251, 191, 36, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 480px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UI Components */
.header-area {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* LOGO FIX: Professional containment */
.logo-box {
    background: white;
    padding: 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.logo-box img {
    max-width: 160px;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Form Styling */
.form-section {
    margin-top: 2rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    margin-left: 0.5rem;
}

input,
select {
    width: 100%;
    padding: 1.1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.btn-main {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.6);
}

/* Dashboard Specifics */
.tier-pill {
    display: inline-flex;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse.activo {
    background: var(--success);
}

.pulse.suspendido {
    background: var(--danger);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.user-title {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Premium Pass Card */
.vip-pass {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.vip-pass::after {
    content: 'WOW+';
    position: absolute;
    right: -20px;
    bottom: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.vip-pass-title {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.benefit-pill {
    background: rgba(15, 23, 42, 0.4);
    padding: 1.25rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.benefit-list {
    list-style: none;
    margin: 1rem 0;
}

.benefit-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-vip {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1.1rem;
    border-radius: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(251, 191, 36, 0.3);
}

.referral-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    text-align: center;
}

.footer-area {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-gray);
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-gray);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1rem;
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--primary);
}

.hidden {
    display: none;
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }

    .container {
        padding: 1.5rem;
        border-radius: 30px;
    }

    h1 {
        font-size: 1.5rem;
    }
}