/*!
 * ============================================================
 *  BIG HOUSE RP — Official Website
 *  © 2026 Big House RP. Todos los derechos reservados.
 *  Diseñado y desarrollado por JeffoForeva
 *
 *  AVISO LEGAL: Este código fuente es propiedad intelectual
 *  de Big House RP. Queda estrictamente prohibida su copia,
 *  redistribución o uso sin autorización expresa por escrito.
 *  La infracción puede dar lugar a acciones legales.
 *
 *  LEGAL NOTICE: This source code is the intellectual property
 *  of Big House RP. Copying, redistribution or use without
 *  express written permission is strictly prohibited.
 * ============================================================
 */

:root {
    --accent: #3f0095;
    --accent-light: #7a2fd6;
    --accent-dark: #2b0068;
    --accent-glow: rgba(63, 0, 149, 0.45);
    --accent-subtle: rgba(63, 0, 149, 0.12);
    --bg: #000000;
    --bg-2: #050505;
    --bg-3: #080808;
    --bg-card: rgba(5, 5, 5, 0.95);
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(63, 0, 149, 0.5);
    --text: #ffffff;
    --text-muted: #9999aa;
    --text-dim: #7a7f94;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

/* ─── ACCESSIBILITY ─── */
[id] { scroll-margin-top: 120px; }

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 10000;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* ─── PAGE LOADER ─── */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    transition: opacity 1.2s cubic-bezier(0.7, 0, 0.3, 1), visibility 1.2s;
    pointer-events: none;
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'TikTok Sans', 'TikTokFont', 'Proxima Nova', Arial, Tahoma, PingFangSC, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 24px var(--accent-glow);
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-subtle);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-subtle);
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 32px;
    background: transparent;
    border: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s, transform 0.35s ease, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.95);
    border-bottom-color: var(--border);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1694px;
    margin: 0 auto;
    height: 74px;
    gap: 16px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-start;
}

.nav-left a, .nav-right a:not(.btn-signin) {
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.nav-left a:hover, .nav-right a:hover:not(.btn-signin) {
    color: white;
    text-shadow: 0 0 10px rgba(63, 0, 149, 0.8), 0 0 20px rgba(63, 0, 149, 0.4);
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 4px 8px;
}

.nav-logo img {
    height: 62px;
    max-height: 62px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, height 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 50px;
}

.players-count {
    background: linear-gradient(180deg, #272727, #1d1d1d);
    border-radius: 6px;
    height: 36px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(63, 0, 149, 0.3);
}

.count-num {
    color: white;
    font-variant-numeric: tabular-nums;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: flex-end;
}

.lang-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
}

.btn-tebex {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(63, 0, 149, 0.3);
    text-decoration: none;
}

.btn-tebex:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 0, 149, 0.5);
    color: white;
}



.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── NAVBAR RESPONSIVE ─── */
@media (max-width: 1120px) {
    .navbar {
        padding: 0 20px;
        background: rgba(8, 8, 8, 0.95);
        border-bottom: 1px solid var(--border);
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 64px;
        padding: 0;
        width: 100%;
    }

    .nav-left, .nav-right {
        display: none !important;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .nav-logo img {
        height: 46px;
        max-height: 46px;
        width: auto;
        object-fit: contain;
    }

    .nav-burger {
        display: flex;
        margin-left: auto;
    }
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 14, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    border-bottom: 1px solid var(--border);
    padding: 16px 0 24px;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    padding: 12px 32px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.mobile-menu a:hover { color: var(--white); background: var(--accent-subtle); }

.mobile-cta {
    margin: 12px 24px 0;
    padding: 13px 24px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 8px;
    text-align: center;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s ease;
    transform: scale(1.05);
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11,11,14,0.3) 0%,
        rgba(11,11,14,0.2) 30%,
        rgba(11,11,14,0.6) 70%,
        rgba(11,11,14,1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(63, 0, 149, 0.15);
    border: 1px solid rgba(63, 0, 149, 0.35);
    color: #b87fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: fadeDown 0.8s ease forwards;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 8px #4ade80; }
    50% { box-shadow: 0 0 16px #4ade80; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 16px;
    color: #ffffff;
    filter: drop-shadow(0 0 30px var(--accent-glow));
    animation: fadeUp 0.8s 0.1s ease forwards;
    opacity: 0;
}

.hero-sub {
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeUp 0.8s 0.2s ease forwards;
    opacity: 0;
}

.hero-desc {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeUp 0.8s 0.3s ease forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.4s ease forwards;
    opacity: 0;
}

.hero-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-dim);
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

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

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── STATS BAR (LUXURY FLOATING DASHBOARD) ─── */
.stats-bar {
    position: relative;
    z-index: 20;
    max-width: 1400px;
    margin: -32px auto 0;
    padding: 0 24px;
    background: transparent;
    border: none;
}

.stats-bar-inner {
    background: rgba(10, 8, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 18px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(63, 0, 149, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 26px 22px;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.stat-item:hover {
    background: rgba(63, 0, 149, 0.18);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(63, 0, 149, 0.35), rgba(122, 47, 214, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #c4b5fd;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(63, 0, 149, 0.25);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrap {
    background: var(--accent);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    transform: scale(1.08);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.stat-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent);
    align-self: stretch;
    flex-shrink: 0;
}

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-2);
}

.container {
    max-width: 1694px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-head {
    text-align: center;
    margin-bottom: 36px;
}

.section-label {
    display: inline-block;
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: var(--accent-subtle);
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid rgba(63,0,149,0.25);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--white);
    text-transform: uppercase;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── FEATURES (COMPACT & MODERN) ─── */
.section-features {
    padding: 56px 0 64px;
}

.section-features .section-head {
    margin-bottom: 32px;
}

.section-features .section-label {
    margin-bottom: 8px;
    font-size: 0.72rem;
    padding: 4px 14px;
    letter-spacing: 1.8px;
}

.section-features .section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-features .section-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 580px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: rgba(12, 12, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: rgba(18, 16, 26, 0.9);
    border-color: rgba(168, 85, 247, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(63, 0, 149, 0.2);
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(63, 0, 149, 0.2);
    border: 1px solid rgba(122, 47, 214, 0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--accent-light);
    margin-bottom: 14px;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
    transform: none !important;
}

.feature-icon i {
    transform: none !important;
    transition: none;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 16px var(--accent-glow);
    transform: none !important;
}

.feature-card:hover .feature-icon i {
    transform: none !important;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
    letter-spacing: -0.2px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

/* ─── HOW TO PLAY ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    counter-reset: step;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-subtle);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(63,0,149,0.2);
    letter-spacing: -2px;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-subtle);
    border: 1px solid rgba(63,0,149,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.step-card strong { color: var(--accent-light); }

.steps-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── GALLERY (BENTO GRID & INTERACTIVE) ─── */
.section-gallery {
    padding: 60px 0;
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.gallery-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 18px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.gallery-filter-btn:hover {
    background: var(--accent-subtle);
    border-color: var(--border-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: var(--accent);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 16px var(--accent-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 250px;
    cursor: pointer;
    background: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease, 
                opacity 0.35s ease;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(63, 0, 149, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.gallery-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover .gallery-zoom-btn {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom-btn:hover {
    background: var(--accent);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px var(--accent-glow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 8, 0.8) 75%, rgba(5, 5, 8, 0.96) 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px 20px;
    z-index: 1;
    pointer-events: none;
    transition: background var(--transition);
}

.gallery-info {
    width: 100%;
}

.gallery-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

/* ─── GALLERY LIGHTBOX MODAL ─── */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
}

.gallery-modal-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.gallery-modal-media {
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(63, 0, 149, 0.25);
    background: #000;
}

.gallery-modal-media img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.gallery-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: #ef4444;
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 5;
}

.gallery-modal-prev { left: -58px; }
.gallery-modal-next { right: -58px; }

.gallery-modal-nav:hover {
    background: var(--accent);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: translateY(-50%) scale(1.08);
}

.gallery-modal-footer {
    width: 100%;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px;
}

.gallery-modal-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gallery-modal-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-light);
}

.gallery-modal-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.gallery-modal-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.gallery-modal-counter {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ─── PLANS ─── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: border-color var(--transition), transform var(--transition);
}

.plan-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.plan-featured {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(63,0,149,0.15), var(--bg-card));
    box-shadow: 0 0 40px rgba(63,0,149,0.2);
}

.plan-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
    background: var(--accent-subtle);
    color: var(--accent-light);
    border: 1px solid rgba(63,0,149,0.3);
    width: fit-content;
}

.plan-featured .plan-badge {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 12px var(--accent-glow);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.plan-features li i {
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-features li:not(.disabled) { color: var(--text); }
.plan-features li:not(.disabled) i { color: #4ade80; background: rgba(74,222,128,0.1); }
.plan-features li.disabled { color: var(--text-dim); }
.plan-features li.disabled i { color: var(--text-dim); }

.btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    background: var(--bg-3);
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
}

.btn-plan:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-subtle);
}

.btn-plan-featured {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-plan-featured:hover {
    background: var(--accent-light);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* ─── VIP TRUST BANNER ─── */
.vip-trust-banner {
    margin-top: 36px;
    background: rgba(10, 8, 18, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 14px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.vip-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vip-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(63, 0, 149, 0.25);
    border: 1px solid rgba(122, 47, 214, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.vip-trust-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vip-trust-info strong {
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 700;
}

.vip-trust-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.vip-trust-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
}

/* ─── NEWS ─── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.news-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.06); }

.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
}

.news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
}

.news-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.news-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap var(--transition), color var(--transition);
    margin-top: auto;
}

.news-link:hover {
    gap: 10px;
    color: var(--white);
}

/* ─── COMMUNITY MASTER SECTION ─── */
.section-community {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 90px 0;
    position: relative;
}

.community-master-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.community-master-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-glow);
}

.community-content {
    padding: 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.community-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.community-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}

.community-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 4px 0 6px;
}

.comm-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.comm-stat-card:hover {
    background: var(--accent-subtle);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.comm-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-subtle);
    border: 1px solid rgba(63, 0, 149, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.comm-stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.comm-stat-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.comm-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.comm-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.comm-btn-discord {
    background: #5865F2;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.25);
}

.comm-btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.comm-btn-arrow {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.comm-btn-discord:hover .comm-btn-arrow {
    transform: translateX(3px);
}

.comm-btn-connect {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.comm-btn-connect:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
    color: #ffffff;
}

.comm-btn-streamers {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.comm-btn-streamers:hover {
    border-color: var(--accent-light);
    color: #ffffff;
    background: var(--accent-subtle);
    transform: translateY(-2px);
}

.community-visual {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.community-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.65) contrast(1.15);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.community-master-card:hover .community-main-img {
    transform: scale(1.04);
    filter: brightness(0.75) contrast(1.15);
}

.community-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.75) 15%, rgba(5, 5, 5, 0.15) 55%, transparent 100%), linear-gradient(0deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.3) 20%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.community-floating-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
    animation: livePulseGreen 2s infinite;
}

@keyframes livePulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.community-floating-card {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 3;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color var(--transition), transform var(--transition);
}

.community-floating-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.comm-float-icon {
    width: 28px;
    height: 28px;
    background: #5865F2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

.comm-float-text {
    display: flex;
    flex-direction: column;
}

.comm-float-text strong {
    font-size: 0.8rem;
    color: var(--white);
    line-height: 1.2;
}

.comm-float-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.comm-float-online {
    margin-left: 4px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comm-float-online i {
    font-size: 0.4rem;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-inner {
    max-width: 1694px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 16px 0 24px;
}

.footer-logo {
    height: 42px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: var(--text-dim);
}

/* ═══════════════════════════════════════
   RESPONSIVE GLOBAL
═══════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .intro-container { padding: 0 24px; }
    .section { padding: 80px 0; }

    /* Grids */
    .features-grid  { grid-template-columns: repeat(2, 1fr); }
    .steps-grid     { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .gallery-item   { height: 230px; }
    .plans-grid     { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .news-grid      { grid-template-columns: repeat(2, 1fr); }
    .community-master-card { grid-template-columns: 1fr; }
    .community-visual { min-height: 280px; order: -1; }
    .community-content { padding: 36px 32px; }

    /* Stats */
    .stat-item { padding: 24px 14px; }
    .stat-val { font-size: 1.9rem; }

    /* Section titles */
    .section-title { font-size: 1.85rem; }
}

/* ── Mobile ── */
.intro-mobile-img {
    display: none !important;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .intro-container { padding: 0 16px; }
    .section   { padding: 60px 0; }

    /* Grids → 1 columna */
    .features-grid  { grid-template-columns: 1fr; }
    .steps-grid     { grid-template-columns: 1fr; }
    .news-grid      { grid-template-columns: 1fr; }

    /* Section titles */
    .section-title  { font-size: 1.5rem; letter-spacing: 0; }
    .section-desc   { font-size: 0.88rem; }
    .section-label  { font-size: 0.68rem; }

    /* Stats bar — Grid 2x2 */
    .stats-bar {
        padding: 0 12px !important;
        background: transparent !important;
        margin-top: 16px !important;
    }
    .stats-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1px !important;
        background: var(--border) !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }
    .stat-divider {
        display: none !important;
    }
    .stat-item {
        background: rgba(12, 10, 20, 0.95) !important;
        padding: 18px 12px !important;
        gap: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .stat-icon-wrap {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.05rem !important;
        border-radius: 9px !important;
    }
    .stat-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2px !important;
    }
    .stat-val {
        font-size: 1.6rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        line-height: 1.1 !important;
    }
    .stat-label {
        font-size: 0.68rem !important;
        text-align: center !important;
        color: #94a3b8 !important;
        letter-spacing: 0.8px !important;
        font-weight: 600 !important;
    }

    .vip-trust-banner {
        flex-direction: column !important;
        padding: 20px 16px !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }
    .vip-trust-divider {
        display: none !important;
    }

    /* Gallery */
    .gallery-filters { gap: 6px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .gallery-filter-btn { font-size: 0.75rem; padding: 6px 14px; white-space: nowrap; flex-shrink: 0; }
    .gallery-grid   { grid-template-columns: 1fr; gap: 12px; }
    .gallery-item   { height: 210px; border-radius: 12px; }
    .gallery-zoom-btn { opacity: 1; transform: scale(1); }
    .gallery-modal-nav { display: none; }
    .gallery-modal-close { top: -40px; right: 4px; }
    .gallery-modal-media { max-height: 60vh; }
    .gallery-modal-media img { max-height: 60vh; }

    /* Plans */
    .plans-grid    { grid-template-columns: 1fr; max-width: 100%; gap: 16px; }
    .plan-card     { padding: 26px 20px; border-radius: 14px; }
    .plan-card.plan-featured { transform: none !important; }
    .price-amount  { font-size: 2.8rem; }

    /* News */
    .news-grid     { grid-template-columns: 1fr; gap: 14px; }
    .news-card     { border-radius: 14px; }
    .news-img      { height: 160px; }
    .news-body     { padding: 20px 18px; }

    /* Community Master */
    .section-community { padding: 56px 0; }
    .community-master-card { grid-template-columns: 1fr; border-radius: 16px; }
    .community-visual { min-height: 220px; height: 220px; order: -1; }
    .community-content { padding: 24px 18px; gap: 14px; }
    .community-title { font-size: 1.4rem; }
    .community-desc { font-size: 0.85rem; }
    .community-stats-grid { grid-template-columns: 1fr; gap: 8px; }
    .comm-stat-card { padding: 8px 12px; }
    .community-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .comm-btn { justify-content: center; width: 100%; padding: 11px 16px; font-size: 0.85rem; }
    .community-floating-card { bottom: 12px; right: 12px; padding: 8px 12px; }
    .community-floating-badge { top: 12px; right: 12px; padding: 4px 10px; font-size: 0.72rem; }

    /* Footer */
    .footer          { padding: 44px 0 24px; }
    .footer-inner    { padding: 0 16px; }
    .footer-top      { display: flex; flex-direction: column; gap: 28px; }
    .footer-brand    { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .footer-socials  { justify-content: center; }
    .footer-links    { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-bottom   { flex-direction: column; text-align: center; gap: 8px; padding: 20px 0 0; }
    .footer-logo     { height: 44px; }
    .footer-brand p  { font-size: 0.82rem; }

    /* Balas — ocultar en móvil */
    .bullet          { display: none; }

    /* Back to top */
    .back-to-top     { bottom: 20px; right: 16px; width: 42px; height: 42px; font-size: 0.85rem; }
}

/* ── Mobile pequeño ── */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .section-title { font-size: 1.35rem; }

    /* Stats bar */
    .stat-item { padding: 16px 8px !important; gap: 2px !important; }
    .stat-val { font-size: 1.5rem !important; }
    .stat-label { font-size: 0.65rem !important; letter-spacing: 0.4px !important; }

    /* Steps grid */
    .steps-grid  { grid-template-columns: 1fr; }
    .step-card   { padding: 22px 18px; }
    .step-num    { font-size: 2.4rem; }

    /* Feature cards */
    .feature-card { padding: 18px 16px; }
    .feature-icon { width: 38px; height: 38px; font-size: 1.05rem; margin-bottom: 10px; }

    /* Plans */
    .plan-card   { padding: 24px 16px; }

    /* Footer links — 1 columna */
    .footer-links { grid-template-columns: 1fr; text-align: center; gap: 16px; }

    /* Page hero */
    .page-hero       { padding: 100px 16px 48px; min-height: auto; }
    .page-hero-title { font-size: 1.6rem; }
    .page-hero-desc  { font-size: 0.875rem; }

    /* Normativas */
    .rules-grid  { grid-template-columns: 1fr; gap: 16px; }

    /* Facciones */
    .factions-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .faction-card  { padding: 20px 12px; }

    /* Gen stats */
    .gen-stats     { grid-template-columns: 1fr 1fr; }
    .gen-stat      { padding: 24px 12px; }
    .gen-stat-val  { font-size: 1.8rem; }

    /* Contacto */
    .support-cards  { grid-template-columns: 1fr; }
    .contact-form   { padding: 24px 16px; }
    .form-row       { grid-template-columns: 1fr; }

    /* Streamers */
    .streamers-grid { grid-template-columns: 1fr; }
}
/* ─── INTRO / HERO SECTION ─── */
.intro {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;  /* compensa la navbar */
    padding-bottom: 40px;
    background: #0e0e0e;
    overflow: hidden;
    gap: 24px;
    box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.75);
}

/* Video de fondo animado */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.38;
    filter: grayscale(100%) brightness(0.35) contrast(1.2);
    mask-image: linear-gradient(to bottom, black 50%, rgba(0, 0, 0, 0.7) 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, rgba(0, 0, 0, 0.7) 75%, transparent 100%);
    transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Capa de contraste, viñeta y degradado hacia negro total en la parte inferior */
.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.6) 70%, #000000 100%),
        radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.92) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Cuadrícula decorativa con sutil deriva */
.intro::after {
    content: "";
    position: absolute;
    inset: -40px;
    background-image: 
        linear-gradient(to right, rgba(63, 0, 149, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(63, 0, 149, 0.09) 1px, transparent 1px),
        linear-gradient(to right, rgba(63, 0, 149, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(63, 0, 149, 0.035) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px, 10px 10px, 10px 10px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 25%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at center, black 25%, transparent 95%);
    animation: heroGridDrift 45s linear infinite;
}

@keyframes heroGridDrift {
    0%   { transform: translate(0px, 0px); }
    50%  { transform: translate(15px, 15px); }
    100% { transform: translate(30px, 30px); }
}

.intro:has(.card.center:hover) .hero-bg-video {
    opacity: 0.72;
    filter: grayscale(0%) brightness(0.7) contrast(1.15);
}

/* ─── BALAS DECORATIVAS ─── */
.bullet {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0.22;
    filter: drop-shadow(0 0 10px rgba(63, 0, 149, 0.55));
}

.bullet-1 {
    width: 108px;
    top: 18%;
    left: 6%;
    animation: bulletFloat1 18s ease-in-out infinite;
}

.bullet-2 {
    width: 82px;
    top: 35%;
    right: 7%;
    animation: bulletFloat2 22s ease-in-out infinite;
}

.bullet-3 {
    width: 95px;
    bottom: 28%;
    left: 10%;
    animation: bulletFloat3 20s ease-in-out infinite;
}

.bullet-4 {
    width: 75px;
    bottom: 22%;
    right: 9%;
    animation: bulletFloat4 25s ease-in-out infinite;
}

@keyframes bulletFloat1 {
    0%   { transform: rotate(-30deg) translate(0px, 0px); }
    25%  { transform: rotate(-25deg) translate(10px, -14px); }
    50%  { transform: rotate(-32deg) translate(-8px, -20px); }
    75%  { transform: rotate(-28deg) translate(6px, -10px); }
    100% { transform: rotate(-30deg) translate(0px, 0px); }
}

@keyframes bulletFloat2 {
    0%   { transform: rotate(45deg) translate(0px, 0px); }
    25%  { transform: rotate(40deg) translate(-12px, 10px); }
    50%  { transform: rotate(48deg) translate(8px, 16px); }
    75%  { transform: rotate(43deg) translate(-6px, 8px); }
    100% { transform: rotate(45deg) translate(0px, 0px); }
}

@keyframes bulletFloat3 {
    0%   { transform: rotate(15deg) translate(0px, 0px); }
    33%  { transform: rotate(18deg) translate(14px, -8px); }
    66%  { transform: rotate(12deg) translate(-10px, 12px); }
    100% { transform: rotate(15deg) translate(0px, 0px); }
}

@keyframes bulletFloat4 {
    0%   { transform: rotate(-50deg) translate(0px, 0px); }
    30%  { transform: rotate(-45deg) translate(-10px, -12px); }
    60%  { transform: rotate(-54deg) translate(8px, 10px); }
    100% { transform: rotate(-50deg) translate(0px, 0px); }
}

/* Imagen decorativa lateral con respiración */
.intro-side-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
    opacity: 0.35;
    filter: grayscale(100%) brightness(0.35);
    pointer-events: none;
    animation: heroSideImgFloat 20s ease-in-out infinite alternate;
}

@keyframes heroSideImgFloat {
    0%   { transform: scale(1) translate(0px, 0px); }
    50%  { transform: scale(1.04) translate(-12px, 8px); }
    100% { transform: scale(1.02) translate(10px, -10px); }
}

/* Canvas partículas */
#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* ─── ANIMACIONES DE ENTRADA HERO ─── */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroBulletLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 0.22; transform: translateX(0); }
}

@keyframes heroBulletRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 0.22; transform: translateX(0); }
}

.intro-headline {
    animation: heroFadeDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.intro-container {
    animation: heroCardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
}

.intro-description {
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.6s;
}

.intro-actions {
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.8s;
}

.intro-play-container {
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.95s;
}

.bullet-1, .bullet-3 {
    animation-name: heroBulletLeft, bulletFloat1;
    animation-duration: 1s, 18s;
    animation-delay: 0.2s, 1.2s;
    animation-fill-mode: both, none;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-iteration-count: 1, infinite;
}

.bullet-2, .bullet-4 {
    animation-name: heroBulletRight, bulletFloat2;
    animation-duration: 1s, 22s;
    animation-delay: 0.2s, 1.2s;
    animation-fill-mode: both, none;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-iteration-count: 1, infinite;
}

.bullet-3 { animation-name: heroBulletLeft, bulletFloat3; animation-duration: 1s, 20s; }
.bullet-4 { animation-name: heroBulletRight, bulletFloat4; animation-duration: 1s, 25s; }

/* ─── TITULAR HERO ('UNA NUEVA VIDA TE ESPERA') ─── */
.intro-headline {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1694px;
    padding: 0 32px;
    margin: 140px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.carousel-hint {
    display: none;
}

.live-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: livePulse 2s infinite;
    flex-shrink: 0;
}

.intro-headline h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    filter: none;
}

/* ─── CONTENEDOR DE CARTAS (HERO INTRO) ─── */
.intro-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1694px;
    padding: 0 32px;
    height: 490px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    perspective: 1200px;
}

/* Efecto focus en hover sólo cuando se pasa el cursor sobre una carta de rol */
.intro-container:has(.card:not(.center):hover) .card:not(:hover) {
    opacity: 0.7;
    filter: brightness(0.7) saturate(0.7);
    transform: scale(0.98);
}

/* Al pasar el cursor por la carta central (CONECTAR), ninguna carta se pone transparente */
.intro-container:has(.card.center:hover) .card:not(.center) {
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
}

/* Base de cada Carta */
.card {
    position: relative;
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    background: #08070d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: 
        flex 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        opacity 0.4s ease,
        filter 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    min-width: 0;
    transform-origin: center bottom;
}

/* Variables de tema por Rol */
.card--police {
    --role-accent: #38bdf8;
    --role-accent-rgb: 56, 189, 248;
    --role-glow: rgba(56, 189, 248, 0.45);
}
.card--worker {
    --role-accent: #fbbf24;
    --role-accent-rgb: 251, 191, 36;
    --role-glow: rgba(251, 191, 36, 0.45);
}
.card--criminal {
    --role-accent: #f43f5e;
    --role-accent-rgb: 244, 63, 94;
    --role-glow: rgba(244, 63, 94, 0.45);
}
.card--play {
    --role-accent: #a855f7;
    --role-accent-rgb: 168, 85, 247;
    --role-glow: rgba(168, 85, 247, 0.55);
}
.card--mafia {
    --role-accent: #10b981;
    --role-accent-rgb: 16, 185, 129;
    --role-glow: rgba(16, 185, 129, 0.45);
}
.card--doctor {
    --role-accent: #2dd4bf;
    --role-accent-rgb: 45, 212, 191;
    --role-glow: rgba(45, 212, 191, 0.45);
}
.card--streamer {
    --role-accent: #f472b6;
    --role-accent-rgb: 244, 114, 182;
    --role-glow: rgba(244, 114, 182, 0.45);
}

/* Glow superior/inferior de carta */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--role-accent-rgb, 122, 47, 214), 0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.card:hover .card-glow {
    opacity: 1;
}

/* Efecto hover global de carta */
.card:hover {
    flex: 1.22;
    z-index: 10;
    border-color: var(--role-accent, rgba(168, 85, 247, 0.7));
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.75),
        0 0 35px var(--role-glow, rgba(168, 85, 247, 0.35)),
        inset 0 0 24px rgba(var(--role-accent-rgb, 122, 47, 214), 0.12);
    transform: translateY(-6px);
}

/* Fondo de cada carta */
.card .back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(75%) brightness(0.65) contrast(1.05);
    transition: filter 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.card:hover .back {
    filter: grayscale(0%) brightness(0.88) contrast(1.05);
    transform: scale(1.02);
}

/* Personaje recortado de cada carta */
.card .human {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: auto;
    max-height: 90%;
    object-fit: contain;
    object-position: bottom center;
    filter: grayscale(60%) contrast(1.05) brightness(0.88);
    transform: translateX(-50%) scale(1);
    transition: 
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.card:hover .human {
    filter: grayscale(0%) contrast(1.05) brightness(1.03) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.85));
    transform: translateX(-50%) scale(1.03) translateY(-3px);
}

/* Degradado inferior para legibilidad perfecta */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 35%,
        rgba(3, 2, 7, 0.55) 60%,
        rgba(3, 2, 7, 0.9) 82%,
        rgba(2, 1, 5, 0.98) 100%
    );
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.card:hover .card-overlay {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(3, 2, 7, 0.45) 55%,
        rgba(3, 2, 7, 0.85) 80%,
        rgba(2, 1, 5, 0.98) 100%
    );
}

/* ─── INFO Y TEXTOS 'CONVIÉRTETE EN' ─── */
.info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    padding: 55px 10px 22px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    text-align: center;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(2, 1, 6, 0.98) 0%,
        rgba(2, 1, 6, 0.92) 42%,
        rgba(2, 1, 6, 0.72) 68%,
        rgba(2, 1, 6, 0.3) 88%,
        transparent 100%
    );
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s ease;
}

.card:hover .info {
    transform: translateY(-4px);
    background: linear-gradient(
        to top,
        rgba(2, 1, 6, 0.98) 0%,
        rgba(var(--role-accent-rgb, 122, 47, 214), 0.28) 38%,
        rgba(2, 1, 6, 0.8) 68%,
        rgba(2, 1, 6, 0.35) 88%,
        transparent 100%
    );
}

/* Badge 'Conviértete en' */
.info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(8, 6, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    max-width: 94%;
}

.info-badge i {
    font-size: 10px;
    color: var(--role-accent, var(--accent-light));
    transition: transform 0.3s ease, color 0.3s ease;
}

.info-badge .badge-text {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.card:hover .info-badge {
    background: rgba(14, 10, 24, 0.95);
    border-color: var(--role-accent, rgba(168, 85, 247, 0.6));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
}

.card:hover .info-badge i {
    transform: scale(1.15);
    color: #ffffff;
}

.card:hover .info-badge .badge-text {
    color: #ffffff;
}

/* Nombre del Rol */
.info-value {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.15rem, 1.4vw, 1.35rem);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card:hover .info-value {
    transform: scale(1.05);
    letter-spacing: 1.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

/* ─── CARTA CENTRAL (CONECTAR FIVEM) ─── */
.card.center {
    flex: 1.45;
    border-color: rgba(168, 85, 247, 0.45);
    background: #0d061c;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(63, 0, 149, 0.35),
        inset 0 0 20px rgba(122, 47, 214, 0.15);
}

.card.center::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(122, 47, 214, 0.3) 0%, rgba(15, 6, 30, 0.9) 100%);
    opacity: 0.9;
    z-index: 2;
    transition: opacity 0.35s ease;
}

.card.center .back {
    filter: saturate(1) brightness(0.65);
}

.card.center:hover {
    flex: 1.7;
    border-color: rgba(168, 85, 247, 0.95);
    box-shadow: 
        0 24px 60px rgba(63, 0, 149, 0.6),
        0 0 55px rgba(168, 85, 247, 0.55),
        inset 0 0 30px rgba(168, 85, 247, 0.25);
    transform: translateY(-10px);
}

.card.center:hover::before {
    opacity: 0.75;
}

.card.center .info {
    display: none;
}

/* Botón de Play Central */
.play {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 20px 10px;
    pointer-events: none;
}

/* Anillos de pulsación */
.play-pulse-ring,
.play-pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -64%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.6);
    pointer-events: none;
    animation: playPulseRing 2.6s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

.play-pulse-ring-2 {
    animation-delay: 1.3s;
}

@keyframes playPulseRing {
    0% {
        transform: translate(-50%, -64%) scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -64%) scale(1.9);
        opacity: 0;
    }
}

.play-icon-wrap {
    position: relative;
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 60%, #a855f7 100%);
    box-shadow: 
        0 0 28px rgba(168, 85, 247, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.card.center:hover .play-icon-wrap {
    transform: scale(1.14);
    box-shadow: 
        0 0 50px rgba(168, 85, 247, 0.95),
        0 0 80px rgba(255, 255, 255, 0.6);
}

.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b0068;
    font-size: 22px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.card.center:hover .play-icon {
    transform: scale(1.1);
}

.play-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.play-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #4ade80;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: liveDotBlink 1.4s infinite alternate;
}

@keyframes liveDotBlink {
    0%   { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.play-text {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    transition: letter-spacing 0.3s ease;
}

.card.center:hover .play-text {
    letter-spacing: 2.8px;
}

.play-subtext {
    font-family: 'TikTok Sans', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Botones de acción Discord / VIP */
.intro-actions {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.5);
    color: #fff;
}

.btn-hero:active {
    transform: translateY(-1px) scale(0.97);
}

.btn-vip {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-vip:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--accent-glow);
    color: #fff;
}

/* ─── DESCRIPCIÓN DEL SERVIDOR (HERO) ─── */
.intro-description {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 780px;
    margin: 32px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.intro-lead {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    color: #cbd5e1;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.2px;
}

.text-highlight {
    color: #ffffff;
    font-weight: 600;
    text-shadow: none;
}

.intro-question {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    filter: none;
    position: relative;
    padding-top: 4px;
}

/* Contador de jugadores inferior */
.intro-play-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-play-container__players {
    background: rgba(14, 14, 14, 0.85);
    border: 1px solid rgba(63, 0, 149, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.players__title { text-transform: uppercase; letter-spacing: 1px; }
.players__value { color: #fff; font-weight: 700; }

/* ─── RESPONSIVE HERO ─── */
@media (max-width: 1400px) {
    .intro-container {
        height: 460px;
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .intro-container {
        height: 430px;
        gap: 8px;
    }
    .info-badge {
        padding: 3px 8px;
    }
    .info-badge .badge-text {
        font-size: 8.5px;
        letter-spacing: 1px;
    }
    .info-value {
        font-size: 1.05rem;
    }
}

@media (max-width: 1024px) {
    .intro {
        padding-top: 86px;
        padding-bottom: 36px;
        min-height: auto;
        gap: 18px;
    }
    .intro-headline {
        margin: 0 auto;
        padding: 0 20px;
    }
    .intro-headline h1 {
        font-size: 1.9rem;
    }
    .intro-container {
        height: 400px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 20px 18px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .intro-container::-webkit-scrollbar {
        display: none;
    }
    .card {
        flex: 0 0 175px;
        scroll-snap-align: center;
        border-radius: 18px;
    }
    .card:hover {
        flex: 0 0 175px;
    }
    .card.center {
        flex: 0 0 205px;
        scroll-snap-align: center;
        border-radius: 18px;
    }
    .card.center:hover {
        flex: 0 0 205px;
    }
}

@media (max-width: 768px) {
    .intro {
        padding-top: 100px;
        padding-bottom: 50px;
        gap: 22px;
        min-height: auto;
        overflow: hidden;
    }
    .intro-headline {
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .intro-headline h1 {
        font-size: clamp(1.65rem, 6.8vw, 2.3rem);
        letter-spacing: 1.2px;
        line-height: 1.2;
    }
    .intro-container {
        height: 420px;
        width: 100%;
        padding: 10px 20px 20px;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-padding: 20px;
    }
    .intro-container::-webkit-scrollbar {
        display: none;
    }
    .card {
        flex: 0 0 178px;
        height: 100%;
        border-radius: 18px;
        scroll-snap-align: center;
        background: #090810;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
    }
    .card:hover {
        flex: 0 0 178px;
    }
    .card .human {
        max-height: 89%;
        filter: grayscale(12%) contrast(1.06) brightness(1.02);
    }
    .card.center {
        flex: 0 0 215px;
        height: 100%;
        scroll-snap-align: center;
        border-radius: 18px;
        border-color: rgba(168, 85, 247, 0.75);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 28px rgba(63, 0, 149, 0.45);
    }
    .card.center:hover {
        flex: 0 0 215px;
    }
    .play {
        gap: 10px;
        padding: 18px 10px;
    }
    .play-icon-wrap {
        width: 68px;
        height: 68px;
        box-shadow: 0 0 24px rgba(122, 47, 214, 0.7);
    }
    .play-icon {
        font-size: 22px;
    }
    .play-text {
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 1.8px;
    }
    .play-live-badge {
        font-size: 9px;
        padding: 3px 10px;
    }
    .play-subtext {
        font-size: 10px;
    }
    .info {
        padding: 48px 10px 20px;
        gap: 5px;
    }
    .info-badge {
        padding: 4px 9px;
        gap: 5px;
        border-radius: 6px;
        background: rgba(12, 10, 20, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .info-badge i {
        font-size: 9.5px;
    }
    .info-badge .badge-text {
        font-size: 9px;
        letter-spacing: 0.9px;
    }
    .info-value {
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 1px;
    }
    .carousel-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 0.76rem;
        color: rgba(255, 255, 255, 0.55);
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-top: -8px;
    }
    .carousel-hint i {
        color: var(--accent-light);
        animation: hintNudge 1.8s infinite;
    }
    @keyframes hintNudge {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(3px); }
    }
    .intro-description {
        padding: 0 20px;
        max-width: 520px;
        margin: 6px auto 0;
        text-align: center;
        gap: 12px;
    }
    .intro-lead {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 2px;
        color: #cbd5e1;
    }
    .intro-question {
        font-size: 1.25rem;
        letter-spacing: 1.8px;
        font-weight: 700;
    }
    .intro-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 420px;
        margin: 6px auto 0;
        padding: 0 20px;
    }
    .btn-hero {
        flex: 1;
        padding: 14px 20px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 14px;
        justify-content: center;
        min-height: 52px;
    }
    .btn-discord {
        background: linear-gradient(135deg, #5865F2, #4752C4);
        box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    }
    .btn-vip {
        background: linear-gradient(135deg, #7a2fd6, #3f0095);
        box-shadow: 0 4px 20px rgba(63, 0, 149, 0.45);
    }
    .intro-play-container {
        margin-top: 8px;
    }
    .intro-play-container__players {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 22px;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 100px;
        background: rgba(14, 11, 24, 0.88);
        border: 1px solid rgba(122, 47, 214, 0.35);
        color: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 480px) {
    .intro {
        padding-top: 92px;
        padding-bottom: 40px;
        gap: 18px;
    }
    .intro-headline h1 {
        font-size: 1.55rem;
        letter-spacing: 0.8px;
    }
    .intro-container {
        height: 385px;
        padding: 8px 14px 16px;
        gap: 12px;
        scroll-padding: 14px;
    }
    .card {
        flex: 0 0 162px;
        border-radius: 16px;
    }
    .card:hover {
        flex: 0 0 162px;
    }
    .card.center {
        flex: 0 0 195px;
        border-radius: 16px;
    }
    .card.center:hover {
        flex: 0 0 195px;
    }
    .play-icon-wrap {
        width: 60px;
        height: 60px;
    }
    .play-icon {
        font-size: 19px;
    }
    .play-text {
        font-size: 1.25rem;
        letter-spacing: 1.6px;
    }
    .info-value {
        font-size: 1.08rem;
    }
    .intro-lead {
        font-size: 0.88rem;
    }
    .intro-question {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
    .intro-actions {
        flex-direction: row;
        width: 100%;
        padding: 0 14px;
        gap: 10px;
    }
    .btn-hero {
        padding: 13px 14px;
        font-size: 13px;
        gap: 8px;
        min-height: 48px;
        border-radius: 12px;
    }
}




/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--accent-light);
    box-shadow: 0 0 32px var(--accent-glow);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════
   PÁGINAS INTERNAS
═══════════════════════════════════════ */

/* ─── PAGE HERO (cabecera de página) ─── */
.page-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
    background: linear-gradient(180deg, rgba(63,0,149,0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(63,0,149,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 16px;
}

.page-hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── PAGE MAIN ─── */
.page-main {
    padding: 80px 0 100px;
    background: var(--bg);
}

/* ─── PAGE CTA ─── */
.page-cta {
    margin-top: 72px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-cta p {
    color: var(--text-muted);
    font-size: 1rem;
}

.page-cta > div,
.page-cta a { flex-shrink: 0; }

.page-cta .btn-primary,
.page-cta .btn-ghost {
    display: inline-flex;
}

/* ─── NORMATIVAS HERO & META ─── */
.normativa-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.normativa-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(63, 0, 149, 0.15);
    border: 1px solid rgba(122, 47, 214, 0.3);
    color: #d8b4fe;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.normativa-meta span i {
    color: var(--accent-light);
}

/* ─── CONTROLES & BUSCADOR ─── */
.normativas-controls {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.normativas-search-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.normativas-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color var(--transition);
}

.normativas-search-box input {
    width: 100%;
    background: rgba(12, 12, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 50px 16px 52px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.normativas-search-box input:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 24px rgba(122, 47, 214, 0.35);
    background: rgba(16, 14, 26, 0.95);
}

.normativas-search-box input:focus ~ .search-icon {
    color: var(--accent-light);
}

.search-clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.search-clear-btn:hover {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

/* ─── TABS DE CATEGORÍA ─── */
.normativas-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.norm-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.norm-tab:hover {
    color: #fff;
    background: rgba(63, 0, 149, 0.15);
    border-color: rgba(122, 47, 214, 0.4);
    transform: translateY(-1px);
}

.norm-tab.active {
    background: var(--accent);
    border-color: var(--accent-light);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.norm-tab i {
    font-size: 0.85rem;
}

/* ─── CONTENEDOR & SECCIONES ─── */
.normativas-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.norm-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    scroll-margin-top: 100px;
    transition: opacity 0.3s ease;
}

.norm-section.is-hidden {
    display: none !important;
}

.norm-section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 20px;
    margin-bottom: 8px;
}

.norm-section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.norm-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.norm-section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.norm-subsection-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.norm-subsection-title i {
    color: var(--accent-light);
}

/* ─── GRID DE REGLAS ─── */
.rules-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-card-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.rule-card-item:hover {
    border-color: rgba(122, 47, 214, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(63, 0, 149, 0.15);
}

.rule-card-item.is-hidden {
    display: none !important;
}

.rule-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rule-badge-num {
    background: rgba(63, 0, 149, 0.35);
    border: 1px solid rgba(122, 47, 214, 0.5);
    color: #e9d5ff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.rule-head h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
    min-width: 160px;
}

.rule-pill {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.pill-basic     { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.pill-warn      { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.pill-danger    { background: rgba(239, 68, 68, 0.12);  color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }
.pill-essential { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

.rule-body {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.65;
}

.rule-body code {
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Consolas', 'Courier New', monospace;
}

.rule-body strong {
    color: #fff;
    font-weight: 600;
}

/* ─── LISTAS ESTILIZADAS & BLOQUES ─── */
.norm-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.norm-list li {
    position: relative;
    padding-left: 18px;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.norm-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 1.2rem;
    line-height: 1.4;
}

.norm-list li strong {
    color: #fff;
}

.norm-list li ul {
    list-style: none;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 14px;
}

.norm-list li ul li::before {
    content: '—';
    font-size: 0.85rem;
    color: var(--text-dim);
}

.norm-list-dense {
    gap: 14px;
}

.rule-box-full {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
}

.rules-category-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.norm-subblock {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.norm-subblock h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.norm-subblock h3 i {
    color: var(--accent-light);
}

/* ─── TABLAS DE DATOS (ROBOS & EMS) ─── */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.norm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.norm-table th {
    background: rgba(20, 15, 35, 0.9);
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.norm-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    vertical-align: middle;
}

.norm-table tr:last-child td {
    border-bottom: none;
}

.norm-table tbody tr:hover {
    background: rgba(63, 0, 149, 0.08);
}

.table-lead {
    font-weight: 600;
    color: #fff !important;
}

.table-lead i {
    color: var(--accent-light);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.tbl-sub {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-dim);
    display: inline-block;
    margin-left: 4px;
}

.tbl-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.badge-crim { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-cop  { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-reh  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-none { background: rgba(255, 255, 255, 0.05); color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; }

.table-highlight {
    background: rgba(63, 0, 149, 0.12);
}

.price-tag {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
}

/* ─── EMS ESCALA & CÓDIGOS ─── */
.ems-ranks-ladder {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-item {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.rank-high { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.rank-mid  { background: rgba(59, 130, 246, 0.12); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.25); }
.rank-base { background: rgba(255, 255, 255, 0.04); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.07); }

.codes-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.codes-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.codes-panel h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.codes-panel h4 i {
    color: var(--accent-light);
}

.code-badge-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.code-row:last-child {
    border-bottom: none;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.code-red .code-dot       { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.code-yellow .code-dot    { background: #eab308; box-shadow: 0 0 8px #eab308; }
.code-green .code-dot     { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.code-blue .code-dot      { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.code-purple .code-dot    { background: #a855f7; box-shadow: 0 0 8px #a855f7; }
.code-black .code-dot     { background: #64748b; box-shadow: 0 0 8px #64748b; }
.code-alert-red .code-dot { background: #dc2626; box-shadow: 0 0 12px #dc2626; animation: pulse 1.2s infinite; }

.code-name {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.code-desc {
    color: #94a3b8;
    font-size: 0.85rem;
}

.pill-radio {
    background: rgba(63, 0, 149, 0.35);
    border: 1px solid rgba(122, 47, 214, 0.5);
    color: #e9d5ff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* ─── CLÁUSULA LEGAL & FUENTE ─── */
.rule-notice-card {
    background: linear-gradient(135deg, rgba(20, 12, 35, 0.9), rgba(10, 8, 18, 0.95));
    border: 1px solid rgba(122, 47, 214, 0.35);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(122, 47, 214, 0.2);
    border: 1px solid rgba(122, 47, 214, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.notice-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.notice-text p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.notice-foot {
    color: var(--text-dim);
    font-size: 0.8rem;
    display: block;
}

.notice-foot a {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ─── NO RESULTS MESSAGE ─── */
.no-rules-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.no-rules-message i {
    font-size: 3rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.no-rules-message h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
}

.no-rules-message p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ─── STREAMERS ─── */
.streamers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.streamer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.streamer-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.streamer-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.streamer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.streamer-card:hover .streamer-img img { transform: scale(1.06); }

.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.live-badge i { font-size: 0.45rem; animation: pulse 1.5s infinite; }

.streamer-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.streamer-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.streamer-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── GENERALES ─── */
.gen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.gen-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: border-color var(--transition);
}

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

.gen-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-subtle);
    border: 1px solid rgba(63,0,149,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.gen-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.gen-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.staff-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staff-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.staff-role {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.staff-role.founder { background: rgba(250,204,21,0.15); color: #facc15; border: 1px solid rgba(250,204,21,0.3); }
.staff-role.admin   { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.staff-role.mod     { background: rgba(74,222,128,0.12);  color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.staff-role.dev     { background: rgba(96,165,250,0.12);  color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.staff-role.support { background: rgba(63,0,149,0.12);   color: var(--accent-light); border: 1px solid rgba(63,0,149,0.3); }

.factions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.faction-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.faction-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.faction-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.faction-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.faction-card p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.gen-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gen-stat {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}

.gen-stat:last-child { border-right: none; }
.gen-stat:hover { background: var(--accent-subtle); }

.gen-stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}

.gen-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ─── GENERALES COMMUNITY SPOTLIGHT ─── */
.gen-community-card {
    background: var(--bg-card);
    border: 1px solid rgba(122, 47, 214, 0.35);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 380px 1fr;
    overflow: hidden;
    gap: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(63, 0, 149, 0.15);
    transition: transform var(--transition), border-color var(--transition);
}

.gen-community-card:hover {
    border-color: rgba(122, 47, 214, 0.6);
    transform: translateY(-4px);
}

.gen-community-img {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.gen-community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gen-community-card:hover .gen-community-img img {
    transform: scale(1.05);
}

.gen-community-text {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.gen-community-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 4px 0;
}

.gen-community-text p {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.65;
}

/* ─── CONTACTO ─── */
.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color var(--transition), transform var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.support-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.support-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.support-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.support-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.support-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-details li i {
    width: 20px;
    color: var(--accent-light);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: rgba(63,0,149,0.05);
}

.form-group select option { background: #111; color: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
    border-color: #f87171;
}

/* ─── RESPONSIVE PÁGINAS INTERNAS ─── */
@media (max-width: 1024px) {
    .rules-grid              { grid-template-columns: repeat(2, 1fr); }
    .rules-detailed-grid     { grid-template-columns: 1fr; }
    .rules-category-blocks   { grid-template-columns: 1fr; }
    .codes-dual-grid         { grid-template-columns: 1fr; }
    .factions-grid           { grid-template-columns: repeat(3, 1fr); }
    .contact-wrap            { grid-template-columns: 1fr; }
    .gen-stats               { grid-template-columns: repeat(2, 1fr); }
    .gen-stat:nth-child(2)   { border-right: none; }
    .gen-grid                { grid-template-columns: 1fr; }
    .streamers-grid          { grid-template-columns: repeat(2, 1fr); }
    .support-cards           { grid-template-columns: repeat(2, 1fr); }
    .page-hero               { padding: 120px 24px 60px; }
}

@media (max-width: 768px) {
    .rules-grid              { grid-template-columns: 1fr; }
    .rules-detailed-grid     { grid-template-columns: 1fr; }
    .rules-category-blocks   { grid-template-columns: 1fr; }
    .codes-dual-grid         { grid-template-columns: 1fr; }
    .rule-notice-card        { flex-direction: column; gap: 16px; padding: 24px 20px; }
    .rule-card-item          { padding: 20px 18px; }
    .rule-box-full           { padding: 24px 20px; }
    .norm-subblock           { padding: 22px 18px; }
    .norm-table th, 
    .norm-table td           { padding: 12px 14px; font-size: 0.82rem; }
    .normativas-tabs         { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .gen-grid                { grid-template-columns: 1fr; }
    .streamers-grid          { grid-template-columns: 1fr; }
    .support-cards           { grid-template-columns: 1fr; }
    .factions-grid           { grid-template-columns: repeat(2, 1fr); }
    .gen-stats               { grid-template-columns: 1fr 1fr; }
    .form-row                { grid-template-columns: 1fr; }
    .page-cta                { flex-wrap: wrap; justify-content: center; }
    .page-main               { padding: 48px 0 64px; }
    .gen-card                { padding: 28px 20px; }
    .gen-community-card      { grid-template-columns: 1fr; }
    .gen-community-img       { height: 220px; }
    .gen-community-text      { padding: 24px 20px; }
    .contact-info h2         { font-size: 1.3rem; }
}
