/* 
   NOVAK CORP V2 - MASTER GLASSMORPHISM THEME 
   Global Styles for an immersive crystal experience
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Glass Colors */
    --glass-bg: rgba(5, 10, 22, 0.55);
    --glass-bg-hover: rgba(5, 10, 22, 0.70);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(212, 165, 116, 0.5);
    --glass-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255,255,255,0.06);

    /* Branding */
    --color-gold: #d4a574;
    --color-gold-bright: #f4d5a4;
    --color-navy: #050810;
    --color-navy-medium: #2a3a5a;
    --color-accent-blue: #4a6fa5;

    /* Status Colors */
    --color-status-ok: #4ade80;
    --color-status-warning: #facc15;
    --color-status-error: #ef4444;
    --color-status-info: #3b82f6;
    --color-green: #a5d733;

    /* Transitions */
    --transit: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--color-navy);
    color: #e8edf5;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   2. CORE UTILITY CLASSES (Consolidated)
   ========================================================================== */

/* Display & Flex */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.align-top { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-around { justify-content: space-around !important; }
.flex-1 { flex: 1 !important; }
.flex-1-5 { flex: 1.5 !important; }

/* Spacing: Gap */
.gap-05 { gap: 0.5rem !important; }
.gap-1 { gap: 1rem !important; }
.gap-15 { gap: 1.5rem !important; }
.gap-2 { gap: 2rem !important; }
.gap-3 { gap: 3rem !important; }
.gap-4 { gap: 4rem !important; }

/* Spacing: Margin */
.m-0 { margin: 0 !important; }
.mt-05 { margin-top: 0.5rem !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mt-4 { margin-top: 4rem !important; }
.mt-4-rem { margin-top: 4rem !important; }
.mb-05 { margin-bottom: 0.5rem !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-15 { margin-bottom: 1.5rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-25 { margin-bottom: 2.5rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mb-4 { margin-bottom: 4rem !important; }
.mb-4-rem { margin-bottom: 4rem !important; }
.my-1 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 4rem !important; margin-bottom: 4rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Spacing: Padding */
.p-0-imp { padding: 0 !important; }
.p-05 { padding: 0.5rem !important; }
.p-1 { padding: 1rem !important; }
.p-15 { padding: 1.5rem !important; }
.p-2 { padding: 2rem !important; }
.p-25 { padding: 2.5rem !important; }
.p-3 { padding: 3rem !important; }
.p-3-imp { padding: 3rem !important; }
.p-4 { padding: 4rem !important; }
.p-4-imp { padding: 4rem !important; }
.p-5 { padding: 5rem !important; }
.py-05 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-1 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-2 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-4 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.px-1 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-2 { padding-left: 2rem !important; padding-right: 2rem !important; }

/* Sizing */
.w-100 { width: 100% !important; }
.h-1 { height: 1px !important; }
.w-40px { width: 40px !important; }
.h-40px { height: 40px !important; }
.min-h-350 { min-height: 350px !important; }
.min-h-400 { min-height: 400px !important; }
.max-800 { max-width: 800px !important; }

/* Borders */
.border-none { border: none !important; }
.border-gold { border-color: var(--color-gold) !important; }
.border-accent-blue { border-color: var(--color-accent-blue) !important; }
.border-discord-low { border-color: rgba(88, 101, 242, 0.2) !important; }
.border-bottom-blue { border-bottom: 4px solid var(--color-accent-blue) !important; }
.border-bottom-gold { border-bottom: 4px solid var(--color-gold) !important; }
.border-top-gold { border-top: 4px solid var(--color-gold) !important; }
.border-left-gold { border-left: 2px solid var(--color-gold) !important; padding-left: 2rem; }
.border-left-success { border-left: 4px solid #4ade80 !important; }
.border-left-error { border-left: 4px solid #ef4444 !important; }
.border-left-blue-3 { border-left: 3px solid var(--color-accent-blue) !important; }
.border-left-red-3 { border-left: 3px solid #ff3e3e !important; }

/* Colors & Backgrounds */
.text-white { color: white !important; }
.text-gold { color: var(--color-gold) !important; }
.text-gold-bright { color: var(--color-gold-bright) !important; }
.text-red { color: #ff3e3e !important; }
.text-discord { color: #5865F2 !important; }
.color-low { color: #6a7a95 !important; }
.color-muted { color: #a8b5ca !important; }
.color-success { color: #4ade80 !important; }
.color-info { color: #3b82f6 !important; }

.bg-dark-glass { background: rgba(5, 8, 16, 0.6) !important; }
.bg-discord { background: #5865F2 !important; }
.bg-discord-low { background: rgba(88, 101, 242, 0.05) !important; }
.bg-gold-low { background: rgba(212, 165, 116, 0.05) !important; }
.bg-cover-center { background-position: center !important; background-size: cover !important; }

.glass-accent { border-color: var(--color-gold) !important; }
.box-accent { padding: 1.5rem !important; border-left: 2px solid var(--color-gold) !important; background: rgba(255, 255, 255, 0.02) !important; }

/* Opacity */
.op-01 { opacity: 0.1 !important; }
.op-015 { opacity: 0.15 !important; }
.op-02 { opacity: 0.2 !important; }
.opacity-05 { opacity: 0.5 !important; }

/* Position & Others */
.relative { position: relative !important; }
.absolute-inset { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.z-1 { z-index: 1 !important; }
.pointer-none { pointer-events: none !important; }
.list-none { list-style: none !important; }
.order-reset { order: initial !important; }
.split-stretch { align-items: stretch !important; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, .font-display {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.font-bold { font-weight: 700 !important; }
.italic { font-style: italic !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.text-center-mobile { text-align: center !important; }

.text-gradient {
    background: linear-gradient(to right, #fff, var(--color-accent-blue), var(--color-gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 181, 208, 0.2);
}

.text-shadow { text-shadow: 0 4px 10px rgba(0,0,0,0.8) !important; }

/* Font Sizes */
.fs-06 { font-size: 0.6rem !important; }
.fs-07 { font-size: 0.7rem !important; }
.fs-075 { font-size: 0.75rem !important; }
.fs-08 { font-size: 0.8rem !important; }
.fs-085 { font-size: 0.85rem !important; }
.fs-09 { font-size: 0.9rem !important; }
.fs-1 { font-size: 1rem !important; }
.fs-11 { font-size: 1.1rem !important; }
.fs-12 { font-size: 1.2rem !important; }
.fs-13 { font-size: 1.3rem !important; }
.fs-15 { font-size: 1.5rem !important; }
.fs-18 { font-size: 1.8rem !important; }
.fs-25 { font-size: 2.5rem !important; }
.fs-35 { font-size: 3.5rem !important; }
.fs-hero { font-size: 5rem !important; }

/* Line Heights */
.lh-16 { line-height: 1.6 !important; }
.lh-18 { line-height: 1.8 !important; }

/* Letter Spacing */
.ls-1 { letter-spacing: 1px !important; }
.ls-2 { letter-spacing: 2px !important; }
.ls-4 { letter-spacing: 4px !important; }

/* ==========================================================================
   4. ANIMATIONS & EFFECTS
   ========================================================================== */

/* Galaxy Canvas Background */
.v2-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #03050a;
    overflow: hidden;
}

#galaxy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(120px, -60px) scale(1); }
    100% { transform: translate(-40px, 100px) scale(1.1); }
}


/* Glass & Reveal Engine */
.glass {
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top-edge light streak for depth */
.glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(212, 165, 116, 0.22) 60%,
        transparent);
    pointer-events: none;
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

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

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.glass:hover::before {
    left: 150%;
}

.glass-hover:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(74, 144, 217, 0.12),
        0 0 60px rgba(212, 165, 116, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 45%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 55%,
            transparent 100%);
    transform: rotate(-45deg) translateX(-100%);
    animation: shimmer-effect 6s infinite;
    pointer-events: none;
}

@keyframes shimmer-effect {
    0% { transform: rotate(-45deg) translateX(-100%); }
    20% { transform: rotate(-45deg) translateX(100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
}

/* Entrance Animations */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.reveal { animation: revealUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.reveal-delay-1 { animation-delay: 0.2s; }
.reveal-delay-2 { animation-delay: 0.4s; }
.reveal-delay-3 { animation-delay: 0.6s; }

/* Status Indicators */
.status-ok { color: var(--color-status-ok); }
.status-warning { color: var(--color-status-warning); }
.status-error { color: var(--color-status-error); }
.status-info { color: var(--color-status-info); }
.pulse-ok { animation: pulse-green 2s infinite; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ==========================================================================
   5. LAYOUT & GRID
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

section { padding: 6rem 0; }
section:first-of-type, header:first-of-type { padding-top: 8rem !important; }

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.section-description {
    color: #6a7a95;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.page-header {
    text-align: center;
    padding: 6rem 0 4rem;
}

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

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

.split-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
}

/* ==========================================================================
   6. GLOBAL COMPONENTS
   ========================================================================== */

/* Buttons */
.btn-v2 {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transit);
}

.btn-v2:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

.btn-v2-primary {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--color-gold);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-v2-small {
    font-size: 0.75rem !important;
    padding: 0.6rem 1.5rem !important;
    min-width: auto !important;
}

/* Badges */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-gold);
    font-size: 0.7rem;
    font-family: 'Orbitron';
    margin-bottom: 1rem;
}

.status-badge.active {
    background: rgba(165, 215, 51, 0.1);
    color: var(--color-green);
}

.badge-gold { background: rgba(250, 180, 0, 0.1) !important; color: var(--color-gold) !important; }
.badge-gold-high { background: rgba(250, 180, 0, 0.2) !important; border-color: var(--color-gold) !important; }
.badge-primary { background: rgba(0, 181, 208, 0.1) !important; color: var(--color-primary) !important; }
.badge-orange { background: rgba(251, 103, 40, 0.1) !important; color: #fb6728 !important; }
.badge-green { background: rgba(165, 215, 51, 0.1) !important; color: var(--color-green) !important; }
.badge-red { background: rgba(255, 100, 100, 0.1) !important; color: #ff6464 !important; }

/* Navigation */
.v2-nav {
    position: fixed;
    top: 2rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1200px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2.5rem;
    opacity: 1 !important;
    pointer-events: all;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.nav-brand img { height: 40px; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #a8b5ca;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: var(--transit);
}
.nav-links a:hover { color: var(--color-gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 10px;
    transition: var(--transit);
}

/* Footer */
.footer-main {
    margin-top: 6rem;
    padding-top: 4rem;
}
.footer-inner {
    padding: 4rem;
    opacity: 1 !important;
    transform: none !important;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.footer-brand img { height: 30px; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: #a8b5ca;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transit);
}
.footer-links a:hover { color: var(--color-gold); padding-left: 5px; }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* ==========================================================================
   7. PAGE SPECIFIC: INDEX & HERO
   ========================================================================== */

/* Hero V2 (Merged) */
.hero-v2 {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--glass-border);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    animation: heroSlideEffect 18s infinite;
    transition: opacity 1.5s ease;
    background-image: url('../assets/images/bg002.jpg');
}

.hero-slide:nth-child(1) { opacity: 1; background-image: url('../assets/images/bg002.jpg'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('../assets/images/bg004.jpg'); animation-delay: 6s; }
.hero-slide:nth-child(3) { background-image: url('../assets/images/bg006.jpg'); animation-delay: 12s; }

@keyframes heroSlideEffect {
    0% { opacity: 0; transform: scale(1.1); }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(5, 8, 16, 0.4), rgba(5, 8, 16, 0.8));
    z-index: 1;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.hero-overlay-radial-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at left, rgba(5, 8, 16, 1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-title-v2 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.sub-title-v2 { font-size: 0.7rem; font-family: 'Orbitron'; letter-spacing: 2px; }
.body-text-v2 { font-size: 0.9rem; color: #a8b5ca; margin-top: 1.5rem; line-height: 1.8; }
.sub-title-gold { margin-bottom: 2rem; color: var(--color-gold); font-family: 'Orbitron'; letter-spacing: 5px; font-size: 0.8rem; }

/* Parallax Logo */
.parallax-logo-v2 {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.15s ease-out;
    pointer-events: none;
}

.layer-0 { background-image: url('../assets/images/index_paralax_00.png'); z-index: 1; opacity: 0.4; width: 100%; height: 100%; }
.layer-1 { background-image: url('../assets/images/index_paralax_01.png'); z-index: 2; opacity: 1; width: 100%; height: 100%; }
.layer-2 { background-image: url('../assets/images/index_paralax_02.png'); z-index: 3; opacity: 1; width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(212, 165, 116, 0.3)); }

/* Recruitment Block */
.recruit-v2 {
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid var(--glass-border-hover);
    position: relative;
    overflow: hidden;
}

.recruit-v2 h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.recruit-v2 p {
    max-width: 850px;
    margin: 0 auto 3.5rem;
    color: #a8b5ca;
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.recruit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   8. PAGE SPECIFIC: DIVISIONES
   ========================================================================== */

.division-header {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 4rem;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 8, 16, 0.4) 0%, rgba(5, 8, 16, 0.7) 60%, var(--color-navy) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.division-logo-header {
    width: 140px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px var(--color-gold));
    animation: floating 6s ease-in-out infinite;
}

.division-badge {
    color: var(--color-gold);
    font-family: 'Orbitron';
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.division-tagline {
    color: #a8b5ca;
    letter-spacing: 3px;
    margin-top: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: 'Orbitron';
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Purpose Section */
.purpose-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.purpose-text-box { padding: 2rem 0; }

.purpose-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    height: 400px;
}

.purpose-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transit);
}

.purpose-image-box:hover img { transform: scale(1.05); }

/* Division Cards */
.division-card-v2 {
    padding: 2.5rem !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: 380px;
    justify-content: center;
}

.div-icon-v2 {
    height: 80px !important;
    width: auto;
    object-fit: contain !important;
    margin-bottom: 2rem !important;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: var(--transit);
}

.division-card-v2:hover .div-icon-v2 {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(212,165,116,0.5));
}

/* Data Panels & History */
.data-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
}
.data-label { font-size: 0.65rem; color: #6a7a95; font-family: 'Orbitron'; margin-bottom: 0.3rem; }
.data-value { font-size: 1.1rem; font-weight: 700; font-family: 'Orbitron'; }
.history-grid-info { display: flex; flex-direction: column; gap: 1.5rem; }
.history-text { color: #a8b5ca; line-height: 1.8; font-size: 0.95rem; }
.history-text p { margin-bottom: 1.5rem; }

/* Ship Stats */
.ship-display {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid var(--glass-border);
}
.ship-display img { width: 100%; display: block; transition: var(--transit); }
.ship-stats-grid {
    background: rgba(5, 8, 16, 0.85);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}
.stat-item small { display: block; font-size: 0.6rem; color: #a8b5ca; text-transform: uppercase; margin-bottom: 0.2rem; }
.stat-item strong { font-size: 0.8rem; font-family: 'Orbitron'; color: var(--color-gold); }

/* Technical Dossier V2 */
.dossier-section { margin-bottom: 4rem; }
.equipment-card { overflow: hidden; padding: 0 !important; }
.equipment-info { flex: 1.5; }

.armor-column {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    background-color: rgba(0,0,0,0.1);
}

.armor-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Orbitron';
    font-size: 0.6rem;
    opacity: 0.5;
}

.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 0.5rem; }

.armor-item {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transit);
}
.armor-item:hover { border-color: var(--color-gold); }
.armor-item h4 { font-size: 0.7rem; color: var(--color-gold); margin-bottom: 0.5rem; font-family: 'Orbitron'; }
.armor-item .name { font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; color: white; }
.armor-item .location { font-size: 0.85rem; color: #6a7a95; }

.armor-item-v2 { padding: 1rem; }
.armor-item-v2 h4 { font-size: 0.7rem; color: var(--color-gold); font-family: 'Orbitron'; margin-bottom: 0.5rem; }
.armor-item-v2 .name { font-size: 0.9rem; color: white; font-weight: 500; }
.armor-item-v2 .location { font-size: 0.7rem; color: #6a7a95; margin-top: 0.2rem; }

.slot-panel { padding: 0.5rem; text-align: center; border-radius: 8px; }
.slot-label { font-size: 0.5rem; color: var(--color-gold); font-family: 'Orbitron'; }
.slot-value { font-size: 0.65rem; color: #cbd5e1; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.profile-trait { border-left: 3px solid; padding: 1.5rem !important; }

/* Trait Modifiers */
.trait-exploracion { border-left-color: #00a8b5 !important; }
.trait-rescate { border-left-color: #ef4444 !important; }
.trait-logistica { border-left-color: #3b82f6 !important; }
.trait-combate { border-left-color: #dc2626 !important; }
.trait-mineria { border-left-color: #fbbf24 !important; }
.trait-salvamento { border-left-color: #f59e0b !important; }
.trait-seguridad { border-left-color: #1e40af !important; }
.trait-racing { border-left-color: #ffff00 !important; }
.trait-armada { border-left-color: #d97706 !important; }
.trait-coin { border-left-color: #d4af37 !important; }
.trait-premium { border-left-color: #0d9488 !important; }

/* ==========================================================================
   9. PAGE SPECIFIC: ESTRUCTURA / NOSOTROS
   ========================================================================== */

/* Backgrounds */
.hero-nosotros { background-image: url('../assets/images/nosotros-header.jpg'); animation: none; opacity: 1; }
.img-nosotros-harley { background-image: url('../assets/images/nosotros_harley.png'); background-position: center; background-size: cover; min-height: 400px; position: relative; }
.img-nosotros-thera { background-image: url('../assets/images/thera.png'); background-position: center; background-size: cover; min-height: 400px; position: relative; }
.img-nosotros-futuro { background-image: url('../assets/images/nosotros_futuro.jpg'); background-position: center; background-size: cover; min-height: 400px; position: relative; }
.bg-nosotros-excelencia { background-image: url('../assets/images/bg001.jpg'); background-position: center; background-size: cover; opacity: 0.15; pointer-events: none; }

/* Founder Card */
.founder-card {
    padding: 3.5rem 2rem;
    text-align: center;
    border-top: 3px solid var(--color-gold);
    position: relative;
    background: linear-gradient(135deg, rgba(250, 180, 0, 0.05) 0%, transparent 100%);
}
.founder-card.ceo { border-top-width: 5px; box-shadow: 0 10px 40px -10px rgba(250, 180, 0, 0.2); }

.avatar-main {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    padding: 5px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.avatar-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-emoji { font-size: 4rem; }

.avatar-main::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px dashed var(--color-gold);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Directors & Ranks */
.division-director-card { display: flex; align-items: center; gap: 2rem; padding: 1.5rem; }
.dir-img { width: 80px; height: 80px; border-radius: 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dir-img img { width: 100%; height: 100%; object-fit: cover; }
.dir-emoji { font-size: 2rem; }
.div-mini-logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 5px var(--color-primary)); }
.grid-directors { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important; }
.director-img { width: 100%; height: 300px; object-fit: cover; border-radius: 15px; margin-bottom: 1.5rem; border: 1px solid var(--glass-border); }

.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.rank-item { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.rank-icon { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--glass-border); color: var(--color-primary); margin-bottom: 0.5rem; }
.rank-icon img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0, 181, 208, 0.3)); }

/* Allies */
.ally-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem; gap: 1.5rem; }
.ally-logo { width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: var(--transit); margin-bottom: 1rem; }
.ally-logo img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1)); }
.ally-card:hover .ally-logo { border-color: var(--color-primary); box-shadow: 0 0 30px rgba(0, 181, 208, 0.2); transform: scale(1.05); }

.ally-tag { font-size: 0.6rem; padding: 0.2rem 0.6rem; border-radius: 4px; background: rgba(255, 255, 255, 0.05); color: #a8b5ca; font-family: 'Orbitron'; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, 0.1); }
.ally-tag.comercial { border-color: var(--color-green); color: var(--color-green); background: rgba(165, 215, 51, 0.05); }
.ally-tag.politico { border-color: var(--color-primary); color: var(--color-primary); background: rgba(0, 181, 208, 0.05); }
.ally-tag.pacto { border-color: var(--color-gold); color: var(--color-gold); background: rgba(250, 180, 0, 0.05); }

.featured-ally { grid-column: span 3; flex-direction: row !important; text-align: left !important; padding: 3rem !important; gap: 3rem !important; border-color: var(--color-primary) !important; background: linear-gradient(90deg, rgba(0, 181, 208, 0.05) 0%, transparent 100%) !important; position: relative; overflow: hidden; }
.ally-logo-large { width: 160px; height: 160px; }
.ally-logo-img { width: 80% !important; height: 80% !important; object-fit: contain; }

/* Timeline */
.timeline-v2 { border-left: 2px solid rgba(212, 165, 116, 0.3); padding-left: 3rem; margin-left: 1rem; position: relative; }
.timeline-item { margin-bottom: 4rem; position: relative; }
.timeline-dot { position: absolute; left: -3.4rem; top: 0.5rem; width: 12px; height: 12px; background: var(--color-gold); border-radius: 50%; }
.timeline-dot-active { box-shadow: 0 0 15px var(--color-gold); }
.timeline-dot-success { background: #4ade80 !important; box-shadow: 0 0 20px #4ade80; }

.circle-icon-v2 { min-width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-weight: 900; }

/* ==========================================================================
   10. PAGE SPECIFIC: TOOLS
   ========================================================================== */

/* Nexus Black */
.nexus-v2-container { height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; perspective: 2000px; }
.scene-v2 { width: 600px; height: 600px; transform: rotateX(60deg) rotateZ(-45deg); transform-style: preserve-3d; transition: transform 0.1s ease-out; position: relative; }
.node-v2 { position: absolute; width: 120px; height: 120px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s ease; transform-style: preserve-3d; }
.node-v2:hover { background: rgba(212, 165, 116, 0.2); border-color: #d4a574; transform: translateZ(50px); box-shadow: 0 0 30px rgba(212, 165, 116, 0.3); }
.node-v2 img { width: 40px; margin-bottom: 0.5rem; }
.node-label { font-family: 'Orbitron'; font-size: 0.6rem; text-align: center; }

.pos-1 { top: 60px; left: 60px; }
.pos-2 { top: 60px; left: 240px; }
.pos-3 { top: 60px; left: 420px; }
.pos-4 { top: 240px; left: 60px; }
.pos-5 { top: 240px; left: 240px; }
.pos-6 { top: 240px; left: 420px; }

/* Project S.C.A.L.E. Archives */
.echo-v2-card { background: rgba(10, 22, 40, 0.4); border: 1px solid rgba(74, 111, 165, 0.3); border-radius: 1rem; padding: 2rem; margin-bottom: 2rem; transition: all 0.4s; cursor: pointer; position: relative; overflow: hidden; }
.echo-v2-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #a855f7, transparent); animation: scan-line 3s linear infinite; }
.echo-v2-card:hover { border-color: #a855f7; background: rgba(168, 85, 247, 0.05); box-shadow: 0 0 30px rgba(168, 85, 247, 0.1); }
.redacted { background: rgba(255, 255, 255, 0.1); color: transparent; border-radius: 2px; padding: 0 4px; }

@keyframes scan-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(1000%); } }

/* Forms & Checklists */
.tool-glass-section { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 1rem; padding: 2rem; margin-bottom: 2rem; }
.form-input-v2 { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.5rem; padding: 0.8rem; color: white; width: 100%; outline: none; transition: border-color 0.3s; }
.form-input-v2:focus { border-color: var(--color-gold); }
.form-label-v2 { display: block; font-size: 0.7rem; color: #6a7a95; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-family: 'Orbitron'; }

.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th { text-align: left; padding: 1rem; font-size: 0.7rem; color: #6a7a95; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.v2-table td { padding: 1rem; font-size: 0.85rem; color: #a8b5ca; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.checklist-v2-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 0.8rem; margin-bottom: 0.8rem; cursor: pointer; transition: all 0.3s; }
.checklist-v2-item:hover { background: rgba(212, 165, 116, 0.05); border-color: rgba(212, 165, 116, 0.2); }
.checklist-v2-item input[type="checkbox"] { accent-color: var(--color-gold); width: 18px; height: 18px; }
.checklist-v2-item label { font-size: 0.9rem; color: #a8b5ca; cursor: pointer; flex: 1; }
.section-tab { margin-bottom: 3rem; }

.showcase-v2 { margin: 3rem 0; padding: 2.5rem; position: relative; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 1rem; }
.showcase-label-v2 { position: absolute; top: -10px; left: 20px; background: var(--color-navy); padding: 0 10px; font-size: 0.75rem; color: var(--color-gold); font-family: 'Orbitron'; }


/* ==========================================================================
   11. DIVISION THEMES (OVERRIDES)
   ========================================================================== */
:root { --division-color: var(--color-gold); }

.theme-exploracion { --division-color: #00a8b5; }
.theme-rescate { --division-color: #ef4444; }
.theme-logistica { --division-color: #3b82f6; }
.theme-combate { --division-color: #dc2626; }
.theme-mineria { --division-color: #fbbf24; }
.theme-salvamento { --division-color: #f59e0b; }
.theme-seguridad { --division-color: #1e40af; }
.theme-racing { --division-color: #ffff00; }
.theme-armada { --division-color: #d97706; }
.theme-coin { --division-color: #d4af37; }
.theme-premium { --division-color: #0d9488; }

/* Dynamic Theme Selectors */
[class^="theme-"] .text-gold { color: var(--division-color) !important; }
[class^="theme-"] .btn-v2-primary { border-color: var(--division-color) !important; background: color-mix(in srgb, var(--division-color), transparent 85%) !important; }
[class^="theme-"] .btn-v2-primary:hover { background: var(--division-color) !important; color: var(--color-navy) !important; }
[class^="theme-"] .status-badge { color: var(--division-color) !important; border-color: var(--division-color) !important; background: color-mix(in srgb, var(--division-color), transparent 90%) !important; }
[class^="theme-"] .data-value { color: var(--division-color) !important; }
[class^="theme-"] .division-badge { color: var(--division-color) !important; border-color: var(--division-color) !important; }
[class^="theme-"] .blob-primary { background: var(--division-color) !important; }
[class^="theme-"] .blob-secondary { background: var(--division-color) !important; filter: brightness(1.2); }
[class^="theme-"] .armor-item-v2 h4 { color: var(--division-color) !important; }
[class^="theme-"] .slot-label { color: var(--division-color) !important; }
[class^="theme-"] .stat-item strong { color: var(--division-color) !important; }
[class^="theme-"] .armor-item:hover { border-color: var(--division-color) !important; }
[class^="theme-"] .ship-stats-grid { border-top-color: var(--division-color) !important; }
[class^="theme-"] .footer-links a:hover { color: var(--division-color) !important; }
[class^="theme-"] .glass-accent { border-color: var(--division-color) !important; }
[class^="theme-"] .box-accent { border-left-color: var(--division-color) !important; }
[class^="theme-"] .btn-v2:hover { background: var(--division-color) !important; color: var(--color-navy) !important; box-shadow: 0 0 20px color-mix(in srgb, var(--division-color), transparent 60%) !important; }

/* ==========================================================================
   12. RESPONSIVE QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .v2-nav {
        width: 100%;
        max-width: none;
        top: 0;
        border-radius: 0;
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 8, 16, 0.98);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1200;
        opacity: 1 !important;
        pointer-events: all;
    }

    .nav-links.active { right: 0 !important; }
    .nav-toggle { display: flex; z-index: 1300; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .rank-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .split-v2 { grid-template-columns: 1fr !important; }
    .mobile-padding { padding: 2rem !important; }
    .mobile-h { min-height: 300px !important; }
    .purpose-grid { grid-template-columns: 1fr; gap: 3rem; }
    .purpose-image-box { order: -1; height: 300px; }
    
    .featured-ally {
        grid-column: span 1;
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
    }
    .featured-ally::after { display: none; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    section { padding: 3rem 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 2rem; }
    header, .hero-v2 { padding-top: 140px !important; padding-bottom: 4rem !important; }
    header h1, .hero-v2 h1 { font-size: 2.2rem !important; line-height: 1.2; margin-top: 1rem; }
    .grid-v2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col-desc { display: flex; flex-direction: column; align-items: center; }
    .ship-stats-grid { grid-template-columns: 1fr; position: relative; gap: 0.8rem; padding: 1.5rem; }
    .director-img { height: auto; max-height: 400px; }
    .glass { padding: 1.5rem !important; }
    .btn-v2 { width: 100%; justify-content: center; margin-bottom: 0.5rem; }
    .parallax-logo-v2 { max-width: 300px; }
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .division-director-card { flex-direction: column; text-align: center; }
    .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    header h1, .hero-v2 h1 { font-size: 1.8rem !important; }
    .v2-nav { top: 20px; padding: 0.6rem 1rem; }
    header, .hero-v2 { padding-top: 120px !important; }
}
