/* ==========================================================================
   SKY RP - VICE CITY THEME ("Vice Sun Roleplay" from Stitch)
   Aesthetics: Vaporwave / Neon-Noir & Modern Dark Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
    /* Palette Tokens */
    --bg-canvas: #0d0f18;
    --bg-surface: #11131c;
    --bg-surface-elevated: rgba(22, 25, 38, 0.78);
    --bg-surface-glass: rgba(26, 30, 46, 0.82);

    /* Neon Accents */
    --neon-pink: #ff6faa;
    --neon-pink-hover: #e85a96;
    --neon-pink-glow: rgba(255, 111, 170, 0.2);

    --neon-cyan: #00e5ff;
    --neon-cyan-hover: #00b8d4;
    --neon-cyan-glow: rgba(0, 229, 255, 0.55);

    --neon-violet: #7928ca;
    --neon-mint: #00ff9d;
    --neon-amber: #ffd166;

    /* Text */
    --text-high: #f3f4f8;
    --text-muted: #8b95b2;
    --text-dark: #5a6480;

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-pink: rgba(255, 111, 170, 0.18);
    --border-cyan: rgba(0, 229, 255, 0.4);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Emil Kowalski Motion Tokens */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --duration-press: 80ms;
    --duration-snappy: 160ms;
    --duration-standard: 240ms;
}

/* ==========================================================================
   BROWSER SURFACES (Impeccable Craft Floor)
   ========================================================================== */
::selection {
    background: rgba(0, 229, 255, 0.75);
    color: #0d0f18;
}

::-moz-selection {
    background: rgba(0, 229, 255, 0.75);
    color: #0d0f18;
}

:focus-visible {
    outline: 2px solid var(--neon-cyan) !important;
    outline-offset: 3px !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

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

/* Base Body Styles & Atmosphere */
html {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

body {
    font-family: var(--font-body) !important;
    background-color: var(--bg-canvas) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    background-image: 
        radial-gradient(ellipse at 85% 10%, rgba(0, 229, 255, 0.14), transparent 50%),
        radial-gradient(ellipse at 15% 80%, rgba(0, 180, 212, 0.10), transparent 50%),
        radial-gradient(ellipse at 50% 45%, rgba(255, 111, 170, 0.03), transparent 60%) !important;
    background-attachment: fixed !important;
    color: var(--text-high) !important;
}

/* Headings with Syne */
h1, h2, h3, h4,
.section-header h2,
.hero h1,
.cta-card h2 {
    font-family: var(--font-display) !important;
    letter-spacing: -0.02em !important;
}

/* ==========================================================================
   NAVBAR & LOGO
   ========================================================================== */
.navbar {
    background: rgba(13, 15, 24, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 229, 255, 0.18) !important;
}

.logo {
    font-family: var(--font-display) !important;
    letter-spacing: 1.5px !important;
}

.logo span strong {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 12px var(--neon-cyan-glow) !important;
}

.nav-button {
    font-family: var(--font-body) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-high) !important;
    transition: all 0.25s ease !important;
}

.nav-button:hover {
    background: rgba(0, 229, 255, 0.12) !important;
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 15px -3px var(--neon-cyan-glow) !important;
}

.menu-toggle {
    border-color: rgba(0, 229, 255, 0.25) !important;
    background: rgba(0, 229, 255, 0.05) !important;
}

.menu-toggle:hover {
    background: rgba(0, 229, 255, 0.15) !important;
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 14px var(--neon-cyan-glow) !important;
}

.menu-toggle span {
    background: #ffffff !important;
}

/* ==========================================================================
   HERO SECTION (Palmeras Difuminadas & Fondo Neón)
   ========================================================================== */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: var(--bg-canvas) !important;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: -18px;
    background-image: url('../images/hero-palms.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    /* Siluetas de palmeras nítidas y atmosféricas con leve brillo neón */
    filter: blur(1.5px) brightness(0.8) saturate(1.35) !important;
    transform: scale(1.02);
    opacity: 0.92;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Mascarilla suave hacia el fondo obsidian navy */
    background: 
        radial-gradient(ellipse at 50% 45%, rgba(13, 15, 24, 0.4) 0%, #0d0f18 85%),
        linear-gradient(to bottom, rgba(13, 15, 24, 0.4) 0%, transparent 35%, rgba(13, 15, 24, 0.8) 75%, #0d0f18 100%) !important;
    z-index: 2;
    pointer-events: none;
}

.hero-badge {
    background: rgba(22, 25, 38, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 255, 157, 0.3) !important;
    color: var(--text-high) !important;
    box-shadow: 0 0 15px -2px rgba(0, 255, 157, 0.25) !important;
}

.status-dot {
    background: var(--neon-mint) !important;
    box-shadow: 0 0 10px var(--neon-mint), 0 0 20px rgba(0, 255, 157, 0.5) !important;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.75; }
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
}

.hero h1 {
    font-size: clamp(52px, 8vw, 92px) !important;
    line-height: 1.02 !important;
    filter: none !important;
    text-shadow: none !important;
}

.hero h1 span {
    background: linear-gradient(135deg, #00e5ff 0%, #7ec8e3 50%, #ff6faa 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
    text-shadow: none !important;
}

.hero p {
    color: var(--text-muted) !important;
    font-size: 18px !important;
}

/* ==========================================================================
   BUTTONS (Vice Strike & Cyan Synth)
   ========================================================================== */
.button {
    font-family: var(--font-body) !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    padding: 14px 26px !important;
    transition: transform var(--duration-snappy) var(--ease-out), box-shadow var(--duration-snappy) var(--ease-out), background var(--duration-snappy) var(--ease-out), border-color var(--duration-snappy) var(--ease-out) !important;
    will-change: transform;
}

/* Emil Kowalski Tactile Button Press */
.button:active, .btn-submit:active, .quick-btn:active, .nav-button:active {
    transform: scale(0.97) !important;
    transition-duration: var(--duration-press) !important;
}

.button-primary {
    background: linear-gradient(135deg, #00e5ff 0%, #00b8d4 100%) !important;
    color: #0d0f18 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 24px -4px var(--neon-cyan-glow), 0 8px 16px -2px rgba(0, 0, 0, 0.6) !important;
}

.button-primary:hover {
    background: linear-gradient(135deg, #33ecff 0%, #00d4f5 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 32px 0px rgba(0, 229, 255, 0.75), 0 12px 24px -2px rgba(0, 0, 0, 0.7) !important;
}

.button-secondary {
    background: rgba(0, 229, 255, 0.05) !important;
    border: 1.5px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 16px -4px var(--neon-cyan-glow) !important;
}

.button-secondary:hover {
    background: rgba(0, 229, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 28px 0px rgba(0, 229, 255, 0.6) !important;
}

/* ==========================================================================
   SERVER & SECTION HEADERS
   ========================================================================== */
.section-label {
    color: var(--neon-cyan) !important;
    letter-spacing: 4px !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.server-section {
    background: var(--bg-surface) !important;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.server-card {
    background: var(--bg-surface-glass) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(0, 229, 255, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px -10px rgba(0, 229, 255, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e5ff, #ff6faa, transparent);
}

.server-icon {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(255, 111, 170, 0.08)) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
}

.server-ip {
    font-family: var(--font-mono) !important;
    color: var(--neon-cyan) !important;
}

.server-ip button {
    color: var(--neon-cyan) !important;
    transition: transform 0.2s;
}

.server-ip button:hover {
    transform: scale(1.2);
    color: #ffffff !important;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.features-section {
    position: relative;
}

.feature-card {
    background: var(--bg-surface-elevated) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #00b8d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 229, 255, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 24px -4px rgba(0, 229, 255, 0.3) !important;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    background: rgba(0, 229, 255, 0.1) !important;
    border: 1px solid rgba(0, 229, 255, 0.3) !important;
    border-radius: 10px !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px var(--neon-cyan-glow) !important;
}

.feature-card h3 {
    color: var(--text-high) !important;
    font-size: 20px !important;
}

.feature-card p {
    color: var(--text-muted) !important;
    font-size: 15px !important;
}

/* ==========================================================================
   CTA CARD
   ========================================================================== */
.cta-card {
    background: linear-gradient(135deg, rgba(13, 25, 40, 0.85) 0%, rgba(13, 20, 35, 0.9) 100%) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(0, 229, 255, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(0, 229, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 90% 10%, rgba(0, 229, 255, 0.15), transparent 40%);
    pointer-events: none;
}

/* ==========================================================================
   RULES / DEPENDENCIES SECTION
   ========================================================================== */
.rule {
    background: var(--bg-surface-elevated) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
}

.rule:hover {
    border-color: rgba(0, 229, 255, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 229, 255, 0.2) !important;
}

.rule span {
    font-family: var(--font-display) !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 12px var(--neon-cyan-glow) !important;
}

/* ==========================================================================
   SIDE MENU & STAFF ACCESS
   ========================================================================== */
.side-menu {
    background: rgba(13, 15, 24, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border-left: 1px solid rgba(0, 229, 255, 0.2) !important;
    box-shadow: -20px 0 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.08) !important;
}

.side-menu-nav a {
    font-family: var(--font-body) !important;
    color: var(--text-high) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.side-menu-nav a:hover {
    color: var(--neon-cyan) !important;
    background: rgba(0, 229, 255, 0.08) !important;
    transform: translateX(4px);
}

.side-menu-nav .menu-icon {
    color: var(--neon-cyan) !important;
}

.staff-login-button {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.10) 0%, rgba(0, 180, 212, 0.12) 100%) !important;
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px -5px rgba(0, 229, 255, 0.2) !important;
}

.staff-login-button:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.22) 0%, rgba(255, 111, 170, 0.1) 100%) !important;
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 25px -2px rgba(0, 229, 255, 0.4) !important;
}

.staff-login-icon {
    background: linear-gradient(135deg, #00e5ff, #00b8d4) !important;
    color: #0d0f18 !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #090a10 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-links a:hover {
    color: var(--neon-cyan) !important;
}

/* ==========================================================================
   PAGE SLIDE TRANSITIONS (Emil Kowalski Motion Physics - Cero Blur en Texto)
   Aplica la animación a <main> para que <body> NUNCA tenga transform ni will-change,
   preservando el stacking context nativo del viewport para todos los modales position: fixed.
   ========================================================================== */
@keyframes pageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

main {
    animation: pageSlideIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body {
    opacity: 1;
}

body.page-leaving {
    opacity: 0;
    transition: opacity 140ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* ==========================================================================
   PIXEL CAT LOGO (Sky) OPTIMIZATIONS
   ========================================================================== */
.logo img, 
.side-menu-brand img, 
.login-logo {
    image-rendering: pixelated !important;
    image-rendering: crisp-edges !important;
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.45));
    transition: transform var(--duration-snappy) var(--ease-out), filter var(--duration-snappy) var(--ease-out) !important;
}

.logo:hover img {
    transform: scale(1.1) rotate(4deg);
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8));
}

/* ==========================================================================
   HORIZONTAL DESKTOP NAVBAR (Inspirado en masivo.gg con estética Vice City)
   ========================================================================== */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 4px;
    transition: color var(--duration-snappy) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    box-shadow: 0 0 8px var(--neon-cyan);
    border-radius: 2px;
    transition: width var(--duration-snappy) var(--ease-out), left var(--duration-snappy) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link .external-icon {
    font-size: 11px;
    opacity: 0.6;
    transition: transform var(--duration-snappy) var(--ease-out), opacity var(--duration-snappy) var(--ease-out);
}

.nav-link:hover .external-icon {
    opacity: 1;
    transform: translate(2px, -2px);
    color: var(--neon-cyan);
}

/* ==========================================================================
   BOTÓN INGRESO "TÓCAME" (Efecto Parpadeo / Pulso Llamativo)
   ========================================================================== */
.nav-link-ingreso {
    position: relative;
    padding: 7px 16px !important;
    border-radius: 20px !important;
    background: rgba(0, 229, 255, 0.08) !important;
    border: 1px solid rgba(0, 229, 255, 0.45) !important;
    color: var(--neon-cyan) !important;
    font-weight: 800 !important;
    letter-spacing: 0.9px !important;
    animation: tocamePulse 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    transition: all var(--duration-snappy) var(--ease-out) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.nav-link-ingreso::after {
    display: none !important;
}

@keyframes tocamePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.35), inset 0 0 8px rgba(0, 229, 255, 0.12);
        border-color: rgba(0, 229, 255, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 22px rgba(0, 229, 255, 0.8), 0 0 35px rgba(0, 229, 255, 0.3), inset 0 0 12px rgba(0, 229, 255, 0.3);
        border-color: #00e5ff;
        transform: scale(1.05);
        color: #ffffff !important;
        background: rgba(0, 229, 255, 0.18) !important;
    }
}

.nav-link-ingreso:hover {
    transform: translateY(-2px) scale(1.08) !important;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(255, 111, 170, 0.1)) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.95), 0 0 20px rgba(0, 229, 255, 0.4) !important;
    color: #ffffff !important;
    animation: none;
}

/* Punto de radar parpadeante (Ping Beacon) */
.nav-cta-ping {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 8px #00e5ff;
    position: relative;
    display: inline-block;
}

.nav-cta-ping::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid #00e5ff;
    animation: radarPing 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes radarPing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Para el menú lateral móvil */
.side-menu-cta {
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    background: rgba(0, 229, 255, 0.08) !important;
    animation: tocamePulse 2.2s infinite ease-in-out;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-staff-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--duration-snappy) var(--ease-out);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.12);
}

.nav-staff-btn:hover {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.55);
    transform: translateY(-1px);
    color: #0d0f18;
}

/* Responsividad: Navbar Desktop vs Móvil */
@media (min-width: 861px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 860px) {
    .nav-links-desktop,
    .nav-staff-btn {
        display: none !important;
    }
    .menu-toggle {
        display: flex !important;
    }
}

/* ==========================================================================
   HERO CENTERED PRESENTATION (Estilo masivo.gg + Vice City)
   ========================================================================== */
.hero-center-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-center-box .hero-badge {
    margin-bottom: 24px;
}

.hero-center-box h1 {
    font-size: clamp(48px, 7.5vw, 86px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin-bottom: 22px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.hero-center-box p {
    max-width: 640px;
    margin: 0 auto 34px;
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--text-muted);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-center-box .hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-center-box .ip-connection-box {
    margin-top: 0;
    width: 100%;
    max-width: 500px;
}

/* ==========================================================================
   JAVA EDITION CONNECTION BOX (100% Java - No Bedrock)
   ========================================================================== */
.ip-connection-box {
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(17, 19, 28, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.08);
    backdrop-filter: blur(16px);
    max-width: 480px;
    transition: all var(--duration-snappy) var(--ease-out);
}

.ip-connection-box:hover {
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.15);
}

.ip-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ip-java-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.ip-port-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.ip-main-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(8, 9, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
}

.ip-code-address {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.6px;
    user-select: all;
}

.ip-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--neon-cyan), #00b8d4);
    border: none;
    border-radius: 8px;
    color: #0d0f18;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-snappy) var(--ease-out);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
    white-space: nowrap;
}

.ip-copy-btn:hover {
    background: linear-gradient(135deg, #33ecff, var(--neon-cyan));
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.65);
    transform: translateY(-1px);
}

.ip-copy-btn:active {
    transform: scale(0.96);
}

.ip-copy-btn.copied {
    background: linear-gradient(135deg, #00ff9d, #00b8d4);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
    color: #08090b;
}

/* ==========================================================================
   METRICS & BLUEPRINT GRID SECTION (Inspirado en masivo.gg)
   ========================================================================== */
.metrics-section {
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(13, 15, 24, 0.7) 0%, rgba(17, 19, 28, 0.95) 100%);
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-card {
    padding: 28px 24px;
    background: rgba(22, 25, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all var(--duration-snappy) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
    opacity: 0;
    transition: opacity var(--duration-snappy) var(--ease-out);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.08);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-card:nth-child(2) .metric-number {
    background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.metric-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ==========================================================================
   SCROLL REVEAL (Aparición Fluida / Stagger Motion)
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
