/* ============================================
   ONIKIX CUSTOM STYLES — Standalone Theme
   Premium Dark Theme — Season 1
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
    --bg-main: #0a0a0c;
    --bg-surface: #141418;
    --primary: #FF00FF;
    /* Amalia — Magenta */
    --accent-1: #CCFF00;
    /* Isabela — Lima */
    --accent-2: #00F0FF;
    /* Dario — Cyan */
    --accent-3: #1E90FF;
    /* Leonardo — Azul */
    --accent-purple: #a855f7;
    /* Morado — gradiente de acción */
    --gradient-action: linear-gradient(135deg, var(--accent-2), var(--accent-purple));
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent-3));
    --text-white: #ffffff;
    --text-gray: #8ca0b0;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

/* --- ONIKIX OVERRIDES (scope to landing) --- */
body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ===== ONIKIX OVERRIDES (maximum specificity) ===== */
/* ONIKIX uses --global-palette CSS vars — we override for the landing */
body.onikix-landing {
    --global-palette1: #ffffff;
    --global-palette2: #ffffff;
    --global-palette3: #8ca0b0;
    --global-palette4: #8ca0b0;
    --global-palette5: #8ca0b0;
    --global-palette6: #ffffff;
    --global-palette7: #141418;
    --global-palette8: #0a0a0c;
    --global-palette9: #0a0a0c;
}

body.onikix-landing a {
    color: inherit;
}

/* Force ALL headings white — beat any framework defaults */
body.onikix-landing h1,
body.onikix-landing h2,
body.onikix-landing h3,
body.onikix-landing h4,
body.onikix-landing .hero-title,
body.onikix-landing .section-title,
body.onikix-landing .pack-info h2,
body.onikix-landing .text-block h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

/* Gradient text MUST override the forced white */
body.onikix-landing .gradient-text,
body.onikix-landing h1 .gradient-text,
body.onikix-landing h2 .gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent-3)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Highlight cyan in headings */
body.onikix-landing .highlight-cyan {
    color: var(--accent-2) !important;
    -webkit-text-fill-color: var(--accent-2) !important;
}

/* Primary CTA button: DARK text on white bg */
body.onikix-landing a.cta-button.primary,
body.onikix-landing .cta-button.primary {
    color: #0a0a0c !important;
    -webkit-text-fill-color: #0a0a0c !important;
    background: #ffffff !important;
    border: 1px solid #ffffff;
}

body.onikix-landing a.cta-button.primary:hover {
    color: #0a0a0c !important;
    -webkit-text-fill-color: #0a0a0c !important;
}

/* Ghost button: white text, visible border */
body.onikix-landing a.cta-button.ghost,
body.onikix-landing .cta-button.ghost {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent !important;
}

body.onikix-landing a.cta-button.ghost:hover {
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary) !important;
    border-color: var(--primary);
}

/* Character card name colors use --accent */
body.onikix-landing .char-data h3 {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

/* Footer heading */
body.onikix-landing .footer-cta h3 {
    color: var(--text-gray) !important;
    -webkit-text-fill-color: var(--text-gray) !important;
}

/* Shimmer badge — force transparent fill for animation */
body.onikix-landing .lcdlc-shiny-badge {
    background: linear-gradient(45deg, #fff, #888, #fff) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: shimmer 3s ease-in-out infinite !important;
}

/* Feature item headings */
body.onikix-landing .f-text h4 {
    color: var(--text-white) !important;
    -webkit-text-fill-color: var(--text-white) !important;
}

/* Pack section highlight item h4 */
body.onikix-landing .highlight-item .f-text h4 {
    color: var(--accent-1) !important;
    -webkit-text-fill-color: var(--accent-1) !important;
}

/* Nav links */
body.onikix-landing .nav-links a {
    color: var(--text-gray) !important;
}

body.onikix-landing .nav-links a:hover {
    color: var(--primary) !important;
}

/* Collab badge always white */
body.onikix-landing a.collab-badge {
    color: white !important;
    -webkit-text-fill-color: white !important;
}



/* --- NOISE TEXTURE --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    pointer-events: none;
    z-index: 999;
}

/* --- UTILITIES --- */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-cyan {
    color: var(--accent-2);
}

.section-tag {
    display: inline-block;
    background: rgba(255, 0, 255, 0.15);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;

    /* Responsive Prevents */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.primary {
    background: var(--text-white);
    color: var(--bg-main);
    border: 1px solid white;
}

.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.ghost {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transform: scale(1.05);
}

.glow-btn {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* --- NAVIGATION --- */
.onikix-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    padding: var(--nav-py, 1.5rem) var(--nav-px, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--nav-gap, 1.5rem);
    z-index: 100;
    transition: all 0.4s;
}

.onikix-navbar.scrolled {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem var(--nav-px, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    height: 40px !important;
    max-width: var(--logo-w, 180px) !important;
    width: auto !important;
    object-fit: contain;
    object-position: left center;
}

/* Navigation Menu Structure */
.nav-links,
.nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- DROPDOWN SUBMENUS --- */
.nav-links .sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 200px;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    z-index: 200;
}

/* Invisible hover bridge — fills the gap above the dropdown so cursor
   can travel from the parent link down to the submenu without losing hover */
.nav-links .sub-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-links li:hover>.sub-menu,
.nav-links li.dropdown-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-links .sub-menu li {
    margin: 0;
    padding: 0;
}

.nav-links .sub-menu a {
    margin: 0;
    padding: 0.55rem 1.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-links .sub-menu a:hover {
    background: rgba(255, 0, 255, 0.1);
    color: var(--primary);
}

.collab-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent-3));
    padding: 0.5rem 1.2rem;
    margin: var(--badge-mt, 0px) var(--badge-mr, 0px) var(--badge-mb, 0px) var(--badge-ml, 0px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent-3));
    animation: badgePulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}

/* ── Acciones del navbar (carrito + cuenta) ── */
.nav-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.1rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: visible;
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.nav-icon-btn:hover {
    color: #fff;
}

/* Carrito con items */
.nav-cart--has-items {
    color: #fff;
}

.nav-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--gradient-action, linear-gradient(135deg, #00F0FF, #a855f7));
    color: #fff;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-size: 0.55rem;
    font-weight: 800;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* Cuenta activa — punto verde */
.nav-account--active {
    color: #fff;
}

.nav-account-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    background: #00F0FF;
    border-radius: 50%;
    border: 1.5px solid var(--bg-main, #0a0a0c);
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
    z-index: 101;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    gap: 4rem;
    z-index: 2;
}

.season-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--accent-2);
}

.hero-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-head);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}



/* 3D Card */
.hero-visual-container {
    display: flex;
    justify-content: center;
    perspective: 1500px;
    height: 600px;
}

.card-3d-wrapper {
    width: 400px;
    height: 560px;
    position: relative;
}

.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    border-radius: 20px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    animation: floatingCard 6s ease-in-out infinite;
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-glare {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0;
    mix-blend-mode: overlay;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.card-3d:hover .card-glare {
    opacity: 1;
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-2deg);
    }
}

.hero-content {
    text-align: left;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.15), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

/* --- SECTIONS LAYOUT --- */
.onikix-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* --- UNIVERSE --- */
.universe-section {
    background: var(--bg-surface);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Anulo el padding vertical del container genérico en esta sección */
.universe-section .onikix-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Textura: malla de puntos ultra-sutil */
.universe-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Glow atmosférico bilateral centrado */
.universe-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 65vw;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 0, 255, 0.055) 0%, transparent 50%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

/* Anillos orbitales decorativos */
.uni-orbital {
    position: absolute;
    right: -12%;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 1;
}

.uni-orbital::before {
    content: '';
    position: absolute;
    inset: 55px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.uni-orbital::after {
    content: '';
    position: absolute;
    inset: 110px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.05);
}

/* ── Layout: izquierda | divisor | derecha ── */
.uni-editorial {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 0;
}

/* ── Divisor vertical con gradiente cyan → magenta ── */
.uni-divider {
    width: 1px;
    align-self: stretch;
    min-height: 300px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 240, 255, 0.22) 25%,
            rgba(168, 85, 247, 0.22) 75%,
            transparent 100%);
    margin: 0 3.5rem;
}

/* ── Columna izquierda: Manifiesto ── */
.uni-col-left {
    text-align: left;
    padding-right: 1rem;
}

/* Eyebrow decorativo: marca discreta */
.uni-eyebrow {
    display: block;
    font-family: var(--font-head);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.16);
    margin-bottom: 1.8rem;
}

/* Título premium — letra apretada, tamaño máximo */
.uni-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 1.0;
    margin: 0 0 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.04em;
    letter-spacing: -0.025em;
}

.uni-title-line {
    display: block;
}

/* Frase lead: italica, sutil, casi a punto de desaparecer */
.uni-lead {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.015em;
}

/* ── Columna derecha: Descubrimiento ── */
.uni-col-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding-left: 1rem;
}

/* ── Lista de personajes — estilo editorial numerado ── */
.uni-chars {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.uni-char-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.uni-char-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Número de índice estilo editorial */
.uni-char-num {
    font-family: var(--font-head);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1;
}

.uni-char-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.4em;
    flex-wrap: wrap;
}

/* Esencia: misma línea que el nombre */
.uni-char-essence {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
    line-height: 1.5;
}

/* Nombre: texto normal — la frase se lee entera, el CTA es el protagonista */
.uni-char-name {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0;
    line-height: 1.5;
}

/* Ellipsis sutil, no pide atención */
.uni-char-ellipsis {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.13);
    letter-spacing: 8px;
    padding: 0.8rem 0 0 1.5rem;
    line-height: 1;
}

/* ── Párrafo puente: separado del contenido por borde ── */
.uni-bridge {
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.75;
    margin: 0 0 2rem;
    font-style: italic;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Bloque CTA ── */
.uni-cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.uni-cta-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    margin: 0;
}

.uni-cta-sublabel {
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.45;
    margin: 0 0 1.1rem;
}

.uni-cta-btn {
    font-size: 0.8rem;
    padding: 0.85rem 2rem;
    letter-spacing: 2.5px;
}

/* Flecha animada en hover del botón */
.uni-cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.uni-cta-btn:hover .uni-cta-arrow {
    transform: translateX(5px);
}

/* ── Responsive: apilado en móvil ── */
@media (max-width: 960px) {
    .universe-section {
        padding: 4.5rem 0;
    }

    .uni-editorial {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .uni-divider {
        display: none;
    }

    .uni-col-left,
    .uni-col-right {
        text-align: center;
        padding: 0;
    }

    .uni-eyebrow {
        text-align: center;
    }

    .uni-title {
        font-size: clamp(2.6rem, 8vw, 3.8rem);
        letter-spacing: -0.01em;
        margin-bottom: 1.6rem;
    }

    .uni-char-item {
        justify-content: center;
    }

    .uni-cta-block {
        align-items: center;
    }

    .uni-bridge {
        text-align: center;
    }

    .uni-orbital {
        display: none;
    }
}

@media (max-width: 480px) {
    .uni-char-name {
        font-size: 1.3rem;
    }

    .uni-cta-label,
    .uni-cta-sublabel {
        font-size: 0.85rem;
    }

    /* Botón CTA en una sola línea en móvil */
    .uni-cta-btn {
        font-size: 0.72rem;
        letter-spacing: 1px;
        padding: 0.85rem 1.4rem;
        white-space: nowrap;
    }
}


/* --- CHARACTERS --- */
.chars-section {
    padding: 6rem 0;
    position: relative;
}

/* Transición directa universe→personajes: menos espacio */
.universe-section+.chars-section {
    padding-top: 2rem;
}

/* Reduce el espacio entre la sección de chicas y chicos si ambas están activas */
.chars-section+.chars-section {
    padding-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-head);
    font-weight: 900;
}

.char-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.char-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.char-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.char-card:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%), var(--bg-surface);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px color-mix(in srgb, var(--accent) 20%, transparent);
}

.char-visual {
    height: 100%;
    width: 100%;
    position: relative;
    background: linear-gradient(to bottom, #f5f5f7, #d5d5d7);
}

.char-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s;
}

.char-card:hover img {
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s;
}

.char-data {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    transition: all 0.3s;
}

.char-data h3 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.archetype {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.quote {
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.char-card:hover .char-data {
    transform: translateY(0);
}

.char-card:hover .archetype {
    color: rgba(255, 255, 255, 0.9);
}

.char-card:hover .quote {
    color: rgba(255, 255, 255, 0.7);
}

/* --- PACK --- */
.pack-section {
    padding-bottom: 4rem;
}

.marquee-strip {
    background: var(--primary);
    padding: 1rem;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-weight: 800;
    color: black;
    animation: marquee 20s linear infinite;
    font-size: 1rem;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.pack-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.card-fan {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.fan-card {
    position: absolute;
    width: 220px;
    border-radius: 16px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc1 {
    transform: rotate(-12deg) translateX(-80px);
    z-index: 1;
}

.fc2 {
    transform: rotate(0deg) translateY(-20px);
    z-index: 3;
}

.fc3 {
    transform: rotate(12deg) translateX(80px);
    z-index: 2;
}

.card-fan:hover .fc1 {
    transform: rotate(-18deg) translateX(-120px) translateY(-10px);
}

.card-fan:hover .fc2 {
    transform: rotate(0deg) translateY(-30px) scale(1.05);
}

.card-fan:hover .fc3 {
    transform: rotate(18deg) translateX(120px) translateY(-10px);
}

.pack-info h2 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.feature-list {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.feature-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.highlight-item {
    border: 1px solid var(--accent-1);
    background: rgba(204, 255, 0, 0.05);
}

.f-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.f-text h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.f-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- FOOTER --- */
.onikix-footer {
    text-align: center;
    padding: 5rem 2rem 2rem;
    background: black;
    position: relative;
}

.onikix-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-cta h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.lcdlc-shiny-badge {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-head);
    background: linear-gradient(45deg, #fff, #888, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* --- FOOTER GLOBAL (4 columns) --- */
footer.onikix-footer-global .footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr !important;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 3rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

footer.onikix-footer-global .footer-col {
    min-width: 0;
}

.footer-col-title {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 1.2rem;
}

/* Col 1: Brand */
.footer-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 200px !important;
    margin-bottom: 0.8rem;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(204, 255, 0, 0.05);
}

/* Col 2: Navigation */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 0.6rem;
}

.footer-nav-list a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: var(--text-white);
}

/* Col 3: Contact */
.footer-col-contact p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.footer-col-contact strong {
    color: var(--text-white);
    font-size: 0.95rem;
}

.footer-address {
    margin-bottom: 0.8rem !important;
}

.footer-contact-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-link:hover {
    color: var(--primary);
}

/* Legal links (discreet) */
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: var(--text-gray);
}

/* =============================================
   RESPONSIVE DESIGN — ALL DEVICES
   ============================================= */

/* --- LARGE TABLET / SMALL DESKTOP (≤1200px) --- */
@media (max-width: 1200px) {

    .char-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .char-card {
        height: 420px;
    }

    .hero-container {
        gap: 2rem;
    }

    .card-3d-wrapper {
        width: 340px;
        height: 480px;
    }

    .hero-visual-container {
        height: 500px;
    }

    .universe-orb {
        width: 320px;
        height: 320px;
    }

    .pack-container {
        gap: 2rem;
    }

    .fan-card {
        width: 190px;
    }
}

/* --- TABLET (≤1000px) --- */
@media (max-width: 1000px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-visual-container {
        height: 420px;
    }

    .card-3d-wrapper {
        width: 280px;
        height: 390px;
    }

    .char-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .char-card {
        height: 400px;
    }

    .split-layout,
    .pack-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pack-visual {
        order: -1;
    }

    .universe-orb {
        width: 280px;
        height: 280px;
    }

    .universe-orb::before {
        inset: -30px;
    }

    .card-fan {
        height: 380px;
    }

    .fan-card {
        width: 180px;
    }

    .feature-item {
        text-align: left;
    }

    .lcdlc-shiny-badge {
        font-size: 2rem;
    }
}

/* --- MOBILE (≤768px) --- */
@media (max-width: 768px) {

    /* Navigation */
    .onikix-navbar {
        padding: 1rem 1.5rem;
    }

    .onikix-navbar.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .nav-logo {
        height: 32px !important;
    }

    /* Navigation Overlay Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 12, 0.85);
        /* Dark transparent */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 2rem;
        z-index: 98;
        /* Below mobile toggle and logo */

        /* Smooth Entrance */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-2%);
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    }

    .nav-links.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: flex;
    }

    /* Container UL reset for Mobile */
    .nav-links ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Staggered Animations for List Items */
    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.nav-open li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.nav-open li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.nav-open li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.nav-open li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.nav-open li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.nav-open li:nth-child(5) {
        transition-delay: 0.3s;
    }

    /* Links Principales Móvil */
    .nav-links a {
        font-family: var(--font-head);
        font-size: 1.6rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--text-white);
        margin: 0;
        padding: 0.8rem 0;
        display: inline-block;
        letter-spacing: 1px;
        transition: color 0.3s;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--primary);
    }

    /* Reset Submenu para móvil (Acordeón Suave) */
    .nav-links .sub-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Hide the transparent bridge used in desktop */
    .nav-links .sub-menu::before {
        display: none;
    }

    /* Abrir submenú al tocar/hover */
    .nav-links li:hover>.sub-menu,
    .nav-links li.dropdown-open>.sub-menu {
        max-height: 300px;
        opacity: 1;
        padding: 0.5rem 0 1.5rem 0;
    }

    /* Enlaces Secundarios Móvil */
    .nav-links .sub-menu li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .nav-links .sub-menu a {
        font-family: var(--font-body) !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--text-gray) !important;
        padding: 0.8rem 0 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .nav-links .sub-menu a:hover,
    .nav-links .sub-menu a:active {
        color: var(--primary) !important;
        background: transparent !important;
    }

    .collab-badge {
        position: fixed;
        bottom: 3rem;
        left: 50%;
        transform: translateY(20px) translateX(-50%);
        z-index: 100;
        /* Above nav-links */
        opacity: 0;
        visibility: hidden;
        margin: 0 !important;
        width: max-content;
        max-width: 90vw;
        text-align: center;
        transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    }

    .collab-badge.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(-50%);
        transition-delay: 0.3s;
    }

    /* Iconos de acción visibles en móvil (z-index encima del menú overlay) */
    .nav-actions {
        z-index: 101;
        gap: 0;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero */
    .hero {
        padding: 80px 1rem 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .season-pill {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

    .hero-visual-container {
        height: 350px;
    }

    .card-3d-wrapper {
        width: 240px;
        height: 340px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-button {
        width: fit-content;
        text-align: center;
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
    }

    /* Universe */
    .universe-section {
        padding: 4rem 0;
    }

    .universe-orb {
        width: 220px;
        height: 220px;
    }

    .universe-orb::before {
        inset: -25px;
    }

    .text-block h2 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .lead-text {
        font-size: 1rem;
    }

    /* Characters */
    .chars-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .char-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .char-card {
        height: 320px;
    }

    .char-data {
        padding: 1rem;
    }

    .char-data h3 {
        font-size: 1rem;
    }

    .archetype {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .quote {
        font-size: 0.75rem;
    }

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

    .section-desc {
        font-size: 1rem;
    }

    /* Pack */
    .card-fan {
        height: 280px;
    }

    .fan-card {
        width: 140px;
    }

    .fc1 {
        transform: rotate(-10deg) translateX(-50px);
    }

    .fc3 {
        transform: rotate(10deg) translateX(50px);
    }

    .card-fan:hover .fc1 {
        transform: rotate(-14deg) translateX(-70px) translateY(-5px);
    }

    .card-fan:hover .fc3 {
        transform: rotate(14deg) translateX(70px) translateY(-5px);
    }

    .feature-item {
        padding: 1rem;
    }

    .f-icon {
        font-size: 1.5rem;
    }

    .f-text h4 {
        font-size: 1rem;
    }

    .f-text p {
        font-size: 0.85rem;
    }

    .pack-info h2 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
        padding: 2rem 1.5rem 0;
        margin-top: 2.5rem;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .onikix-footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .lcdlc-shiny-badge {
        font-size: 1.6rem;
    }

    .footer-cta h3 {
        font-size: 0.8rem;
    }

    .onikix-container {
        padding: 3rem 1.5rem;
    }

    .marquee-content {
        font-size: 0.8rem;
    }

    .marquee-strip {
        padding: 0.7rem;
    }
}

/* --- SMALL MOBILE (≤480px) --- */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-brand {
        grid-column: auto;
    }

    .footer-nav-list {
        text-align: center;
    }

    .hero {
        padding: 70px 0.8rem 30px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .season-pill {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-visual-container {
        height: 300px;
    }

    .card-3d-wrapper {
        width: 200px;
        height: 280px;
    }

    .char-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .char-card {
        height: 380px;
    }

    .char-data {
        padding: 1.2rem;
    }

    .char-data h3 {
        font-size: 1.2rem;
    }

    .archetype {
        font-size: 0.65rem;
    }

    .quote {
        font-size: 0.8rem;
    }

    .universe-orb {
        width: 180px;
        height: 180px;
    }

    .universe-orb::before {
        inset: -20px;
    }

    .text-block h2 {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .card-fan {
        height: 240px;
    }

    .fan-card {
        width: 110px;
    }

    .fc1 {
        transform: rotate(-8deg) translateX(-40px);
    }

    .fc3 {
        transform: rotate(8deg) translateX(40px);
    }

    .card-fan:hover .fc1 {
        transform: rotate(-12deg) translateX(-55px) translateY(-5px);
    }

    .card-fan:hover .fc3 {
        transform: rotate(12deg) translateX(55px) translateY(-5px);
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .pack-info h2 {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .lcdlc-shiny-badge {
        font-size: 1.3rem;
    }

    .footer-cta p {
        font-size: 0.9rem;
    }

    .cta-button.ghost {
        width: 100%;
        text-align: center;
    }

    .onikix-container {
        padding: 2rem 1rem;
    }

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

    .section-desc {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .marquee-content {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

/* --- REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   CHARACTER PAGE — Modelo Ficha v1.0
   Secciones: Hero · ¿Quién es? · ¿Qué activa?
              Microfrases · Producto · Otros · Galería
   ============================================ */

/* ── 1. HERO IDENTITARIO ── */
.pj-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.pj-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pj-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pj-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pj-hero-name {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 7.5vw, 5.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.pj-hero-quote {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-style: italic;
    max-width: 500px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.pj-hero-archetype {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.pj-hero-cta {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    opacity: 0.5;
    margin-top: 2rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pj-hero-cta:hover {
    opacity: 1;
    transform: translateX(4px);
}

.pj-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pj-hero-img-wrap {
    position: relative;
    width: 380px;
    height: 480px;
}

.pj-hero-img-wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--pj-accent, #FF00FF)25, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
}

.pj-hero-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 0 30px var(--pj-accent, #FF00FF)40);
}

/* ── 2. ¿QUIÉN ES? ── */
.pj-quien {
    padding: 80px 0;
    background: var(--bg-surface);
}

.pj-quien-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.pj-quien-text {
    max-width: 600px;
}

.pj-quien-intro {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
    line-height: 1.7;
}

.pj-quien-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pj-quien-list li {
    font-size: 1.05rem;
    color: var(--text-white);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.pj-quien-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--pj-accent, #FF00FF);
    font-weight: 700;
}

.pj-quien-cierre {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* Traits sidebar */
.pj-traits-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pj-trait {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, border-color 0.3s;
}

.pj-trait:hover {
    transform: translateY(-3px);
    border-color: var(--pj-accent, #FF00FF);
}

.pj-trait-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pj-trait-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

/* ── 3. ¿QUÉ ACTIVA EN TI? ── */
.pj-activa {
    padding: 80px 0;
}

.pj-activa-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pj-activa-lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.pj-activa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
}

.pj-activa-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-white);
    transition: border-color 0.3s, transform 0.3s;
}

.pj-activa-item:hover {
    border-color: var(--accent, #FF00FF);
    transform: translateY(-2px);
}

.pj-activa-icon {
    color: var(--accent, #FF00FF);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pj-activa-cierre {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ── 4. MICROFRASES CANÓNICAS ── */
.pj-microfrases {
    padding: 80px 0;
    background: var(--bg-surface);
}

.pj-microfrases-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.pj-microfrase {
    text-align: center;
    padding: 0.6rem 2rem;
}

.pj-microfrase-text {
    font-family: var(--font-head);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-white);
    letter-spacing: 0.02em;
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pj-microfrase:nth-child(1) .pj-microfrase-text {
    opacity: 0.75;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.pj-microfrase:nth-child(3) .pj-microfrase-text {
    opacity: 0.5;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.pj-microfrase:nth-child(5) .pj-microfrase-text {
    opacity: 0.5;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.pj-microfrase:hover .pj-microfrase-text {
    opacity: 1;
    transform: scale(1.03);
}

/* ── 5. APLICACIÓN A PRODUCTO ── */
.pj-producto {
    padding: 100px 0;
}

.pj-producto-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pj-producto-intro {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.pj-producto-body {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.6;
}

.pj-producto-values {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.pj-producto-inner .cta-button {
    margin-top: 1.5rem;
    font-size: 1rem;
    padding: 1rem 2.5rem;
}

/* ── 6. OTROS PERSONAJES ── */
.pj-cta {
    padding: 80px 0;
    background: var(--bg-surface);
}

.pj-others-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.pj-other-card {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.4s,
        box-shadow 0.4s;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pj-other-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent, #FF00FF);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 40px color-mix(in srgb, var(--accent, #FF00FF) 15%, transparent);
}

.pj-other-visual {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0c 100%);
}

.pj-other-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pj-other-card:hover .pj-other-visual img {
    transform: scale(1.08);
}

.pj-other-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top,
            rgba(10, 10, 12, 0.95) 0%,
            rgba(10, 10, 12, 0.6) 40%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.pj-other-data {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    z-index: 2;
    text-align: center;
}

.pj-other-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent, #fff);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    transition: color 0.3s;
}

.pj-other-archetype {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.3s;
}

.pj-other-card:hover .pj-other-archetype {
    color: rgba(255, 255, 255, 0.85);
}

.pj-back-link {
    text-align: center;
    margin-top: 3rem;
}

/* ── 7. GALERÍA ── */
.pj-gallery {
    padding: 80px 0;
}

.pj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pj-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.pj-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* ── Footer (Character Page) ── */
.onikix-personaje .onikix-footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.onikix-personaje .footer-logo {
    max-width: 120px;
    height: auto;
}

/* ── Responsive (Character Page) ── */
@media (max-width: 768px) {
    .pj-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pj-hero-content {
        align-items: center;
        order: 2;
    }

    .pj-hero-visual {
        order: 1;
    }

    .pj-hero-img-wrap {
        width: 260px;
        height: 340px;
    }

    .pj-hero-quote {
        font-size: 1.1rem;
    }

    .pj-quien-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pj-traits-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pj-trait {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .pj-activa-grid {
        grid-template-columns: 1fr;
    }

    .pj-others-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .pj-other-card {
        height: 300px;
    }
}

/* ────────────────────────────────────
   COOKIE BANNER & SETTINGS PANEL
   ──────────────────────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-family: var(--font-body);
}

.cookie-banner__content {
    flex: 1 1 300px;
}

.cookie-banner__content p {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner__content a {
    color: var(--color-primary, #0FF);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, opacity 0.2s;
}

/* CRÍTICO: Mismo peso visual inicial */
.cookie-btn--primary,
.cookie-btn--secondary {
    background: #333;
    color: #fff;
    border: 1px solid #555;
}

.cookie-btn:hover {
    background: #555;
}

/* ── Cookie Settings Panel ── */
.cookie-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    z-index: 10000;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-family: var(--font-body);
}

.cookie-settings h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--color-primary, #0FF);
}

.cookie-category {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-category p {
    margin: 5px 0 0 28px;
    font-size: 0.85rem;
    color: #aaa;
}

.cookie-settings__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.cookie-settings__actions .cookie-btn--primary {
    background: var(--color-primary, #0FF);
    color: #000;
    border-color: var(--color-primary, #0FF);
}

.cookie-settings__actions .cookie-btn--primary:hover {
    background: #fff;
    border-color: #fff;
}

/* ══════════════════════════════════════════════
   ONIKIX — Utility Components (WooCommerce)
   Componentes reutilizables en templates de tienda,
   carrito, checkout y producto.
   ══════════════════════════════════════════════ */

/* ── .btn-onikix — Botón de acción principal ── */
.btn-onikix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-action);
    color: #fff;
    font-family: var(--font-head, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

.btn-onikix:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
    color: #fff;
}

.btn-onikix:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-onikix--sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.75rem;
}

.btn-onikix--outline {
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: var(--accent-2, #00F0FF);
}

.btn-onikix--outline:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-2, #00F0FF);
    color: var(--accent-2, #00F0FF);
}

/* ── .onikix-field — Inputs y selects dark ── */
.onikix-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
}

.onikix-field:focus {
    border-color: rgba(0, 240, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

.onikix-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ── .glass-card — Glassmorphism card ── */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════════
   Mi Cuenta — layout grid garantizado
   (cargado desde el CSS global para asegurar
   que siempre aplica independientemente del
   enqueue de page-myaccount.css)
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
    body.onikix-myaccount .woocommerce {
        display: grid;
        grid-template-columns: 260px 1fr;
        grid-template-areas:
            "notices notices"
            "nav     content";
        gap: 0 2rem;
        align-items: start;
    }

    body.onikix-myaccount .woocommerce>.woocommerce-notices-wrapper {
        grid-area: notices;
    }

    body.onikix-myaccount .woocommerce-MyAccount-navigation {
        grid-area: nav;
        position: sticky;
        top: 100px;
    }

    body.onikix-myaccount .woocommerce-MyAccount-content {
        grid-area: content;
    }
}

body.onikix-myaccount .woocommerce-MyAccount-navigation li a {
    white-space: nowrap;
}

/* --- Footer Global Fix (mobile readability) --- */
@media (max-width: 900px) {
    footer.onikix-footer-global .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.4rem !important;
        text-align: center !important;
        padding: 1.8rem 1rem 0 !important;
        margin-top: 2rem !important;
    }

    footer.onikix-footer-global .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1rem;
    }

    footer.onikix-footer-global .footer-col:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    footer.onikix-footer-global .footer-col-brand,
    footer.onikix-footer-global .footer-col-nav,
    footer.onikix-footer-global .footer-col-contact {
        grid-column: auto !important;
    }

    footer.onikix-footer-global .footer-nav-list li {
        margin-bottom: 0.5rem;
    }

    footer.onikix-footer-global .footer-socials {
        justify-content: center !important;
    }

    footer.onikix-footer-global .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        text-align: center !important;
        padding-top: 1rem !important;
    }

    footer.onikix-footer-global .footer-legal-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center !important;
    }
}