

:root {
    --bg-base: #000000;
    --surface: #0a1628;
    --surface-2: #0f1d35;
    --accent: #29b6f6;
    --accent-glow: rgba(41, 182, 246, 0.3);
    --text-main: #ffffff;
    --text-muted: #8a9bb5;
    --text-dim: #3a4a5a;
    --text-primary: #e8ecf1;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: #1a2a40;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 24px var(--accent-glow);
    --nav-height: 64px;
    --bottom-nav-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-attachment: fixed;
}

body.launcher::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

body.launcher main {
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-bottom: calc(var(--bottom-nav-height) + 24px);
}

body.launcher h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* ===========================
   HEADER — LAUNCHER STYLE
   =========================== */
body.launcher header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 16px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.launcher header .logo {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

body.launcher header .logo a {
    text-decoration: none;
    color: inherit;
}

/* --- HAMBURGER MENU (MÓVIL) --- */
body.launcher .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 250;
    position: relative;
    padding: 0;
}
body.launcher .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
body.launcher .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.launcher .hamburger.active span:nth-child(2) {
    opacity: 0;
}
body.launcher .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
body.launcher .menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 205;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
body.launcher .menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile slide-out menu */
body.launcher .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100%;
    background: var(--surface);
    border-left: 1px solid var(--glass-border);
    z-index: 210;
    padding: 80px 24px 32px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
body.launcher .mobile-menu.active {
    right: 0;
}
body.launcher .mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}
body.launcher .mobile-menu a:hover,
body.launcher .mobile-menu a.active {
    background: rgba(41, 182, 246, 0.1);
    color: var(--accent);
}
body.launcher .mobile-menu a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
body.launcher .mobile-menu .menu-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 12px 16px;
}
body.launcher .mobile-menu .menu-login {
    margin-top: 8px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    justify-content: center;
}
body.launcher .mobile-menu .menu-login:hover {
    background: #4fc3f7;
    color: #000;
}

/* Show hamburger on mobile */
@media (max-width: 767px) {
    body.launcher .hamburger {
        display: flex;
    }

    body.launcher main {
        padding: 12px 12px 80px;
    }

    body.launcher .games-grid {
        gap: 12px;
    }

    body.launcher .card {
        border-radius: 6px;
    }

    body.launcher .card-img-wrapper {
        aspect-ratio: 3 / 2;
    }

    body.launcher .card-info {
        padding: 10px 12px 12px;
    }

    body.launcher .card-info h3 {
        font-size: 0.85rem;
    }

    body.launcher .card-info p {
        font-size: 0.7rem;
    }

    body.launcher .hot-badge {
        top: 6px;
        left: 6px;
        padding: 2px 8px;
        font-size: 0.6rem;
    }

    body.launcher #titulo-seccion {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    body.launcher .section-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    body.launcher .filter-group {
        gap: 6px;
        flex-wrap: wrap;
    }

    body.launcher .genre-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    body.launcher .custom-slider-container {
        height: 200px;
        border-radius: 8px;
    }

    body.launcher .slide-info {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    body.launcher .slide-info h2 {
        font-size: 1rem;
    }

    body.launcher .slide-info p {
        font-size: 0.75rem;
    }

    /* Prevent shimmer on mobile (performance) */
    body.launcher .card:hover {
        animation: none !important;
    }
}

body.launcher header nav {
    display: none;
    gap: 4px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

body.launcher .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    white-space: nowrap;
}

body.launcher .nav-link:hover {
    color: var(--text-main);
    background: var(--glass);
}

body.launcher .header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

body.launcher .auth-buttons .login-btn {
    background: var(--accent);
    color: #fff;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.25s;
}

body.launcher .auth-buttons .login-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

body.launcher header .social-links {
    display: none;
    gap: 8px;
}

body.launcher .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--glass);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--glass-border);
}

body.launcher .social-btn:hover {
    color: var(--text-main);
    background: var(--surface-2);
    transform: translateY(-2px);
}

/* ===========================
   BOTTOM NAV — MÓVIL
   =========================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    transition: color 0.2s;
    min-width: 56px;
}

.bottom-nav a svg {
    width: 22px;
    height: 22px;
    transition: all 0.2s;
}

.bottom-nav a span {
    transition: color 0.2s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--accent);
}

.bottom-nav a.active svg {
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* ===========================
   HERO / FEATURED GAMES
   =========================== */
.custom-slider-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    transform: translateZ(0);
    box-shadow: var(--shadow-card);
}

.slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    pointer-events: none;
}

.slide-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
}

.slide-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.slide-info p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.slide-info .slide-badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-arrow {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 18px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ===========================
   FILTROS — LAUNCHER STYLE
   =========================== */
.filters-container {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-switch {
    background: var(--surface);
    padding: 4px;
    border-radius: var(--radius-full);
    display: flex;
    gap: 4px;
    border: 1px solid var(--glass-border);
    width: fit-content;
    margin: 0 auto;
}

.plat-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 8px 18px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.25s;
    white-space: nowrap;
}

.plat-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(41, 182, 246, 0.3);
}

.plat-btn:hover:not(.active) {
    color: var(--text-main);
    background: var(--surface-2);
}

/* BETA badge on Consolas button */
.beta-badge {
    color: var(--accent);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 2px;
    vertical-align: super;
    line-height: 1;
}
.plat-btn.active .beta-badge {
    color: #fff;
}

.dropdown-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.server-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.25s;
    position: relative;
}

.server-filter:hover {
    border-color: rgba(41, 182, 246, 0.4);
}

.server-filter:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(41, 182, 246, 0.12);
}

.server-filter select {
    background: transparent;
    color: var(--text-main);
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 18px;
    min-width: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238a9bb5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

.server-filter select:hover {
    color: #fff;
}

.server-filter select option {
    background: var(--surface);
    color: var(--text-main);
}

.search-bar {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: var(--surface);
    color: var(--text-main);
    font-size: 0.85rem;
    transition: all 0.25s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    background: var(--surface-2);
}

.genre-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}

.genre-list::-webkit-scrollbar {
    display: none;
}

.genre-btn {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.genre-btn:hover {
    border-color: var(--accent);
    color: var(--text-main);
}

.genre-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}

#titulo-seccion {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

/* ===========================
   GAME CARDS — PREMIUM
   =========================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@keyframes card-shimmer {
    0%, 100% { box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 20px rgba(41, 182, 246, 0.15), 0 0 0 1px rgba(41, 182, 246, 0.08); }
    50% { box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(41, 182, 246, 0.35), 0 0 0 1px rgba(41, 182, 246, 0.25); }
}
@media (prefers-reduced-motion: reduce) {
    body.launcher .card:hover { animation: none !important; }
}

.card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(41, 182, 246, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    will-change: transform;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--surface-2);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-banner { display: none; }
.card-cover { display: block; }

.hot-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent);
    color: #000;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(41, 182, 246, 0.4);
    animation: pulse-hot 2s infinite;
}

@keyframes pulse-hot {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 2px 15px rgba(41, 182, 246, 0.5); }
    100% { transform: scale(1); }
}

.card-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.card-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-info p {
    color: var(--text-dim);
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================
   GAME DETAIL — STEAM/EPIC STYLE
   =========================== */

/* Hero banner (full width, outside main) */
body.launcher .game-hero {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--surface);
    z-index: 1;
}

body.launcher .game-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.launcher .game-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-base) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.1) 65%, transparent 100%);
    pointer-events: none;
}

body.launcher .game-hero .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

body.launcher .game-hero .hero-content h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 6px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
    color: #fff;
}

body.launcher .hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.launcher .hero-meta .tag {
    display: inline-block;
    background: rgba(41, 182, 246, 0.15);
    border: 1px solid rgba(41, 182, 246, 0.3);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    backdrop-filter: blur(4px);
}

/* Detail page content area */
body.launcher .detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 80px;
    position: relative;
    z-index: 2;
}

body.launcher .detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ===========================
   DETAIL SECTIONS (LEFT COLUMN)
   =========================== */
body.launcher .detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.launcher .detail-section {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
}

body.launcher .detail-section h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.launcher .detail-section h2 svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

body.launcher .detail-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Video */
body.launcher .detail-section .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}

body.launcher .detail-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery */
body.launcher .detail-section .gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

body.launcher .detail-section .gallery::-webkit-scrollbar {
    height: 4px;
}

body.launcher .detail-section .gallery::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

body.launcher .detail-section .gallery img {
    height: 90px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s;
    scroll-snap-align: start;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.launcher .detail-section .gallery img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* ===========================
   SIDEBAR CARDS (RIGHT COLUMN)
   =========================== */
body.launcher .detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.launcher .sidebar-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
}

body.launcher .sidebar-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.launcher .sidebar-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Download card */
body.launcher .download-card .password-note {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

body.launcher .download-card .password-note strong {
    color: var(--accent);
    font-weight: 600;
}

/* Download button (single link, used by JS) */
body.launcher .download-btn-mega {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(41, 182, 246, 0.25);
    position: relative;
    overflow: hidden;
}

body.launcher .download-btn-mega small {
    display: block;
    font-weight: 400;
    font-size: 0.65rem;
    opacity: 0.85;
    margin-top: 2px;
    letter-spacing: 0;
}

body.launcher .download-btn-mega:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(41, 182, 246, 0.35);
}

body.launcher .btn-mediafire { background: #1565C0; }
body.launcher .btn-terabox { background: #4527A0; }
body.launcher .btn-buzz { background: #00897B; color: #fff !important; }
body.launcher .btn-gofile { background: #0D47A1; }
body.launcher .btn-1fichier { background: #C62828; }
body.launcher .btn-directo { background: #E65100; }

/* Multi-download box (AAA games, created by JS) */
body.launcher .multi-download-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.launcher .multi-download-box .download-btn-mega {
    padding: 12px 16px;
    font-size: 0.82rem;
}

body.launcher .multi-download-box .download-btn-mega small {
    font-size: 0.6rem;
}

/* Colección container */
body.launcher .coleccion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.launcher .coleccion-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px;
    transition: border-color 0.2s;
}

body.launcher .coleccion-item:hover {
    border-color: rgba(255,255,255,0.12);
}

body.launcher .coleccion-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

body.launcher .coleccion-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

body.launcher .coleccion-item-header h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

body.launcher .coleccion-item-desc {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin: 4px 0 10px 38px;
    line-height: 1.4;
}

body.launcher .coleccion-item .download-btn-mega {
    margin-top: 6px;
    padding: 10px 16px;
    font-size: 0.78rem;
}

body.launcher .coleccion-item .download-btn-mega small {
    font-size: 0.55rem;
}

/* Requirements card */
body.launcher .req-card .req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

body.launcher .req-card .req-column h4 {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

body.launcher .req-card .req-column p {
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
}

body.launcher .req-card .req-column strong {
    color: var(--text-muted);
    font-weight: 600;
}

/* Owner note (inside main column) */
body.launcher .owner-note {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
}

body.launcher .owner-note h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

body.launcher .owner-note p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

body.launcher .owner-note p:last-child {
    margin-bottom: 0;
}

body.launcher .owner-note a {
    color: var(--accent);
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.lightbox-content {
    max-width: 92%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    transition: opacity 0.25s ease;
    display: block;
    animation: lb-zoom 0.28s ease;
}

@keyframes lb-zoom {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-counter {
    position: absolute;
    top: -36px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.close-lightbox {
    position: absolute;
    top: 16px;
    right: 20px;
    color: #fff;
    font-size: 34px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 10;
    opacity: 0.5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
}

.close-lightbox:hover { opacity: 1; background: var(--accent); color: #000; }

.prev-lightbox,
.next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px 18px;
    color: #fff;
    font-weight: 300;
    font-size: 26px;
    transition: all 0.25s;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    text-decoration: none;
    z-index: 10;
    opacity: 0.5;
    user-select: none;
    backdrop-filter: blur(4px);
    line-height: 1;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    opacity: 1;
    background: var(--accent);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.prev-lightbox { left: 12px; }
.next-lightbox { right: 12px; }

.lightbox-thumbs {
    position: absolute;
    bottom: 16px;
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px);
    overflow-x: auto;
    max-width: 90%;
}

.lightbox-thumbs::-webkit-scrollbar { height: 3px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }

.lb-thumb {
    height: 44px;
    width: 78px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.lb-thumb:hover { opacity: 0.8; }
.lb-thumb.active { opacity: 1; border-color: var(--accent); }

/* ===========================
   SURPRISE BUTTON
   =========================== */
.surprise-btn {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    right: 16px;
    z-index: 50;
    background: var(--surface);
    color: var(--accent);
    border: 1px solid var(--glass-border);
    padding: 12px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.surprise-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
}

.surprise-btn.loading {
    animation: pulse-surprise 0.6s infinite alternate;
    pointer-events: none;
    filter: brightness(0.8);
}

@keyframes pulse-surprise {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* ===========================
   SCROLL TOP BUTTON
   =========================== */
.scroll-top-btn {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    left: 16px;
    z-index: 50;
    background: var(--surface);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: var(--shadow-glow);
}

/* ===========================
   DOWNLOAD POPUP
   =========================== */
.download-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.download-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.download-popup {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 48px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.35s ease;
}

.download-overlay.active .download-popup {
    transform: scale(1);
}

.download-popup .popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    animation: popup-bounce 0.6s ease;
}

.download-popup .popup-icon svg {
    width: 28px;
    height: 28px;
}

@keyframes popup-bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.download-popup h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.download-popup p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.popup-loader {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.popup-loader span {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: popup-dot 1.2s ease-in-out infinite;
}

.popup-loader span:nth-child(2) { animation-delay: 0.2s; }
.popup-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes popup-dot {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
    padding: 32px 16px 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    color: var(--text-dim);
    font-size: 0.75rem;
}

/* ===========================
   PC — ESCRITORIO (≥768px)
   =========================== */
@media (min-width: 768px) {
    body.launcher main {
        padding: 32px 24px;
        padding-bottom: 32px;
    }

    body.launcher .bottom-nav {
        display: none;
    }

    body.launcher header {
        padding: 0 24px;
    }

    body.launcher header nav {
        display: flex;
    }

    body.launcher .header-actions {
        display: flex;
    }

    body.launcher header .social-links {
        display: flex;
    }

    body.launcher .custom-slider-container {
        height: 320px;
    }

    body.launcher .slide-info {
        bottom: 28px;
        left: 32px;
    }

    body.launcher .slide-info h2 {
        font-size: 1.8rem;
    }

    body.launcher .slide-info p {
        font-size: 0.95rem;
    }

    body.launcher .slider-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: #fff;
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        font-size: 1.1rem;
        cursor: pointer;
        z-index: 5;
        transition: all 0.25s;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(6px);
    }

    body.launcher .slider-arrow:hover {
        background: var(--accent);
        color: #000;
        transform: translateY(-50%) scale(1.1);
    }

    body.launcher .prev-arrow { left: 16px; }
    body.launcher .next-arrow { right: 16px; }

    body.launcher .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
        gap: 24px;
    }

    body.launcher .card {
        border-radius: var(--radius);
    }

    body.launcher .card:hover {
        transform: translateY(-8px);
        border-color: rgba(41, 182, 246, 0.5);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-glow);
        animation: card-shimmer 2.5s ease-in-out infinite;
        will-change: transform, box-shadow;
    }

    body.launcher .card-img-wrapper {
        aspect-ratio: 21 / 9;
    }

    body.launcher .card-info h3 {
        font-size: 1.05rem;
    }

    body.launcher .card-info p {
        font-size: 0.82rem;
    }

    .card-banner { display: block; }
    .card-cover { display: none; }

    /* Game detail desktop */
    body.launcher .game-hero {
        height: 420px;
    }

    body.launcher .game-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    body.launcher .game-hero .hero-content {
        padding: 64px 32px 28px;
    }

    body.launcher .detail-page {
        padding: 28px 24px 40px;
    }

    body.launcher .detail-grid {
        grid-template-columns: 1fr 320px;
        gap: 28px;
        align-items: start;
    }

    body.launcher .detail-sidebar {
        position: sticky;
        top: calc(var(--nav-height) + 16px);
    }

    body.launcher .detail-section {
        padding: 24px;
    }

    body.launcher .detail-section h2 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    body.launcher .detail-section p {
        font-size: 0.9rem;
    }

    body.launcher .detail-section .gallery img {
        height: 120px;
    }

    body.launcher .detail-sidebar {
        gap: 20px;
    }

    body.launcher .sidebar-card {
        padding: 24px;
    }

    body.launcher .download-btn-mega:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 36px rgba(41, 182, 246, 0.4);
    }

    body.launcher .req-card .req-grid {
        grid-template-columns: 1fr 1fr;
    }

    body.launcher .owner-note {
        padding: 20px 24px;
    }

    body.launcher .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    body.launcher .footer-logo {
        max-width: 350px;
    }

    body.launcher .surprise-btn {
        bottom: 30px;
        right: 30px;
    }

    body.launcher .scroll-top-btn {
        bottom: 30px;
        left: 30px;
    }

    body.launcher #titulo-seccion {
        font-size: 1.4rem;
    }

    body.launcher .filters-container {
        margin-bottom: 32px;
        gap: 16px;
    }

    body.launcher .plat-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    body.launcher .genre-btn {
        font-size: 0.82rem;
        padding: 7px 16px;
    }

    body.launcher .search-bar input {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    body.launcher h1 {
        font-size: 2rem;
    }
}

/* ===========================
   MÓVIL GRANDE / TABLET PEQUEÑA
   =========================== */
@media (min-width: 480px) and (max-width: 767px) {
    body.launcher .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ===========================
   TABLET (768-1024px)
   =========================== */
@media (min-width: 768px) and (max-width: 1024px) {
    body.launcher .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    body.launcher .card-img-wrapper {
        aspect-ratio: 4 / 3;
    }

    body.launcher .detail-grid {
        grid-template-columns: 1fr;
    }

    body.launcher .lightbox-content {
        max-height: 60vh;
    }
    body.launcher .lightbox-counter {
        top: -30px;
        font-size: 0.75rem;
        padding: 3px 12px;
    }
    body.launcher .lb-thumb {
        height: 36px;
        width: 64px;
    }
    body.launcher .lightbox-thumbs {
        gap: 6px;
        padding: 6px 10px;
        bottom: 10px;
    }
    body.launcher .prev-lightbox,
    body.launcher .next-lightbox {
        padding: 12px 14px;
        font-size: 20px;
    }
}

/* ===========================
   HEADER HIDE ON SCROLL
   =========================== */
body.launcher .header-hidden {
    transform: translateY(-100%);
}

/* ===========================
   HOVER DISABLE WHILE SCROLLING
   =========================== */
body.launcher.is-scrolling .card {
    pointer-events: none !important;
}

/* ===========================
   PAGE: AYUDA
   =========================== */
body.launcher .help-section {
    max-width: 780px;
    margin: 0 auto 32px;
}

body.launcher .help-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    padding: 0 16px;
}

body.launcher .help-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

body.launcher .help-hero p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

body.launcher .help-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

body.launcher .help-section-title svg {
    color: var(--accent);
    flex-shrink: 0;
}

body.launcher .help-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto 36px;
    padding: 0 16px;
}

body.launcher .help-index-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s;
}

body.launcher .help-index-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(41, 182, 246, 0.08);
}

body.launcher .help-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.25s;
}

body.launcher .help-card:hover {
    border-color: rgba(41, 182, 246, 0.3);
}

body.launcher .help-card .help-icon {
    font-size: 1.6rem;
}

body.launcher .help-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

body.launcher .help-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 4px;
}

body.launcher .help-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

body.launcher .help-card strong {
    color: var(--text-main);
}

body.launcher .help-card a {
    color: var(--accent);
    text-decoration: underline;
}

body.launcher .help-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s;
}

body.launcher .help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .help-card.highlight-card {
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
}

body.launcher .help-card.credits-card {
    border-left: 3px solid var(--accent);
}

body.launcher .help-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.launcher .help-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

body.launcher .help-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

body.launcher .help-step strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

body.launcher .help-step p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

body.launcher .help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.launcher .help-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

body.launcher .help-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

body.launcher .help-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(41, 182, 246, 0.08);
    border: 1px solid rgba(41, 182, 246, 0.15);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 16px;
}

body.launcher .help-tip svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

body.launcher .help-tip strong {
    color: var(--text-main);
}

body.launcher .faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--surface);
}

body.launcher .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    transition: background 0.2s;
    user-select: none;
}

body.launcher .faq-question:hover {
    background: rgba(41, 182, 246, 0.05);
}

body.launcher .faq-question svg {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--text-muted);
}

body.launcher .faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

body.launcher .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
}

body.launcher .faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 18px 16px;
}

body.launcher .faq-answer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

body.launcher .faq-answer a {
    color: var(--accent);
    text-decoration: underline;
}

body.launcher .credits-names {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

body.launcher .credits-names a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

body.launcher .credits-names a:hover {
    text-decoration: underline;
}

/* ===========================
   PAGE: CONTACTO
   =========================== */
body.launcher .contact-hero {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 28px;
    padding: 0 16px;
}

body.launcher .contact-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

body.launcher .contact-hero p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

body.launcher .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    body.launcher .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

body.launcher .contact-info {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    align-content: start;
    animation: fadeInUp 0.5s ease both;
}

body.launcher .contact-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

body.launcher .contact-info-header h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

body.launcher .contact-info ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.launcher .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    line-height: 1.5;
}

body.launcher .contact-info li:last-child {
    border-bottom: none;
}

body.launcher .contact-info li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

body.launcher .contact-info li strong {
    color: var(--text-main);
}

body.launcher .direct-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

body.launcher .direct-email svg {
    flex-shrink: 0;
    color: var(--accent);
}

body.launcher .direct-email strong {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
}

body.launcher .contact-form {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.5s ease 0.1s both;
}

body.launcher .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.launcher .form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

body.launcher .form-group label svg {
    flex-shrink: 0;
}

body.launcher .label-opt {
    font-weight: 400;
    color: var(--text-dim);
    font-size: 0.75rem;
}

body.launcher .form-group input,
body.launcher .form-group select,
body.launcher .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    background: var(--surface-2);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    transition: all 0.25s;
    outline: none;
}

body.launcher .form-group input:focus,
body.launcher .form-group select:focus,
body.launcher .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

body.launcher .form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%238a9bb5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
}

body.launcher .form-group select option {
    background: var(--surface);
    color: var(--text-main);
}

body.launcher .form-group-juego,
body.launcher .form-group-servidor {
    animation: fadeIn 0.3s ease both;
}

body.launcher .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

body.launcher .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .submit-btn:active {
    transform: scale(0.98);
}

body.launcher .submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

body.launcher .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.launcher .form-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease both;
}

body.launcher .form-popup-overlay.active {
    display: flex;
}

body.launcher .form-popup-box {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

body.launcher .popup-icon {
    margin-bottom: 12px;
}

body.launcher .form-popup-box h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

body.launcher .form-popup-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

body.launcher .form-popup-box .submit-btn {
    width: 100%;
    margin-top: 16px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* ===========================
   PAGE: LOGIN / AUTH
   =========================== */
body.launcher.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

body.launcher .auth-wrapper {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

body.launcher .auth-form-container {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

body.launcher .auth-form {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.launcher .auth-form:last-child {
    position: absolute;
    top: 32px;
    left: 28px;
    right: 28px;
    transform: translateX(120%);
    opacity: 0;
}

body.launcher .auth-form-container.slide-register .auth-form:first-child {
    transform: translateX(-120%);
    opacity: 0;
}

body.launcher .auth-form-container.slide-register .auth-form:last-child {
    transform: translateX(0);
    opacity: 1;
    position: static;
}

body.launcher .auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

body.launcher .auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

body.launcher .auth-input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

body.launcher .auth-input-group input {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    background: var(--surface-2);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s;
}

body.launcher .auth-input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

body.launcher .auth-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
}

body.launcher .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

body.launcher .auth-switch span {
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

body.launcher .auth-switch span:hover {
    text-decoration: underline;
}

body.launcher .auth-back {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

body.launcher .auth-back:hover {
    color: var(--accent);
}

/* ===========================
   PAGE: DASHBOARD
   =========================== */
body.launcher .dash-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

body.launcher .dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

body.launcher .dash-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

body.launcher .btn-logout {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

body.launcher .btn-logout:hover {
    background: #e74c3c;
    color: #fff;
}

body.launcher .form-section {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

body.launcher .form-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
}

body.launcher .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

body.launcher .form-grid .full-width {
    grid-column: 1 / -1;
}

body.launcher .action-bar {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

body.launcher .stats {
    font-size: 0.85rem;
    color: var(--text-muted);
}

body.launcher .stats span {
    color: var(--accent);
    font-weight: 700;
}

body.launcher .btn-add {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
}

body.launcher .btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .btn-save {
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    background: #2ecc71;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
}

body.launcher .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

body.launcher .hot-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(41, 182, 246, 0.3);
    border-radius: var(--radius);
    background: rgba(41, 182, 246, 0.05);
}

body.launcher .hot-switch-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

body.launcher .hot-switch-wrapper label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

@media (max-width: 768px) {
    body.launcher .form-grid {
        grid-template-columns: 1fr;
    }
    body.launcher .action-bar {
        flex-direction: column;
        text-align: center;
    }
    body.launcher .btn-save {
        width: 100%;
    }
}

/* ===========================
   PAGE: CHANGELOG
   =========================== */
body.launcher .changelog-container {
    max-width: 700px;
    margin: 0 auto;
}

body.launcher .cl-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 3px solid var(--accent);
    transition: border-color 0.25s;
}

body.launcher .cl-card:hover {
    border-color: rgba(41, 182, 246, 0.4);
}

body.launcher .cl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 6px;
}

body.launcher .cl-version {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

body.launcher .cl-date {
    color: var(--text-dim);
    font-size: 0.8rem;
}

body.launcher .cl-content {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    max-height: 100px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

body.launcher .cl-content.expanded {
    max-height: 2000px;
}

body.launcher .cl-content::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--surface));
    pointer-events: none;
    transition: opacity 0.3s;
}

body.launcher .cl-content.expanded::after {
    opacity: 0;
}

body.launcher .cl-content ul {
    padding-left: 20px;
    margin-top: 8px;
}

body.launcher .cl-content li {
    margin-bottom: 6px;
}

body.launcher .btn-read-more {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 12px;
    transition: all 0.25s;
    display: none;
}

body.launcher .btn-read-more:hover {
    background: var(--accent);
    color: #fff;
}

/* ===========================
   PAGE: COMPATIBILIDAD
   =========================== */
body.launcher .compat-hero {
    text-align: center;
    margin-bottom: 28px;
}

body.launcher .compat-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.launcher .compat-hero p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

body.launcher .specs-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

body.launcher .specs-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

body.launcher .specs-panel-header h2 {
    font-size: 1rem;
    font-weight: 700;
}

body.launcher .specs-panel-header h2 span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-dim);
    margin-top: 4px;
}

body.launcher .btn-detect {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.launcher .btn-detect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .btn-detect:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

body.launcher .picker-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

body.launcher .picker-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.launcher .picker-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

body.launcher .picker-select-wrap {
    display: flex;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 0 12px;
    transition: border-color 0.25s;
}

body.launcher .picker-select-wrap:focus-within {
    border-color: var(--accent);
}

body.launcher .picker-select-wrap select {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    padding: 12px 0;
    cursor: pointer;
    outline: none;
    appearance: none;
}

body.launcher .picker-select-wrap select option {
    background: var(--surface);
    color: var(--text-main);
}

body.launcher .specs-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

body.launcher .btn-analizar {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--accent);
    background: rgba(41, 182, 246, 0.05);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
}

body.launcher .btn-analizar:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

body.launcher .btn-analizar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

body.launcher .btn-analyze-text { display: inline; }

body.launcher .btn-analyze-loader {
    display: none;
    align-items: center;
    gap: 8px;
}

body.launcher .btn-analizar:disabled .btn-analyze-loader {
    display: inline-flex;
}

body.launcher .btn-analizar:disabled .btn-analyze-text {
    display: none;
}

body.launcher .compat-actions {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.launcher .status-wrap {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

body.launcher .detect-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: var(--surface);
}

body.launcher .btn-manual-toggle {
    padding: 14px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
}

body.launcher .btn-manual-toggle:hover,
body.launcher .btn-manual-toggle.active {
    border-color: var(--accent);
    color: var(--accent);
}

body.launcher .detect-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: 0.3s;
}

body.launcher .detect-status.ok { border-color: rgba(46, 204, 113, 0.3); }
body.launcher .detect-status.ok .dot { background: #2ecc71; }
body.launcher .detect-status.warn { border-color: rgba(255, 152, 0, 0.3); }
body.launcher .detect-status.warn .dot { background: #ff9800; }
body.launcher .detect-status.error { border-color: rgba(231, 76, 60, 0.3); }
body.launcher .detect-status.error .dot { background: #e74c3c; }

body.launcher .manual-entry {
    display: none;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

body.launcher .manual-entry.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

body.launcher .manual-entry-header {
    margin-bottom: 20px;
}

body.launcher .manual-entry-header span {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

body.launcher .manual-entry-header small {
    font-size: 0.8rem;
    color: var(--text-dim);
}

body.launcher .manual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

body.launcher .manual-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.launcher .manual-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

body.launcher .manual-field input,
body.launcher .manual-field select {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    background: var(--surface-2);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.25s;
}

body.launcher .manual-field input:focus,
body.launcher .manual-field select:focus {
    border-color: var(--accent);
}

body.launcher .manual-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 16px;
}

body.launcher .results-section {
    margin-top: 24px;
    display: none;
}

body.launcher .result-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    animation: fadeInUp 0.4s ease both;
}

body.launcher .results-header {
    text-align: center;
    margin-bottom: 20px;
}

body.launcher .results-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

body.launcher .result-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

body.launcher .tab-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
}

body.launcher .tab-btn .tab-count {
    background: var(--surface-2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 6px;
}

body.launcher .tab-btn.runs.active {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

body.launcher .tab-btn.recommended.active {
    background: #ff9800;
    color: #fff;
    border-color: #ff9800;
}

body.launcher .tab-btn.no-run.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

body.launcher .result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

body.launcher .result-card:hover {
    transform: translateY(-4px);
}

body.launcher .result-card.runs { border-color: rgba(46, 204, 113, 0.3); }
body.launcher .result-card.recommended { border-color: rgba(255, 152, 0, 0.3); }
body.launcher .result-card.no-run { border-color: rgba(231, 76, 60, 0.3); filter: grayscale(60%); }

body.launcher .result-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

body.launcher .compat-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

body.launcher .badge-runs { background: #2ecc71; }
body.launcher .badge-recommended { background: #ff9800; }
body.launcher .badge-no-run { background: #e74c3c; }

body.launcher .result-card-info {
    padding: 12px;
}

body.launcher .result-card-info h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.launcher .result-card-info p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

body.launcher .compat-reason {
    font-size: 0.7rem;
    color: #ff9800;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
}

body.launcher .compat-reason.error {
    color: #e74c3c;
}

body.launcher .placeholder-start {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

body.launcher .placeholder-start span {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

body.launcher .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ====================================================================
   NOTICIAS
   ==================================================================== */

body.launcher .noticias-hero {
    text-align: center;
    padding: 48px 20px 32px;
}

body.launcher .noticias-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

body.launcher .noticias-hero p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}

body.launcher .noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 0 20px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

body.launcher .noticia-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.4s ease both;
}

body.launcher .noticia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0.5;
    transition: opacity 0.25s;
}

body.launcher .noticia-card:hover {
    transform: translateY(-4px);
    border-color: rgba(41, 182, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

body.launcher .noticia-card:hover::before {
    opacity: 1;
}

body.launcher .noticia-fecha {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.launcher .noticia-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

body.launcher .noticia-resumen {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

body.launcher .noticia-link {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

body.launcher .noticia-link:hover {
    gap: 8px;
}

body.launcher .noticia-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    grid-column: 1 / -1;
}

body.launcher .noticia-volver {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

body.launcher .noticia-volver:hover {
    color: var(--accent);
}

body.launcher .reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #a29bfe);
    z-index: 9999;
    transition: width 0.1s ease;
}

body.launcher .noticia-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

@keyframes heroReveal {
    0% { clip-path: inset(0 0 100% 0); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

body.launcher .noticia-detalle-hero {
    position: relative;
    height: 0;
    overflow: hidden;
}

body.launcher .noticia-detalle-hero.visible {
    height: 380px;
    animation: heroReveal 0.7s ease both;
}

body.launcher .noticia-detalle-hero.visible.no-banner {
    height: 220px;
    background: linear-gradient(135deg, var(--surface), rgba(108, 92, 231, 0.15));
    border-bottom: 1px solid var(--glass-border);
}

body.launcher .noticia-detalle-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.launcher .noticia-detalle-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

body.launcher .noticia-detalle-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 32px;
    max-width: 720px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease both;
}

body.launcher .noticia-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    transition: background 0.2s, color 0.2s;
}

body.launcher .noticia-hero-back:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

body.launcher .noticia-detalle-hero-content h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.launcher .noticia-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.launcher .noticia-hero-fecha {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

body.launcher .noticia-hero-game {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(108, 92, 231, 0.25);
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

body.launcher .noticia-detalle {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

body.launcher .noticia-content-body {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    line-height: 1.8;
    color: var(--text-muted);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.15s;
}

body.launcher .noticia-content-body p {
    margin-bottom: 18px;
    font-size: 0.92rem;
}

body.launcher .noticia-content-body p:last-child {
    margin-bottom: 0;
}

body.launcher .noticia-content-body ul {
    margin: 14px 0 18px;
    padding-left: 22px;
}

body.launcher .noticia-content-body ul li {
    margin-bottom: 8px;
    list-style: disc;
    font-size: 0.92rem;
}

body.launcher .noticia-content-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

body.launcher .noticia-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(108, 92, 231, 0.15);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

body.launcher .noticia-game-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--surface), rgba(108, 92, 231, 0.08));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-top: 28px;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.3s;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

body.launcher .noticia-game-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.05), transparent);
    transition: left 0.6s ease;
}

body.launcher .noticia-game-cta:hover::before {
    left: 100%;
}

body.launcher .noticia-game-cta:hover {
    transform: translateY(-3px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

body.launcher .noticia-game-cta-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}

body.launcher .noticia-game-cta:hover .noticia-game-cta-img {
    transform: scale(1.05);
    border-color: var(--accent);
}

body.launcher .noticia-game-cta-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

body.launcher .noticia-game-cta-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

body.launcher .noticia-game-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, gap 0.25s;
    position: relative;
    overflow: hidden;
}

body.launcher .noticia-game-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 25px;
}

body.launcher .noticia-game-cta-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

body.launcher .noticia-game-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.45);
    gap: 12px;
}

body.launcher .noticia-game-cta-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.launcher .noticia-game-cta-btn-dl {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
}

body.launcher .noticia-game-cta-btn-dl:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}

body.launcher .noticia-game-cta-btn-dl::after {
    display: none;
}

body.launcher .noticia-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.38s;
}

body.launcher .noticia-share-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 600;
}

body.launcher .noticia-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

body.launcher .noticia-share-btn:hover {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

body.launcher .noticia-share-btn.copied {
    background: rgba(0, 200, 83, 0.15);
    color: #00c853;
    border-color: #00c853;
}

body.launcher .noticia-related {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.45s;
}

body.launcher .noticia-related h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
}

body.launcher .noticia-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

body.launcher .noticia-related-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

body.launcher .noticia-related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
    border-radius: 0 2px 2px 0;
}

body.launcher .noticia-related-card:hover::before {
    height: 100%;
}

body.launcher .noticia-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

body.launcher .noticia-related-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

body.launcher .noticia-related-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(108, 92, 231, 0.15);
    padding: 1px 8px;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

body.launcher .noticia-related-card-date {
    font-size: 0.68rem;
    color: var(--text-dim);
    white-space: nowrap;
}

body.launcher .noticia-related-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.3;
}

body.launcher .noticia-related-card-resumen {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================================================================
   BLOG DETAILS - Knight Template (adaptado tema oscuro)
   ==================================================================== */

body.launcher.blog-details-page {
    background: linear-gradient(180deg, #03080f 0%, var(--bg-base) 100%);
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

body.launcher.blog-details-page .text-muted {
    color: #a0b4ce !important;
}

body.launcher.blog-details-page main.main {
    padding: 0;
    max-width: 100%;
    padding-bottom: calc(var(--bottom-nav-height) + 24px);
}

body.launcher.blog-details-page main.main .container {
    padding-left: 15px;
    padding-right: 15px;
}

body.launcher.blog-details-page .page-title {
    color: #fff;
    padding: 120px 0 50px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(41, 182, 246, 0.04) 0%, transparent 100%);
    border-bottom: 1px solid rgba(41, 182, 246, 0.08);
}

body.launcher.blog-details-page .page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(41, 182, 246, 0.15);
}

body.launcher.blog-details-page .page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: var(--text-dim);
}

body.launcher.blog-details-page .page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

body.launcher.blog-details-page .page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: var(--text-dim);
}

body.launcher.blog-details-page .page-title .breadcrumbs ol a {
    color: var(--accent);
    text-decoration: none;
}

body.launcher.blog-details-page .page-title .breadcrumbs ol a:hover {
    text-decoration: underline;
}

body.launcher.blog-details-page section,
body.launcher.blog-details-page .section {
    padding: 40px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

body.launcher.blog-details-page .blog-details {
    padding-bottom: 10px;
}

body.launcher.blog-details-page .blog-details .article {
    background: linear-gradient(135deg, #0d1b2a, #0a1628);
    border: 1px solid rgba(41, 182, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.03);
}

body.launcher.blog-details-page .blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 420px;
}

body.launcher.blog-details-page .blog-details .post-img img {
    width: 100%;
    object-fit: cover;
}

body.launcher.blog-details-page .blog-details .title {
    color: var(--text-primary);
    font-size: 1.65rem;
    font-weight: 700;
    padding: 0;
    margin: 20px 0;
    line-height: 1.3;
}

body.launcher.blog-details-page .blog-details .meta-top {
    margin-top: 10px;
    color: var(--text-dim);
}

body.launcher.blog-details-page .blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

body.launcher.blog-details-page .blog-details .meta-top ul li+li {
    padding-left: 20px;
}

body.launcher.blog-details-page .blog-details .meta-top i {
    font-size: 15px;
    margin-right: 6px;
    line-height: 0;
    color: var(--accent);
}

body.launcher.blog-details-page .blog-details .meta-top a {
    color: var(--text-dim);
    font-size: 0.82rem;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

body.launcher.blog-details-page .blog-details .meta-top a:hover {
    color: var(--accent);
}

body.launcher.blog-details-page .blog-details .content {
    margin-top: 20px;
    color: #dce3ed;
    font-size: 0.95rem;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

body.launcher.blog-details-page .blog-details .content p {
    margin-bottom: 16px;
}

body.launcher.blog-details-page .blog-details .content h3 {
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

body.launcher.blog-details-page .blog-details .content h4 {
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

body.launcher.blog-details-page .blog-details .content blockquote {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    position: relative;
    margin: 24px 0;
    border-radius: var(--radius-md);
    font-style: italic;
}

body.launcher.blog-details-page .blog-details .content blockquote p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 0.95rem;
}

body.launcher.blog-details-page .blog-details .content ul,
body.launcher.blog-details-page .blog-details .content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

body.launcher.blog-details-page .blog-details .content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

body.launcher.blog-details-page .blog-details .content a {
    color: var(--accent);
    text-decoration: underline;
}

body.launcher.blog-details-page .blog-details .content a:hover {
    color: #8b7cf7;
}

body.launcher.blog-details-page .blog-details .content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* ---- COMENTARIOS ---- */

body.launcher.blog-details-page .blog-comments {
    padding: 10px 0;
}

body.launcher.blog-details-page .blog-comments .comments-count {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

body.launcher.blog-details-page .blog-comments .comment {
    margin-top: 20px;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9), rgba(10, 22, 40, 0.9));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: border-color 0.25s;
}

body.launcher.blog-details-page .blog-comments .comment:hover {
    border-color: rgba(255,255,255,0.12);
}

body.launcher.blog-details-page .blog-comments .comment .comment-img {
    margin-right: 14px;
    flex-shrink: 0;
}

body.launcher.blog-details-page .blog-comments .comment .comment-img img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(41, 182, 246, 0.2);
    object-fit: cover;
}

body.launcher.blog-details-page .blog-comments .comment h5 {
    font-size: 0.88rem;
    margin-bottom: 2px;
    color: #e8ecf1;
    font-family: 'Poppins', sans-serif;
}

body.launcher.blog-details-page .blog-comments .comment h5 a {
    font-weight: 700;
    color: #e8ecf1;
    transition: 0.3s;
    text-decoration: none;
}

body.launcher.blog-details-page .blog-comments .comment h5 a:hover {
    color: var(--accent);
}

body.launcher.blog-details-page .blog-comments .comment time {
    display: block;
    font-size: 0.72rem;
    color: #6a7a8a;
    margin-bottom: 8px;
}

body.launcher.blog-details-page .blog-comments .comment p {
    font-size: 0.85rem;
    color: #c8d0dc;
    line-height: 1.55;
    margin-bottom: 0;
}

body.launcher.blog-details-page .blog-comments .comment.my-comment {
    background: linear-gradient(135deg, rgba(41, 182, 246, 0.08), rgba(41, 182, 246, 0.03));
    border-left: 4px solid var(--accent);
}

body.launcher.blog-details-page .blog-comments .comment .comment-actions {
    position: absolute;
    top: 12px;
    right: 12px;
}

body.launcher.blog-details-page .blog-comments .comment .btn-icon {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    transition: 0.3s;
    padding: 0 4px;
    cursor: pointer;
}

body.launcher.blog-details-page .blog-comments .comment .btn-icon:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

body.launcher.blog-details-page .blog-comments .comment .btn-icon.delete:hover {
    color: #e74c3c;
}

body.launcher.blog-details-page .blog-comments .comment .btn-icon.report:hover {
    color: #d63384;
}

/* ---- FORMULARIO COMENTARIOS ---- */

body.launcher.blog-details-page .reply-form {
    background: linear-gradient(135deg, #0d1b2a, #0a1628);
    border: 1px solid rgba(41, 182, 246, 0.08);
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

body.launcher.blog-details-page .reply-form h4 {
    color: #e8ecf1;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

body.launcher.blog-details-page .reply-form p {
    color: #6a7a8a;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

body.launcher.blog-details-page .reply-form .form-control {
    background: #03080f;
    border: 1px solid rgba(255,255,255,0.08);
    color: #e8ecf1 !important;
    padding: 12px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.25s, box-shadow 0.25s;
}

body.launcher.blog-details-page .reply-form .form-control::placeholder {
    color: #5a6a7a;
    opacity: 1;
}

body.launcher.blog-details-page .reply-form .form-control:focus {
    background: #0a1628;
    color: #e8ecf1 !important;
    box-shadow: 0 0 0 2px rgba(41, 182, 246, 0.15);
    border-color: var(--accent);
}

body.launcher.blog-details-page .reply-form .btn-primary {
    border-radius: 8px;
    padding: 12px 24px;
    border: none;
    background: linear-gradient(135deg, #29b6f6, #0288d1);
    color: #fff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.02em;
}

body.launcher.blog-details-page .reply-form .btn-primary:hover {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(41, 182, 246, 0.35);
}

/* ---- SIDEBAR WIDGETS ---- */

body.launcher.blog-details-page .sidebar {
    padding-top: 40px;
}

body.launcher.blog-details-page .widgets-container {
    margin: 0;
}

body.launcher.blog-details-page .widget-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    padding: 0 0 0 12px;
    margin: 0 0 18px 0;
    border-left: 4px solid var(--accent);
    font-family: 'Poppins', sans-serif;
}

body.launcher.blog-details-page .widget-item {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0d1b2a, #0a1628);
    border: 1px solid rgba(41, 182, 246, 0.08);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

body.launcher.blog-details-page .widget-item:last-child {
    margin-bottom: 0;
}

body.launcher.blog-details-page .blog-author-widget img {
    max-width: 120px;
    border-radius: 50%;
    border: 3px solid var(--glass-border);
}

body.launcher.blog-details-page .blog-author-widget h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 14px 0 0 0;
    padding: 0;
    color: #e8ecf1;
    font-family: 'Poppins', sans-serif;
}

body.launcher.blog-details-page .blog-author-widget p {
    font-size: 0.82rem;
    color: #7a8a9a;
    margin: 8px 0 0 0;
    font-style: italic;
}

body.launcher.blog-details-page .blog-author-widget img {
    border: 3px solid rgba(41, 182, 246, 0.2);
}

body.launcher.blog-details-page .recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 14px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.25s;
}

body.launcher.blog-details-page .recent-posts-widget .post-item:hover {
    background: rgba(41, 182, 246, 0.04);
}

body.launcher.blog-details-page .recent-posts-widget .post-item:last-child {
    margin-bottom: 0;
}

body.launcher.blog-details-page .recent-posts-widget .post-item img {
    width: 70px;
    height: 50px;
    margin-right: 12px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05);
}

body.launcher.blog-details-page .recent-posts-widget .post-item h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

body.launcher.blog-details-page .recent-posts-widget .post-item h4 a {
    color: #e8ecf1;
    transition: 0.3s;
    text-decoration: none;
}

body.launcher.blog-details-page .recent-posts-widget .post-item h4 a:hover {
    color: var(--accent);
}

body.launcher.blog-details-page .recent-posts-widget .post-item time {
    display: block;
    font-size: 0.72rem;
    color: #6a7a8a;
}

/* ---- Game CTA dentro del artículo ---- */

body.launcher.blog-details-page .noticia-game-cta {
    margin-top: 28px;
}

body.launcher.blog-details-page .noticia-game-cta-container + .noticia-share-container {
    margin-top: 20px;
}

body.launcher.blog-details-page .noticia-related {
    margin-top: 20px;
}

/* ---- AOS overrides ---- */
body.launcher.blog-details-page [data-aos] {
    pointer-events: auto;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    body.launcher.blog-details-page .sidebar {
        padding-top: 20px;
    }
    body.launcher.blog-details-page .blog-details .title {
        font-size: 1.3rem;
    }
    body.launcher.blog-details-page .page-title h1 {
        font-size: 28px;
    }
    body.launcher.blog-details-page .page-title {
        padding: 100px 0 30px 0;
    }
    body.launcher.blog-details-page .blog-details .post-img {
        max-height: 260px;
    }
}

/* Page transitions */
body.launcher.blog-details-page .page-content {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.launcher.blog-details-page .page-content.visible {
    opacity: 1;
    transform: translateY(0);
}

body.launcher.blog-details-page.page-exiting .page-content {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    transition: opacity 0.3s ease-in, transform 0.3s ease-in !important;
}

/* ====================================================================
   ESTILOS HEREDADOS (otras páginas sin .launcher)
   ==================================================================== */

body:not(.launcher) header,
body:not(.launcher) .nav-container,
body:not(.launcher) .social-links,
body:not(.launcher) .search-bar,
body:not(.launcher) .auth-buttons,
body:not(.launcher) .logo,
body:not(.launcher) .logo span,
body:not(.launcher) .nav-link,
body:not(.launcher) .nav-link::after,
body:not(.launcher) .nav-link:hover,
body:not(.launcher) .nav-link:hover::after,
body:not(.launcher) .search-bar input,
body:not(.launcher) .search-bar input:focus,
body:not(.launcher) .back-btn,
body:not(.launcher) .back-btn:hover,
body:not(.launcher) main,
body:not(.launcher) h1,
body:not(.launcher) .games-grid,
body:not(.launcher) .card,
body:not(.launcher) .card::before,
body:not(.launcher) .card:hover::before,
body:not(.launcher) .card:hover,
body:not(.launcher) .card-img-wrapper,
body:not(.launcher) .card img,
body:not(.launcher) .card:hover img,
body:not(.launcher) .card-info,
body:not(.launcher) .card-info h3,
body:not(.launcher) .card-info p,
body:not(.launcher) .game-header,
body:not(.launcher) .game-header img,
body:not(.launcher) .game-header-info,
body:not(.launcher) .game-header-info h1,
body:not(.launcher) .tag,
body:not(.launcher) .description-box,
body:not(.launcher) .description-box h3,
body:not(.launcher) .download-btn-mega,
body:not(.launcher) .download-btn-mega::after,
body:not(.launcher) .download-btn-mega:hover::after,
body:not(.launcher) .download-btn-mega:hover,
body:not(.launcher) .screenshots,
body:not(.launcher) .gallery,
body:not(.launcher) .gallery img,
body:not(.launcher) .gallery img:hover,
body:not(.launcher) .req-box,
body:not(.launcher) .video-container,
body:not(.launcher) .video-container iframe,
body:not(.launcher) .req-grid,
body:not(.launcher) .req-column h4,
body:not(.launcher) .req-column strong,
body:not(.launcher) .lightbox,
body:not(.launcher) .lightbox-content,
body:not(.launcher) .close-lightbox,
body:not(.launcher) .close-lightbox:hover,
body:not(.launcher) .filters-container,
body:not(.launcher) .platform-switch,
body:not(.launcher) .plat-btn,
body:not(.launcher) .plat-btn.active,
body:not(.launcher) .plat-btn:hover:not(.active),
body:not(.launcher) .genre-list,
body:not(.launcher) .genre-btn,
body:not(.launcher) .genre-btn:hover,
body:not(.launcher) .genre-btn.active {
    /* Estilos originales se mantienen intactos abajo */
}

/* --- Header original (Glassmorphism) --- */
body:not(.launcher) header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    gap: 20px;
    background: var(--glass-grad);
    background-color: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

body:not(.launcher) .nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    order: 1;
}

body:not(.launcher) .social-links {
    order: 2;
    border-right: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

body:not(.launcher) .search-bar {
    order: 3;
}

body:not(.launcher) .auth-buttons {
    margin-left: auto;
}

body:not(.launcher) .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--accent-glow);
    letter-spacing: 1px;
}

body:not(.launcher) .nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

body:not(.launcher) .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent);
}

body:not(.launcher) .nav-link:hover { color: var(--accent); }

body:not(.launcher) .nav-link:hover::after { width: 100%; }

body:not(.launcher) .search-bar input {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    width: 280px;
    font-size: 0.95rem;
    transition: 0.3s;
}

body:not(.launcher) .search-bar input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--accent-glow);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

body:not(.launcher) .back-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

body:not(.launcher) .back-btn:hover { color: var(--accent); }

body:not(.launcher) main {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

body:not(.launcher) h1 {
    margin-bottom: 30px;
    border-left: 5px solid var(--accent);
    padding-left: 15px;
    font-weight: 700;
    font-size: 2.2rem;
}

body:not(.launcher) .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.enlace-a {
    text-decoration: none;
    color: #00d2ff;
    font-weight: bold;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-link:hover {
    color: #00d2ff;
}

/* --- ESTILOS DE CONTACTO (heredados) --- */


/* --- BOTONES REDES SOCIALES (HEADER) --- */
body:not(.launcher) nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    /* Espacio entre los enlaces del menú */
}

.social-links {
    display: flex;
    gap: 15px;
    /* CSS manejado por Header order property */
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #252525;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Colores específicos al hacer Hover */
.github-btn:hover {
    background-color: #333;
    /* Gris GitHub */
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.youtube-btn:hover {
    background-color: #ff0000;
    /* Rojo YouTube */
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Ajuste Responsivo para móviles */
@media (max-width: 768px) {
    .social-links {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
}


/* =========================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
   ========================================= */

/* --- PARA TABLETS Y PANTALLAS MEDIANAS (hasta 768px) --- */
@media (max-width: 768px) {

    /* Reordenar el Header en columna */
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-left: 0;
        width: 100%;
    }

    /* Barra de búsqueda al 100% de ancho */
    .search-bar {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .search-bar input {
        width: 100%;
        max-width: 400px;
        /* Para que no sea ridículamente larga en tablets horizontales */
    }

    /* Centrar navegación y botones sociales */
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .social-links {
        border-right: none;
        border-left: none;
        padding: 0;
        margin: 0;
        width: 100%;
        justify-content: center;
    }
}

/* --- PARA TELÉFONOS MÓVILES (hasta 480px) --- */
@media (max-width: 480px) {
    main {
        padding: 20px 5%;
    }

    /* Ajustar título principal */
    h1 {
        font-size: 1.5rem;
        text-align: center;
        border-left: none;
        /* Quitamos la rayita azul lateral para centrarlo bien */
        margin-bottom: 20px;
    }

    /* Ajustar botones de filtros para que no ocupen tanta pantalla */
    .plat-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .genre-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* 
       MÁGIA DE LA CUADRÍCULA: 
       Cambiamos el tamaño mínimo de 220px a 140px. 
       Esto hace que en un celular se vean 2 JUEGOS POR FILA, 
       como en la Google Play Store.
    */
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    /* Hacemos la imagen un poco más baja para que la tarjeta no sea larguísima */

    .card-info {
        padding: 10px;
    }

    .card-info h3 {
        font-size: 0.95rem;
        /* Esto corta títulos muy largos con "..." en móviles */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-info p {
        font-size: 0.75rem;
    }
}

/* =========================================
   RESPONSIVE DESIGN: PÁGINA DE JUEGO
   ========================================= */

/* --- TABLETS Y PANTALLAS MEDIANAS (hasta 768px) --- */
@media (max-width: 768px) {

    /* Ajuste del Header (ordena los enlaces, el botón de volver y redes) */
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    header nav,
    header>a.nav-link {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
        margin: 0;
    }

    .social-links {
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
    }

    /* Cabecera del juego: Pone la imagen ARRIBA y la info ABAJO */
    .game-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* Ajuste de la imagen de portada para que no se estire feo */
    .game-header img {
        width: 100%;
        max-width: 300px;
        /* Tamaño máximo para que no ocupe toda la tablet */
        height: auto;
    }

    /* Centrar la etiqueta de género (Acción, Terror, etc) */
    .tag {
        align-self: center;
    }

    /* El botón de descarga se expande al 100% para que sea fácil tocarlo con el dedo */
    .download-btn-mega {
        width: 100%;
        max-width: 100%;
    }

    /* Los requisitos (Mínimos y Recomendados) pasan a estar en una sola columna vertical */
    .req-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TELÉFONOS MÓVILES (hasta 480px) --- */
@media (max-width: 480px) {

    /* Reducir márgenes laterales para ganar espacio en pantalla */
    .detail-container {
        padding: 20px 5%;
    }

    /* Título del juego más pequeño para que no ocupe 3 líneas */
    .game-header-info h1 {
        font-size: 1.8rem;
    }

    /* Descripción alineada a la izquierda (se lee mejor en móviles) */
    .description-box {
        font-size: 0.9rem;
        text-align: left;
    }

    /* Ajuste de las capturas de pantalla para que quepan mejor */
    .gallery img {
        height: 120px;
        /* Más pequeñitas en celular */
    }

    /* Ajuste de las cajas de requisitos y notas del dueño */
    .req-grid {
        padding: 15px;
    }
}

/* =========================================
   RESPONSIVE DESIGN: PÁGINA DE AYUDA
   ========================================= */

/* --- TABLETS Y PANTALLAS MEDIANAS (hasta 768px) --- */
@media (max-width: 768px) {

    /* Centramos todos los elementos sueltos del header */
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px 5%;
    }

    /* Ajustamos los botones de redes sociales */
    .social-links {
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
    }

    /* Reducimos el espacio entre las tarjetas */
}

/* =========================================
   FOOTER GLOBAL
   ========================================= */
.site-footer {
    background: #090a0d;
    /* Un tono aún más oscuro que el fondo para dar profundidad */
    border-top: 1px solid var(--border-glass);
    padding: 60px 5% 30px;
    margin-top: 60px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-logo {
    max-width: 350px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-glow);
    margin-bottom: 15px;
}

.footer-logo h3 span {
    color: var(--accent);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent);
    transform: translateX(6px);
    text-shadow: 0 0 10px var(--accent-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsivo Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- TELÉFONOS MÓVILES (hasta 480px) --- */
@media (max-width: 480px) {
    .help-container {
        padding: 20px 5%;
    }

    /* Hacemos el título principal un poco más pequeño */
    .help-container h1 {
        font-size: 1.6rem;
        margin-bottom: 25px !important;
    }

    /* Forzamos que las tarjetas se pongan en una sola columna vertical */
    .help-grid {
        grid-template-columns: 1fr;
    }

    /* Reducimos el relleno interno de las tarjetas para ganar espacio */
    .help-card {
        padding: 20px;
    }

    .help-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    /* Ajustamos el tamaño de los textos y preguntas frecuentes */
    .help-card h3 {
        font-size: 1.2rem;
    }

    .help-card h4 {
        font-size: 1rem;
    }

    .help-card p {
        font-size: 0.9rem;
    }

    /* En celulares, los nombres de los créditos se ponen uno debajo del otro */
    .credits-names {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        font-size: 1rem;
    }
}


/* =========================================
   RESPONSIVE DESIGN: PÁGINA DE CONTACTO
   ========================================= */

/* --- BOTÓN FLOTANTE SORPRÉNDEME --- */
.surprise-btn {
    position: fixed;
    /* Esto lo ancla a la pantalla */
    bottom: 30px;
    /* Separación desde abajo */
    right: 30px;
    /* Separación desde la derecha */
    z-index: 999;
    /* Asegura que siempre esté por encima de todo */
    background-color: #1a1a1a;
    color: #00d2ff;
    border: none;
    padding: 15px 25px;
    /* Un poco más grande para ser flotante */
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(122, 0, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Efecto al pasar el ratón: se levanta un poquito */
.surprise-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(82, 60, 207, 0.7);
}

/* Animación cuando se le hace clic (Cargando) */
.surprise-btn.loading {
    animation: pulse-surprise 0.6s infinite alternate;
    pointer-events: none;
    /* Evita doble clic */
    filter: brightness(0.8);
}

@keyframes pulse-surprise {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Ajuste para celulares (para que no estorbe tanto) */
@media (max-width: 480px) {
    .surprise-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
        box-shadow: 0 3px 15px rgba(122, 0, 255, 0.5);
    }
}


/* Lightbox non-launcher: solo ajustes menores */
body:not(.launcher) .prev-lightbox,
body:not(.launcher) .next-lightbox {
    z-index: 1001;
}

body:not(.launcher) .prev-lightbox { left: 12px; }
body:not(.launcher) .next-lightbox { right: 12px; }

@media (max-width: 768px) {
    .lightbox-content {
        max-height: 65vh;
    }
    .lb-thumb {
        height: 36px;
        width: 64px;
    }
    .lightbox-thumbs {
        gap: 6px;
        padding: 6px 10px;
    }
}

/* --- COLORES DINÁMICOS BOTÓN DE DESCARGA --- */
/* Mediafire (Azul clásico) */
body:not(.launcher) .btn-mediafire {
    background: linear-gradient(45deg, #00d2ff, #0078ff);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.3);
}

body:not(.launcher) .btn-mediafire:hover {
    box-shadow: 0 5px 30px rgba(0, 210, 255, 0.6);
}

/* TeraBox (Morado / Azul oscuro) */
body:not(.launcher) .btn-terabox {
    background: linear-gradient(45deg, #512DA8, #673AB7);
    box-shadow: 0 5px 20px rgba(103, 58, 183, 0.3);
}

body:not(.launcher) .btn-terabox:hover {
    box-shadow: 0 5px 30px rgba(103, 58, 183, 0.6);
}

/* Buzzheavier (Verde Neón / Oscuro) */
body:not(.launcher) .btn-buzz {
    background: linear-gradient(45deg, #00b09b, #96c93d);
    color: #000 !important;
    /* Texto negro para que resalte en verde */
    box-shadow: 0 5px 20px rgba(150, 201, 61, 0.3);
}

body:not(.launcher) .btn-buzz:hover {
    box-shadow: 0 5px 30px rgba(150, 201, 61, 0.6);
}

/* --- NUEVOS DISEÑOS PREMIUM --- */
/* Botón Login Header */
.login-btn {
    background: var(--accent);
    color: white;
    width: 200px;
    padding: 15px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-btn:hover {
    box-shadow: 0 8px 25px rgba(184, 0, 255, 0.6), 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
    color: white;
}

/* Carrusel Hero */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
    border: 1px solid var(--border-glass);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 30px;
    background: linear-gradient(to top, rgba(11, 12, 16, 0.95), transparent);
    color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
    border: none;
    padding: 0;
}

.hero-overlay p {
    font-size: 1.1rem;
    color: #ddd;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.4s;
}

.hero-dot.active {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: scale(1.2);
}

/* Comunidad */
.comunidad-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .comunidad-grid {
        grid-template-columns: 1fr;
    }
}

.forum-card {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    padding: 22px;
    margin-bottom: 20px;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border-left: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.forum-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 40%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.forum-card:hover::after {
    opacity: 1;
}

.forum-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.forum-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.forum-title {
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.forum-title:hover {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.forum-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.forum-content {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.forum-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    border-top: 1px solid var(--border-glass);
    padding-top: 12px;
}

.forum-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.forum-author span {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
}

.sidebar-panel {
    background: var(--surface);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.sidebar-panel h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Botón flotante Ir arriba */
.scroll-top-btn {
    position: fixed;
    bottom: -60px;
    /* Inicialmente oculto */
    left: 30px;
    z-index: 1005;
    background: var(--surface);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.visible {
    bottom: 30px;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background: var(--accent);
    color: #000;
    box-shadow: 0 10px 25px var(--accent-glow);
}

@media (max-width: 480px) {
    .scroll-top-btn {
        left: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .scroll-top-btn.visible {
        bottom: 20px;
    }
}

/* Autenticacion Glassmorphism */
.auth-body {
    background: #121212 url(https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop) no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-wrapper {
    position: relative;
    z-index: 2;
    width: 440px;
    max-width: 100%;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 210, 255, 0.1) inset;
    border-radius: 20px;
    padding: 0 0 30px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    margin: auto;
    /* Centra verticalmente si hay espacio, previniendo corte si la pantalla es enana */
}

.auth-form-container {
    display: flex;
    flex-wrap: nowrap;
    width: 200%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-form-container.slide-register {
    transform: translateX(-50%);
}

.auth-form {
    width: 50%;
    flex: 0 0 50%;
    padding: 40px 30px 0 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

form {
    width: 100%;
    max-width: 100%;
}

/* Asegura que el formulario interno llene el espacio */
.auth-title {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 210, 255, 0.8);
    border: none;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    color: #ddd;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.auth-input-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    outline: none;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.auth-input-group input:focus {
    border-color: #00d2ff;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #00d2ff, #0078ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 210, 255, 0.6);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: #aaa;
    font-size: 0.9rem;
}

.auth-switch span {
    color: #00d2ff;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.auth-back {
    text-align: center;
    display: block;
    margin-top: 20px;
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
}

.auth-back:hover {
    color: #fff;
    text-decoration: underline;
}


/* --- SISTEMA DE CHAT PREMIUM --- */
.chat-main {
    padding: 20px 5%;
    height: 80vh;
    min-height: 600px;
}

.chat-wrapper {
    display: flex;
    height: 100%;
    background: var(--surface);
    border-radius: 15px;
    border: 1px solid var(--border-glass);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.chat-sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-header h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.sidebar-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.user-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 5px;
}

.user-item:hover,
.user-item.active {
    background: rgba(255, 255, 255, 0.05);
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #444;
    position: relative;
}

.avatar.online::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #4cd137;
    border-radius: 50%;
    border: 2px solid var(--surface);
}

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h2 {
    font-size: 1.1rem;
    color: #fff;
}

.chat-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.logout-btn {
    padding: 8px 15px;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #f44336;
    color: #fff;
}

.messages-container {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.msg-box {
    display: flex;
    gap: 15px;
    max-width: 80%;
}

.msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
}

.msg-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    border-radius: 0 15px 15px 15px;
}

.msg-author {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.msg-content p {
    color: #eee;
    font-size: 0.95rem;
    line-height: 1.4;
}

.msg-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-align: right;
}

.msg-self {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-self .msg-content {
    background: rgba(0, 240, 255, 0.1);
    border-radius: 15px 0 15px 15px;
    border-right: 2px solid var(--accent);
}

.msg-self .msg-author {
    color: #fff;
    text-align: right;
}

.msg-system {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 15px;
    border-radius: 20px;
    align-self: center;
}

.chat-input-area {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
}

.chat-input-area form {
    display: flex;
    gap: 15px;
}

#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: 10px;
    color: #fff;
    outline: none;
}

#chat-input:focus {
    border-color: var(--accent);
}

#send-btn {
    background: var(--accent);
    color: #000;
    border: none;
    width: 50px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.messages-container::-webkit-scrollbar {
    width: 6px;
}

.messages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .chat-sidebar {
        display: none;
    }

    .chat-main {
        padding: 10px;
        height: 90vh;
    }
}


/* Legacy header responsive (non-launcher) */
@media (max-width: 850px) {
    body:not(.launcher) header {
        display: flex;
        flex-direction: column;
        padding: 15px 5%;
        gap: 15px;
    }

    body:not(.launcher) .social-links {
        display: none;
    }

    body:not(.launcher) .nav-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }

    body:not(.launcher) .nav-container .logo {
        flex: 1;
    }

    body:not(.launcher) .auth-buttons {
        flex-shrink: 0;
    }

    body:not(.launcher) .search-bar {
        width: 100%;
        order: 2;
    }

    body:not(.launcher) .search-bar input {
        width: 100%;
        padding: 12px;
    }

    body:not(.launcher) nav {
        width: 100%;
        order: 3;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    body:not(.launcher) nav::-webkit-scrollbar {
        height: 0px;
        background: transparent;
    }

    body:not(.launcher) .hero-carousel {
        height: 220px;
        margin-bottom: 25px;
    }

    body:not(.launcher) .hero-overlay h2 {
        font-size: 1.5rem;
    }
}

/* ====================================================================
   LEGACY STYLES (solo páginas sin .launcher)
   ==================================================================== */

body:not(.launcher) .server-filter,
body:not(.launcher) .server-filter:focus-within,
body:not(.launcher) .server-filter select,
body:not(.launcher) .server-filter select option {
    /* Usa los estilos originales abajo */
}

body:not(.launcher) .game-card,
body:not(.launcher) .game-card img,
body:not(.launcher) .game-info,
body:not(.launcher) .games-grid {
    /* Usa los estilos originales abajo */
}

body:not(.launcher) .custom-slider-container,
body:not(.launcher) .slider-track,
body:not(.launcher) .slide-item,
body:not(.launcher) .slide-item::after,
body:not(.launcher) .slide-info,
body:not(.launcher) .slide-info h2,
body:not(.launcher) .slide-info p,
body:not(.launcher) .slider-arrow,
body:not(.launcher) .slider-dots,
body:not(.launcher) .dot,
body:not(.launcher) .dot.active,
body:not(.launcher) .hot-badge,
body:not(.launcher) .btn-gofile,
body:not(.launcher) .btn-1fichier,
body:not(.launcher) .btn-directo,
body:not(.launcher) .multi-download-box {
    /* Usa los estilos originales abajo */
}

body:not(.launcher) header {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (max-width: 850px) {
    body:not(.launcher) .header-hidden {
        transform: translateY(-100%);
        box-shadow: none;
    }
}

body:not(.launcher) .server-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

body:not(.launcher) .server-filter:focus-within {
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

body:not(.launcher) .server-filter select {
    background: transparent;
    color: #e0e0e0;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 5px;
}

body:not(.launcher) .server-filter select option {
    background: #1e1e1e;
    color: #fff;
}

@media (max-width: 480px) {
    body:not(.launcher) .server-filter {
        width: 100%;
        justify-content: center;
        padding: 8px 15px;
    }
}

body:not(.launcher) .game-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

body:not(.launcher) .game-card {
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}

body:not(.launcher) .game-info {
    padding: 12px;
}

body:not(.launcher) .game-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 600px) {
    body:not(.launcher) .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy slider (non-launcher pages) */
body:not(.launcher) .custom-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
    transform: translateZ(0);
}

body:not(.launcher) .slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

body:not(.launcher) .slide-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

body:not(.launcher) .slide-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

body:not(.launcher) .slide-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

body:not(.launcher) .slide-info h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

body:not(.launcher) .slide-info p {
    font-size: 1.1rem;
    color: #ccc;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

body:not(.launcher) .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

body:not(.launcher) .slider-arrow:hover { 
    background: #00d2ff; 
    color: #000; 
    transform: translateY(-50%) scale(1.1); 
}

body:not(.launcher) .prev-arrow { left: 15px; }
body:not(.launcher) .next-arrow { right: 15px; }

body:not(.launcher) .slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

body:not(.launcher) .dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

body:not(.launcher) .dot.active { 
    background: #00d2ff; 
    transform: scale(1.3); 
}

@media (max-width: 768px) {
    body:not(.launcher) .custom-slider-container { height: 220px; border-radius: 10px; }
    body:not(.launcher) .slide-info { bottom: 20px; left: 15px; right: 15px; }
    body:not(.launcher) .slide-info h2 { font-size: 1.4rem; }
    body:not(.launcher) .slide-info p { font-size: 0.9rem; }
    body:not(.launcher) .slider-arrow { display: none; }
}

@media (max-width: 1200px) {
    body:not(.launcher) nav { gap: 12px; }
    body:not(.launcher) .nav-link { font-size: 0.85rem; }
    body:not(.launcher) .header-actions { gap: 10px; }
    body:not(.launcher) .search-bar input { width: 140px; font-size: 0.85rem; }
    body:not(.launcher) .search-bar input:focus { width: 170px; }
    body:not(.launcher) .social-links { display: none; }
}

body:not(.launcher) .header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

body:not(.launcher) .card-img-wrapper {
    position: relative;
}

body:not(.launcher) .hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0000, #ff7300);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
    animation: pulse-hot 2s infinite;
}

@keyframes pulse-hot {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 115, 0, 0.6); }
    100% { transform: scale(1); }
}

body:not(.launcher) .btn-gofile {
    background: linear-gradient(45deg, #0052D4, #4364F7);
    color: white;
    box-shadow: 0 5px 20px rgba(67, 100, 247, 0.3);
}

body:not(.launcher) .btn-1fichier {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.3);
}

body:not(.launcher) .btn-directo {
    background: linear-gradient(45deg, #E65100, #FF8F00);
    color: white;
    box-shadow: 0 5px 20px rgba(230, 81, 0, 0.3);
}

body:not(.launcher) .multi-download-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

body:not(.launcher) .is-scrolling .card {
    pointer-events: none !important;
}


/* ====================================================================
   LEGACY DUPLICATE OVERRIDES
   ==================================================================== */
@media (max-width: 850px) {
    body:not(.launcher) .header-hidden {
        transform: translateY(-100%);
        box-shadow: none;
    }
}

body:not(.launcher).is-scrolling .card {
    pointer-events: none !important;
}

body:not(.launcher) .server-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

body:not(.launcher) .server-filter:focus-within {
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

body:not(.launcher) .server-filter select {
    background: transparent;
    color: #e0e0e0;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 5px;
}

body:not(.launcher) .server-filter select option {
    background: #1e1e1e;
    color: #fff;
}

@media (max-width: 480px) {
    body:not(.launcher) .server-filter {
        width: 100%;
        justify-content: center;
        padding: 8px 15px;
    }
}

body:not(.launcher) .game-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

body:not(.launcher) .game-card {
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}

body:not(.launcher) .game-info {
    padding: 12px;
}

body:not(.launcher) .game-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 600px) {
    body:not(.launcher) .games-grid {
        grid-template-columns: 1fr;
    }
}

body:not(.launcher) .custom-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
    transform: translateZ(0); 
}

body:not(.launcher) .slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

body:not(.launcher) .slide-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

body:not(.launcher) .slide-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

body:not(.launcher) .slide-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

body:not(.launcher) .slide-info h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

body:not(.launcher) .slide-info p {
    font-size: 1.1rem;
    color: #ccc;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

body:not(.launcher) .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

body:not(.launcher) .slider-arrow:hover { 
    background: #00d2ff; 
    color: #000; 
    transform: translateY(-50%) scale(1.1); 
}
body:not(.launcher) .prev-arrow { left: 15px; }
body:not(.launcher) .next-arrow { right: 15px; }

body:not(.launcher) .slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

body:not(.launcher) .dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

body:not(.launcher) .dot.active { 
    background: #00d2ff; 
    transform: scale(1.3); 
}

@media (max-width: 768px) {
    body:not(.launcher) .custom-slider-container { height: 220px; border-radius: 10px; }
    body:not(.launcher) .slide-info { bottom: 20px; left: 15px; right: 15px; }
    body:not(.launcher) .slide-info h2 { font-size: 1.4rem; }
    body:not(.launcher) .slide-info p { font-size: 0.9rem; }
    body:not(.launcher) .slider-arrow { display: none; } 
}

@media (max-width: 1200px) {
    body:not(.launcher) nav { gap: 12px; }
    body:not(.launcher) .nav-link { font-size: 0.85rem; }
    body:not(.launcher) .header-actions { gap: 10px; }
    body:not(.launcher) .search-bar input { width: 140px; font-size: 0.85rem; }
    body:not(.launcher) .search-bar input:focus { width: 170px; }
    body:not(.launcher) .social-links { display: none; }
}

body:not(.launcher) .header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

body:not(.launcher) .card-img-wrapper {
    position: relative;
}

body:not(.launcher) .hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0000, #ff7300);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
    animation: pulse-hot 2s infinite;
}

@keyframes pulse-hot-dupe {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 115, 0, 0.6); }
    100% { transform: scale(1); }
}

body:not(.launcher) .btn-gofile {
    background: linear-gradient(45deg, #0052D4, #4364F7);
    color: white;
    box-shadow: 0 5px 20px rgba(67, 100, 247, 0.3);
}

body:not(.launcher) .btn-1fichier {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.3);
}

body:not(.launcher) .btn-directo {
    background: linear-gradient(45deg, #E65100, #FF8F00);
    color: white;
    box-shadow: 0 5px 20px rgba(230, 81, 0, 0.3);
}

body:not(.launcher) .multi-download-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}


/* 4. Clase mágica que anula el hover mientras haces scroll */
body.is-scrolling .card {
    pointer-events: none !important;
}

.server-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    /* Separación con las categorías */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.server-filter:focus-within {
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.server-filter select {
    background: transparent;
    color: #e0e0e0;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    /* Quitar flecha por defecto en algunos navegadores para hacerlo más limpio */
    appearance: none;
    -webkit-appearance: none;
    padding-right: 5px;
}

.server-filter select option {
    background: #1e1e1e;
    color: #fff;
}

/* Ajuste móvil */
@media (max-width: 480px) {
    .server-filter {
        width: 100%;
        /* En móvil ocupa todo el ancho disponible */
        justify-content: center;
        padding: 8px 15px;
    }
}


.game-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}

.game-info {
    padding: 12px;
}

.game-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   SLIDER CUSTOM Y OPTIMIZADO
   ========================================= */
.custom-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
    /* Anti-lag base */
    transform: translateZ(0); 
}

/* La pista larga que mueve las imágenes */
.slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Sombra inferior para que el texto resalte */
.slide-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.slide-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

.slide-info h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

.slide-info p {
    font-size: 1.1rem;
    color: #ccc;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* --- FLECHAS --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover { 
    background: #00d2ff; 
    color: #000; 
    transform: translateY(-50%) scale(1.1); 
}
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

/* --- PUNTITOS --- */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { 
    background: #00d2ff; 
    transform: scale(1.3); 
}

/* --- MÓVILES --- */
@media (max-width: 768px) {
    .custom-slider-container { height: 220px; border-radius: 10px; }
    .slide-info { bottom: 20px; left: 15px; right: 15px; }
    .slide-info h2 { font-size: 1.4rem; }
    .slide-info p { font-size: 0.9rem; }
    /* En celular ocultamos las flechas (usaremos el dedo para arrastrar) */
    .slider-arrow { display: none; } 
}




/* --- LAPTOPS (Pantallas Medianas, hasta 1200px) --- */
@media (max-width: 1200px) {
    nav { gap: 12px; }
    .nav-link { font-size: 0.85rem; }
    
    .header-actions { gap: 10px; }
    .search-bar input { width: 140px; font-size: 0.85rem; }
    .search-bar input:focus { width: 170px; }
    
    /* En laptops ocultamos los SVGs de YouTube y GitHub (están en el pie de página) para que quepa todo */
    .social-links { display: none; }
}



/* Clase para ocultar el header al hacer scroll hacia abajo (Smart Header) */
.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

/* Etiqueta HOT en las tarjetas */
.card-img-wrapper {
    position: relative; /* Necesario para que la etiqueta se quede dentro de la imagen */
}

.hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0000, #ff7300);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
    animation: pulse-hot 2s infinite;
}

@keyframes pulse-hot {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 115, 0, 0.6); }
    100% { transform: scale(1); }
}

/* Colores para los nuevos botones de descarga AAA */
body:not(.launcher) .btn-gofile {
    background: linear-gradient(45deg, #0052D4, #4364F7);
    color: white;
    box-shadow: 0 5px 20px rgba(67, 100, 247, 0.3);
}

body:not(.launcher) .btn-1fichier {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.3);
}

body:not(.launcher) .btn-directo {
    background: linear-gradient(45deg, #E65100, #FF8F00);
    color: white;
    box-shadow: 0 5px 20px rgba(230, 81, 0, 0.3);
}

/* Contenedor cuando hay m?ltiples botones */
body:not(.launcher) .multi-download-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

/* ===========================
   SECTION HEADER ROW
   =========================== */
.section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}
.section-header-row h1 {
    margin-bottom: 0;
}
.result-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===========================
   SKELETON LOADING
   =========================== */
.skeleton-card {
    pointer-events: none;
}
.skeleton-card .card-img-wrapper {
    background: var(--surface);
    overflow: hidden;
}
.skeleton-card .card-info {
    background: transparent;
}
@keyframes skShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.sk-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.04) 60%, transparent 100%);
    animation: skShimmer 1.8s ease-in-out infinite;
    pointer-events: none;
}
.skeleton-card .card-img-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}
.sk-line {
    height: 12px;
    border-radius: 6px;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
    margin: 6px 0;
}
.sk-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.04) 60%, transparent 100%);
    animation: skShimmer 1.8s ease-in-out infinite;
}
.sk-line-title {
    width: 70%;
    height: 14px;
}
.sk-line-sub {
    width: 45%;
    height: 10px;
}

/* ===========================
   CARD TRANSITIONS (JS-controlled entrance/exit)
   =========================== */
.card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ===========================
   SORT FILTER
   =========================== */
.sort-filter {
    min-width: 150px;
    background: rgba(41, 182, 246, 0.06);
    border-color: rgba(41, 182, 246, 0.2);
}
.sort-filter:hover {
    border-color: rgba(41, 182, 246, 0.5);
}
.sort-filter select {
    min-width: 110px;
}

/* ===========================
   VIEW TOGGLE
   =========================== */
.view-toggle-btn {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.view-toggle-btn:hover {
    color: var(--text-main);
    border-color: var(--accent);
    background: var(--surface-2);
}
.view-toggle-btn:active {
    transform: scale(0.92);
}

/* ===========================
   LIST VIEW
   =========================== */
.games-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.games-grid.list-view .card {
    display: flex;
    flex-direction: row;
    border-radius: var(--radius);
    overflow: hidden;
    height: auto;
    min-height: 0;
}
.games-grid.list-view .card-img-wrapper {
    width: 180px;
    min-width: 180px;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}
.games-grid.list-view .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
}
.games-grid.list-view .card-info h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.games-grid.list-view .card-info p {
    font-size: 0.75rem;
}
@media (max-width: 767px) {
    .games-grid.list-view .card-img-wrapper {
        width: 120px;
        min-width: 120px;
    }
    .games-grid.list-view .card-info h3 {
        font-size: 0.8rem;
    }
    .games-grid.list-view .card-info p {
        font-size: 0.65rem;
    }
}

/* ===========================
   FAVORITES HEART ON CARDS
   =========================== */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-4px);
}
.card:hover .fav-btn,
.card:focus-within .fav-btn {
    opacity: 1;
    transform: translateY(0);
}
.fav-btn:hover {
    background: rgba(255, 50, 50, 0.7);
}
.fav-btn.fav-active {
    opacity: 1;
    transform: translateY(0);
    color: #ff3355;
    background: rgba(255, 50, 50, 0.2);
}
@media (max-width: 767px) {
    .fav-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   FAVORITES FILTER BUTTON (active)
   =========================== */
.genre-btn[data-cat="favoritos"].active {
    background: #ff3355;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 50, 85, 0.3);
}

/* ===========================
   QUICK PREVIEW
   =========================== */
.quick-preview {
    position: fixed;
    z-index: 9999;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0,0,0,0.7);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.quick-preview.visible {
    opacity: 1;
    visibility: visible;
}
.quick-preview .qp-img {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}
.quick-preview .qp-body {
    padding: 12px 14px;
}
.quick-preview .qp-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.quick-preview .qp-body > p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.quick-preview .qp-body .qp-desc {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quick-preview .qp-body .qp-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

/* ===========================
   RECIENTES
   =========================== */
.recientes-section {
    margin-bottom: 20px;
}
.recientes-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.recientes-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.recientes-container::-webkit-scrollbar {
    height: 3px;
}
.recientes-container::-webkit-scrollbar-track {
    background: transparent;
}
.recientes-container::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 3px;
}
.recent-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    transition: transform 0.2s;
}
.recent-card:hover {
    transform: translateY(-2px);
}
.recent-card .recent-img {
    width: 100%;
    height: 80px;
    background-size: cover;
    background-position: center;
}
.recent-card span {
    display: block;
    padding: 6px 10px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===========================
   LOAD MORE BUTTON
   =========================== */
.load-more-btn {
    display: block;
    margin: 24px auto 8px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Poppins', sans-serif;
}
.load-more-btn:hover {
    border-color: var(--accent);
    color: var(--text-main);
    background: var(--surface-2);
}
.load-more-btn:active {
    transform: scale(0.97);
}

/* ===========================
   EMPTY STATE MESSAGE
   =========================== */
.empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-dim);
    padding: 48px 16px;
    font-size: 0.9rem;
}

/* ===========================
   EVENT REMINDER FILTER BUTTON
   =========================== */
.genre-btn[data-cat="favoritos"] svg {
    vertical-align: middle;
    margin-right: 2px;
}