:root {
    --gold: #D4AF37;
    --black-matte: #0a0a0a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: black;
    background-image: radial-gradient(circle at center, #111 0%, #000 100%);
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    width: 100vw;
    color: white;
    overflow: hidden; /* MATA EL SCROLL FANTASMA */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- PUERTAS DE BÓVEDA --- */
.gate {
    position: fixed; top: 0; width: 50%; height: 100%;
    background: #050505; z-index: 9999;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
    border-right: 1px solid #222;
}
.gate-left { left: 0; }
.gate-right { right: 0; border-left: 1px solid #222; border-right: none; }

.gate-open .gate-left { transform: translateX(-100%); }
.gate-open .gate-right { transform: translateX(100%); }

.gate-text {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #444; font-family: 'Cinzel', serif; z-index: 10000;
    transition: opacity 0.5s; letter-spacing: 5px; pointer-events: none;
}
.gate-open .gate-text { opacity: 0; }

/* --- CONTENIDO PRINCIPAL --- */
.main-wrapper {
    width: 100%;
    max-width: 450px;
    text-align: center;
    opacity: 0; 
    transform: scale(0.95);
    transition: all 1s ease-out 0.8s;
    z-index: 10;
}

.gate-open .main-wrapper { opacity: 1; transform: scale(1); }

h1 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: clamp(2rem, 8vw, 3.5rem);
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.sub-tag {
    color: #666; font-size: 0.8rem; letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 30px; border-bottom: 1px solid #222; display: inline-block; padding-bottom: 10px;
}

/* --- TARJETA 3D ESCALADA --- */
.card-scene {
    perspective: 1000px;
    width: 320px; height: 190px;
    margin: 0 auto 30px auto;
}

.card {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1c1c1c, #000);
    border-radius: 15px; 
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    animation: float 6s infinite ease-in-out;
}

.chip { width: 40px; height: 26px; background: linear-gradient(135deg, #FFD700, #996515); border-radius: 4px; margin-bottom: 15px; }
.card-logo { font-family: 'Cinzel', serif; font-size: 1.4rem; color: #fff; margin-bottom: 5px; }
.card-date { font-size: 0.6rem; color: var(--gold); letter-spacing: 2px; opacity: 0.7; }

/* --- PRECIO Y BOTÓN --- */
.price-tag { font-family: 'Cinzel', serif; font-size: 2.2rem; color: white; margin-bottom: 5px; }
.per-month { font-size: 0.8rem; color: #444; }
.alert-text { color: #ff003c; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; margin: 15px 0; text-transform: uppercase; }

.btn-gold {
    background: var(--gold);
    color: black; padding: 16px 40px; border-radius: 2px;
    font-weight: 800; text-transform: uppercase; text-decoration: none;
    display: inline-block; transition: 0.3s; letter-spacing: 2px; font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.btn-gold:hover { background: white; transform: translateY(-2px); }

/* --- BOTÓN ESCAPE HUD --- */
.footer-escape {
    position: fixed; bottom: 30px; left: 0; width: 100%;
    display: flex; justify-content: center; z-index: 10005;
}

.back-btn-hud {
    color: rgba(212, 175, 55, 0.5);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 25px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.back-btn-hud:hover { color: #fff; border-color: #fff; background: #000; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }