/* ===== VARIABLES ===== */
        :root {
            --bg: #08060f;
            --bg2: #100d1e;
            --bg3: #1a1530;
            --gold: #c9a84c;
            --gold2: #f0d07a;
            --purple: #7c5cbf;
            --purple-light: #a98de0;
            --text: #f0ece8;
            --muted: #8a8098;
            --border: rgba(201, 168, 76, 0.18);
            --glow: 0 0 40px rgba(201, 168, 76, 0.15);
        }

        /* ===== RESET ===== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            overflow-x: hidden;
            cursor: none;
        }

        /* ===== CURSOR PERSONALIZADO ===== */
        #cursor {
            position: fixed;
            width: 12px;
            height: 12px;
            background: var(--gold);
            border-radius: 50%;
            pointer-events: none;
            z-index: 99999;
            transform: translate(-50%, -50%);
            transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
            mix-blend-mode: difference;
        }

        #cursor-ring {
            position: fixed;
            width: 40px;
            height: 40px;
            border: 1.5px solid rgba(201, 168, 76, 0.6);
            border-radius: 50%;
            pointer-events: none;
            z-index: 99998;
            transform: translate(-50%, -50%);
            transition: left 0.12s ease, top 0.12s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
        }

        body:hover #cursor { opacity: 1; }

        .cursor-hover #cursor { width: 20px; height: 20px; }
        .cursor-hover #cursor-ring { width: 60px; height: 60px; border-color: var(--gold); }

        /* ===== PRELOADER ===== */
        #preloader {
            position: fixed; inset: 0;
            background: var(--bg);
            z-index: 100000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        #preloader.hidden { opacity: 0; visibility: hidden; }

        .preloader-logo {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 0.1em;
        }

        .preloader-bar {
            width: 200px;
            height: 2px;
            background: var(--bg3);
            border-radius: 2px;
            overflow: hidden;
        }

        .preloader-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--purple), var(--gold));
            border-radius: 2px;
            animation: preload 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes preload {
            from { width: 0%; }
            to { width: 100%; }
        }

        /* ===== FONDO MÁGICO ===== */
        #bg-canvas {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
        }

        .noise-overlay {
            position: fixed;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        /* ===== CONTENIDO ===== */
        .content { position: relative; z-index: 2; }

        /* ===== NAV ===== */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 1.5rem 3rem;
            transition: all 0.4s ease;
        }

        nav.scrolled {
            background: rgba(8, 6, 15, 0.92);
            backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--border);
            padding: 1rem 3rem;
        }

        .nav-inner {
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--gold);
            letter-spacing: 0.05em;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        .nav-links a {
            color: var(--muted);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--gold);
            transition: width 0.3s;
        }

        .nav-links a:hover, .nav-links a.active { color: var(--gold); }
        .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

        .panel-btn {
            font-size: 0.82rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--bg);
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            padding: 0.6rem 1.6rem;
            border-radius: 2px;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
        }

        .panel-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
        }

        .panel-btn:active {
            transform: translateY(0) scale(.94);
            box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
            transition: transform .1s ease;
        }

        /* ===== SECCIONES ===== */
        section {
            min-height: 100vh;
            padding: 8rem 3rem 4rem;
            display: flex;
            align-items: center;
        }

        .container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
        }

        /* ===== HERO ===== */
        .hero-section {
            position: relative;
            text-align: center;
            overflow: hidden;
        }

        .hero-tag {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--gold);
            border: 1px solid var(--border);
            padding: 0.4rem 1.2rem;
            border-radius: 2px;
            margin-bottom: 2.5rem;
            opacity: 0;
            animation: fadeUp 0.8s 1.6s ease forwards;
        }

        .profile-wrap {
            position: relative;
            display: inline-block;
            margin-bottom: 2.5rem;
            opacity: 0;
            animation: fadeUp 0.8s 1.8s ease forwards;
        }

        .profile-ring {
            position: absolute;
            inset: -12px;
            border-radius: 50%;
            border: 1px solid var(--border);
            animation: spinSlow 8s linear infinite;
        }

        .profile-ring::before {
            content: '';
            position: absolute;
            top: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 8px;
            height: 8px;
            background: var(--gold);
            border-radius: 50%;
        }

        @keyframes spinSlow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .profile-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--gold);
            display: block;
            position: relative;
            z-index: 1;
            filter: grayscale(20%);
            transition: filter 0.4s;
        }

        .profile-img:hover { filter: grayscale(0%); }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(3.5rem, 8vw, 7rem);
            font-weight: 900;
            line-height: 1;
            letter-spacing: -0.02em;
            margin-bottom: 1.2rem;
            opacity: 0;
            animation: fadeUp 0.8s 2s ease forwards;
        }

        .hero h1 span {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 50%, var(--purple-light) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-sub {
            font-size: 1.1rem;
            color: var(--muted);
            font-weight: 300;
            letter-spacing: 0.05em;
            margin-bottom: 3rem;
            opacity: 0;
            animation: fadeUp 0.8s 2.2s ease forwards;
        }

        .hero-sub em {
            color: var(--purple-light);
            font-style: italic;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(25px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ===== SOCIAL LINKS ===== */
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeUp 0.8s 2.4s ease forwards;
        }

        .social-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--bg2);
            color: var(--muted);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s;
            position: relative;
        }

        .social-btn:hover {
            border-color: var(--gold);
            color: var(--gold);
            background: rgba(201, 168, 76, 0.08);
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
        }

        .social-btn .tip {
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: var(--bg3);
            border: 1px solid var(--border);
            color: var(--gold);
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 0.3rem 0.7rem;
            border-radius: 2px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s;
        }

        .social-btn:hover .tip { opacity: 1; }

        /* ===== COUNTER DE VISITAS ===== */
        .visit-counter {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            margin-top: 2.5rem;
            padding: 0.7rem 1.5rem;
            background: rgba(124, 92, 191, 0.08);
            border: 1px solid rgba(124, 92, 191, 0.2);
            border-radius: 100px;
            font-size: 0.8rem;
            color: var(--muted);
            letter-spacing: 0.08em;
            opacity: 0;
            animation: fadeUp 0.8s 2.6s ease forwards;
        }

        .visit-dot {
            width: 7px;
            height: 7px;
            background: var(--purple-light);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(169, 141, 224, 0.4); }
            50% { box-shadow: 0 0 0 6px rgba(169, 141, 224, 0); }
        }

        .visit-count { color: var(--purple-light); font-weight: 500; }

        /* ===== SECTION TITLES ===== */
        .sec-label {
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.8rem;
            display: block;
        }

        .sec-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 3rem;
        }

        .sec-title .italic { font-style: italic; color: var(--purple-light); }

        /* ===== DIVIDER ===== */
        .gold-line {
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), transparent);
            margin-bottom: 3rem;
        }

        /* ===== ABOUT ===== */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: start;
        }

        .about-text p {
            color: var(--muted);
            font-size: 1.05rem;
            margin-bottom: 1.5rem;
            line-height: 1.85;
        }

        .timeline { margin-top: 1rem; }

        .tl-item {
            display: flex;
            gap: 1.5rem;
            padding-bottom: 2rem;
            position: relative;
        }

        .tl-item::before {
            content: '';
            position: absolute;
            left: 18px;
            top: 36px;
            bottom: 0;
            width: 1px;
            background: var(--border);
        }

        .tl-item:last-child::before { display: none; }

        .tl-dot {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--bg2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--gold);
            font-weight: 600;
            flex-shrink: 0;
            font-family: 'Playfair Display', serif;
        }

        .tl-body h4 {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.3rem;
            color: var(--text);
        }

        .tl-body p { font-size: 0.9rem; color: var(--muted); }

        /* ===== PROJECTS ===== */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .proj-card {
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 4px;
            overflow: hidden;
            transition: all 0.4s;
            position: relative;
            group: hover;
        }

        .proj-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid var(--gold);
            border-radius: 4px;
            opacity: 0;
            transition: opacity 0.4s;
        }

        .proj-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.5), var(--glow); }
        .proj-card:hover::after { opacity: 1; }

        .proj-top {
            height: 160px;
            background: linear-gradient(135deg, var(--bg3), var(--purple) 80%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: rgba(255,255,255,0.2);
            position: relative;
            overflow: hidden;
        }

        .proj-top::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 50%, rgba(201,168,76,0.08));
        }

        .proj-top i { position: relative; z-index: 1; color: var(--gold); opacity: 0.7; font-size: 2.5rem; }

        .proj-body { padding: 1.6rem; }

        .proj-body h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.7rem;
            color: var(--text);
        }

        .proj-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }

        .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

        .tag {
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: var(--gold);
            border: 1px solid rgba(201,168,76,0.25);
            padding: 0.2rem 0.6rem;
            border-radius: 2px;
            background: rgba(201,168,76,0.05);
        }

        /* ===== SKILLS ===== */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .skill-item {
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 1.6rem;
            display: flex;
            align-items: center;
            gap: 1.2rem;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .skill-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 0;
            background: linear-gradient(90deg, rgba(201,168,76,0.08), transparent);
            transition: width 0.4s;
        }

        .skill-item:hover { border-color: rgba(201,168,76,0.4); transform: translateX(6px); }
        .skill-item:hover::before { width: 100%; }

        .skill-icon {
            font-size: 1.6rem;
            color: var(--gold);
            width: 40px;
            text-align: center;
            flex-shrink: 0;
        }

        .skill-name { font-weight: 500; font-size: 0.95rem; }
        .skill-desc { font-size: 0.82rem; color: var(--muted); }

        /* ===== MUSIC ===== */
        .player-wrap {
            max-width: 520px;
            margin: 0 auto;
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .player-wrap::before {
            content: '';
            position: absolute;
            top: -80px;
            left: -80px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(124,92,191,0.15), transparent 70%);
            pointer-events: none;
        }

        .player-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }

        .player-artist { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; }

        .progress-wrap {
            margin-bottom: 1rem;
        }

        .prog-bar {
            width: 100%;
            height: 3px;
            background: rgba(255,255,255,0.08);
            border-radius: 2px;
            cursor: pointer;
            position: relative;
        }

        .prog-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--purple), var(--gold));
            border-radius: 2px;
            width: 0%;
            transition: width 0.1s;
            position: relative;
        }

        .prog-fill::after {
            content: '';
            position: absolute;
            right: -4px;
            top: -3px;
            width: 9px;
            height: 9px;
            background: var(--gold);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--gold);
        }

        .time-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--muted);
            margin-top: 0.5rem;
        }

        .audio-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 1.8rem;
        }

        .ctrl-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: transparent;
            border: 1px solid var(--border);
            color: var(--muted);
            font-size: 1rem;
            cursor: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .ctrl-btn:hover { border-color: var(--gold); color: var(--gold); }

        .play-btn {
            width: 58px;
            height: 58px;
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            border: none;
            color: var(--bg);
            font-size: 1.1rem;
        }

        .play-btn:hover { transform: scale(1.08); box-shadow: 0 0 30px rgba(201,168,76,0.4); color: var(--bg); }

        /* ===== INTERESTS ===== */
        .interests-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.2rem;
        }

        .int-card {
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 2rem;
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
            transition: all 0.35s;
            position: relative;
            overflow: hidden;
        }

        .int-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), var(--purple));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s;
        }

        .int-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-5px); }
        .int-card:hover::after { transform: scaleX(1); }

        .int-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(201,168,76,0.08);
            border: 1px solid rgba(201,168,76,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--gold);
            flex-shrink: 0;
        }

        .int-body h3 { font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
        .int-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

        /* ===== LUNITA ===== */
        .lunita-wrap {
            text-align: center;
            position: relative;
        }

        .heart-float {
            font-size: 3.5rem;
            display: inline-block;
            animation: heartBeat 1.6s ease-in-out infinite;
            margin-bottom: 2rem;
            filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.5));
        }

        @keyframes heartBeat {
            0%, 100% { transform: scale(1); }
            15% { transform: scale(1.2); }
            30% { transform: scale(1); }
            45% { transform: scale(1.12); }
            60% { transform: scale(1); }
        }

        .lunita-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 900;
            font-style: italic;
            background: linear-gradient(135deg, var(--gold), var(--purple-light));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 2rem;
        }

        .lunita-quote {
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.1rem;
            color: var(--muted);
            font-style: italic;
            line-height: 1.9;
            position: relative;
        }

        .lunita-quote::before, .lunita-quote::after {
            content: '"';
            font-family: 'Playfair Display', serif;
            font-size: 5rem;
            color: rgba(201,168,76,0.1);
            position: absolute;
            line-height: 1;
        }

        .lunita-quote::before { top: -1rem; left: -2rem; }
        .lunita-quote::after { bottom: -3rem; right: -2rem; }

        /* ===== COUNTERS ===== */
        .counters-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .cnt-card {
            background: var(--bg2);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.35s;
        }

        .cnt-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--purple), var(--gold));
        }

        .cnt-card:hover { border-color: rgba(201,168,76,0.35); box-shadow: var(--glow); }

        .cnt-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

        .cnt-label {
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.5rem;
        }

        .cnt-display {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--gold), var(--purple-light));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.3;
            min-height: 5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .cnt-sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; font-family: 'DM Sans', sans-serif; }

        /* ===== SPOTIFY ===== */
        #spotify-widget {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 5000;
            width: 290px;
            display: none;
        }

        .spt-container {
            background: rgba(8, 6, 15, 0.95);
            border: 1px solid rgba(30,215,96,0.3);
            border-radius: 8px;
            backdrop-filter: blur(20px);
            overflow: hidden;
        }

        .spt-blur-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: blur(30px) brightness(0.15);
            transform: scale(1.2);
        }

        .spt-header {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 14px 0;
        }

        .spt-logo {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11px;
            font-weight: 700;
            color: #1ed760;
            letter-spacing: 0.05em;
        }

        .spt-live-dot {
            width: 7px; height: 7px;
            background: #1ed760;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .spt-content {
            position: relative;
            z-index: 2;
            padding: 12px 14px 14px;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .spt-album {
            width: 56px; height: 56px;
            border-radius: 6px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .spt-album img { width: 100%; height: 100%; object-fit: cover; }

        .spt-info { flex: 1; min-width: 0; }

        .spt-track {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .spt-artist {
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .spt-prog { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }

        .spt-prog-bar {
            flex: 1;
            height: 3px;
            background: rgba(255,255,255,0.1);
            border-radius: 2px;
            overflow: hidden;
        }

        .spt-prog-fill {
            height: 100%;
            background: #1ed760;
            border-radius: 2px;
            transition: width 0.8s linear;
        }

        /* ===== FOOTER ===== */
        footer {
            text-align: center;
            padding: 3rem;
            border-top: 1px solid var(--border);
            font-size: 0.82rem;
            color: var(--muted);
            letter-spacing: 0.08em;
        }

        footer span { color: var(--gold); }

        /* ===== ANIMACIONES SCROLL ===== */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal.visible { opacity: 1; transform: translateY(0); }

        .reveal-left {
            opacity: 0;
            transform: translateX(-30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal-left.visible { opacity: 1; transform: translateX(0); }

        .reveal-right {
            opacity: 0;
            transform: translateX(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal-right.visible { opacity: 1; transform: translateX(0); }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 900px) {
            nav { padding: 1.2rem 1.5rem; }
            nav.scrolled { padding: 0.8rem 1.5rem; }
            .nav-links { display: none; }
            section { padding: 6rem 1.5rem 3rem; }
            .about-grid { grid-template-columns: 1fr; gap: 3rem; }
            .projects-grid { grid-template-columns: 1fr; }
            .skills-grid { grid-template-columns: repeat(2, 1fr); }
            .interests-grid { grid-template-columns: 1fr; }
            .counters-grid { grid-template-columns: 1fr; }
            #cursor, #cursor-ring { display: none; }
            body { cursor: auto; }
            .ctrl-btn { cursor: pointer; }
        }

        #admin-modal { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); margin:0; border:1px solid rgba(201,168,76,.32); border-radius:22px; background:linear-gradient(145deg,rgba(26,21,48,.98),rgba(16,13,30,.98)); color:var(--text); width:min(760px,calc(100% - 2rem)); max-height:min(820px,calc(100% - 2rem)); padding:0; overflow:hidden; box-shadow:0 30px 100px rgba(0,0,0,.78),0 0 40px rgba(201,168,76,.12); animation:admin-dialog-in .5s cubic-bezier(.2,1.4,.4,1); }
        #admin-modal::backdrop { background: rgba(8,6,15,.72); backdrop-filter: blur(9px); animation:admin-backdrop-in .4s ease both; }
        @keyframes admin-backdrop-in { from { opacity:0; backdrop-filter:blur(0); } to { opacity:1; backdrop-filter:blur(9px); } }
        @keyframes admin-dialog-in { 0% { opacity:0; transform:translate(-50%,-50%) scale(.72) translateY(28px); } 55% { opacity:1; transform:translate(-50%,-50%) scale(1.035) translateY(-3px); } 80% { transform:translate(-50%,-50%) scale(.99) translateY(0); } 100% { opacity:1; transform:translate(-50%,-50%) scale(1) translateY(0); } }
        #admin-modal.closing { animation:admin-dialog-out .18s ease-in both; }
        @keyframes admin-dialog-out { from { opacity:1; transform:translate(-50%,-50%) scale(1); } to { opacity:0; transform:translate(-50%,-50%) scale(.9) translateY(10px); } }
        .admin-head { position:relative; display:flex; justify-content:space-between; align-items:center; padding:1.1rem 1.4rem; border-bottom:1px solid var(--border); background:rgba(201,168,76,.045); cursor:grab; user-select:none; overflow:hidden; }
        .admin-head::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg, transparent, rgba(201,168,76,.5), transparent); background-size:200% 100%; opacity:.5; animation:admin-head-sheen 5s linear infinite; pointer-events:none; }
        @keyframes admin-head-sheen { from { background-position:200% 0; } to { background-position:-200% 0; } }
        .admin-head:active { cursor:grabbing; }
        .admin-window-controls { display:flex; align-items:center; gap:.5rem; }
        .admin-window-button { width:14px; height:14px; padding:0; border:0; border-radius:50%; cursor:pointer; transition:transform .2s,filter .2s,box-shadow .2s; }
        .admin-window-button:hover { transform:scale(1.25); filter:brightness(1.15); }
        .admin-window-button:active { transform:scale(.92); }
        .admin-window-button.close { background:#ff5f57; } .admin-window-button.minimize { background:#febc2e; } .admin-window-button.expand { background:#28c840; }
        .admin-window-button.close:hover { box-shadow:0 0 10px rgba(255,95,87,.7); } .admin-window-button.minimize:hover { box-shadow:0 0 10px rgba(254,188,46,.7); } .admin-window-button.expand:hover { box-shadow:0 0 10px rgba(40,200,64,.7); }
        #admin-modal.minimized { width:300px; height:auto; max-height:none; position:fixed; right:24px; bottom:24px; margin:0; animation:admin-minimize-in .35s cubic-bezier(.2,1.2,.4,1); }
        @keyframes admin-minimize-in { from { opacity:0; transform:scale(.6) translateY(30px); } to { opacity:1; transform:scale(1) translateY(0); } }
        #admin-modal.minimized .admin-body { display:none; }
        .admin-body { padding:1.4rem clamp(1.2rem, 4vw, 2.4rem); max-height:calc(min(820px, 100vh - 2rem) - 61px); overflow-y:auto; }
        .admin-form { display:grid; gap:1rem; }
        .admin-form[hidden] { display:none; }
        #admin-modal, #admin-modal * { cursor:auto; }
        #login-form { width:min(420px, 100%); margin:9vh auto 0; position:relative; }
        #login-form { padding:2.4rem 2.2rem; border:1px solid rgba(201,168,76,.22); border-radius:24px; background:linear-gradient(165deg, rgba(124,92,191,.1), rgba(8,6,15,.5)); box-shadow:0 25px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04); animation:admin-login-in .5s cubic-bezier(.2,1.3,.3,1) both; backdrop-filter:blur(6px); }
        #login-form::before { content:''; position:absolute; inset:-1px; border-radius:24px; padding:1px; background:linear-gradient(135deg, var(--gold), transparent 35%, transparent 65%, var(--purple)); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.55; pointer-events:none; animation:admin-border-glow 6s ease-in-out infinite; }
        @keyframes admin-border-glow { 0%,100% { opacity:.35; } 50% { opacity:.75; } }
        #login-form .login-icon { width:56px; height:56px; margin:0 auto .9rem; display:flex; align-items:center; justify-content:center; border-radius:50%; background:linear-gradient(135deg, rgba(201,168,76,.18), rgba(124,92,191,.18)); border:1px solid rgba(201,168,76,.35); color:var(--gold); font-size:1.35rem; animation:admin-icon-float 3.2s ease-in-out infinite; }
        @keyframes admin-icon-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-5px); } }
        #login-form h2 { margin-bottom:.35rem; color:var(--gold); font-family:'Playfair Display',serif; text-align:center; font-size:1.5rem; }
        #login-form .login-caption { color:var(--muted); font-size:.82rem; margin-bottom:.4rem; text-align:center; }
        @keyframes admin-login-in { from { opacity:0; transform:translateY(18px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
        #login-form .panel-btn { width:100%; }
        #admin-modal.logged-in #login-form { display:none; }
        #admin-modal.logged-in .admin-head strong::after { content:' / Editor del portfolio'; color:var(--muted); font-size:.8rem; font-weight:400; }
        .admin-form label { display:grid; gap:.35rem; color:var(--muted); font-size:.8rem; }
        .admin-form input, .admin-form textarea { width:100%; border:1px solid var(--border); background:var(--bg); color:var(--text); padding:.7rem; font:inherit; transition:border-color .25s, box-shadow .25s, transform .15s; }
        .admin-form input:hover, .admin-form textarea:hover { border-color:rgba(201,168,76,.4); }
        .admin-form input:focus, .admin-form textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 4px rgba(201,168,76,.14), 0 0 18px rgba(201,168,76,.1); }
        .admin-form input { border-radius:999px; }
        .admin-form textarea { border-radius:16px; }
        .admin-form .panel-btn { border-radius:999px; }
        .admin-form textarea { min-height:90px; resize:vertical; }
        #login-form .field-icon-wrap { position:relative; }
        #login-form .field-icon-wrap { display:block; }
        #login-form .field-icon-wrap i { position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--muted); font-size:.85rem; transition:color .25s; pointer-events:none; }
        #login-form .field-icon-wrap input { padding-left:2.5rem; }
        #login-form .field-icon-wrap input:focus ~ i, #login-form .field-icon-wrap input:not(:placeholder-shown) ~ i { color:var(--gold); }
        #login-form .panel-btn { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; gap:.55rem; }
        #login-form .panel-btn::after { content:''; position:absolute; inset:0; background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size:250% 100%; background-position:150% 0; transition:background-position .7s ease; pointer-events:none; }
        #login-form .panel-btn:hover::after { background-position:-50% 0; }
        #login-form .panel-btn .btn-spinner { display:none; width:15px; height:15px; border-radius:50%; border:2px solid rgba(8,6,15,.35); border-top-color:var(--bg); animation:admin-spin .6s linear infinite; }
        #login-form.is-loading .panel-btn .btn-spinner { display:inline-block; }
        #login-form.is-loading .panel-btn .btn-label { opacity:.85; }
        #login-form.is-loading .panel-btn { pointer-events:none; opacity:.85; }
        @keyframes admin-spin { to { transform:rotate(360deg); } }
        #login-form.shake { animation:admin-shake .45s cubic-bezier(.36,.07,.19,.97) both; }
        @keyframes admin-shake { 10%,90% { transform:translateX(-1px); } 20%,80% { transform:translateX(2px); } 30%,50%,70% { transform:translateX(-5px); } 40%,60% { transform:translateX(5px); } }
        #login-form #login-status.has-error { color:#ff6b6b; text-align:center; animation:admin-status-pop .25s ease both; }
        @keyframes admin-status-pop { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
        .admin-fieldset { display:grid; gap:.75rem; padding:1rem; border:1px solid rgba(201,168,76,.15); border-radius:12px; background:rgba(8,6,15,.2); }
        .admin-fieldset h4 { color:var(--gold); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; }
        .admin-field { display:grid; grid-template-columns:minmax(130px,.45fr) 1fr; gap:.7rem; align-items:center; }
        .admin-field label { color:var(--muted); font-size:.78rem; display:flex; align-items:center; gap:.5rem; }
        .admin-field input[type="checkbox"] { width:15px; height:15px; accent-color:var(--gold); }
        .admin-field input:disabled,.admin-field textarea:disabled { opacity:.42; cursor:not-allowed; }
        .admin-field input,.admin-field textarea { min-width:0; }
        .admin-list { display:grid; gap:.7rem; }
        .admin-list-item { display:grid; gap:.65rem; padding:.8rem; border:1px solid rgba(201,168,76,.12); border-radius:10px; }
        .admin-list-item > strong { color:var(--purple-light); font-size:.8rem; }
        .admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
        .admin-status { color:#51cf66; min-height:1.4rem; font-size:.82rem; }
        .admin-action-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
        .admin-edit-button { display:inline-flex; align-items:center; gap:.5rem; border:1px solid var(--border); border-radius:999px; background:rgba(201,168,76,.1); color:var(--gold); padding:.65rem 1rem; cursor:pointer; font:600 .75rem 'DM Sans'; text-transform:uppercase; letter-spacing:.08em; transition:background .25s,color .25s,transform .15s,box-shadow .25s; }
        .admin-edit-button:hover { background:var(--gold); color:var(--bg); transform:translateY(-1px); box-shadow:0 6px 18px rgba(201,168,76,.3); }
        .admin-edit-button:active { transform:scale(.94); }
        #admin-modal.editor-mode #statistics-panel { display:none; }
        #admin-modal:not(.editor-mode) .admin-editor-form { display:none; }
        .admin-round-button { border:1px solid var(--border); border-radius:999px; background:rgba(201,168,76,.08); color:var(--gold); padding:.55rem 1rem; cursor:pointer; font:600 .72rem 'DM Sans'; letter-spacing:.08em; text-transform:uppercase; transition:background .25s,color .25s,transform .15s,box-shadow .25s; }
        .admin-round-button:hover { background:var(--gold); color:var(--bg); transform:translateY(-1px); box-shadow:0 6px 18px rgba(201,168,76,.3); }
        .admin-round-button:active { transform:scale(.94); }
        .stats-panel { display:grid; gap:1rem; }
        .stats-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; }
        .stat-card { padding:1rem; border:1px solid rgba(201,168,76,.15); border-radius:14px; background:rgba(8,6,15,.25); }
        .stat-card strong { display:block; color:var(--gold); font:700 1.65rem 'Playfair Display',serif; }
        .stat-card span { color:var(--muted); font-size:.72rem; }
        .stats-table { width:100%; border-collapse:collapse; font-size:.76rem; }
        .stats-table th,.stats-table td { padding:.55rem; border-bottom:1px solid rgba(201,168,76,.12); text-align:left; }
        .stats-table th { color:var(--gold); font-size:.7rem; text-transform:uppercase; }
        .stats-table td { color:var(--muted); }
        .admin-close { border:0; background:none; color:var(--muted); font-size:1.4rem; cursor:pointer; }
        @media (max-width: 600px) { #admin-modal { width:calc(100% - 1rem); max-height:calc(100% - 1rem); border-radius:14px; } #admin-modal.minimized { width:calc(100% - 2rem); right:1rem; bottom:1rem; } .admin-grid,.stats-cards { grid-template-columns:1fr; } .admin-body { padding:1rem; } }

        /* ===== GLOW RING DECORATIVO ===== */
        .glow-orb {
            position: fixed;
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
            filter: blur(80px);
        }

        .orb-1 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(124,92,191,0.07), transparent 70%);
            top: -100px;
            right: -100px;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(201,168,76,0.05), transparent 70%);
            bottom: 20%;
            left: -100px;
        }

        /* ===== CONSOLA BASH ===== */
        .console-toggle-btn {
            position: fixed;
            bottom: 24px;
            left: 24px;
            z-index: 4999;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold), var(--gold2));
            border: none;
            color: var(--bg);
            font-size: 1.3rem;
            cursor: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
        }

        .console-toggle-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 32px rgba(201, 168, 76, 0.5);
        }

        #console-container {
            position: fixed;
            bottom: 100px;
            left: 24px;
            z-index: 5000;
            width: 500px;
            max-height: 500px;
            background: rgba(16, 13, 30, 0.98);
            border: 1px solid rgba(201, 168, 76, 0.3);
            border-radius: 8px;
            backdrop-filter: blur(20px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--glow);
            display: none;
            flex-direction: column;
            overflow: hidden;
            animation: slideUp 0.3s ease;
            transition: all 0.3s ease;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        #console-container.active { display: flex; }

        #console-container.fullscreen {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            max-height: none;
            border-radius: 0;
            bottom: auto;
            left: auto;
            animation: none;
        }

        #console-container.fullscreen #console-output {
            max-height: none;
        }

        #console-container.fullscreen .console-header {
            background: rgba(201, 168, 76, 0.08);
        }

        .console-header {
            padding: 12px 16px;
            border-bottom: 1px solid rgba(201, 168, 76, 0.15);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(201, 168, 76, 0.05);
        }

        .console-title {
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--gold);
        }

        .console-controls {
            display: flex;
            gap: 8px;
        }

        .console-btn {
            background: none;
            border: none;
            color: var(--muted);
            font-size: 1rem;
            cursor: pointer;
            transition: color 0.2s;
            padding: 4px 8px;
        }

        .console-btn:hover { color: var(--gold); }

        .console-close {
            background: none;
            border: none;
            color: var(--muted);
            font-size: 1rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .console-close:hover { color: var(--gold); }

        #console-output {
            flex: 1;
            overflow-y: auto;
            padding: 12px 16px;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            line-height: 1.5;
            color: var(--text);
        }

        .console-line {
            margin-bottom: 0.5rem;
            word-break: break-all;
            white-space: pre-wrap;
        }

        .console-prompt {
            color: var(--gold);
            font-weight: 600;
        }

        .console-command {
            color: var(--text);
            margin-left: 0.3rem;
        }

        .console-output {
            color: var(--muted);
            margin-top: 0.3rem;
            margin-left: 0.5rem;
        }

        .console-error {
            color: #ff6b6b;
        }

        .console-success {
            color: #51cf66;
        }

        .console-info {
            color: var(--purple-light);
        }

        #console-input-wrap {
            padding: 12px 16px;
            border-top: 1px solid rgba(201, 168, 76, 0.15);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .console-input-prompt {
            color: var(--gold);
            font-weight: 600;
            flex-shrink: 0;
            font-size: 0.85rem;
        }

        #console-input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--text);
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            outline: none;
        }

        #console-input::placeholder {
            color: var(--muted);
            opacity: 0.5;
        }

        .console-autocomplete {
            position: absolute;
            bottom: 100%;
            left: 0;
            background: var(--bg3);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 4px;
            list-style: none;
            max-height: 150px;
            overflow-y: auto;
            width: 100%;
            z-index: 5001;
        }

        .console-autocomplete li {
            padding: 6px 12px;
            color: var(--muted);
            cursor: pointer;
            transition: all 0.2s;
            border-left: 2px solid transparent;
        }

        .console-autocomplete li:hover,
        .console-autocomplete li.active {
            background: rgba(201, 168, 76, 0.1);
            color: var(--gold);
            border-left-color: var(--gold);
        }

        /* Scrollbar personalizado */
        #console-output::-webkit-scrollbar {
            width: 6px;
        }

        #console-output::-webkit-scrollbar-track {
            background: rgba(201, 168, 76, 0.05);
        }

        #console-output::-webkit-scrollbar-thumb {
            background: rgba(201, 168, 76, 0.3);
            border-radius: 3px;
        }

        #console-output::-webkit-scrollbar-thumb:hover {
            background: rgba(201, 168, 76, 0.5);
        }

        @media (max-width: 900px) {
            #console-container {
                width: calc(100vw - 48px);
                bottom: 90px;
                left: 24px;
            }
        }