:root {
    /* Colors */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-electric-yellow: #FFE500;
    --color-electric-yellow-dim: #998a00;
    --color-dark-gray: #111111;

    /* Fonts */
    --font-title: 'Bebas Neue', 'Anton', sans-serif;
    --font-body: 'Inter', 'Sora', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Animation */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: none;
    /* Hide default cursor on desktop */
}

/* Restore default cursor on small screens */
@media (max-width: 1024px) {

    html,
    body,
    a,
    button,
    .interactive {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-outline,
    #global-cursor-trail {
        display: none !important;
    }
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading-active {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    border: none;
    background: none;
    cursor: none;
    font-family: inherit;
    color: inherit;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-electric-yellow);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-outline.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 229, 0, 0.1);
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 10px var(--color-electric-yellow);
}

.cursor-trail {
    /* Deprecated, using Canvas now */
    display: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.electric-text {
    color: var(--color-electric-yellow);
    text-shadow: 0 0 10px var(--color-electric-yellow);
}

/* =========================================
   ELECTRIC THUNDER PRELOADER
   ========================================= */
.preloader-lightning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 30000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
        filter 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader-lightning.shatter {
    opacity: 0;
    filter: blur(80px);
    pointer-events: none;
}

/* Reveal Effect on Body Content */
body:not(.loading-active) #hero,
body:not(.loading-active) header,
body:not(.loading-active) section {
    animation: websiteDeblur 1.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes websiteDeblur {
    0% {
        filter: blur(25px);
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        filter: blur(0px);
        transform: scale(1);
        opacity: 1;
    }
}

.lightning-strike-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 20px #FFE500);
}

.thunder-bolt {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    filter: url(#lightning-turbulence);
}

.preloader-lightning.active .thunder-bolt {
    animation: thunderStrike 1.3s cubic-bezier(0.1, 1, 0.1, 1) forwards;
}

.strike-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFE500;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.1s ease-in;
}

.preloader-lightning.hit .strike-flash {
    opacity: 1;
}

@keyframes thunderStrike {
    to {
        stroke-dashoffset: 0;
    }
}


@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 229, 0, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(255, 229, 0, 0.6));
    }
}

@keyframes shockwavePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes finishFlash {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* Cleanup old keyframes if desired, but keeping them doesn't hurt */

/* Glitch Effect */
.glitch-text {
    position: relative;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-i18n);
    /* This might not work perfectly without js content sync, but using simple content fallback */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 90px, 0);
        transform: translate(-2px, 2px);
    }

    40% {
        clip: rect(10px, 9999px, 50px, 0);
        transform: translate(2px, -2px);
    }

    60% {
        clip: rect(60px, 9999px, 70px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 30px, 0);
        transform: translate(-2px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 100px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
        transform: translate(2px, 0);
    }

    20% {
        clip: rect(60px, 9999px, 50px, 0);
    }

    40% {
        clip: rect(20px, 9999px, 80px, 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip: rect(90px, 9999px, 10px, 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip: rect(40px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(70px, 9999px, 20px, 0);
    }
}

/* Loading Bar */
.loading-bar {
    width: 200px;
    height: 4px;
    background-color: var(--color-dark-gray);
    position: relative;
    margin: 10px auto;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-electric-yellow);
    box-shadow: 0 0 10px var(--color-electric-yellow);
    transition: width 0.1s linear;
}

.loading-percent {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-white);
    margin-top: 5px;
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 40px;
    color: var(--color-white);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-electric-yellow);
    box-shadow: 0 0 10px var(--color-electric-yellow);
}

.text-right {
    text-align: right;
    display: block;
}

.text-right::after {
    left: auto;
    right: 0;
}

.center {
    text-align: center;
    display: block;
}

.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================
   QUIÉNES SOMOS (About) - Simple Frame
   ========================================= */
.about-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.about-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.electric-frame-wrapper {
    position: relative;
    padding: 60px 80px;
    /* More padding for hero statement */
    display: inline-block;
    /* Fit content */
}


/* The distorted border layer - sits behind content */
.electric-border-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-electric-yellow);
    border-radius: 1.5em;
    filter: url(#electric-turbulence);
    /* Filter applied ONLY here */
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 20px var(--color-electric-yellow), inset 0 0 20px var(--color-electric-yellow);
}

/* The element collecting the content - CLEAN, NO FILTER */
.main-card-content {
    position: relative;
    z-index: 5;
    /* Transparent in hero for better look, or opaque if needed. Let's go minimal transparent */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 1.5em;
    padding: 20px;
    /* Inner padding */
}

/* Enhanced Glow Layers */
.glow-layer-1 {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--color-electric-yellow);
    border-radius: 2em;
    filter: blur(10px);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.glow-layer-2 {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 4px solid var(--color-electric-yellow);
    border-radius: 2.5em;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Hover Enhancement */
.electric-frame-wrapper:hover .glow-layer-2 {
    opacity: 0.8;
    filter: blur(25px);
}

.electric-frame-wrapper:hover .electric-border-layer {
    box-shadow: 0 0 40px var(--color-electric-yellow), inset 0 0 30px var(--color-electric-yellow);
}

@media (max-width: 768px) {
    .electric-frame-wrapper {
        padding: 30px 20px;
        width: 100%;
        max-width: 95%;
    }

    .hero-frame {
        margin-top: -20px;
    }

    .main-card-content {
        padding: 15px;
    }

    /* Disable heavy SVG filter on mobile for performance */
    .electric-border-layer {
        filter: none !important;
        box-shadow: 0 0 15px var(--color-electric-yellow), inset 0 0 10px var(--color-electric-yellow);
        animation: electricPulse 2s infinite ease-in-out;
    }

    .glow-layer-1,
    .glow-layer-2 {
        display: none !important;
        /* Remove heavy glow layers */
    }
}

@keyframes electricPulse {

    0%,
    100% {
        opacity: 0.8;
        box-shadow: 0 0 15px var(--color-electric-yellow), inset 0 0 10px var(--color-electric-yellow);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 25px var(--color-electric-yellow), inset 0 0 15px var(--color-electric-yellow);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-video {
    background-color: #222;
    height: 400px;
    position: relative;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-video:hover {
    border-color: var(--color-electric-yellow);
}

.play-btn {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 15px solid var(--color-white);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.about-video:hover .play-btn {
    border-color: var(--color-electric-yellow);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--color-electric-yellow);
}

.about-video:hover .play-btn::before {
    border-left-color: var(--color-electric-yellow);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.dancer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dancer-photo {
    height: 120px;
    filter: grayscale(100%);
    transition: all 0.3s;
    position: relative;
}

.dancer-photo:hover {
    filter: grayscale(0%);
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--color-electric-yellow);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    /* Offset for fixed header */
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-family: var(--font-title);
    font-size: clamp(4rem, 15vw, 12rem);
    /* Massive responsive text */
    line-height: 0.85;
    text-transform: uppercase;
    margin-bottom: 2rem;
    pointer-events: none;
    /* Let hover effects pass if needed, or interact */
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.hero-line.electric-text {
    color: var(--color-electric-yellow);
    text-shadow: 0 0 20px rgba(255, 229, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 4px;
    margin-bottom: 3rem;
    max-width: 600px;
    color: var(--color-white);
    opacity: 0.8;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s ease forwards;
}

/* Scroll Down Prompt */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-electric-yellow);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 5;
    opacity: 0;
    animation: bounce 2s infinite, fadeInContent 1s forwards 2s;
    /* Delay appearance */
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =========================================
   TIENDA (Shop)
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #050505;
    padding: 20px;
    border: 1px solid #222;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 20px rgba(255, 229, 0, 0.1);
    transform: translateY(-5px);
}

.product-img {
    height: 300px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

.product-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.product-price {
    color: var(--color-electric-yellow);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--color-electric-yellow);
    color: var(--color-black);
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 15px var(--color-electric-yellow);
}

/* =========================================
   CLASES ONLINE
   ========================================= */
.section-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.line-draw {
    flex-grow: 1;
    height: 2px;
    background-color: #333;
    margin-left: 20px;
    position: relative;
}

.section.in-view .line-draw::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-electric-yellow);
    animation: drawLine 1.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #0a0a0a;
    border-bottom: 2px solid #333;
    transition: all 0.3s;
}

.course-card:hover {
    border-bottom-color: var(--color-electric-yellow);
    box-shadow: 0 10px 30px -10px rgba(255, 229, 0, 0.2);
}

.course-preview {
    height: 250px;
    background-color: #1a1a1a;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.glitch-overlay {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-white);
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s;
}

.course-card:hover .glitch-overlay {
    opacity: 1;
    transform: scale(1);
    text-shadow: 2px 0 var(--color-electric-yellow), -2px 0 #0ff;
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 5px;
}

/* =========================================
   CLASES PRESENCIALES (Map)
   ========================================= */
.onsite-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.map-container {
    height: 400px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-family: var(--font-title);
    font-size: 2rem;
}

.schedule-box {
    background-color: #111;
    padding: 30px;
    border: 1px solid #222;
}

.schedule-box h3 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-electric-yellow);
    margin-bottom: 20px;
}

.schedule-list {
    list-style: none;
    margin-bottom: 30px;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-family: var(--font-body);
}

.btn-cta {
    width: 100%;
    padding: 20px;
    background: var(--color-electric-yellow);
    color: var(--color-black);
    font-family: var(--font-title);
    font-size: 1.5rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--color-electric-yellow);
}

/* =========================================
   SERVICIOS (Accordion)
   ========================================= */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #333;
}

.accordion-header {
    padding: 30px 0;
    font-family: var(--font-title);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--color-electric-yellow);
}

.icon-flash {
    width: 15px;
    height: 15px;
    background-color: #333;
    /* Turned off */
    margin-right: 20px;
    border-radius: 50%;
    transition: all 0.3s;
}

.accordion-item.active .icon-flash {
    background-color: var(--color-electric-yellow);
    box-shadow: 0 0 10px var(--color-electric-yellow);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 35px;
}

.accordion-body p {
    padding-bottom: 30px;
    color: #999;
}

/* =========================================
   CONTACTA (Form)
   ========================================= */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.input-electric {
    width: 100%;
    background-color: #050505;
    border: 1px solid #333;
    padding: 15px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.input-electric:focus {
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 15px rgba(255, 229, 0, 0.2);
    background-color: #0a0a0a;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border: 1px solid var(--color-electric-yellow);
    color: var(--color-electric-yellow);
    font-family: var(--font-title);
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--color-electric-yellow);
    color: var(--color-black);
    box-shadow: 0 0 30px var(--color-electric-yellow);
}

.socials {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-title);
    transition: all 0.3s;
}

.social-icon:hover {
    border-color: var(--color-electric-yellow);
    color: var(--color-electric-yellow);
    animation: flash 0.5s;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Footer */
footer {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    background-color: #000;
    z-index: 10;
    overflow: hidden;
}

.electric-footer-line {
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 4px;
    background: var(--color-electric-yellow);
    filter: url(#lightning-turbulence);
    /* Using the jagged intro filter for maximum electricity */
    box-shadow: 0 0 20px var(--color-electric-yellow);
    opacity: 0.8;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--color-electric-yellow);
}

footer p {
    color: #666;
    font-size: 0.8rem;
}

/* =========================================
   HEADER / NAV (Redesigned: Bold & Clean)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    /* More transparent for glass effect */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    transition: transform 0.3s ease, background 0.3s;
}

/* Hide header on scroll down if desired, or keep fixed. 
   For "clean UX", fixed is good. */

.nav-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
    cursor: pointer;
    transition: color 0.3s;
    /* Electric Flash on hover */
    position: relative;
    overflow: hidden;
}

.nav-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 229, 0, 0.8), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s, opacity 0.2s;
    opacity: 0;
}

.nav-logo:hover::after {
    left: 100%;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-family: var(--font-title);
    /* Bold statement */
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s;
}

/* Electric Underline Effect */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-electric-yellow);
    box-shadow: 0 0 8px var(--color-electric-yellow);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--color-electric-yellow);
}

.nav-links a:hover::before {
    width: 100%;
}

/* =========================================
   LANGUAGE TOGGLE (Minimal Bold)
   ========================================= */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1rem;
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.3s ease;
    padding: 4px;
    position: relative;
}

/* Active State */
.lang-btn.active {
    color: var(--color-electric-yellow);
    text-shadow: 0 0 10px rgba(255, 229, 0, 0.6);
    transform: scale(1.1);
}

.lang-btn:hover:not(.active) {
    color: var(--color-white);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Spark container remains but hidden unless triggered */
.electric-spark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--color-electric-yellow);
    box-shadow: 0 0 10px var(--color-electric-yellow);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.1s;
}

/* =========================================
   MOBILE MENU BUTTON
   ========================================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: 0.3s;
}

/* Hover effect for hamburger */
.mobile-menu-btn:hover span {
    background-color: var(--color-electric-yellow);
    box-shadow: 0 0 5px var(--color-electric-yellow);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Hidden on mobile, use overlay */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        padding: 0 20px;
        height: 70px;
    }
}

/* =========================================
   SCROLL INDICATOR
   ========================================= */
.scroll-indicator {
    position: fixed;
    top: 0;
    right: 0;
    width: 4px;
    height: 0%;
    background-color: var(--color-electric-yellow);
    z-index: 9000;
    box-shadow: -2px 0 10px var(--color-electric-yellow);
    transition: height 0.1s;
}

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1500;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-overlay a {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--color-white);
}

.mobile-menu-overlay a:hover {
    color: var(--color-electric-yellow);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .lang-toggle {
        margin-right: 20px;
    }
}

/* =========================================
   SHOCKWAVE BUTTON EFFECT
   ========================================= */
@keyframes shockwave {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 229, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 30px rgba(255, 229, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 229, 0, 0);
    }
}

.btn-cta:active,
.btn-primary:active,
.btn-submit:active {
    animation: shockwave 0.5s ease-out;
}

/* =========================================
   SCROLL ANIMATIONS (Restored)
   ========================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.in-view .reveal-on-scroll,
.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Children */
.products-grid .product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.products-grid .product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.products-grid .product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.courses-grid .course-card:nth-child(1) {
    transition-delay: 0.1s;
}

.courses-grid .course-card:nth-child(2) {
    transition-delay: 0.3s;
}

/* Ensure Intro is Visible */
#intro-screen {
    opacity: 1;
    display: flex;
}

#intro-screen.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================
   CLASES & COACHING (New)
   ========================================= */
.classes-usp {
    font-size: 1.5rem;
    color: #ccc;
    max-width: 800px;
    margin-bottom: 60px;
    line-height: 1.6;
}

/* Levels Grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .level-card {
        padding: 20px;
    }

    .level-card h3 {
        font-size: 1.2rem;
    }
}

.level-card {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.level-card:hover {
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 15px rgba(255, 229, 0, 0.2);
}

.level-bar {
    height: 10px;
    background: #333;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.level-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-electric-yellow);
}

.level-bar.start::after {
    width: 33%;
}

.level-bar.mid::after {
    width: 66%;
}

.level-bar.max::after {
    width: 100%;
    box-shadow: 0 0 10px var(--color-electric-yellow);
}

.level-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-white);
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offering-card {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.offering-card:hover {
    border-color: var(--color-electric-yellow);
    transform: translateY(-5px);
}

.offering-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.offering-card:hover .offering-icon {
    background: transparent;
    border-color: var(--color-electric-yellow);
    box-shadow: 0 0 15px var(--color-electric-yellow);
}

.offering-card h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.modalities-badge {
    background: rgba(255, 229, 0, 0.1);
    color: var(--color-electric-yellow);
    padding: 5px 15px;
    font-size: 0.8rem;
    border: 1px solid var(--color-electric-yellow);
    letter-spacing: 1px;
}

/* =========================================
   HOVER EFFECTS (New)
   ========================================= */

/* Offering Cards Slide Up */
.offering-card {
    justify-content: flex-end;
    /* Align bottom to push up */
    height: 350px;
}

.offering-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 0;
}

.offering-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.offering-card:hover .offering-card-bg {
    transform: scale(1.1);
}

.offering-card:hover .offering-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.offering-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    transform: translateY(30px);
    /* Initial position */
}


.offering-desc {
    font-size: 0.95rem;
    color: #ccc;
    margin: 10px 0 20px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.offering-card:hover .offering-content {
    transform: translateY(0);
}

.offering-card:hover .offering-desc {
    opacity: 1;
    max-height: 100px;
    /* Allow expansion */
    margin-bottom: 20px;
}

.offering-card:hover .offering-icon {
    transform: scale(0.8) translateY(-20px);
}

/* Services Hover Tag */
.service-tag {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-electric-yellow);
    margin-left: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion-item:hover .service-tag {
    opacity: 1;
    transform: translateX(0);
}

/* Social Icon Buttons */
.social-btn-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    /* Circle */
    color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.1, 1, 0.1, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.social-btn-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-btn-icon:hover {
    border-color: var(--color-electric-yellow);
    color: var(--color-electric-yellow);
    background: rgba(255, 229, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 229, 0, 0.3);
    transform: translateY(-3px);
}

.social-btn-icon:hover svg {
    transform: scale(1.1);
}

/* Logos */
.header-logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: none;
    transition: filter 0.3s ease;
}

.nav-logo:hover .header-logo-img {
    filter: drop-shadow(0 0 8px rgba(255, 229, 0, 0.6));
}

.hero-logo-img {
    width: 100%;
    max-width: 600px;
    /* Adjust based on preference */
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 229, 0, 0.4));
    /* Stronger glow */
}

@media (max-width: 768px) {
    .header-logo-img {
        height: 40px;
    }

    .hero-logo-img {
        max-width: 90%;
    }
}

/* Latest Videos Section */
.videos-section {
    background: var(--color-black);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.1, 1, 0.1, 1);
    text-decoration: none;
}

.video-card:hover {
    border-color: var(--color-electric-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 229, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s;
}

.play-overlay svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
    margin-left: 4px;
}

.video-card:hover .play-overlay {
    opacity: 1;
    background: var(--color-electric-yellow);
    border-color: var(--color-electric-yellow);
}

.video-card:hover .play-overlay svg {
    color: var(--color-black);
}

.video-title {
    padding: 15px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

    /* Show only first 2 videos on mobile */
    .videos-grid .video-card:nth-child(n+3) {
        display: none;
    }
}

/* Service Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.4s;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
}

.service-card-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 5px;
    transition: color 0.3s;
}

.service-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    transition: color 0.3s;
}

.service-card-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s;
    margin-top: 0;
}

.service-card-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-details li {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-details li:last-child {
    border-bottom: none;
}

.service-card-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hover State */
.service-card:hover,
.service-card.active {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(255, 229, 0, 0.2);
}

.service-card:hover .service-card-bg,
.service-card.active .service-card-bg {
    transform: scale(1.1);
}

.service-card:hover .service-card-overlay,
.service-card.active .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.3) 100%);
}

.service-card:hover .service-card-title,
.service-card.active .service-card-title {
    color: var(--color-electric-yellow);
}

.service-card:hover .service-card-desc,
.service-card.active .service-card-desc {
    color: var(--color-electric-yellow);
}

.service-card:hover .service-card-details,
.service-card.active .service-card-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

/* Electric border on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s;
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::before,
.service-card.active::before {
    border-color: var(--color-electric-yellow);
}

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

@media (max-width: 600px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 250px;
    }
}

/* Bio Section Responsive */
@media (max-width: 768px) {
    .bio-section {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .bio-portrait img {
        width: 200px !important;
        margin-bottom: 20px;
    }
}

/* Contact Grid Responsive */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        display: flex;
        /* Using flex for easier reordering */
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-box {
        order: 1;
    }

    .contact-map-box {
        order: 2;
        width: 100% !important;
    }

    .map-container {
        height: 300px !important;
    }

    /* Preloader Mobile Tweaks */
    .lightning-strike-svg {
        width: 180%;
        /* Ensure visibility */
        left: -40%;
    }

    .preloader-lightning {
        transition-duration: 2s !important;
        /* Avoid flash */
    }
}