:root {
    --gold: #d4a373;
    --gold-glow: rgba(212, 163, 115, 0.4);
    --bg-black: #050505;
    --surface: #0f1212;
    --accent-border: rgba(212, 163, 115, 0.15);

    --surface: #121212;
    --font-main: 'Inter', sans-serif;
    --font-titles: 'Cinzel', serif;
    --font-action: 'Orbitron', sans-serif;


    --accent: #d4a373;
    --accent-rgb: 0, 242, 255;
    --bg-dark: #020202;
    --panel-bg: rgba(5, 5, 5, 0.95);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-speed: 0.8s;
}

/* --- Scrollbar Customization --- */
html {
    scroll-behavior: auto !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-glow);
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-glow) var(--bg-black);
}

body {
    background-color: var(--bg-black);
    color: #ffffff;
    font-family: var(--font-main);
    overflow-x: hidden;
}

.btn:hover{
    color: var(--bs-btn-hover-color) !important;
}
/* --- Tipografías --- */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.font-bebas { font-family: 'Bebas Neue', sans-serif; }

/* Estilo específico para STRIKE en el banner: Degradado Lineal Vertical */
h1 .font-cinzel{
    font-size: 24px;
    letter-spacing: 22px;
    margin-left: 16px;
}
.strike-gradient {
    color: #cecece; font-family: 'Bebas Neue', sans-serif;
    display: inline-block;
    letter-spacing: 4px;
    line-height: 1;
}

/* --- HUD Elements & Decorations --- */
.hud-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px 0;
    opacity: 0.5;
}

/* --- Navbar --- */
.navbar {
    background: transparent !important;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    padding: 25px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}
.navbar.fixed-top {
    top: 42px;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--accent-border);
    padding: 12px 0;
    top: 0;
}

.nav-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
    color: rgba(255, 255, 255, 0.8) !important;
}
.nav-link a{
    display: inline-block; vertical-align: middle;
}

.nav-item.glow a{
    background: url(../img/estrella-imagen-animada-0147.gif) repeat scroll 0 0 transparent;
    background-size: 39px auto;

    line-height: inherit;
    height: auto;
}
.nav-link:hover { color: var(--gold) !important; }

/* Centrado del menú sin logo */
.navbar-collapse {
    justify-content: center;
}

.nav-item:last-of-type a{
    color: var(--gold); 
    border: 1px solid var(--gold); 
    margin: 2px 0; padding: 5px 15px;
}


/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.2), var(--bg-black)), 
        url('../img/bg-eternitystrike.webp') center/cover no-repeat;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-black) 95%);
    z-index: 2;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 0;
    line-height: 0.85;
    text-shadow: 0 0 50px rgba(0,0,0,1);
    filter: drop-shadow(0 0 20px var(--gold-glow));
    will-change: transform, opacity;
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    color: var(--gold);
    letter-spacing: 12px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* --- IP Badge --- */
.ip-container {
    margin-top: 4rem;
    position: relative;
    display: inline-block;
    z-index: 10;
}

.ip-box {
    background: rgba(15, 18, 18, 0);
    border: 1px solid var(--gold);
    padding: 15px 40px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    cursor: pointer;
    transition: 0.4s;
    position: relative;
    backdrop-filter: blur(5px);
}

.ip-box:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--gold-glow);
}

/* --- Cards --- */
.status-grid {
    margin-top: -100px;
    position: relative;
    z-index: 100;
}

.glass-card {
    background: rgba(20, 25, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-border);
    padding: 40px 30px;
    text-align: center;
    transition: border-color 0.3s;
    will-change: transform;
}

.glass-card:hover {
    border-color: var(--gold);
}

.glass-card h4 span{
    font-family: 'Orbitron', sans-serif; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase;
    padding-top: 15px;
    display: block;
}

.card-icon { color: var(--gold); margin-bottom: 15px; }

/* --- Maps --- */
.map-strip {
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--gold);
    background: var(--surface);
}

.map-img-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.map-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transition: filter 0.5s;
    filter: saturate(0.4) brightness(0.5);
    will-change: transform;
}

.map-strip:hover .map-img {
    filter: saturate(1) brightness(0.8);
}

.map-label {
    position: absolute;
    bottom: 30px; left: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 5;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

/* --- Flip Cards (NUEVO) --- */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}
.flip-card.pro h4{
    background: url(../img/estrella-imagen-animada-0147.gif) repeat scroll 0 0 transparent;
    background-size: 32px auto;
}
.flip-card.pro .flip-card-inner{
    box-shadow: inset 0 0 45px rgba(255, 255, 255, .8);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid var(--accent-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-front {
    background: rgba(20, 25, 25, 0.9);
    color: white;
}

.flip-card-front .off-1, .flip-card-front .off-2, .flip-card-front .off-3{
    background: red;
    color: #fff; font-size: 9px; font-weight: 600;
    line-height: normal;
    margin: 8px; padding: 4px 8px;
    position: absolute; right: 0; top: 2px;
}

.flip-card-front .off-2{ top: 25px; }

.flip-card-front .off-3{
    background: var(--gold);
    color: rgba(25, 20, 15, 0.9); 
    top: 48px;
}

.flip-card-back {
    background: var(--gold);
    color: #000;
    transform: rotateY(180deg);
}

.flip-card-back ul li b{ color: #fff; }

.membership-price {
    font-size: 3rem;
    font-family: 'Bebas Neue', sans-serif;
    margin: 15px 0;
}

/* --- Download Section --- */
.download-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    padding: 20px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.download-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 30px var(--gold-glow);
}

.specs-table {
    background: rgba(15, 18, 18, 0.5);
    border: 1px solid var(--accent-border);
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    width: 40%;
}

/* --- Discord --- */
.discord-cta {
    background: linear-gradient(135deg, #1c2526 0%, #050505 100%);
    border: 1px solid var(--accent-border);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.discord-cta p:last-of-type{
    font-size: .5em;
    letter-spacing: 3px;
}

/* --- Footer --- */
footer {
    padding: 100px 0 40px;
    text-align: center;
    border-top: 1px solid #111;
    background: #030303;
}

#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    padding: 12px 40px;
    font-weight: 800;
    display: none;
    z-index: 9999;
    font-family: 'Orbitron', sans-serif;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    box-shadow: 0 0 30px var(--gold-glow);
}

.py-100 { padding: 100px 0; }

.modal {
    background: rgb(0 0 0 / 68%);
}
.modal .modal-content {
    background: transparent;
}
.modal .modal-content .modal-body{
    padding: 0;
    border: 2px solid var(--gold);
}
.modal .modal-content .btn-close{
    font-family: 'Orbitron', sans-serif;
    color: #fff; 
    font-size: 33px;
    line-height: 10px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: -38px;
    top: -5px;
    z-index: 10;
}





/* --- SELECTOR DE JUEGOS --- */
#gameSelectorWrapper {
    position: relative;
    max-height: 0;
    overflow: hidden;
    background: var(--panel-bg);
    transition: max-height var(--transition-speed) var(--easing), 
                border-bottom var(--transition-speed) var(--easing);
    z-index: 100;
    border-bottom: 0px solid var(--accent);
}

#gameSelectorWrapper.show {
    max-height: 500px;
    border-bottom: 2px solid var(--accent);
}

#dynamic-bg-internal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: background-image 1.2s var(--easing), transform 2s var(--easing), opacity 0.8s var(--easing);
    pointer-events: none;
    filter: saturate(0.8) brightness(0.6);
    background-image: url('https://mueternity.com/templates/template4/img/bg-cs-header.jpg');
}

.bg-zoom {
    transform: scale(1.1);
    opacity: 0.4 !important;
}

.internal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent, rgba(0,0,0,0.8));
    pointer-events: none;
}

.selector-container {
    position: relative;
    padding: 70px 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    z-index: 3;
    transform: translateY(-30px) scale(0.98);
    transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
    transition-delay: 0.1s;
}

#gameSelectorWrapper.show .selector-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.game-nav-item {
    position: relative;
    width: 260px;
    height: 160px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--easing);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 12px; /* Reemplazo de gap */
}

.game-nav-item:hover, .game-nav-item.active {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px);
}

.game-nav-item img {
    max-width: 90%;
    height: auto; max-height: 88px;
    object-fit: contain;
    transition: all 0.5s var(--easing);
    filter: grayscale(1) brightness(0.7);
}

.game-nav-item:hover img, .game-nav-item.active img {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.1);
}


.active .nav-label { color: var(--accent); }

/* --- CINTA DE COMANDO --- */
.cmd-ribbon {
    background: #000;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.cmd-content {
    display: flex;
    align-items: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 10px;
    color: #fff;
    letter-spacing: 2px;
}

.status-indicator {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-right: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.rotated { transform: rotate(180deg); }

/* --- CONTENIDO PRINCIPAL --- */ 
.main-portal {
    transition: opacity 0.6s var(--easing), transform 0.6s var(--easing), filter 0.6s var(--easing);
    z-index: 10;
}

.content-blurred {
    filter: blur(8px) saturate(1.2);
    transform: scale(0.99);
    pointer-events: none;
    opacity: .4;
}


/* Helpers BS3 */
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }

@media (max-width: 768px) {
    .selector-container { flex-direction: column; align-items: center; padding: 40px 0; }
    .game-nav-item { width: 90%; height: 100px; margin-bottom: 15px; }
    .glitch-title { font-size: 30px; }
}