/* Base y Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            cursor: none !important;
        }

        html,
        body {
      color-scheme: dark;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: radial-gradient(circle at bottom right, #6a0f0f, #000 60%);
            color: #fff;
            overflow-x: hidden;
            scroll-behavior: smooth;
            cursor: none;
        }

        canvas {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none
        }

        /* Header / Nav Escritorio */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, .9);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 50px;
            z-index: 3002;
            box-shadow: 0 2px 8px rgba(255, 255, 255, .05)
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .logo img {
            width: 40px;
            height: 40px;
            border-radius: 50%
        }

        .logo span {
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
            align-items: center
        }

        nav ul li {
            position: relative
        }

        nav ul li a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 5px;
            transition: .3s
        }

        nav ul li a:hover {
            color: #ff3c3c
        }

        nav ul li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 0;
            height: 2px;
            background: #ff3c3c;
            transition: width .3s
        }

        nav ul li a:hover::after {
            width: 100%
        }

        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(0, 0, 0, .95);
            padding: 10px 0;
            border-radius: 8px;
            min-width: 200px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
            z-index: 25
        }

        nav ul li:hover .submenu {
            display: block
        }

        .submenu li {
            padding: 5px 20px
        }

        .submenu li a {
            display: block;
            color: #fff;
            padding: 8px 10px;
            transition: all .3s ease;
            position: relative;
            white-space: nowrap;
        }

        .submenu li a:hover {
            background: rgba(65, 11, 11, 0.8);
            color: #fff;
            border-radius: 5px;
            transform: translateX(3px);
        }

        /* ESTILO PARA PÁGINA ACTIVA (CORREGIDO Y UNIFICADO) */
        /* Aplica el subrayado rojo fijo al elemento activo (Top Level ONLY) */
        nav>ul>li>a.active-page::after {
            content: "";
            width: 100%;
            background: #ff3c3c;
            height: 2px;
            position: absolute;
            left: 0;
            bottom: -5px;
            transition: none;
        }

        /* ESTADOS ACTIVOS */
        /* Padre Activo (Servicios) */
        nav ul li.parent-active>a {
            color: #d4af37 !important;
            font-weight: 700;
        }

        nav ul li.parent-active>a::after {
            content: "";
            width: 100%;
            background: #ff3c3c;
            height: 2px;
            position: absolute;
            left: 0;
            bottom: -5px;
            transition: none;
        }

        /* Hijo Activo (Marketing) */
        /* Hijo Activo (Marketing) */
        .submenu li a.active-page {
            background: #5c0c0c;
            color: #fff !important;
            border-radius: 10px;
            border-left: 5px solid #d4af37;
            border-bottom: none;
            margin: 5px 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        /* Nav Móvil */
        

        

        

        

        

        

        


        

        

        /* Contenido principal de la página */
        .main-content {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: calc(100vh - 100px);
            padding: 140px 20px 180px;
        }

        .stage-ready-hero {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .sr-top {
            text-align: center;
            margin-bottom: 50px;
        }

        .sr-header {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 25px;
            border-radius: 50px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: default;
        }

        .sr-header:hover {
            transform: scale(1.05);
            background: rgba(20, 0, 0, 0.8);
            border-color: rgba(212, 175, 55, 0.6);
            box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
        }

        .sr-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
        }

        .sr-brand {
            font-size: 1rem;
            letter-spacing: 4px;
            font-weight: 700;

            /* Infinite Golden Scrolling Glow */
            background: linear-gradient(90deg, #d4af37, #fff, #d4af37, #ffecb3, #d4af37);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            animation: gradient-scroll 3s linear infinite;
            filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
        }

        @keyframes gradient-scroll {
            from {
                background-position: 200% center;
            }

            to {
                background-position: 0% center;
            }
        }

        .sr-title {
            font-size: 5rem;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: #fff;
            letter-spacing: 6px;
            line-height: 1.1;
            margin: 0;
            text-shadow: 0 0 20px rgba(255, 60, 60, 0.5), 0 0 40px rgba(255, 60, 60, 0.3);
            animation: cinematic-glow 3s ease-in-out infinite;
        }

        .sr-subtitle {
            font-size: 1.4rem;
            letter-spacing: 4px;
            margin: 15px 0 25px;
            font-weight: 600;

            /* Golden Rainbow Effect */
            background: linear-gradient(90deg, #d4af37, #e6b981, #ffecb3, #c58c67, #d4af37);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            animation: golden-rainbow 5s ease infinite;
        }

        @keyframes golden-rainbow {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes cinematic-glow {
            0% {
                text-shadow: 0 0 15px rgba(255, 60, 60, 0.4), 0 0 30px rgba(106, 15, 15, 0.6);
            }

            50% {
                text-shadow: 0 0 40px rgba(255, 60, 60, 1), 0 0 80px rgba(212, 175, 55, 0.8), 0 0 100px rgba(255, 0, 0, 0.5);
            }

            100% {
                text-shadow: 0 0 15px rgba(255, 60, 60, 0.4), 0 0 30px rgba(106, 15, 15, 0.6);
            }
        }

        .sr-audience {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .sr-badge {
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid rgba(212, 175, 55, 0.4);
            padding: 10px 25px;
            border-radius: 30px;
            color: #ffecb3;
            font-size: 1.1rem;
            letter-spacing: 1px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }

        .sr-badge:hover {
            transform: translateY(-5px) scale(1.05);
            background: rgba(212, 175, 55, 0.3);
            border-color: #d4af37;
            box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
            color: #fff;
        }

        .sr-badge i {
            color: #ff3c3c;
            margin-right: 8px;
        }

        .sr-main-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        .sr-column-left {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .sr-highlight {
            font-size: 2.2rem;
            color: #d4af37;
            font-weight: 800;
            margin-bottom: 25px;
            letter-spacing: 2px;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
            line-height: 1.2;
        }

        .sr-skills-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }

        .sr-skills-badges span {
            background: linear-gradient(135deg, rgba(106, 15, 15, 0.8), rgba(0, 0, 0, 0.9));
            border: 1px solid rgba(255, 60, 60, 0.3);
            color: #fff;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 0.95rem;
            letter-spacing: 1px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }

        .sr-skills-badges span:hover {
            transform: translateY(-5px) scale(1.08);
            border-color: #ff3c3c;
            box-shadow: 0 10px 20px rgba(255, 60, 60, 0.4);
            background: linear-gradient(135deg, rgba(186, 25, 25, 0.9), rgba(20, 0, 0, 1));
        }

        .sr-skills-badges span i {
            color: #d4af37;
        }

        .sr-director-card {
            background: rgba(20, 20, 20, 0.6);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 20px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .sr-director-card:hover {
            transform: translateY(-5px);
            border-color: rgba(212, 175, 55, 0.6);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.2) inset;
        }

        .sr-director-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #d4af37, #ff3c3c);
        }

        .sr-director-label {
            color: #aaa;
            font-size: 0.95rem;
            margin-bottom: 20px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .sr-profesor-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .sr-profesor-placeholder {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            background: #111;
            border: 3px solid #d4af37;
            object-fit: cover;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .sr-profesor-placeholder:hover {
            transform: scale(1.1);
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
        }

        .sr-profesor-text h4 {
            font-size: 2rem;
            color: #fff;
            margin: 0 0 5px 0;
            letter-spacing: 1px;
        }

        .sr-profesor-text p {
            color: #d4af37;
            font-size: 1rem;
            margin: 0;
            font-weight: 600;
            letter-spacing: 2px;
        }

        .sr-column-right {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sr-info-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .sr-location-card {
            grid-column: 1 / -1;
        }

        .sr-glass-card {
            background: linear-gradient(145deg, rgba(40, 5, 5, 0.7), rgba(10, 0, 0, 0.9));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 60, 60, 0.2);
            border-radius: 12px;
            padding: 20px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: default;
        }

        .sr-glass-card:hover {
            transform: translateY(-8px) scale(1.03);
            border-color: #d4af37;
            background: linear-gradient(145deg, rgba(60, 10, 10, 0.8), rgba(20, 0, 0, 0.95));
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15) inset;
        }

        .sr-glass-card i {
            font-size: 2.2rem;
            color: #d4af37;
            background: rgba(212, 175, 55, 0.1);
            padding: 15px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .sr-glass-card:hover i {
            transform: scale(1.1) rotate(5deg);
            background: rgba(212, 175, 55, 0.25);
            color: #ffecb3;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
        }

        .sr-glass-card h4 {
            color: #fff;
            font-size: 1.2rem;
            margin: 0 0 10px 0;
            letter-spacing: 1px;
        }

        .sr-glass-card p {
            color: #ccc;
            font-size: 1.1rem;
            line-height: 1.5;
            margin: 0;
        }

        .sr-glass-card p span {
            font-size: 0.9rem;
            color: #888;
        }

        .sr-enrollment-box {
            background: rgba(0, 0, 0, 0.8);
            border: 2px solid #39ff14;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 25px;
            box-shadow: 0 0 15px rgba(57, 255, 20, 0.5), inset 0 0 20px rgba(57, 255, 20, 0.2);
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation: pulse-neon-box 3s infinite alternate;
        }

        .sr-enrollment-box:hover {
            transform: scale(1.02);
            border-color: #39ff14;
            box-shadow: 0 0 30px rgba(57, 255, 20, 0.8), inset 0 0 30px rgba(57, 255, 20, 0.4);
        }

        @keyframes pulse-neon-box {
            0% {
                box-shadow: 0 0 10px rgba(57, 255, 20, 0.3), inset 0 0 10px rgba(57, 255, 20, 0.1);
            }

            100% {
                box-shadow: 0 0 25px rgba(57, 255, 20, 0.6), inset 0 0 25px rgba(57, 255, 20, 0.3);
            }
        }

        .sr-enrollment-box::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
            z-index: 0;
            pointer-events: none;
        }

        .neon-star {
            position: absolute;
            color: #39ff14;
            filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.8));
            z-index: 2;
            pointer-events: none;
            animation: twinkle-neon 2s infinite alternate;
        }

        .star-1 {
            top: 15%;
            left: 10%;
            font-size: 1.5rem;
            animation-delay: 0s;
        }

        .star-2 {
            top: 70%;
            right: 10%;
            font-size: 1rem;
            animation-delay: 0.7s;
        }

        .star-3 {
            bottom: 15%;
            left: 20%;
            font-size: 1.2rem;
            animation-delay: 1.3s;
        }

        .star-4 {
            top: 25%;
            right: 15%;
            font-size: 0.8rem;
            animation-delay: 0.4s;
        }

        .star-5 {
            bottom: 30%;
            left: 5%;
            font-size: 0.9rem;
            animation-delay: 0.9s;
        }

        .star-6 {
            top: 50%;
            left: 30%;
            font-size: 0.6rem;
            animation-delay: 1.8s;
        }

        .star-7 {
            top: 10%;
            right: 35%;
            font-size: 1.1rem;
            animation-delay: 0.2s;
        }

        .star-8 {
            bottom: 40%;
            right: 25%;
            font-size: 1.4rem;
            animation-delay: 1.5s;
        }

        .star-9 {
            top: 80%;
            left: 45%;
            font-size: 0.7rem;
            animation-delay: 0.6s;
        }

        .star-10 {
            top: 5%;
            left: 50%;
            font-size: 1.3rem;
            animation-delay: 1.1s;
        }

        .star-11 {
            bottom: 10%;
            right: 45%;
            font-size: 0.9rem;
            animation-delay: 0.8s;
        }

        .star-12 {
            top: 40%;
            right: 5%;
            font-size: 1.2rem;
            animation-delay: 1.9s;
        }

        @keyframes twinkle-neon {
            0% {
                opacity: 0.2;
                transform: scale(0.6) rotate(0deg);
                filter: drop-shadow(0 0 2px rgba(57, 255, 20, 0.3));
            }

            100% {
                opacity: 1;
                transform: scale(1.2) rotate(20deg);
                filter: drop-shadow(0 0 15px rgba(57, 255, 20, 1));
            }
        }

        .blur-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 1;
            pointer-events: none;
        }

        .sr-start-date {
            font-size: 2rem;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: #fff;
            letter-spacing: 3px;
            z-index: 2;
            text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
        }

        .sr-matricula-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: rgba(10, 30, 10, 0.4);
            color: #39ff14;
            padding: 15px 35px;
            font-size: 1.2rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 50px;
            border: 2px solid #39ff14;
            transition: all 0.3s ease;
            box-shadow: 0 0 15px rgba(57, 255, 20, 0.6), inset 0 0 10px rgba(57, 255, 20, 0.3);
            text-transform: uppercase;
            letter-spacing: 2px;
            z-index: 1;
            pointer-events: none;
            user-select: none;
            text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
            animation: pulse-neon 2s infinite alternate;
        }

        @keyframes pulse-neon {
            0% {
                box-shadow: 0 0 15px rgba(57, 255, 20, 0.3), inset 0 0 10px rgba(57, 255, 20, 0.1);
                border-color: rgba(57, 255, 20, 0.5);
                text-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
            }

            100% {
                box-shadow: 0 0 35px rgba(57, 255, 20, 1), inset 0 0 20px rgba(57, 255, 20, 0.7);
                border-color: #39ff14;
                text-shadow: 0 0 15px rgba(57, 255, 20, 1);
            }
        }

        .sr-footer-bar {
            background: rgba(20, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 20px;
            padding: 30px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .sr-footer-bar:hover {
            transform: translateY(-3px);
            border-color: rgba(212, 175, 55, 0.5);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 15px rgba(212, 175, 55, 0.15);
        }

        .sr-cert {
            color: #ffecb3;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .sr-cert i {
            color: #d4af37;
            font-size: 1.8rem;
        }

        .sr-validation {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 10px;
        }

        .sr-validation p {
            font-size: 0.9rem;
            color: #aaa;
            letter-spacing: 3px;
            margin: 0;
            font-weight: 500;
        }

        .sr-rentoca-placeholder {
            height: 50px;
            object-fit: contain;
            filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
            transition: transform 0.3s ease, filter 0.3s ease;
            cursor: pointer;
        }

        .sr-rentoca-placeholder:hover {
            transform: scale(1.1);
            filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
        }


        /* Redes Sociales y Footer */
        .social-links {
            position: fixed;
            bottom: 30px;
            left: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 100
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, .15);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 22px;
            transition: all .3s ease;
            backdrop-filter: blur(5px)
        }

        .social-links a:hover {
            background: linear-gradient(135deg, #d4af37, #ffecb3);
            color: #000;
            transform: scale(1.1);
            box-shadow: 0 0 15px #d4af37, 0 0 30px #ffecb3
        }

        footer {
            text-align: center;
            padding: 25px 10px;
            color: #d4af37;
            font-size: .95rem;
            width: 100%;
            margin-top: auto;
            position: relative;
            clear: both;
            z-index: 100;
        }

        @media (max-width: 1100px) {
            nav {
                display: none;
            }

            

            header {
                padding: 15px 20px;
            }

            .main-content {
                padding: 130px 10px 100px;
            }

            .sr-main-grid {
                grid-template-columns: 1fr;
            }

            .sr-footer-bar {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }

            .sr-validation {
                align-items: center;
            }

            .sr-top {
                margin-bottom: 30px;
            }

            .sr-title {
                font-size: 5.5rem;
            }
        }

        @media (max-width: 768px) {
            .sr-title {
                font-size: 3.5rem;
                letter-spacing: 4px;
            }

            .sr-subtitle {
                font-size: 1.3rem;
                letter-spacing: 2px;
            }

            .sr-audience {
                flex-direction: column;
                gap: 10px;
            }

            .sr-info-cards {
                grid-template-columns: 1fr;
            }

            .sr-glass-card {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }

            .sr-skills-badges {
                justify-content: center;
            }

            .sr-highlight {
                font-size: 2.2rem;
                text-align: center;
            }

            .sr-start-date {
                font-size: 2rem;
            }

            .sr-matricula-btn {
                font-size: 1.2rem;
                padding: 15px 30px;
            }

            .sr-director-card {
                text-align: center;
            }

            .sr-profesor-info {
                flex-direction: column;
            }

            .sr-cert {
                font-size: 1.1rem;
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .sr-title {
                font-size: 2.5rem;
                letter-spacing: 2px;
            }

            .sr-start-date {
                font-size: 1.6rem;
            }

            .sr-matricula-btn {
                font-size: 1.1rem;
                width: 100%;
                justify-content: center;
            }

            .sr-director-label {
                font-size: 0.8rem;
            }
        }

        /* EFECTO DE SELECCIÓN MÁGICA */
        ::selection {
            background: rgba(106, 15, 15, 0.8);
            color: #ffffff;
            text-shadow: 0 0 5px #d4af37, 0 0 10px #d4af37, 0 0 20px #ffecb3;
        }

        ::-moz-selection {
            background: rgba(106, 15, 15, 0.8);
            color: #ffffff;
            text-shadow: 0 0 5px #d4af37, 0 0 10px #d4af37;
        }

        /* Estilo de la partícula mágica */
        .magic-star {
            position: fixed;
            pointer-events: none;
            background: #d4af37;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            box-shadow: 0 0 10px #ffecb3;
            animation: fadeOut 1s linear forwards;
            z-index: 9999;
        }

        @keyframes fadeOut {
            0% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }

            100% {
                opacity: 0;
                transform: scale(0) translateY(20px);
            }
        }
    
        /* Custom Animated Cursor */
        .custom-cursor {
            position: fixed;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.1s linear;
        }
        .custom-cursor svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.8));
        }

        /* Estilo de la partícula mágica */
        .magic-star {
            position: fixed;
            pointer-events: none;
            background: #d4af37;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            box-shadow: 0 0 10px #ffecb3;
            animation: fadeOutMagic 1s linear forwards;
            z-index: 9999;
        }

        @keyframes fadeOutMagic {
            0% { opacity: 1; transform: scale(1) translateY(0); }
            100% { opacity: 0; transform: scale(0) translateY(20px); }
        }

        /* Ocultar el cursor personalizado VIRTUAL enteramente en móviles */
        @media (pointer: coarse) {
            .custom-cursor {
                display: none !important;
            }
        }

        /* Optimización Móvil: Reducir coste de dibujado SVG y CSS Animations */
        @media (max-width: 768px) {
            .sr-enrollment-box {
                animation: none !important;
                /* Una sombra estática ligera en lugar de animar */
                box-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
            }
            .neon-star {
                display: none !important;
            }
            .sr-matricula-btn-disabled {
                animation: none !important;
                box-shadow: none !important;
            }
        }
    

    

    


    

    

    
