:root {
    --sec-purple-bg: #2b002b; 
    --sec-yellow-card: #e6d5a7; 
    --sec-orange-btn: #ff6600; 
    --text-black: #000000;
    --text-white: #ffffff;
    --text-cream: #f5f5dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--sec-purple-bg);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* BOTÓN DE ESCAPE FIJO Y PEQUEÑO */
.back-link {
    position: fixed; 
    top: 15px; 
    left: 15px; 
    color: var(--text-white);
    text-decoration: none; 
    font-family: 'Orbitron'; 
    font-size: 0.6rem;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border: 1px solid var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link:hover {
    background: var(--text-white);
    color: var(--text-black);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRADO TOTAL DE CONTENIDO */
}

/* TÍTULO CON CALAVERA CENTRADA */
h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    margin: 60px auto 30px;
    max-width: 800px;
    line-height: 1.2;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

h1::before {
    content: "☠️";
    display: block;
    font-size: 5rem;
    color: #ff0000;
    text-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000;
    animation: alertGlitch 1.5s infinite;
}

@keyframes alertGlitch {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px red); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 30px red); }
}

.warning-subtitle {
    color: var(--text-cream);
    font-family: 'Rajdhani';
    font-size: 1.2rem;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.5;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* GRID DE SEGURIDAD */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

.node-card {
    background: var(--sec-yellow-card);
    padding: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.node-card:hover {
    transform: translateY(-8px);
}

.node-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.node-card h3 {
    font-family: 'Orbitron';
    color: var(--text-black);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.node-card p {
    color: var(--text-black);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
    min-height: 4.5em;
    text-align: center;
}

.node-price {
    font-family: 'Inter';
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--text-black);
    margin-bottom: 25px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
}

/* BOTÓN DE COMPRA: NARANJA CON LETRAS BLANCAS */
.btn-node-purchase {
    background: var(--sec-orange-btn);
    color: var(--text-white);
    border: none;
    padding: 18px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
    border-radius: 4px;
    width: 100%;
}

.btn-node-purchase:hover {
    background: #e65c00;
    transform: scale(1.02);
}

.node-owned-badge {
    background: #ffffff;
    border: 2px solid var(--sec-orange-btn);
    color: var(--sec-orange-btn);
    padding: 18px;
    font-family: 'Orbitron';
    font-size: 0.8rem;
    text-align: center;
    font-weight: 900;
    border-radius: 4px;
}

/* BOTÓN ARSENAL CON ANIMACIÓN PULSE */
.btn-arsenal-pulse {
    display: inline-block;
    padding: 20px 40px;
    background: var(--text-white);
    color: var(--sec-purple-bg);
    font-family: 'Orbitron';
    font-weight: 900;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    animation: pulseSec 2s infinite;
}

@keyframes pulseSec {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255,255,255,0.3); }
    50% { transform: scale(1.03); box-shadow: 0 0 30px rgba(255,255,255,0.6); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(255,255,255,0.3); }
}

/* MODAL FIX */
.payment-modal-overlay {
    display: none !important;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.payment-modal-overlay.visible {
    display: flex !important;
}