/* =========================================================================
   DIRECRAFT NETWORK - MODERN DESIGN SYSTEM
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --bg-base: #050816;
    --bg-surface: #09101d;
    --bg-card: rgba(13, 20, 36, 0.85);
    --bg-card-hover: rgba(19, 30, 54, 0.95);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.35);
    
    --accent-sky: #38bdf8;
    --accent-indigo: #818cf8;
    --accent-emerald: #10b981;
    --accent-emerald-light: #34d399;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Cinzel', serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow-sky: 0 0 30px rgba(56, 189, 248, 0.3);
    --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.mobile-nav-locked {
    overflow: hidden;
}

/* Background Ambient Orbs */
.bg-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.08), transparent 40%),
        radial-gradient(circle at 15% 70%, rgba(16, 185, 129, 0.08), transparent 45%);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-sky); }

/* Text & Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 35%, #a7f3d0 75%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent-rule {
    height: 3px;
    width: 4.5rem;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: var(--radius-full);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: var(--font-main);
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    border-color: rgba(56, 189, 248, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    border-color: rgba(52, 211, 153, 0.3);
}
.btn-emerald:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.55);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
    border-color: rgba(129, 140, 248, 0.4);
}
.btn-discord:hover {
    background: linear-gradient(135deg, #6875f5 0%, #5865F2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.55);
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-md { padding: 0.8rem 1.8rem; font-size: 0.95rem; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }

/* =========================================================================
   HEADER & NAVBAR
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(9, 16, 29, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(9, 16, 29, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
    gap: 1rem;
    transition: padding 0.25s ease;
}

.site-header.is-scrolled .nav-container {
    padding: 0.6rem 2rem;
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-logo-link img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-item-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-item-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item-link.active {
    color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.1);
}

.nav-item-link.vote-link {
    color: #050816;
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.nav-item-link.vote-link:hover {
    color: #050816;
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 100%);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

.nav-menu-desktop .nav-item-link.vote-link::after {
    content: none;
}

.mobile-nav-list .nav-item-link.vote-link {
    justify-content: center;
}

.nav-menu-desktop .nav-item-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-sky);
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu-desktop .nav-item-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.copy-ip-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.copy-ip-pill:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-sky);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 0.55rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
    background: rgba(9, 16, 29, 0.98);
    border-top: 1px solid transparent;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}
.mobile-nav-drawer.open {
    max-height: 28rem;
    opacity: 1;
    padding: 1.2rem 1.5rem;
    border-top-color: var(--border-subtle);
}
.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-nav-list .nav-item-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.site-hero {
    position: relative;
    z-index: 10;
    min-height: 34rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 6rem;
    overflow: hidden;
}

.hero-backdrop-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: brightness(0.7);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.22), transparent 45%),
        linear-gradient(180deg, rgba(5, 8, 22, 0.2) 0%, rgba(5, 8, 22, 0.8) 70%, var(--bg-base) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-emblem {
    width: clamp(130px, 18vw, 220px);
    height: clamp(130px, 18vw, 220px);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 60px rgba(56, 189, 248, 0.2));
    animation: heroEmblemFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
               heroEmblemGlow 3.2s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes heroEmblemFloat {
    0%   { transform: translateY(0) rotate(0deg); }
    25%  { transform: translateY(-6px) rotate(0.7deg); }
    50%  { transform: translateY(-11px) rotate(0deg); }
    75%  { transform: translateY(-6px) rotate(-0.7deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes heroEmblemGlow {
    0%, 100% {
        filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.32)) drop-shadow(0 0 40px rgba(56, 189, 248, 0.14)) brightness(0.92);
    }
    50% {
        filter: drop-shadow(0 0 44px rgba(56, 189, 248, 0.85)) drop-shadow(0 0 90px rgba(56, 189, 248, 0.4)) brightness(1.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-emblem {
        animation: none;
    }
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.6rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.4rem;
    max-width: 680px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* =========================================================================
   CARROUSEL / NOTICIAS & MODALIDADES
   ========================================================================= */
.section-py {
    padding: 4.5rem 0;
    position: relative;
    z-index: 10;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.carousel-card-wrap {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.carousel-slide-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 420px;
    align-items: center;
}

.carousel-text-box {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.carousel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sky);
    margin-bottom: 0.8rem;
}

.carousel-slide-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.carousel-slide-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.carousel-footer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.carousel-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.inline-link {
    color: var(--accent-sky);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
}
.inline-link:hover {
    gap: 0.7rem;
    color: #fff;
}

.carousel-image-box {
    height: 100%;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-img {
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
}
.carousel-card-wrap:hover .carousel-img {
    transform: scale(1.03);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-sky);
}

.carousel-dot {
    height: 8px;
    width: 8px;
    border-radius: var(--radius-full);
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.carousel-dot.active {
    width: 24px;
    background: var(--accent-sky);
}

/* =========================================================================
   SITE PANELS (SHOWCASE)
   ========================================================================= */
.site-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.panel-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.panel-text.text-right {
    text-align: right;
    align-items: flex-end;
}

.panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}

.panel-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f1f5f9;
}

.panel-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.panel-media {
    position: relative;
    width: 100%;
}

.panel-media img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
}

.glow-orb-left {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--accent-sky), transparent);
    opacity: 0.3;
    filter: blur(28px);
    pointer-events: none;
}

.glow-orb-right {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 7rem;
    height: 7rem;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--accent-indigo), transparent);
    opacity: 0.3;
    filter: blur(32px);
    pointer-events: none;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: rgba(9, 16, 29, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

.footer-disclaimer {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-sky);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

/* =========================================================================
   WIKI & TIENDA MODULES
   ========================================================================= */
.wiki-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 2.5rem;
    max-width: 1480px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
    position: relative;
    z-index: 10;
}

.wiki-nav-card {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    height: fit-content;
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.wiki-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.wiki-item a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.wiki-item a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateX(3px);
}

.wiki-item a.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
}

.wiki-item a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--accent-sky);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 8px var(--accent-sky);
}

/* Wiki Article Typography & Crafting Grids */
.wiki-article {
    background: rgba(9, 16, 29, 0.82);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.8rem 3.2rem;
    backdrop-filter: blur(24px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.wiki-article h1 { font-size: 2.2rem; margin-bottom: 1.2rem; font-family: var(--font-display); }
.wiki-article h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--accent-sky); font-family: var(--font-display); border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.5rem; }
.wiki-article h3 { font-size: 1.25rem; margin: 1.5rem 0 0.8rem; color: #fff; }
.wiki-article p { color: #cbd5e1; font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.wiki-article code { background: rgba(0,0,0,0.5); padding: 0.2rem 0.5rem; border-radius: 6px; font-family: monospace; color: var(--accent-emerald-light); font-size: 0.9em; border: 1px solid rgba(255,255,255,0.08); }
.wiki-article hr { border: 0; height: 1px; background: var(--border-subtle); margin: 2rem 0; }
.wiki-article ul { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.wiki-article li { color: #cbd5e1; font-size: 1rem; line-height: 1.8; margin-bottom: 0.5rem; }
/* Red de seguridad: cualquier palabra/enlace largo se rompe en vez de desbordar
   el recuadro (importante en móvil, donde el recuadro usa overflow-x:hidden) */
.wiki-article, .wiki-article * { overflow-wrap: break-word; word-break: break-word; }

/* Crafting Grid Component (Minecraft RPG Style) */
.crafting-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin: 1.8rem 0 2.5rem;
}

.recipe-card {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.recipe-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
}

.recipe-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.75rem;
}
.recipe-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.recipe-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-sky);
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.recipe-tag.gold {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.4);
}
.recipe-tag.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.4);
}
.recipe-tag.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

.crafting-bench-gui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 46px);
    grid-template-rows: repeat(3, 46px);
    gap: 5px;
}

.grid-slot {
    width: 46px;
    height: 46px;
    background: #141b2d;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #cbd5e1;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
    user-select: none;
    cursor: default;
    transition: all 0.2s;
}
.grid-slot:hover {
    border-color: rgba(56, 189, 248, 0.5);
}
.grid-slot.filled {
    background: #1e293b;
    border-color: rgba(56, 189, 248, 0.35);
}
.slot-amount {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: monospace;
    color: #fff;
    text-shadow: 1px 1px 2px #000, 0 0 2px #000;
    pointer-events: none;
}

.craft-arrow {
    font-size: 1.5rem;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    animation: pulseArrow 2s infinite ease-in-out;
}
@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 0.8; }
    50% { transform: translateX(4px); opacity: 1; }
}

.grid-result {
    width: 60px;
    height: 60px;
    background: #17233d;
    border: 2px solid var(--accent-sky);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
    position: relative;
}

/* Aliases and Unified Selectors for Crafting Grids */
.crafting-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin: 1.8rem 0 2.5rem;
}

.crafting-card {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.crafting-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
}

.crafting-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.grid-cell {
    width: 46px;
    height: 46px;
    background: #141b2d;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #cbd5e1;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
    user-select: none;
    cursor: default;
    transition: all 0.2s;
}
.grid-cell:hover {
    border-color: rgba(56, 189, 248, 0.5);
}
.grid-cell.empty {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.04);
}

.grid-arrow {
    font-size: 1.5rem;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    animation: pulseArrow 2s infinite ease-in-out;
}

/* Wiki Alerts */
.wiki-alert {
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-left: 4px solid var(--accent-sky);
    backdrop-filter: blur(10px);
}
.wiki-alert-title {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wiki-alert-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
}
.wiki-alert.tip {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}
.wiki-alert.tip .wiki-alert-title { color: #34d399; }
.wiki-alert.important {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}
.wiki-alert.important .wiki-alert-title { color: #fbbf24; }
.wiki-alert.warning, .wiki-alert.caution {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}
.wiki-alert.warning .wiki-alert-title, .wiki-alert.caution .wiki-alert-title { color: #f87171; }
.wiki-alert.note {
    border-left-color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
}
.wiki-alert.note .wiki-alert-title { color: #38bdf8; }

.crafting-subpane {
    display: none;
}
.crafting-subpane.active {
    display: block;
    animation: fadeInSubpane 0.25s ease-in-out;
}

.grid-slot img, .ingredient-slot img, .grid-result img, .grid-cell img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    user-select: none;
    pointer-events: none;
}

.grid-result img {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.7));
}

/* Cauldron / Cooking GUI */
.cauldron-bench-gui {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.cauldron-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 220px;
}

.ingredient-slot {
    width: 44px;
    height: 44px;
    background: #172138;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.recipe-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.recipe-desc strong {
    color: #fff;
}

.recipe-ingredients-list {
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-sky);
}

.effect-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-top: 0.3rem;
}

/* Crafting Sub-navigation Pills */
.crafting-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
}

.crafting-subnav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.2s ease;
    font-family: inherit;
}
.crafting-subnav-btn img {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
    object-fit: contain;
}
.crafting-subnav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}
.crafting-subnav-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-sky);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.crafting-subpane {
    animation: fadeInSubpane 0.25s ease-in-out;
}
@keyframes fadeInSubpane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mob Drops Component */
.mob-drop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.6rem;
    margin: 1.8rem 0 2.5rem;
}

.mob-drop-card {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.mob-drop-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
}

.mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.75rem;
}
.mob-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.mob-category-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}
.mob-category-tag.boss {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.mob-category-tag.elite {
    background: rgba(168, 85, 247, 0.18);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}
.mob-category-tag.wild {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.mob-category-tag.nether {
    background: rgba(249, 115, 22, 0.18);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.4);
}

.mob-drop-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mob-drop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    gap: 0.75rem;
    transition: background 0.2s;
}
.mob-drop-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mob-drop-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mob-drop-info img {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.mob-drop-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.drop-rate-badge {
    font-size: 0.72rem;
    font-weight: 800;
    font-family: monospace;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}
.drop-rate-badge.rate-guaranteed {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.4);
}
.drop-rate-badge.rate-common {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.drop-rate-badge.rate-rare {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
/* 3D Mob Showcase Component (Full-Width Grand Dungeon-Style Banners) */
.mob-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.mob-showcase-row {
    display: grid;
    grid-template-columns: 220px 42px 1fr;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.8rem;
    backdrop-filter: blur(24px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mob-showcase-row:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.18);
    transform: translateY(-3px);
}

.mob-showcase-row.reverse {
    grid-template-columns: 1fr 42px 220px;
}

.mob-showcase-row.reverse .mob-drops-col {
    grid-column: 1;
    grid-row: 1;
}

.mob-showcase-row.reverse .mob-connector-arrow {
    grid-column: 2;
    grid-row: 1;
}

.mob-showcase-row.reverse .mob-render-col {
    grid-column: 3;
    grid-row: 1;
}

.mob-render-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    width: 100%;
}

.mob-render-frame {
    width: 100%;
    max-width: 210px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 65%, rgba(56, 189, 248, 0.14) 0%, rgba(15, 23, 42, 0.4) 65%, transparent 80%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
}

.mob-render-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85));
    animation: mobFloat 4s ease-in-out infinite alternate;
    transition: transform 0.35s ease;
}

.mob-render-frame:hover img {
    transform: scale(1.1);
}

@keyframes mobFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-5px) rotate(1.5deg); }
}

.mob-render-info {
    width: 100%;
}

.mob-render-info h3 {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.mob-badge-group {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mob-connector-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 1rem;
    color: var(--accent-sky);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.15);
    margin: 0 auto;
    animation: pulseArrow 2.5s infinite ease-in-out;
}

.mob-showcase-row.reverse .mob-connector-arrow i {
    transform: rotate(180deg);
}

.mob-drops-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
}

.mob-drops-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}

.mob-drop-items-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mob-drop-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    gap: 0.85rem;
}

.mob-drop-item-card:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.mob-showcase-row.reverse .mob-drop-item-card:hover {
    transform: translateX(-4px);
}

.mob-drop-item-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.mob-drop-item-main img {
    width: 34px;
    height: 34px;
    image-rendering: pixelated;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.7));
}

.mob-drop-item-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.3;
}

.mob-drop-item-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 0.15rem;
}

/* =========================================================================
   DUNGEON FLOORS & PROGRESSION TRACK
   ========================================================================= */
.dungeon-info-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(9, 16, 29, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.8rem;
    margin: 1.8rem 0;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.dungeon-key-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--accent-sky);
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.dungeon-key-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    image-rendering: pixelated;
}

.dungeon-floors-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.dungeon-floor-step {
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dungeon-floor-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, transparent);
    opacity: 0.7;
}

.dungeon-floor-step:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.dungeon-floor-step.boss-step {
    border-color: rgba(244, 63, 94, 0.45);
    background: linear-gradient(145deg, rgba(244, 63, 94, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.dungeon-floor-step.boss-step::before {
    background: linear-gradient(90deg, #f43f5e, #f59e0b);
    height: 4px;
    opacity: 1;
}

.dungeon-floor-step.boss-step:hover {
    border-color: rgba(244, 63, 94, 0.8);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(244, 63, 94, 0.3);
    transform: translateY(-4px);
}

.floor-num-tag {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.floor-num-tag.boss {
    color: #f43f5e;
}

.floor-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: var(--font-display);
}

.floor-req {
    font-size: 0.84rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.4;
}

.floor-mobs-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-top: auto;
}

/* =========================================================================
   PRIMEROS PASOS / ONBOARDING & RPG GUIDE COMPONENTS
   ========================================================================= */
.guide-hero-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem 2.2rem;
    margin: 1.5rem 0 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.12);
    position: relative;
    overflow: hidden;
}

.guide-hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.guide-hero-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.guide-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-sky);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    flex-shrink: 0;
}

.guide-hero-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    image-rendering: pixelated;
}

.guide-hero-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.guide-hero-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.guide-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.guide-pillar-pill {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.25s ease;
}

.guide-pillar-pill:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-2px);
}

.guide-pillar-icon {
    font-size: 1.25rem;
    color: var(--accent-sky);
    flex-shrink: 0;
}

.guide-pillar-text strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.guide-pillar-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Roadmap de 4 pasos */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin: 1.6rem 0 2.2rem;
}

.roadmap-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, transparent);
    opacity: 0.7;
}

.roadmap-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.roadmap-step-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.06em;
}

.roadmap-img-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roadmap-img-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: pixelated;
}

.roadmap-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.roadmap-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.roadmap-cmd-pill {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-md);
    padding: 0.4rem 0.75rem;
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-sky);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
}

/* Categorías de Comandos en Tarjetas */
.cmd-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.4rem;
    margin: 1.6rem 0 2.2rem;
}

.cmd-category-card {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(16px);
}

.cmd-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.cmd-category-header i {
    color: var(--accent-sky);
    font-size: 1.15rem;
}

.cmd-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cmd-item-row {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    transition: all 0.2s ease;
}

.cmd-item-row:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(56, 189, 248, 0.3);
}

.cmd-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-sky);
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cmd-info {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: right;
}

/* Sistema de Protecciones Infografía */
.protection-infobox {
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.07) 0%, rgba(9, 16, 29, 0.9) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.8rem 2rem;
    margin: 1.6rem 0 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.protection-steps-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin: 1.4rem 0;
}

.protection-step-box {
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    border-top: 3px solid #facc15;
}

.protection-step-box .step-tag {
    font-size: 0.76rem;
    font-weight: 800;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.protection-step-box h4 {
    font-size: 0.96rem;
    color: #fff;
    margin: 0;
    font-family: var(--font-display);
}

.protection-step-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

.trust-permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.trust-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: all 0.25s ease;
}

.trust-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.trust-cmd {
    font-family: monospace;
    font-size: 0.84rem;
    font-weight: 800;
    color: #38bdf8;
}

.trust-desc {
    font-size: 0.79rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Subastas & Economía / Monedas de Oro */
.auction-showcase-box,
.gold-showcase-box {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.9) 50%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.8rem 2rem;
    margin: 1.6rem 0 2rem;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.gold-showcase-box {
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.09) 0%, rgba(15, 23, 42, 0.9) 50%, rgba(9, 16, 29, 0.95) 100%);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 25px rgba(234, 179, 8, 0.08);
}

.auction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.gold-showcase-box .auction-header {
    border-color: rgba(234, 179, 8, 0.25);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.auction-header-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.auction-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.gold-showcase-box .auction-header-icon {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.28);
}

.auction-header-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: pixelated;
}

.auction-header-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.auction-header-sub {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.auction-menu-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 0.85rem;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.4rem;
}

.auction-menu-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
}

.auction-menu-item:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.gold-showcase-box .auction-menu-item:hover {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 15px rgba(234, 179, 8, 0.15);
}

.auction-menu-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.auction-menu-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.3;
}

.auction-menu-cmd {
    font-size: 0.74rem;
    color: var(--accent-sky);
    font-family: monospace;
    display: block;
}

.gold-showcase-box .auction-menu-cmd {
    color: #facc15;
}

.auction-content-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.auction-info-card {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
}

.auction-info-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #facc15;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auction-info-card ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================================================
   STORE & PACKAGES SYSTEM
   ========================================================================= */
.store-header {
    text-align: center;
    padding: 5rem 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

.user-preview-card {
    max-width: 580px;
    margin: 2rem auto 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
}

.avatar-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}
.user-input-group label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.user-input-group input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    outline: none;
    font-family: monospace;
    transition: border-color 0.2s;
}
.user-input-group input:focus {
    border-color: var(--accent-sky);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem 5rem;
    position: relative;
    z-index: 10;
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.2rem 1.6rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    position: relative;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), var(--shadow-glow-sky);
}

.package-card.featured {
    border-color: rgba(56, 189, 248, 0.6);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(13, 20, 36, 0.9));
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0284c7, #06b6d4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    white-space: nowrap;
}

.pkg-icon {
    font-size: 2.6rem;
    margin: 0.5rem auto 0;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}

.pkg-gems {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-title);
    line-height: 1;
}

.pkg-bonus {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-emerald-light);
    text-transform: uppercase;
}

.pkg-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
}

.pkg-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-display);
}

/* Modal Dialog */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 1.5rem;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.5);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 200;
    border: 1px solid rgba(56, 189, 248, 0.4);
    white-space: nowrap;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Wiki Article Panes */
.wiki-article-pane {
    display: none;
}
.wiki-article-pane.active {
    display: block;
    animation: fadeInPane 0.25s ease;
}
@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   GUIA DE GEMAS & TIENDA MODULE
   ========================================================================= */
.gem-hero-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(9, 16, 29, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-xl);
    padding: 2.2rem 2.5rem;
    margin: 1.8rem 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(56, 189, 248, 0.12);
    position: relative;
    overflow: hidden;
}

.gem-hero-icon {
    font-size: 3.5rem;
    color: var(--accent-sky);
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.6));
    animation: gemPulse 3s ease-in-out infinite alternate;
}

@keyframes gemPulse {
    0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.5)); }
    100% { transform: scale(1.08) rotate(4deg); filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.8)); }
}

.gem-packages-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
    margin: 1.8rem 0 2.8rem;
}

.gem-card-tier {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.gem-card-tier:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.gem-card-tier.featured {
    border-color: rgba(56, 189, 248, 0.6);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.15) 0%, rgba(9, 16, 29, 0.85) 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.gem-card-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.gem-redeem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.6rem;
    margin: 1.8rem 0 2.5rem;
}

.gem-redeem-card {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    backdrop-filter: blur(16px);
    transition: all 0.25s ease;
}

.gem-redeem-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.gem-redeem-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 0.8rem;
}

.gem-redeem-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-sky);
    border: 1px solid rgba(56, 189, 248, 0.3);
    flex-shrink: 0;
}

.gem-redeem-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.gem-redeem-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: background 0.2s;
}

.gem-redeem-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* =========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (TABLET & MOBILE VERTICAL)
   ========================================================================= */

/* --- TABLETS & ALL MOBILE VIEWPORTS (<= 960px) --- */
@media (max-width: 960px) {
    .nav-menu-desktop { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .panel-text.text-right {
        text-align: left;
        align-items: flex-start;
    }
    
    .carousel-slide-inner {
        grid-template-columns: 1fr;
    }
    .carousel-image-box {
        display: none;
    }
    
    /* Wiki Sticky Horizontal Slider on Tablet/Mobile */
    .wiki-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.1rem !important;
        padding: 1rem 0.75rem 4rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .wiki-nav-card {
        position: sticky !important;
        top: 56px !important;
        z-index: 45 !important;
        padding: 0.35rem 0.45rem !important;
        background: rgba(9, 16, 29, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: var(--radius-full) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(56, 189, 248, 0.15) !important;
        border: 1px solid rgba(56, 189, 248, 0.3) !important;
        margin: 0 0 0.6rem 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .wiki-nav-card > div:first-child,
    .wiki-nav-header {
        display: none !important;
    }
    
    .wiki-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
        padding: 0.15rem 0.2rem !important;
        margin: 0 !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        scroll-snap-type: x mandatory;
    }
    .wiki-menu::-webkit-scrollbar {
        display: none !important;
    }
    
    .wiki-menu li,
    .wiki-menu .wiki-item {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        scroll-snap-align: start;
    }
    
    .wiki-menu a,
    .wiki-item a,
    .wiki-link {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        border-radius: var(--radius-full) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        color: var(--text-secondary) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    
    .wiki-menu a:hover,
    .wiki-item a:hover,
    .wiki-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }
    
    .wiki-menu a.active,
    .wiki-item a.active,
    .wiki-link.active {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
        border-color: var(--accent-sky) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 12px rgba(2, 132, 199, 0.5) !important;
    }

    /* Wiki Article Responsive Sizing */
    .wiki-article {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 1.6rem 1.2rem !important;
        overflow-x: hidden !important;
        border-radius: var(--radius-lg) !important;
    }

    /* Sub-nav Pills (Crafting / Mobs Tabs) */
    .crafting-subnav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0.35rem 0.45rem !important;
        gap: 0.45rem !important;
        margin: 1rem 0 1.5rem !important;
        border-radius: var(--radius-full) !important;
        background: rgba(9, 16, 29, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .crafting-subnav::-webkit-scrollbar {
        display: none !important;
    }
    .crafting-subnav-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8rem !important;
        border-radius: var(--radius-full) !important;
        gap: 0.45rem !important;
    }
    .crafting-subnav-btn img {
        width: 18px !important;
        height: 18px !important;
    }

    /* Responsive Grid Conversions */
    .crafting-section-grid,
    .crafting-grid-container,
    .mob-drop-grid,
    .protection-steps-track,
    .trust-permissions-grid,
    .auction-content-body,
    .auction-menu-bar,
    .gem-packages-showcase,
    .gem-redeem-grid,
    .rpg-roadmap-tree,
    .cmd-section-grid,
    .packages-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3D Mobs Showcase Section - Full Responsive Vertical Stack */
    .mob-showcase-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .mob-showcase-row,
    .mob-showcase-row.reverse {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 1.3rem 1.1rem !important;
        gap: 0.9rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        border-radius: var(--radius-xl) !important;
    }
    .mob-render-col,
    .mob-showcase-row.reverse .mob-render-col {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .mob-render-frame {
        width: 100% !important;
        max-width: 180px !important;
        height: 140px !important;
        margin: 0 auto !important;
        padding: 0.5rem !important;
        box-sizing: border-box !important;
    }
    .mob-render-frame img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
    .mob-connector-arrow,
    .mob-showcase-row.reverse .mob-connector-arrow {
        display: flex !important;
        transform: rotate(90deg) !important;
        margin: 0.2rem auto !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .mob-showcase-row.reverse .mob-connector-arrow i {
        transform: none !important;
    }
    .mob-drops-col,
    .mob-showcase-row.reverse .mob-drops-col {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        padding: 1.1rem 1rem !important;
        text-align: left !important;
        border-radius: var(--radius-lg) !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .mob-drop-items-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .mob-drop-item-card,
    .mob-showcase-row.reverse .mob-drop-item-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75rem 0.85rem !important;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        transform: none !important;
    }
    .mob-drop-item-card:hover {
        transform: translateY(-2px) !important;
    }
    .mob-drop-item-main {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .mob-drop-item-main img {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    .mob-drop-item-main > div {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .mob-drop-item-name {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        max-width: none !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        color: #fff !important;
        line-height: 1.3 !important;
    }
    .mob-drop-item-desc {
        font-size: 0.76rem !important;
        color: var(--text-secondary) !important;
        line-height: 1.35 !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .drop-rate-badge {
        font-size: 0.72rem !important;
        padding: 0.25rem 0.55rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Dungeons Mobile */
    .dungeon-info-box {
        padding: 1.3rem 1.1rem !important;
        margin: 1.2rem 0 !important;
    }
    .dungeon-key-badge {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        font-size: 0.82rem !important;
        padding: 0.45rem 0.9rem !important;
    }
    .dungeon-floors-track {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }
    .dungeon-floor-step {
        padding: 1rem 1.1rem !important;
    }

    /* Economy & Gold Boxes */
    .auction-showcase-box,
    .gold-showcase-box {
        padding: 1.3rem 1.1rem !important;
        margin: 1.2rem 0 !important;
    }
    .auction-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        padding-bottom: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    .auction-header-main {
        gap: 0.75rem !important;
    }
    .auction-info-card {
        padding: 0.95rem 1.1rem !important;
    }

    /* Roadmap & Command Cards */
    .roadmap-step-card {
        padding: 1.1rem 1.2rem !important;
    }
    .cmd-category-card {
        padding: 1.2rem 1rem !important;
    }
    .cmd-item-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.4rem !important;
    }
    .cmd-info {
        text-align: left !important;
        font-size: 0.8rem !important;
    }
}

/* --- MOBILE DEVICES & SMARTPHONES (<= 768px) --- */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    .nav-brand-group {
        gap: 1rem;
    }
    .nav-logo-link {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    .nav-logo-link img {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    /* Hero Section */
    .site-hero {
        min-height: auto;
        padding: 3.5rem 1rem 3.5rem;
    }
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        gap: 0.75rem;
    }
    .hero-cta-group .btn {
        width: 100%;
        padding: 0.85rem 1.4rem;
    }
    
    /* Carousel / News */
    .section-py {
        padding: 3rem 0;
    }
    .carousel-card-wrap {
        border-radius: var(--radius-lg);
    }
    .carousel-text-box {
        padding: 1.8rem 1.2rem;
    }
    .carousel-slide-title {
        font-size: 1.35rem;
    }
    .carousel-slide-desc {
        font-size: 0.9rem;
    }
    
    /* Showcase Panels */
    .site-panel {
        padding: 1.8rem 1.2rem;
        border-radius: var(--radius-lg);
    }
    .panel-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }
    .panel-actions .btn {
        width: 100%;
    }
    
    /* Store & Gems */
    .store-header {
        padding: 3.5rem 1rem 1.5rem;
    }
    .user-preview-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem 1rem;
        margin: 1.5rem auto 2.5rem;
    }
    .user-input-group {
        text-align: center;
        width: 100%;
    }
    .user-input-group input {
        text-align: center;
    }
    .packages-grid {
        padding: 0 1rem 4rem;
        gap: 1.4rem;
    }
    .package-card {
        padding: 1.8rem 1.4rem;
    }
    
    .gem-hero-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.2rem;
        gap: 1.2rem;
    }
    .gem-hero-card .gem-hero-icon {
        font-size: 2.8rem;
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-socials {
        justify-content: center;
    }
}

/* --- ULTRA COMPACT VERTICAL SMARTPHONES (<= 480px) --- */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 0.75rem;
    }
    .copy-ip-pill {
        padding: 0.4rem 0.65rem;
        font-size: 0.75rem;
    }
    .copy-ip-pill i {
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.45rem 0.6rem;
        font-size: 1rem;
    }
    
    .wiki-layout {
        padding: 0.6rem 0.4rem 3rem !important;
        gap: 0.8rem !important;
    }
    
    .wiki-article {
        padding: 1.2rem 0.75rem !important;
        border-radius: var(--radius-md) !important;
    }
    .wiki-article h1 {
        font-size: 1.4rem !important;
    }
    .wiki-article h2 {
        font-size: 1.15rem !important;
    }
    .wiki-article h3 {
        font-size: 1rem !important;
    }
    
    /* Crafting 3x3 Bench GUI - Ultra Precise Mobile Scaling */
    .crafting-bench-gui {
        flex-direction: row;
        padding: 0.8rem 0.5rem;
        gap: 0.5rem;
        justify-content: center;
    }
    .grid-3x3 {
        grid-template-columns: repeat(3, 36px);
        grid-template-rows: repeat(3, 36px);
        gap: 3px;
    }
    .grid-slot {
        width: 36px;
        height: 36px;
    }
    .grid-slot img {
        width: 24px;
        height: 24px;
    }
    .slot-amount {
        font-size: 0.65rem;
        bottom: 1px;
        right: 2px;
    }
    .craft-arrow {
        font-size: 1.1rem;
    }
    .grid-result {
        width: 48px;
        height: 48px;
    }
    .grid-result img {
        width: 32px;
        height: 32px;
    }
    
    /* Cauldron GUI on mobile */
    .cauldron-bench-gui {
        flex-direction: column;
        padding: 1rem 0.8rem;
        gap: 0.8rem;
        text-align: center;
    }
    .cauldron-ingredients {
        justify-content: center;
        max-width: 100%;
    }
    
    /* Modal on Compact Mobile */
    .modal-box {
        padding: 1.5rem 1rem;
        max-width: 100%;
        margin: 0 0.5rem;
    }
    .modal-box h2 {
        font-size: 1.35rem;
    }
    
    /* Toast */
    .toast {
        width: 90%;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        justify-content: center;
    }
    
    .mob-showcase-row,
    .mob-showcase-row.reverse {
        padding: 0.95rem 0.7rem !important;
        gap: 0.75rem !important;
    }
    .mob-render-frame {
        max-width: 150px !important;
        height: 120px !important;
    }
    .mob-drops-col,
    .mob-showcase-row.reverse .mob-drops-col {
        padding: 0.85rem 0.7rem !important;
    }
    .mob-drop-item-card,
    .mob-showcase-row.reverse .mob-drop-item-card {
        padding: 0.6rem 0.65rem !important;
        gap: 0.5rem !important;
    }
    .mob-drop-item-main {
        gap: 0.55rem !important;
    }
    .mob-drop-item-main img {
        width: 26px !important;
        height: 26px !important;
    }
    .mob-drop-item-name {
        font-size: 0.82rem !important;
    }
    .mob-drop-item-desc {
        font-size: 0.72rem !important;
    }
    .drop-rate-badge {
        font-size: 0.68rem !important;
        padding: 0.18rem 0.45rem !important;
    }
    .dungeon-info-box,
    .auction-showcase-box,
    .gold-showcase-box,
    .protection-infobox {
        padding: 1rem 0.75rem !important;
    }
}

/* =========================================================================
   Payment Methods Badges & Styling
   ========================================================================= */
.payment-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
    transition: all 0.2s ease;
}
.payment-badge:hover {
    border-color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.payment-badge i {
    font-size: 1.15rem;
}
.payment-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.payment-chip i {
    font-size: 0.95rem;
}

/* =========================================================================
   Custom Store Notifications / Toasts
   ========================================================================= */
.store-toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
    max-width: 440px;
    width: calc(100% - 3rem);
}

.store-toast {
    pointer-events: auto;
    background: rgba(9, 16, 29, 0.96);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #fff;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.store-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.store-toast.warning {
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(244, 63, 94, 0.3);
}

.store-toast.warning .store-toast-icon {
    background: rgba(244, 63, 94, 0.18);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.35);
}

.store-toast.info {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.3);
}

.store-toast.info .store-toast-icon {
    background: rgba(56, 189, 248, 0.18);
    color: var(--accent-sky);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.store-toast.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(16, 185, 129, 0.3);
}

.store-toast.success .store-toast-icon {
    background: rgba(16, 185, 129, 0.18);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.store-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.store-toast-body {
    flex-grow: 1;
}

.store-toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: 0.25rem;
}

.store-toast-msg {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.store-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    transition: color 0.2s;
}
.store-toast-close:hover {
    color: #fff;
}

@keyframes shake-card {
    0%, 100% { transform: translate3d(0, 0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0); }
    20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0); }
}

.shake-error {
    animation: shake-card 0.65s cubic-bezier(.36,.07,.19,.97) both !important;
    border-color: #f43f5e !important;
    box-shadow: 0 0 35px rgba(244, 63, 94, 0.6) !important;
}

/* =========================================================================
   BANS & PUNISHMENTS MODULE (RPG BANLIST)
   ========================================================================= */
.bans-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 10;
}

.bans-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bans-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.2rem;
}

.bans-stat-card {
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    backdrop-filter: blur(16px);
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.bans-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
}

.bans-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.bans-stat-icon.red { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.bans-stat-icon.orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.35); }
.bans-stat-icon.yellow { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.35); }
.bans-stat-icon.sky { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }

.bans-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bans-stat-val {
    font-size: 1.55rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1;
}

.bans-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.bans-filter-wrapper {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bans-tabs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bans-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.bans-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.bans-tab-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: var(--accent-sky);
    color: #fff;
    box-shadow: 0 2px 12px rgba(2, 132, 199, 0.5);
}

.bans-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 380px;
    min-width: 240px;
}

.bans-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.bans-search-input:focus {
    border-color: var(--accent-sky);
}

.bans-card-box {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.bans-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.bans-table th {
    background: rgba(2, 6, 23, 0.7);
    padding: 1rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-sky);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bans-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    color: #cbd5e1;
    vertical-align: middle;
}

.bans-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.ban-player-col {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ban-player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    image-rendering: pixelated;
    object-fit: cover;
    flex-shrink: 0;
}

.ban-player-name {
    font-weight: 800;
    color: #fff;
    font-family: var(--font-display);
}

.ban-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-full);
}

.ban-type-tag.ban { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.ban-type-tag.mute { background: rgba(249, 115, 22, 0.18); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.ban-type-tag.warn { background: rgba(234, 179, 8, 0.18); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.4); }
.ban-type-tag.kick { background: rgba(6, 182, 212, 0.18); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.4); }

.ban-reason-box {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e2e8f0;
}

.ban-status-badge {
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ban-status-badge.active-perm { color: #f87171; }
.ban-status-badge.active-temp { color: #fbbf24; }
.ban-status-badge.expired { color: var(--text-muted); }

.bans-empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bans-empty-icon {
    font-size: 3rem;
    color: var(--accent-emerald);
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

.bans-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bans-page-btn {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.bans-page-btn:hover {
    color: #fff;
    border-color: var(--accent-sky);
    background: rgba(56, 189, 248, 0.1);
}

.bans-page-btn.active {
    background: var(--accent-sky);
    color: #050816;
    border-color: var(--accent-sky);
}

@media (max-width: 960px) {
    .bans-layout {
        padding: 1.5rem 0.8rem 4rem;
    }
    .bans-filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .bans-search-form {
        max-width: 100%;
    }
    .ban-reason-box {
        max-width: 180px;
    }
}

/* =========================================================================
   CONTACT PAGE (contacto.php)
   ========================================================================= */
.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    position: relative;
    z-index: 10;
}
.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.contact-card {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}
.contact-form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent-sky);
}
.contact-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-success, .contact-error {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.contact-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}
.contact-success i { font-size: 1.3rem; margin-top: 0.1rem; }
.contact-success strong { color: #fff; display: block; margin-bottom: 0.2rem; }
.contact-error {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fda4af;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-side-card {
    background: rgba(9, 16, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-side-card i { font-size: 1.6rem; margin-top: 0.2rem; }
.contact-side-card h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
}
.contact-side-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 0.8rem;
    line-height: 1.5;
}
.contact-side-email {
    color: var(--accent-sky);
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}
.contact-side-email:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .contact-layout { padding: 2rem 1.2rem 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 1.4rem; }
    .contact-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
    .contact-recaptcha { transform: scale(0.9); transform-origin: center; }
}

/* =========================================================================
   BLOG DE NOTICIAS
   ========================================================================= */
.blog-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}
.blog-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-family: var(--font-display); margin: 0.6rem 0 1rem; }
.blog-hero p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; max-width: 640px; margin: 0 auto; }

/* Barra de filtro por etiquetas */
.blog-filter-bar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}
.blog-filter-scroll {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-filter-chip {
    --chip-color: var(--accent-sky);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    color: var(--text-secondary);
    background: rgba(9, 16, 29, 0.6);
    border: 1px solid var(--border-subtle);
    transition: all 0.18s ease;
}
.blog-filter-chip:hover {
    border-color: var(--chip-color);
    color: #fff;
    transform: translateY(-1px);
}
.blog-filter-chip.active {
    background: var(--chip-color);
    border-color: var(--chip-color);
    color: #04121c;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--chip-color) 45%, transparent);
}

.blog-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-grid-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
    position: relative;
    z-index: 10;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(9, 16, 29, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    gap: 0.7rem;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-sky);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.blog-card > *:not(.blog-card-media) { padding-left: 1.6rem; padding-right: 1.6rem; }
.blog-card > .blog-card-footer { padding-bottom: 1.6rem; }
.blog-card > .blog-tag-list { margin-top: 1.2rem; }

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.06); }

.blog-card-icon {
    position: absolute;
    bottom: 0.7rem;
    right: 0.7rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.blog-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    font-family: var(--font-display);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
}

.blog-read-more {
    color: var(--accent-sky);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}
.blog-card:hover .blog-read-more { gap: 0.55rem; }

/* Artículo individual */
.blog-post-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
    position: relative;
    z-index: 10;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-sky);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.blog-back-link:hover { text-decoration: underline; }

.blog-post-cover {
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}
.blog-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.blog-post-header { margin-bottom: 2rem; }
.blog-post-header h1 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-family: var(--font-display);
    margin: 0.9rem 0 0.9rem;
    line-height: 1.25;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.blog-post-meta i { color: var(--accent-sky); margin-right: 0.3rem; }

.blog-post-content { padding: 3rem 3.5rem; }

/* --- Responsive: tablet (contenedores ligeramente más ajustados, aún en grid de 2 col si cabe) --- */
@media (max-width: 960px) {
    /* Nota: el padding interno del recuadro (.wiki-article/.blog-post-content) ya lo
       fuerza con !important la regla compartida con la wiki en este mismo breakpoint. */
    .blog-post-layout { max-width: 100%; padding: 2.5rem 1.5rem 5rem; }
    .blog-grid-container { padding: 2rem 1.2rem 5rem; }
}

/* --- Responsive: móvil grande / tablet vertical --- */
@media (max-width: 700px) {
    .blog-hero { padding: 2.4rem 1.2rem 0.8rem; }
    .blog-hero p { font-size: 0.95rem; }

    /* Barra de filtros: en escritorio se envuelve y centra; en móvil se convierte
       en una tira deslizable horizontalmente (mejor UX que una fila de chips
       que ocupe media pantalla en vertical) */
    .blog-filter-bar { padding: 0 1.2rem; }
    .blog-filter-scroll {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        margin: 0 -1.2rem;
        padding: 0 1.2rem 0.6rem;
        mask-image: linear-gradient(to right, transparent 0, #000 1.2rem, #000 calc(100% - 1.2rem), transparent 100%);
    }
    .blog-filter-chip { scroll-snap-align: start; }

    .blog-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .blog-grid-container { padding: 1.5rem 1.2rem 4rem; }

    .blog-post-layout { padding: 2rem 1.2rem 4rem; }
    .blog-post-cover { aspect-ratio: 16 / 10; }
    .blog-post-meta { gap: 0.7rem 1.2rem; font-size: 0.8rem; }

    .blog-card > *:not(.blog-card-media) { padding-left: 1.2rem; padding-right: 1.2rem; }
    .blog-card > .blog-card-footer { padding-bottom: 1.2rem; }
    .blog-card > .blog-tag-list { margin-top: 1rem; }
    .blog-card h3 { font-size: 1.05rem; }
}

/* --- Responsive: móvil pequeño --- */
@media (max-width: 420px) {
    .blog-hero h1 { font-size: 1.7rem; }
    .blog-filter-chip { padding: 0.42rem 0.85rem; font-size: 0.78rem; }
    .blog-post-header h1 { font-size: 1.5rem; }
    .blog-card-icon { width: 34px; height: 34px; font-size: 1rem; bottom: 0.5rem; right: 0.5rem; }
}

/* =========================================================================
   BIOMES & STRUCTURES SHOWCASE GALLERY (Sep 2026)
   ========================================================================= */
.biome-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    margin: 1.6rem 0 2.4rem;
}

.biome-photo-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.biome-photo-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 22px rgba(56, 189, 248, 0.15);
}

.biome-photo-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #09101d;
}

.biome-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.biome-photo-badge {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--accent-sky);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.biome-photo-content {
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.biome-photo-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.biome-photo-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* =========================================================================
   MONOLITHS SHOWCASE CARDS (RoyaleProtectionBlocks)
   ========================================================================= */
.monoliths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin: 1.6rem 0 2.2rem;
}

.monolith-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 16, 29, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.monolith-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
}

.monolith-img-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(15, 23, 42, 0.6) 70%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
}

.monolith-img-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7));
}

.monolith-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.monolith-radio-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-sky);
    font-family: monospace;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.monolith-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #facc15;
    margin-top: auto;
}

.monolith-price-tag img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
}

