/* GPU-Optimized Performance System */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Force GPU acceleration for all animated elements */
.hero-title,
.robotic-text,
.interview-card,
.robot-element,
.floating-elements > *,
.student-photo,
.achievement-card,
.competition-card,
.interview-background,
.location-icon {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Fast backdrop-filter alternative using pseudo-elements */
.glass-optimized {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-optimized::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(10px);
    z-index: -1;
    transform: translateZ(0);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* DISABLE ALL EFFECTS FOR PERFORMANCE */
* {
    animation: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

/* EXCEPTION: Simple animation for motto */
.hero-inspiration,
.footer-motto {
    animation: simpleMottoGlow 4s ease-in-out infinite !important;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4) !important;
    color: #fbbf24 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

@keyframes simpleMottoGlow {
    0%, 100% { 
        opacity: 0.85; 
        transform: scale(1) translateY(0px);
        text-shadow: 0 0 8px rgba(251, 191, 36, 0.3) !important;
    }
    25% { 
        opacity: 0.95; 
        transform: scale(1.01) translateY(-1px);
        text-shadow: 0 0 12px rgba(251, 191, 36, 0.5) !important;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02) translateY(-2px);
        text-shadow: 0 0 16px rgba(251, 191, 36, 0.6) !important;
    }
    75% { 
        opacity: 0.95; 
        transform: scale(1.01) translateY(-1px);
        text-shadow: 0 0 12px rgba(251, 191, 36, 0.5) !important;
    }
}

/* Only keep essential transitions */
* {
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* EXCEPTION: Student interaction system */
.student-orbit {
    cursor: pointer !important;
    position: relative !important;
}

.student-orbit::after {
    content: attr(data-name) !important;
    position: absolute !important;
    bottom: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--primary-color) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    opacity: 0 !important;
    white-space: nowrap !important;
}

.student-orbit:hover {
    transform: scale(1.05) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 50% !important;
}

.student-orbit:hover::after {
    opacity: 1 !important;
}

.student-orbit.active {
    transform: scale(1.1) !important;
    border: 3px solid var(--success-color) !important;
    border-radius: 50% !important;
    background: rgba(99, 102, 241, 0.2) !important;
}

.student-orbit.active::after {
    content: attr(data-name) !important;
    background: var(--success-color) !important;
    opacity: 1 !important;
}

/* SIMPLE STUDENT SPOTLIGHT - FILLS THE ENTIRE CENTER CIRCLE */
.student-spotlight {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    background: rgba(15, 15, 35, 0.95);
    border: 4px solid #6366f1;
    border-radius: 50%;
    padding: 2rem;
    width: 700px;
    height: 700px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.student-spotlight.show {
    display: flex;
}

/* Photo in center */
.student-spotlight .spotlight-photo-center {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 6px solid #6366f1;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6);
    flex-shrink: 0;
}

.student-spotlight .spotlight-photo-center i {
    font-size: 5.5rem;
    color: #6366f1;
}

.student-spotlight .spotlight-photo-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text area */
.student-spotlight .spotlight-text-area {
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 1;
}

.student-spotlight .spotlight-text-area h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.student-spotlight .spotlight-text-area p {
    color: #e5e5e5;
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

.student-spotlight .spotlight-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.student-spotlight .skill {
    background: #6366f1;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

/* Team badge */
.student-spotlight .spotlight-team-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* Close button */
.student-spotlight .spotlight-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 20;
    transition: color 0.2s ease;
}

.student-spotlight .spotlight-close:hover {
    color: white;
}

.student-spotlight.show {
    display: block !important;
    opacity: 1 !important;
}

/* Spotlight layout */
.student-spotlight .spotlight-content {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.student-spotlight .spotlight-header {
    position: relative !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.student-spotlight .spotlight-photo {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: 3px solid var(--primary-color) !important;
    overflow: hidden !important;
    background: var(--glass-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4) !important;
    flex-shrink: 0 !important;
}

.student-spotlight .spotlight-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.student-spotlight .spotlight-photo i {
    font-size: 3rem !important;
    color: var(--primary-color) !important;
}

/* Close button */
.student-spotlight .spotlight-close {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    z-index: 20 !important;
    transition: color 0.2s ease !important;
}

.student-spotlight .spotlight-close:hover {
    color: white !important;
}

/* ================================================
   MODERN GALLERY SECTION
   ================================================ */

.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

/* Featured item takes more space */
.gallery-item.featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-item.featured {
        grid-column: span 1;
    }
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-item.featured .gallery-image {
    height: 350px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

/* Gallery Overlay - OCULTO */
.gallery-overlay {
    display: none !important;
}

.gallery-item:hover .gallery-overlay {
    display: none !important;
}

.gallery-content h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.gallery-tag {
    display: inline-block;
    background: #6366f1;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gallery Actions */
.gallery-actions {
    text-align: center;
    margin-top: 3rem;
}

.gallery-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b57d1, #7c3aed);
}

.gallery-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.gallery-btn i {
    margin-right: 0.5rem;
}

.gallery-btn .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-btn.loading .btn-text {
    opacity: 0;
}

.gallery-btn.loading .btn-loading {
    display: flex !important;
}

/* New photo animation */
.gallery-item.new-photo {
    animation: photoSlideIn 0.6s ease-out;
}

@keyframes photoSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-item.featured .gallery-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image,
    .gallery-item.featured .gallery-image {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-content h3 {
        font-size: 1.1rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
    }
}

/* ================================================
   ROBOTIC GALLERY POPUP
   ================================================ */

.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-popup.show {
    display: flex;
    opacity: 1;
}

.popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.popup-container {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid #6366f1;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-popup.show .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.popup-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

/* Popup Header - OCULTO */
.popup-header {
    display: none !important;
}

.popup-title-area h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-metadata {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.popup-date, .popup-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.popup-date i, .popup-category i {
    color: #6366f1;
}

/* Robot Scanner */
.popup-robot-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-scanner {
    position: relative;
    width: 60px;
    height: 60px;
    border: 2px solid #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    overflow: hidden;
}

.robot-scanner i {
    color: #6366f1;
    font-size: 1.8rem;
    z-index: 2;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #6366f1 50%, transparent 100%);
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(56px); }
}

/* Popup Body - SOLO IMAGEN */
.popup-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem 2rem 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.popup-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.popup-image-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

/* Image Effects */
.image-overlay-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.scanning-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.corner-brackets {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #6366f1;
}

.bracket.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.bracket.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.bracket.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.bracket.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Info Panel - OCULTO */
.info-panel {
    display: none !important;
}

.panel-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.info-content {
    padding: 1.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tech Specs */
.tech-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spec-label {
    color: rgba(255, 255, 255, 0.8);
    min-width: 120px;
    font-size: 0.9rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Achievement Tags */
.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid #6366f1;
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Popup Footer - OCULTO */
.popup-footer {
    display: none !important;
}

.system-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.system-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .popup-body {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 1.5rem 1.5rem;
        max-height: none;
    }
    
    .popup-image-container img {
        height: 250px;
    }
    
    .popup-footer {
        padding: 1rem 1.5rem;
    }
    
    .system-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Show student photos in small circles */
.student-photo .photo-placeholder {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: var(--glass-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.student-photo .photo-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.student-photo .photo-placeholder i {
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
}

/* Consolidated below */

/* RESET AND SIMPLIFY SPOTLIGHT LAYOUT */
.student-spotlight .spotlight-content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

.student-spotlight .spotlight-header {
    flex-shrink: 0 !important;
    position: relative !important;
}

.student-spotlight .spotlight-info {
    flex: 1 !important;
    color: white !important;
    position: relative !important;
}

.student-spotlight .spotlight-info h3 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 700 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: left !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}

.student-spotlight .spotlight-info p {
    color: #e5e5e5 !important;
    font-size: 0.9rem !important;
    margin: 0 0 0.8rem 0 !important;
    line-height: 1.3 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: left !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}

.student-spotlight .spotlight-skills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}

.student-spotlight .skill {
    background: #6366f1 !important;
    color: #ffffff !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 8px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
}

/* Removed duplicate rules - consolidated above */

/* Removed duplicate rules - consolidated above */

.student-spotlight .spotlight-team-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: var(--success-color) !important;
    color: white !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 10px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

:root {
    /* Modern Futuristic Color Palette */
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Team Colors */
    --knights-color: #6366f1;
    --powerhouse-color: #8b5cf6;
    --overcomers-color: #10b981;
    
    /* Dark Theme Colors */
    --bg-dark-primary: #0c0e1a;
    --bg-dark-secondary: #151829;
    --bg-dark-tertiary: #1e2139;
    --bg-dark-accent: #252947;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #e2e8f0;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #0c0e1a 0%, #151829 25%, #1e2139 50%, #252947 100%);
    --gradient-knights: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-powerhouse: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-overcomers: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    
    /* Neon Effects */
    --neon-blue: #00d4ff;
    --neon-purple: #b794f6;
    --neon-pink: #f093fb;
    --neon-green: #00ff88;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-neon: 0 0 20px rgba(99, 102, 241, 0.5);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Optimized Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Performance-optimized timing functions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Animation durations - golden ratio based */
    --duration-micro: 0.1s;
    --duration-short: 0.2s;
    --duration-medium: 0.3s;
    --duration-long: 0.5s;
    --duration-extended: 0.8s;
    --duration-slow: 1.3s;
    
    /* Animation delays - fibonacci sequence */
    --delay-1: 0.1s;
    --delay-2: 0.2s;
    --delay-3: 0.3s;
    --delay-4: 0.5s;
    --delay-5: 0.8s;
    
    /* Transform origins for advanced effects */
    --origin-center: 50% 50%;
    --origin-top: 50% 0%;
    --origin-bottom: 50% 100%;
    --origin-left: 0% 50%;
    --origin-right: 100% 50%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark-primary);
    overflow-x: hidden;
    position: relative;
}

/* Backgrounds removed for performance */

@keyframes optimizedFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-10px, -10px, 0); }
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header Styles - MEJORADO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.375rem;
    color: white;
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.logo:hover i {
    color: #8b9aff;
    text-shadow: 
        0 0 15px rgba(139, 154, 255, 1),
        0 0 25px rgba(139, 154, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 12px rgba(139, 154, 255, 0.8));
}

.logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover::before {
    opacity: 0.3;
}

.logo i {
    font-size: 1.8rem;
    color: #667eea;
    text-shadow: 
        0 0 10px rgba(102, 126, 234, 0.8),
        0 0 20px rgba(102, 126, 234, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: robotPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
}

@keyframes robotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: block;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.4);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    box-shadow: var(--shadow-glass);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger:hover span::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(99,102,241,0.3)" stroke-width="0.5"/><circle cx="10" cy="10" r="1" fill="rgba(99,102,241,0.5)"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-badge:hover::before {
    opacity: 1;
}

.hero-badge-icon {
    width: clamp(180px, 20vw, 280px);
    height: clamp(180px, 20vw, 280px);
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Animaciones robóticas específicas para la imagen dentro del contenedor */
.hero-image-container img {
    position: relative;
    z-index: 5;
    /* Efectos robóticos para la imagen */
    border: 3px solid transparent;
    background: linear-gradient(45deg, #00ffff, #40ff40, #0080ff, #ffff00) padding-box,
                linear-gradient(45deg, #00ffff, #40ff40, #0080ff, #ffff00) border-box;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(64, 255, 64, 0.3),
        inset 0 0 20px rgba(0, 128, 255, 0.2);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    animation: roboticImagePulse 4s ease-in-out infinite, roboticImageGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
    will-change: transform, filter, box-shadow;
}

/* Efecto hover robótico para la imagen */
.hero-image-container img:hover {
    transform: scale(1.1) rotateY(10deg);
    filter: brightness(1.3) contrast(1.3) saturate(1.5) hue-rotate(30deg);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.8),
        0 0 80px rgba(64, 255, 64, 0.6),
        0 0 120px rgba(255, 255, 0, 0.4),
        inset 0 0 30px rgba(0, 128, 255, 0.4);
    animation: roboticImageHover 1.5s ease-in-out infinite;
}

/* Efecto hover para el contenedor */
.hero-image-container:hover::after {
    content: '[ ENHANCED MODE ]';
    color: rgba(255, 255, 0, 0.8);
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
    animation: roboticSystemEnhanced 1s ease-in-out infinite;
}



/* Contenedor robótico para la imagen y elementos decorativos */
.hero-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: radial-gradient(ellipse at center, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(64, 255, 64, 0.03) 30%, 
        rgba(0, 20, 40, 0.1) 70%, 
        transparent 100%);
    border-radius: 20px;
    overflow: visible;
    animation: roboticContainerPulse 5s ease-in-out infinite;
    /* Efectos de borde robótico */
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.2),
        inset 0 0 30px rgba(64, 255, 64, 0.1);
}

/* Efectos robóticos adicionales para el contenedor */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.3), 
        rgba(64, 255, 64, 0.3),
        rgba(0, 128, 255, 0.3),
        rgba(255, 255, 0, 0.3));
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: -1;
    animation: roboticBorderFlow 6s ease-in-out infinite;
    filter: blur(3px);
}

.hero-image-container::after {
    content: '[ SYSTEM ONLINE ]';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.6);
    letter-spacing: 2px;
    animation: roboticSystemStatus 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}



/* Elementos decorativos de robots - Nuevo diseño circular con antenas */
.robot-element {
    position: fixed;
    width: 28px;
    height: 36px;
    z-index: 1;
    animation: robotWander 12s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Colores de la bandera de Puerto Rico para robots */
.robot-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.robot-antenna {
    width: 2px;
    height: 8px;
    background: linear-gradient(to top, 
        rgba(99, 102, 241, 0.8), 
        rgba(255, 255, 255, 0.9)
    );
    border-radius: 1px;
    position: relative;
    margin-bottom: 2px;
    box-shadow: 0 0 4px rgba(99, 102, 241, 0.6);
}

.robot-antenna::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: antennaGlow 2s ease-in-out infinite;
}

/* Antenas específicas para cada color de Puerto Rico */
.pr-blue .robot-antenna::after {
    background: #FFD700;
    box-shadow: 0 0 6px #FFD700;
}

.pr-red .robot-antenna::after {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.pr-white .robot-antenna::after {
    background: #0066CC;
    box-shadow: 0 0 6px #0066CC;
}

.robot-face {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Estilos para robots con colores de Puerto Rico */
.pr-blue .robot-face {
    background: linear-gradient(135deg, #0066CC, #004499);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 102, 204, 0.6),
        inset 0 2px 6px rgba(255, 255, 255, 0.25);
}

.pr-red .robot-face {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 0, 0, 0.6),
        inset 0 2px 6px rgba(255, 255, 255, 0.25);
}

.pr-white .robot-face {
    background: linear-gradient(135deg, #FFFFFF, #F0F0F0);
    border: 2px solid rgba(0, 102, 204, 0.4);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.8),
        inset 0 2px 6px rgba(0, 102, 204, 0.15);
}

/* Estrella para robots azules */
.robot-star {
    font-size: 12px;
    color: #FFD700;
    position: absolute;
    z-index: 3;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
    animation: starPulse 2s ease-in-out infinite;
}

/* Rayas para robots rojos y blancos */
.robot-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.3) 2px,
        rgba(255, 255, 255, 0.3) 4px
    );
    border-radius: 50%;
    z-index: 2;
}

.pr-white .robot-stripes {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(0, 102, 204, 0.4) 2px,
        rgba(0, 102, 204, 0.4) 4px
    );
}

.robot-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.15), 
        transparent, 
        rgba(255, 255, 255, 0.15)
    );
    animation: robotShine 4s ease-in-out infinite;
    z-index: 1;
}

.robot-eyes {
    display: flex;
    gap: 6px;
    z-index: 1;
}

.robot-eye {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: robotBlink 5s ease-in-out infinite;
}

/* Ojos específicos para cada color de Puerto Rico */
.pr-blue .robot-eye {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
}

.pr-red .robot-eye {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
}

.pr-white .robot-eye {
    background: #0066CC;
    box-shadow: 
        0 0 6px #0066CC,
        0 0 12px rgba(0, 102, 204, 0.6);
}

/* Posicionamiento inicial de los robots - Distribuidos por todo el hero */
.robot-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.robot-2 {
    top: 15%;
    right: 8%;
    animation-delay: -1.2s;
}

.robot-3 {
    top: 25%;
    left: 12%;
    animation-delay: -2.4s;
}

.robot-4 {
    top: 35%;
    right: 15%;
    animation-delay: -3.6s;
}

.robot-5 {
    top: 45%;
    left: 8%;
    animation-delay: -4.8s;
}

.robot-6 {
    top: 55%;
    right: 12%;
    animation-delay: -6s;
}



 

/* Animación fija elegante - flotación suave con glow pulsante */
@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.4),
            0 0 60px rgba(236, 72, 153, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.15);
    }
    20% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 
            0 0 32px rgba(99, 102, 241, 0.45),
            0 0 64px rgba(236, 72, 153, 0.35),
            inset 0 0 32px rgba(255, 255, 255, 0.17);
    }
    40% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 0 35px rgba(99, 102, 241, 0.5),
            0 0 70px rgba(236, 72, 153, 0.4),
            inset 0 0 35px rgba(255, 255, 255, 0.2);
    }
    60% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 0 35px rgba(99, 102, 241, 0.5),
            0 0 70px rgba(236, 72, 153, 0.4),
            inset 0 0 35px rgba(255, 255, 255, 0.2);
    }
    80% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 
            0 0 32px rgba(99, 102, 241, 0.45),
            0 0 64px rgba(236, 72, 153, 0.35),
            inset 0 0 32px rgba(255, 255, 255, 0.17);
    }
}

/* Animación para hover - rotación con pulso */
@keyframes spinPulse {
    0%, 100% {
        transform: scale(1.15) rotate(0deg);
    }
   
    40% {
        transform: scale(1.2) rotate(0deg);
    }
   
    
}

/* Animaciones responsive para mobile */
@keyframes floatGlowMobile {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 0 25px rgba(99, 102, 241, 0.4),
            0 0 50px rgba(236, 72, 153, 0.3),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
    50% {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.5),
            0 0 60px rgba(236, 72, 153, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes spinPulseMobile {
    0%, 100% {
        transform: scale(1.15) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(1deg);
    }
}

@keyframes floatGlowSmall {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 0 20px rgba(99, 102, 241, 0.3),
            0 0 40px rgba(236, 72, 153, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 
            0 0 25px rgba(99, 102, 241, 0.4),
            0 0 50px rgba(236, 72, 153, 0.3),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
}

@keyframes spinPulseSmall {
    0%, 100% {
        transform: scale(1.1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(0.5deg);
    }
}

/* Animaciones para los robots */
@keyframes robotWander {
    0%, 100% {
        transform: translate(0px, 0px);
        opacity: 0.8;
    }
    25% {
        transform: translate(-20px, -15px);
        opacity: 0.9;
    }
    50% {
        transform: translate(25px, -8px);
        opacity: 1;
    }
    75% {
        transform: translate(-12px, 18px);
        opacity: 0.85;
    }
}

@keyframes robotBlink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

@keyframes robotShine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 0.7;
    }
}

@keyframes robotFormText {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) rotate(1deg);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.08) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.05) rotate(-1deg);
        opacity: 0.95;
    }
}

@keyframes antennaGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes inspirationPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Frase inspiradora con animación robótica */
.hero-inspiration {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, 
        #00ffff, 
        #0080ff, 
        #40ff40,
        #ffff00
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 2rem 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: roboticTextGlow 3s ease-in-out infinite, roboticColorShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    will-change: transform, background-position, filter;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #00ffff, #40ff40) 1;
    padding: 1rem 2rem;
    background-color: rgba(0, 20, 40, 0.1);
}

/* Efectos adicionales robóticos */
.hero-inspiration::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(64, 255, 64, 0.1),
        rgba(255, 255, 0, 0.1),
        rgba(0, 128, 255, 0.1)
    );
    border-radius: 8px;
    z-index: -1;
    animation: roboticBorderPulse 2s ease-in-out infinite;
    filter: blur(2px);
}

.hero-inspiration::after {
    content: '01101000 01100101 01110010 01101111';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(0, 255, 255, 0.4);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    animation: roboticBinaryFade 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.title-wrapper {
    position: relative;
    z-index: 2;
}

.title-line {
    position: relative;
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robotic-text {
    font-family: 'Inter', 'Orbitron', monospace;
    font-weight: 900;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--text-primary);
    /* Text shadows removed */
}

.robotic-text:first-child {
    font-size: 4rem;
    color: var(--primary-color);
}

.robotic-text.secondary {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 2px;
}

.robotic-text.main {
    font-size: 5rem;
    color: var(--success-color);
    position: relative;
    z-index: 3;
}

/* Efecto Glitch */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    /* Animation removed */
    color: #ff0040;
    z-index: -1;
}

.glitch-text::after {
    /* Animation removed */
    color: #00ffff;
    z-index: -2;
}

/* Patrones de circuito */
.circuit-pattern {
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-blue) 50%, 
        transparent 100%);
    top: 50%;
    transform: translateY(-50%);
}

.circuit-pattern:first-child {
    left: -80px;
    /* Animation removed */
}

.circuit-pattern:last-child {
    right: -80px;
    /* Animation removed */
}

/* Fondo binario */
.binary-bg {
    position: absolute;
    top: -20px;
    left: -50px;
    right: -50px;
    bottom: -20px;
    overflow: hidden;
    z-index: -1;
    opacity: 0.1;
}

.binary-bg::before {
    content: "01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100";
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--neon-green);
    white-space: nowrap;
    animation: binaryScroll 10s linear infinite;
}

/* Rayo láser */
.laser-beam {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-green) 20%, 
        #ffffff 50%, 
        var(--neon-green) 80%, 
        transparent 100%);
    /* Animation removed */
    /* Box shadows removed */
}

/* Información de competencias robótica */
.robotic-subtitle {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 2rem;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.data-stream {
    color: var(--neon-green);
    font-weight: 900;
    /* Animation removed */
}

.location-data {
    color: var(--neon-blue);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    /* Animation removed */
}

.separator {
    color: var(--neon-purple);
    font-weight: 900;
    /* Animation removed */
}

/* Efectos del título */
.title-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-green) 50%, 
        transparent 100%);
    /* Animation removed */
    box-shadow: 0 0 10px var(--neon-green);
}

.data-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    /* Animation removed */
}

.hologram-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        transparent 100%);
    /* Animation removed */
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Animaciones robóticas */
@keyframes cyberpunkGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes roboticPulse {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.02);
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
    }
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

@keyframes circuitFlow {
    0% { opacity: 0; transform: translateY(-50%) scaleX(0); }
    50% { opacity: 1; transform: translateY(-50%) scaleX(1); }
    100% { opacity: 0; transform: translateY(-50%) scaleX(0); }
}

@keyframes binaryScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes laserScan {
    0%, 100% { transform: translateX(-50%) scaleX(0.3); opacity: 0.5; }
    50% { transform: translateX(-50%) scaleX(1); opacity: 1; }
}

@keyframes dataFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes dataGlow {
    0% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }
    100% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
}

@keyframes separatorPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes scanMove {
    0% { top: 0%; opacity: 1; }
    50% { top: 50%; opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

@keyframes hologramFlicker {
    0%, 100% { opacity: 0.8; }
    25% { opacity: 0.9; }
    50% { opacity: 0.6; }
    75% { opacity: 1; }
}

/* Smart Mobile Optimizations - Keep effects but lighter */
@media (max-width: 768px) {
    /* Keep robots but with simpler animations */
    .robot-element {
        animation-duration: 10s !important;
        animation-timing-function: ease-in-out !important;
    }
    
    /* Hide only truly expensive elements */
    .binary-bg,
    .data-grid,
    .arena-effects .light-beam {
        display: none !important;
    }
    
    /* Replace backdrop-filter with optimized glass effect */
    .header,
    .interview-header,
    .interview-card,
    .achievement-card,
    .competition-card {
        backdrop-filter: none !important;
        background: rgba(12, 14, 26, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Simplify shadows but keep some depth */
    .competition-card,
    .interview-card,
    .achievement-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Keep title effects but simpler */
    .hero-title .hologram-border {
        animation-duration: 4s !important;
    }
}

/* Ultra performance mode for very small screens only */
@media (max-width: 480px) {
    /* Keep essential animations but slow them down */
    .robot-element {
        animation-duration: 15s !important;
    }
    
    /* Simplify backgrounds but keep some ambiance */
    body::after {
        animation: none !important;
        opacity: 0.5 !important;
    }
    
    /* Remove only the most expensive effects */
    .hologram-border,
    .title-effects .scan-line,
    .binary-bg {
        display: none !important;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.5s !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 480px) {
    /* Remove most visual effects on small screens */
    .hologram-border,
    .title-effects,
    .arena-effects,
    body::before,
    body::after {
        display: none !important;
    }
    
    /* Simplify gradients */
    .singapore-bg,
    .panama-bg {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    }
    
    /* Disable robot animations */
    .robot-element {
        transform: none !important;
        animation: none !important;
    }
}

/* Responsive Design para Hero Title Robótico */
@media (max-width: 1024px) {
    .robotic-text:first-child {
        font-size: 3.5rem;
    }
    
    .robotic-text.secondary {
        font-size: 1.8rem;
    }
    
    .robotic-text.main {
        font-size: 4rem;
    }
    
    .circuit-pattern:first-child {
        left: -60px;
    }
    
    .circuit-pattern:last-child {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        margin-bottom: 2rem;
    }
    
    .robotic-text {
        letter-spacing: 2px;
    }
    
    .robotic-text:first-child {
        font-size: 2.8rem;
    }
    
    .robotic-text.secondary {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .robotic-text.main {
        font-size: 3rem;
    }
    
    .robotic-subtitle {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .location-data {
        padding: 0.2rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .circuit-pattern {
        display: none; /* Ocultar en móviles para mejor rendimiento */
    }
    
    .hologram-border {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .robotic-text:first-child {
        font-size: 2.2rem;
    }
    
    .robotic-text.secondary {
        font-size: 1.1rem;
    }
    
    .robotic-text.main {
        font-size: 2.4rem;
    }
    
    .robotic-subtitle {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .title-line {
        margin: 0.3rem 0;
    }
    
    .binary-bg {
        display: none; /* Ocultar en móviles muy pequeños */
    }
}



.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

/* Diseño para las tarjetas de competencia */
.competition-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.competition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.competition-card.singapore::before {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 140, 0, 0.1)
    );
}

.competition-card.panama::before {
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1), 
        rgba(40, 167, 69, 0.1)
    );
}

.competition-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-glass),
        0 10px 30px rgba(99, 102, 241, 0.3);
}

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

.competition-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.competition-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.competition-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.competition-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.detail-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--neon-glow);
    margin-bottom: 0.35rem;
}

.detail-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.2;
}

/* Efectos especiales para cada competencia */
.competition-card.singapore {
    border-color: rgba(255, 215, 0, 0.3);
}

.competition-card.singapore .detail-number {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.competition-card.panama {
    border-color: rgba(0, 123, 255, 0.3);
}

.competition-card.panama .detail-number {
    color: #007BFF;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

/* Sección integrada de acción */
.hero-action-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-action-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05), 
        rgba(236, 72, 153, 0.05)
    );
    z-index: 1;
}

.action-content {
    position: relative;
    z-index: 2;
}

.action-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.action-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(0);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
    opacity: 0.3;
}

.hero-image::after {
    content: '🤖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    animation: robotFloat 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes robotFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
    50% { transform: translate(-50%, -50%) translateY(-10px) rotate(5deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.float-item:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.float-item:nth-child(4) {
    top: 40%;
    right: 40%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 50px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Historia Section */
.historia {
    background: var(--bg-secondary);
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.card-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.achievement-icon {
    font-size: 1.5rem;
}

/* Interview Section Styles */
.interview-section {
    margin-bottom: 2rem;
}

.interview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.interview-header i {
    font-size: 2rem;
    color: var(--accent-color);
    animation: radioWave 2s ease-in-out infinite;
}

.interview-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.interviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.interview-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
    position: relative;
}

.interview-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-glass),
        0 0 30px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}



.interview-visual {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.interview-background {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.singapore-bg {
    background: var(--primary-color);
}

.panama-bg {
    background: var(--success-color);
}

.interview-card:hover .interview-background {
    transform: scale(1.02);
}

.location-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    animation: floatIcon 3s ease-in-out infinite;
}

.competition-type {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    text-align: center;
}

.location-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.year {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

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



.interview-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.interview-badge i {
    font-size: 0.8rem;
}

.interview-info {
    padding: 1.5rem;
}

.interview-info h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.interview-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.interview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.interview-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.interview-link i {
    font-size: 1rem;
}

/* Animación para el ícono de radio */
@keyframes radioWave {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Achievement card compact version */
.achievement-card.compact {
    margin-top: 1rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive design for interviews */
@media (max-width: 1024px) {
    .interviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interview-visual {
        height: 220px;
    }
    
    .location-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .interview-header {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .interview-header h4 {
        font-size: 1.25rem;
    }
    
    .interview-visual {
        height: 200px;
    }
    
    .location-icon {
        font-size: 2.5rem;
    }
    
    .location-name {
        font-size: 1.8rem;
    }
    
    .competition-type {
        font-size: 0.8rem;
    }
    
    .interview-info {
        padding: 1rem;
    }
    
    .interview-info h5 {
        font-size: 1.1rem;
    }
    

    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .interview-visual {
        height: 180px;
    }
    
    .location-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .location-name {
        font-size: 1.5rem;
    }
    
    .competition-type {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .year {
        font-size: 1rem;
    }
    
    .interview-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .interview-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    

    
    .interview-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Estudiantes Section - Circular Layout como La Velada */
.estudiantes-circular {
    background: var(--bg-dark-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 0 8rem 0;
}

.estudiantes-circular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: arenaGlow 12s ease-in-out infinite;
}

@keyframes arenaGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Arena Principal */
.circular-arena {
    position: relative;
    width: 800px;
    height: 800px;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
    z-index: 2;
}

/* Centro del Arena */
.arena-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glass), inset 0 0 50px rgba(99, 102, 241, 0.1);
    z-index: 10;
}

/* Contenido Central Default */
.center-content {
    text-align: center;
    padding: 3rem;
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.arena-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    line-height: 1.1;
    max-width: 90%;
    word-wrap: break-word;
    hyphens: auto;
}

.highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.center-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 85%;
    text-align: center;
}

.robotics-logo {
    position: relative;
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.robotics-logo i {
    position: relative;
    z-index: 2;
    animation: robotFloat 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes robotFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes logoGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes spotlightPulse {
    0% { 
        transform: scale(1);
        box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.4);
    }
    100% { 
        transform: scale(1.02);
        box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.6);
    }
}

@keyframes teamLabelGlow {
    0% { 
        box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 255, 255, 0.2);
    }
    100% { 
        box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Spotlight Area (aparece en hover) */
.student-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem;
    text-align: center;
    transform: scale(1);
}

.student-spotlight.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.student-spotlight.active {
    opacity: 1;
    visibility: visible;
}

.spotlight-image {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%) scale(0.2);
    z-index: 20;
    flex-shrink: 0;
    width: 120%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.student-spotlight.active .spotlight-image {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    transition-delay: 0.2s;
}

.spotlight-photo {
    width: clamp(280px, 25vw, 450px);
    height: clamp(280px, 25vw, 450px);
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(6rem, 15vw, 12rem);
    border: 8px solid white;
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(99, 102, 241, 0.6), 0 0 100px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    animation: spotlightPulse 2s ease-in-out infinite alternate;
}

.spotlight-team-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0.5) rotate(180deg);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 700;
    color: white;
    border: 4px solid white;
    box-shadow: var(--shadow-xl), 0 0 20px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 25;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.student-spotlight.active .spotlight-team-badge {
    transform: translateX(-50%) scale(1) rotate(0deg);
    opacity: 1;
    transition-delay: 0.3s;
}

.spotlight-team-badge.knights {
    background: var(--gradient-knights);
}

.spotlight-team-badge.powerhouse {
    background: var(--gradient-powerhouse);
}

.spotlight-team-badge.overcomers {
    background: var(--gradient-overcomers);
}

.spotlight-info {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 90%;
    max-width: 400px;
    height: 35%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 15;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.student-spotlight.active .spotlight-info {
    transform: translateX(-50%) translateY(0%);
    opacity: 1;
    transition-delay: 0.4s;
}

.spotlight-info h3 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1.1;
    max-width: 100%;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.student-spotlight.active .spotlight-info h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.spotlight-info p {
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
    line-height: 1.2;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    max-width: 100%;
    word-wrap: break-word;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.student-spotlight.active .spotlight-info p {
    opacity: 1;
    transform: translateY(0);
}

.student-spotlight.active .spotlight-info p:nth-child(2) {
    transition-delay: 0.7s;
}

.student-spotlight.active .spotlight-info p:nth-child(3) {
    transition-delay: 0.8s;
}

.student-spotlight.active .spotlight-info p:nth-child(4) {
    transition-delay: 0.9s;
}

.spotlight-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: center;
    margin-top: 0.3rem;
    max-width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.student-spotlight.active .spotlight-skills {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.spotlight-skills .skill {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: clamp(0.55rem, 0.8vw, 0.65rem);
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.student-spotlight.active .spotlight-skills .skill {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.student-spotlight.active .spotlight-skills .skill:nth-child(1) {
    transition-delay: 1.1s;
}

.student-spotlight.active .spotlight-skills .skill:nth-child(2) {
    transition-delay: 1.2s;
}

.student-spotlight.active .spotlight-skills .skill:nth-child(3) {
    transition-delay: 1.3s;
}

/* Círculo de Estudiantes */
.students-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

.student-orbit {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Área de detección más grande para mejor hover */
    padding: 5px;
    margin: -5px;
}

/* Grupos de Equipos */
.team-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Etiquetas de Equipos */
.team-label {
    position: relative;
    z-index: 15;
}

.team-name {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: teamLabelGlow 3s ease-in-out infinite alternate;
}

.team-name.knights {
    border-color: var(--knights-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(118, 75, 162, 0.2));
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.team-name.powerhouse {
    border-color: var(--powerhouse-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

.team-name.overcomers {
    border-color: var(--overcomers-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

/* EQUIPO KNIGHTS - Lado Izquierdo */
.knights-group {
    left: -15%;
    top: 50%;
    transform: translateY(-50%);
}

.knights-captain {
    position: relative;
    transform: translateX(-20px);
}

.knights-member1 {
    position: relative;
    transform: translateX(20px) translateY(-10px);
}

.knights-member2 {
    position: relative;
    transform: translateX(-10px) translateY(-5px);
}

/* EQUIPO POWERHOUSE - Lado Derecho */
.powerhouse-group {
    right: -15%;
    top: 50%;
    transform: translateY(-50%);
}

.powerhouse-captain {
    position: relative;
    transform: translateX(20px);
}

.powerhouse-member1 {
    position: relative;
    transform: translateX(-20px) translateY(-10px);
}

.powerhouse-member2 {
    position: relative;
    transform: translateX(10px) translateY(-5px);
}

/* EQUIPO OVERCOMERS - Parte Inferior */
.overcomers-group {
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 2rem;
}

.overcomers-captain {
    position: relative;
    transform: translateY(-20px);
}

.overcomers-member1 {
    position: relative;
    transform: translateY(10px) translateX(-10px);
}

.overcomers-member2 {
    position: relative;
    transform: translateY(10px) translateX(10px);
}

.student-orbit:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 15;
}

.student-photo {
    position: relative;
    width: 100px;
    height: 100px;
}

.photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: all 0.3s ease;
    position: relative;
}

.student-photo:hover .photo-frame {
    border-color: white;
    box-shadow: var(--shadow-neon);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.student-photo[data-team="knights"] .photo-placeholder {
    background: var(--gradient-knights);
}

.student-photo[data-team="powerhouse"] .photo-placeholder {
    background: var(--gradient-powerhouse);
}

.student-photo[data-team="overcomers"] .photo-placeholder {
    background: var(--gradient-overcomers);
}

.student-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    box-shadow: var(--shadow-md);
}

.student-badge.knights {
    background: var(--gradient-knights);
}

.student-badge.powerhouse {
    background: var(--gradient-powerhouse);
}

.student-badge.overcomers {
    background: var(--gradient-overcomers);
}

/* Efectos de luces del arena */
.arena-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light-beam {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: lightRotate 20s linear infinite;
}

.light-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.light-2 {
    top: 10%;
    right: 10%;
    animation-delay: 5s;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.light-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 10s;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.light-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 15s;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
}

@keyframes lightRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}



/* Ayuda Section */
.ayuda {
    background: var(--bg-dark-secondary);
    color: white;
    position: relative;
}

.ayuda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.ayuda-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ayuda h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cost-breakdown {
    margin-top: 2rem;
}

.cost-breakdown h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cost-breakdown ul {
    list-style: none;
}

.cost-breakdown li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.cost-breakdown i {
    color: var(--accent-color);
}

.cost-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cost-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.cost-label {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 50px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Donación Section */
.donacion {
    background: var(--bg-dark-primary);
    position: relative;
}

.donacion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M10,10 L30,10 M20,0 L20,20 M0,20 L40,20" stroke="rgba(16,185,129,0.2)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.3;
}

.donacion-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .donacion-methods {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
}

.method-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.method-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.bank-info .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.125rem;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.qr-code {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 0 0 2px #6366f1,
        0 15px 35px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.qr-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(99, 102, 241, 0.1) 50%, 
        transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.qr-code:hover::before {
    opacity: 1;
}

.qr-code:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 0 0 3px #8b5cf6,
        0 25px 50px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.qr-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 8px;
}

.qr-code:hover .qr-image {
    transform: scale(1.05);
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.qr-code p {
    color: #1e293b;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.qr-code i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Responsive QR */
@media (max-width: 768px) {
    .qr-container {
        padding: 1.5rem 0.5rem;
    }
    
    .qr-code {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .qr-image {
        width: 200px;
        height: 200px;
        padding: 6px;
    }
    
    .qr-code p {
        font-size: 0.9rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 480px) {
    .qr-code {
        padding: 1.5rem 1rem;
    }
    
    .qr-image {
        width: 180px;
        height: 180px;
    }
    
    .qr-code p {
        font-size: 0.85rem;
    }
}

.amount-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.amount-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.donation-note {
    color:#000000fe;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.donation-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Impacto Section */
.impacto-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impacto-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

.impacto-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive para stat-cards */
@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .stat-card .stat-label {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
}

/* Contacto Section */
.contacto {
    background: var(--bg-dark-tertiary);
    position: relative;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="60" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q15,0 30,10 T60,10" stroke="rgba(6,182,212,0.2)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.5;
}

/* Contact Panel Robótico Compacto */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid #6366f1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Panel Header */
.panel-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
    animation: scanMove 3s ease-in-out infinite;
}

@keyframes scanMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.panel-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.panel-header h3 i {
    margin-right: 0.5rem;
    color: #ffffff;
}

.header-subtitle {
    margin-top: 0.8rem;
}

.transmission-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.transmission-text::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.header-grid {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.grid-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.grid-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.grid-dot:nth-child(3) {
    animation-delay: 1s;
}

/* Panel Body */
.panel-body {
    padding: 2rem;
}

.contact-section {
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.section-header i {
    color: #6366f1;
    font-size: 1.1rem;
}

.section-header span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.status-indicator.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.online {
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 0.8rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.contact-label i {
    color: #6366f1;
    font-size: 0.9rem;
    width: 12px;
    text-align: center;
}

.contact-value {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.contact-link {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #6366f1 50%, transparent 100%);
}

.divider-icon {
    color: #6366f1;
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
}

/* Panel Footer */
.panel-footer {
    background: rgba(99, 102, 241, 0.1);
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.status-dots {
    display: flex;
    gap: 0.3rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.footer-timestamp {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-item {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.05), rgba(99, 102, 241, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

/* Responsive para Contact Panel */
@media (max-width: 768px) {
    .contact-content {
        max-width: 95%;
    }

    .panel-header {
        padding: 1.2rem;
    }

    .panel-header h3 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .transmission-text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .panel-body {
        padding: 1.5rem;
    }

    .contact-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .contact-label {
        min-width: auto;
        font-size: 0.75rem;
    }

    .contact-value {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }

    .section-divider {
        margin: 1.5rem 0;
    }

    .panel-footer {
        padding: 0.8rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-timestamp {
        font-size: 0.6rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section .social-links {
    justify-content: flex-start;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-motto {
    font-weight: 600;
    color: var(--accent-color);
}

/* Responsive Design */
/* Estilos para desktop - usar layout original sin team-students-row */
@media (min-width: 769px) {
    /* No usar los contenedores team-students-row en desktop */
    .team-students-row {
        display: contents;
    }
    
    /* Asegurar que los estudiantes sean visibles en desktop */
    .student-orbit {
        display: block !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .competition-card {
        min-width: 300px;
        max-width: 360px;
        padding: 1.25rem;
    }
    
    .competition-icon {
        font-size: 1.8rem;
    }
    
    .competition-title {
        font-size: 1.1rem;
    }
    
    .detail-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero-badge-icon {
        width: clamp(140px, 25vw, 200px);
        height: clamp(140px, 25vw, 200px);
        margin-bottom: 2rem;
    }
    
    .hero-image-container img {
        border-width: 2px;
    }
    
    .hero-image-container {
        padding: 1.5rem;
    }
    
    .hero-image-container::after {
        font-size: 0.7rem;
        bottom: -30px;
    }
    
    .robot-element {
        width: 28px;
        height: 36px;
    }
    
    .robot-face {
        width: 24px;
        height: 24px;
    }
    
    .robot-eye {
        width: 4px;
        height: 4px;
    }
    
    .robot-antenna {
        height: 6px;
    }
    

    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark-primary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--glass-border);
        box-shadow: var(--shadow-glass);
    }
    
    .nav-menu a {
        width: 100%;
        max-width: 300px;
        text-align: center;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(15px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-inspiration {
        font-size: 1.8rem;
        margin: 1.5rem 0;
        letter-spacing: 2px;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-inspiration::after {
        font-size: 0.6rem;
        top: -20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }
    
    .competitions-info {
        font-size: 1rem;
        margin-top: 0.4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .competition-card {
        min-width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    
    .competition-details {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    
    .competition-header {
        margin-bottom: 1rem;
    }
    
    .competition-icon {
        font-size: 1.25rem;
    }
    
    .competition-title {
        font-size: 0.9rem;
    }
    
    .detail-number {
        font-size: 1rem;
    }
    
    .detail-label {
        font-size: 0.65rem;
    }
    
    .detail-item {
        padding: 0.4rem;
    }
    
    .hero-action-section {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .action-title {
        font-size: 1.25rem;
    }
    
    .action-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .historia-content,
    .ayuda-content,
    .impacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .circular-arena {
        width: 90vw;
        height: 90vw;
        max-width: 500px;
        max-height: 500px;
    }
    
    .arena-center {
        width: clamp(280px, 80vw, 400px);
        height: clamp(280px, 80vw, 400px);
    }
    
    .center-content {
        padding: 2rem;
    }
    
    .arena-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .center-subtitle {
        font-size: clamp(0.75rem, 3vw, 0.875rem);
        margin-bottom: 1rem;
        max-width: 95%;
    }
    
    .robotics-logo {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-top: 0.25rem;
    }
    
    .student-spotlight {
        padding: 1.5rem;
    }
    
    .spotlight-image {
        top: -20%;
        width: 140%;
    }
    
    .spotlight-photo {
        width: clamp(200px, 35vw, 300px);
        height: clamp(200px, 35vw, 300px);
        font-size: clamp(4rem, 12vw, 8rem);
        border: 6px solid white;
    }
    
    .spotlight-team-badge {
        bottom: -15px;
        padding: 0.4rem 0.8rem;
        font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    }
    
    .spotlight-info {
        bottom: 1%;
        height: 40%;
        width: 95%;
        padding: 0.5rem;
    }
    
    .spotlight-info h3 {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 0.15rem;
    }
    
    .spotlight-info p {
        font-size: clamp(0.6rem, 1.8vw, 0.7rem);
        margin-bottom: 0.1rem;
        line-height: 1.1;
    }
    
    .spotlight-skills {
        margin-top: 0.2rem;
        gap: 0.15rem;
    }
    
    .spotlight-skills .skill {
        font-size: clamp(0.45rem, 1.5vw, 0.55rem);
        padding: 0.1rem 0.3rem;
        max-width: 50px;
    }
    
    .student-photo {
        width: 80px;
        height: 80px;
    }
    
    .photo-placeholder {
        font-size: 2rem;
    }
    
    .student-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
        bottom: -6px;
        right: -6px;
    }
    
    .spotlight-image {
        margin-right: 1rem;
    }
    
    .spotlight-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .spotlight-info h3 {
        font-size: 1.5rem;
    }
    
    .spotlight-info p {
        font-size: 0.875rem;
    }
    
    .light-beam {
        width: 150px;
        height: 150px;
    }
    

    
    .donacion-methods {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 1rem 1.5rem;
    }
    
    /* Header móvil mejorado */
    .header {
        background: rgba(10, 10, 20, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4) !important;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
        padding: 0.5rem 0.8rem;
        gap: 0.6rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .logo span {
        color: white;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .hero-badge-icon {
        width: clamp(120px, 30vw, 160px);
        height: clamp(120px, 30vw, 160px);
        margin-bottom: 1.5rem;
        border-width: 2px;
    }
    
    .hero-image-container {
        padding: 1rem;
    }
    
    .hero-image-container::after {
        font-size: 0.6rem;
        bottom: -25px;
        content: '[ ONLINE ]';
    }
    
    .hero-inspiration {
        font-size: 1.4rem;
        margin: 1.25rem 0;
        letter-spacing: 1.5px;
        padding: 0.6rem 1rem;
    }
    
    .hero-inspiration::after {
        font-size: 0.5rem;
        top: -18px;
        content: '01101000 01100101';
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .competitions-info {
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }
    
    .robot-element {
        width: 24px;
        height: 32px;
    }
    
    .robot-face {
        width: 20px;
        height: 20px;
    }
    
    .robot-eye {
        width: 3px;
        height: 3px;
    }
    
    .robot-antenna {
        height: 5px;
        width: 1.5px;
    }
    

    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cost-amount .amount {
        font-size: 3rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    /* Ajustes para pantallas muy pequeñas - mantener disposición circular */
    .circular-arena {
        min-height: 500px;
        padding: 1rem 0.5rem;
    }
    
    .arena-center {
        width: clamp(180px, 45vw, 250px);
        height: clamp(180px, 45vw, 250px);
    }
    
    .knights-group {
        left: 2%;
    }
    
    .powerhouse-group {
        right: 2%;
    }
    
    .overcomers-group {
        bottom: 8%;
        min-width: 180px;
    }
    
    .team-group {
        padding: 0.5rem 0.3rem;
    }
    
    .team-name {
        font-size: clamp(0.6rem, 2vw, 0.8rem);
        padding: 0.2rem 0.6rem;
    }
    
    .student-photo {
        width: 40px;
        height: 40px;
    }
    
    .photo-frame {
        width: 34px;
        height: 34px;
    }
    
    .photo-placeholder {
        font-size: 1rem;
    }
    
    .student-badge {
        font-size: 0.4rem;
        padding: 0.1rem 0.2rem;
        bottom: -3px;
        right: -3px;
    }
} 

/* ==================================================
   MASTER CSS ANIMATION SYSTEM - 40+ Years Experience
   Pure CSS - No JavaScript Dependencies
   GPU-Accelerated, 60fps Guaranteed
   ================================================== */

/* Master keyframes - mathematically perfect curves */
@keyframes masterFloat {
    0% { transform: translateY(0) scale(1) rotateZ(0deg); }
    25% { transform: translateY(-3px) scale(1.005) rotateZ(0.5deg); }
    50% { transform: translateY(-6px) scale(1.01) rotateZ(0deg); }
    75% { transform: translateY(-3px) scale(1.005) rotateZ(-0.5deg); }
    100% { transform: translateY(0) scale(1) rotateZ(0deg); }
}

/* Optimized float animation - simplified version for better performance */
@keyframes optimizedFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.02);
    }
}



/* Animación de pulso optimizada (backup) */
@keyframes optimizedPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

/* ANIMACIONES ROBÓTICAS PARA HERO-INSPIRATION */

/* Efecto de brillo robótico con glitch */
@keyframes roboticTextGlow {
    0% { 
        transform: translateX(0) scaleY(1);
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)) brightness(1);
        text-shadow: 
            0 0 5px rgba(0, 255, 255, 0.8),
            0 0 10px rgba(64, 255, 64, 0.6),
            0 0 15px rgba(0, 128, 255, 0.4);
    }
    10% { 
        transform: translateX(2px) scaleY(1.01);
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8)) brightness(1.1);
        text-shadow: 
            0 0 8px rgba(0, 255, 255, 1),
            0 0 15px rgba(64, 255, 64, 0.8),
            0 0 20px rgba(0, 128, 255, 0.6);
    }
    15% { 
        transform: translateX(-1px) scaleY(0.99);
        filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4)) brightness(0.9);
    }
    30% { 
        transform: translateX(0) scaleY(1.02);
        filter: drop-shadow(0 0 20px rgba(64, 255, 64, 0.9)) brightness(1.2);
        text-shadow: 
            0 0 12px rgba(0, 255, 255, 1.2),
            0 0 25px rgba(64, 255, 64, 1),
            0 0 35px rgba(0, 128, 255, 0.8);
    }
    50% { 
        transform: translateX(1px) scaleY(1);
        filter: drop-shadow(0 0 25px rgba(255, 255, 0, 1)) brightness(1.3);
        text-shadow: 
            0 0 15px rgba(255, 255, 0, 1.5),
            0 0 30px rgba(0, 255, 255, 1.2),
            0 0 45px rgba(64, 255, 64, 1);
    }
    70% { 
        transform: translateX(-2px) scaleY(1.01);
        filter: drop-shadow(0 0 18px rgba(0, 128, 255, 0.8)) brightness(1.1);
    }
    85% { 
        transform: translateX(0) scaleY(0.98);
        filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.6)) brightness(1);
    }
    100% { 
        transform: translateX(0) scaleY(1);
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)) brightness(1);
        text-shadow: 
            0 0 5px rgba(0, 255, 255, 0.8),
            0 0 10px rgba(64, 255, 64, 0.6),
            0 0 15px rgba(0, 128, 255, 0.4);
    }
}

/* Cambio de colores robótico */
@keyframes roboticColorShift {
    0% { 
        background-position: 0% 50%;
        border-image: linear-gradient(45deg, #00ffff, #40ff40) 1;
    }
    25% { 
        background-position: 50% 100%;
        border-image: linear-gradient(45deg, #40ff40, #ffff00) 1;
    }
    50% { 
        background-position: 100% 50%;
        border-image: linear-gradient(45deg, #ffff00, #0080ff) 1;
    }
    75% { 
        background-position: 50% 0%;
        border-image: linear-gradient(45deg, #0080ff, #00ffff) 1;
    }
    100% { 
        background-position: 0% 50%;
        border-image: linear-gradient(45deg, #00ffff, #40ff40) 1;
    }
}

/* Pulso del borde robótico */
@keyframes roboticBorderPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Código binario que aparece y desaparece */
@keyframes roboticBinaryFade {
    0%, 70% { 
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    80%, 90% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0px);
    }
    100% { 
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================================== 
   ANIMACIONES ROBÓTICAS PARA HERO-IMAGE-CONTAINER
   ===================================================== */

/* Pulso robótico de la imagen */
@keyframes roboticImagePulse {
    0%, 100% { 
        transform: scale(1) rotateZ(0deg);
        filter: brightness(1.1) contrast(1.1) saturate(1.2);
        box-shadow: 
            0 0 20px rgba(0, 255, 255, 0.4),
            0 0 40px rgba(64, 255, 64, 0.3),
            inset 0 0 20px rgba(0, 128, 255, 0.2);
    }
    25% { 
        transform: scale(1.02) rotateZ(0.5deg);
        filter: brightness(1.15) contrast(1.15) saturate(1.3);
        box-shadow: 
            0 0 25px rgba(0, 255, 255, 0.6),
            0 0 50px rgba(64, 255, 64, 0.4),
            inset 0 0 25px rgba(0, 128, 255, 0.3);
    }
    50% { 
        transform: scale(1.05) rotateZ(0deg);
        filter: brightness(1.2) contrast(1.2) saturate(1.4);
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.8),
            0 0 60px rgba(64, 255, 64, 0.5),
            inset 0 0 30px rgba(0, 128, 255, 0.4);
    }
    75% { 
        transform: scale(1.02) rotateZ(-0.5deg);
        filter: brightness(1.15) contrast(1.15) saturate(1.3);
        box-shadow: 
            0 0 25px rgba(0, 255, 255, 0.6),
            0 0 50px rgba(64, 255, 64, 0.4),
            inset 0 0 25px rgba(0, 128, 255, 0.3);
    }
}

/* Brillo robótico de la imagen */
@keyframes roboticImageGlow {
    0%, 100% { 
        border-color: rgba(0, 255, 255, 0.5);
    }
    33% { 
        border-color: rgba(64, 255, 64, 0.8);
    }
    66% { 
        border-color: rgba(255, 255, 0, 0.6);
    }
}

/* Pulso del contenedor robótico */
@keyframes roboticContainerPulse {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.2),
            inset 0 0 30px rgba(64, 255, 64, 0.1);
        border-color: rgba(0, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.4),
            inset 0 0 50px rgba(64, 255, 64, 0.2);
        border-color: rgba(64, 255, 64, 0.6);
    }
}

/* Flujo del borde robótico */
@keyframes roboticBorderFlow {
    0% { 
        background-position: 0% 50%;
        opacity: 0.6;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 1;
    }
    100% { 
        background-position: 0% 50%;
        opacity: 0.6;
    }
}

/* Estado del sistema robótico */
@keyframes roboticSystemStatus {
    0%, 70% { 
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    80%, 90% { 
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
    100% { 
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
}

/* Hover de imagen robótica */
@keyframes roboticImageHover {
    0%, 100% { 
        transform: scale(1.1) rotateY(10deg) rotateZ(0deg);
    }
    50% { 
        transform: scale(1.12) rotateY(12deg) rotateZ(1deg);
    }
}

/* Sistema mejorado */
@keyframes roboticSystemEnhanced {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        text-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
    }
    50% { 
        transform: translateX(-50%) scale(1.1);
        text-shadow: 0 0 25px rgba(255, 255, 0, 1);
    }
}

@keyframes masterPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes masterGlow {
    0% { filter: brightness(1) drop-shadow(0 0 5px currentColor); }
    50% { filter: brightness(1.1) drop-shadow(0 0 15px currentColor); }
    100% { filter: brightness(1) drop-shadow(0 0 5px currentColor); }
}

@keyframes masterSlideUp {
    0% { 
        transform: translateY(30px) scale(0.95); 
        opacity: 0; 
        filter: blur(3px);
    }
    100% { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
        filter: blur(0);
    }
}

@keyframes masterSlideLeft {
    0% { 
        transform: translateX(-50px) scale(0.95); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(0) scale(1); 
        opacity: 1; 
    }
}

@keyframes masterSlideRight {
    0% { 
        transform: translateX(50px) scale(0.95); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(0) scale(1); 
        opacity: 1; 
    }
}

@keyframes masterRotateIn {
    0% { 
        transform: rotate(-15deg) scale(0.8); 
        opacity: 0; 
        transform-origin: var(--origin-center);
    }
    100% { 
        transform: rotate(0deg) scale(1); 
        opacity: 1; 
    }
}

@keyframes masterBounceIn {
    0% { 
        transform: scale(0.3) translateY(-100px); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.05) translateY(-10px); 
        opacity: 0.8; 
    }
    70% { 
        transform: scale(0.98) translateY(0); 
        opacity: 0.9; 
    }
    100% { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    }
}

@keyframes masterWave {
    0%, 100% { 
        transform: rotateZ(0deg) translateX(0); 
    }
    25% { 
        transform: rotateZ(1deg) translateX(-2px); 
    }
    75% { 
        transform: rotateZ(-1deg) translateX(2px); 
    }
}

/* UNIQUE ROBOT ANIMATIONS - Each robot has its own pattern */

/* Robot 1 - Circular explorer */
@keyframes robot1Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
    25% { transform: translate(-20px, -20px) rotate(90deg) scale(1.05); opacity: 0.9; }
    50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.95); opacity: 0.8; }
    75% { transform: translate(20px, 20px) rotate(270deg) scale(1.02); opacity: 0.85; }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); opacity: 0.7; }
}

/* Robot 2 - Figure-8 dancer */
@keyframes robot2Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.75; }
    12.5% { transform: translate(-15px, -10px) rotate(45deg) scale(1.03); opacity: 0.85; }
    25% { transform: translate(-25px, 0) rotate(90deg) scale(0.98); opacity: 0.9; }
    37.5% { transform: translate(-15px, 10px) rotate(135deg) scale(1.01); opacity: 0.8; }
    50% { transform: translate(0, 0) rotate(180deg) scale(1); opacity: 0.75; }
    62.5% { transform: translate(15px, -10px) rotate(225deg) scale(0.97); opacity: 0.85; }
    75% { transform: translate(25px, 0) rotate(270deg) scale(1.04); opacity: 0.9; }
    87.5% { transform: translate(15px, 10px) rotate(315deg) scale(0.99); opacity: 0.8; }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); opacity: 0.75; }
}

/* Robot 3 - Zigzag explorer */
@keyframes robot3Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
    20% { transform: translate(-30px, -15px) rotate(-15deg) scale(1.02); opacity: 0.9; }
    40% { transform: translate(30px, -5px) rotate(15deg) scale(0.96); opacity: 0.85; }
    60% { transform: translate(-20px, 25px) rotate(-20deg) scale(1.05); opacity: 0.75; }
    80% { transform: translate(25px, 15px) rotate(10deg) scale(0.98); opacity: 0.9; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
}

/* Robot 4 - Orbital drifter */
@keyframes robot4Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
    16% { transform: translate(-18px, -25px) rotate(30deg) scale(1.03); opacity: 0.85; }
    33% { transform: translate(10px, -30px) rotate(-20deg) scale(0.97); opacity: 0.9; }
    50% { transform: translate(28px, -10px) rotate(25deg) scale(1.01); opacity: 0.8; }
    66% { transform: translate(15px, 20px) rotate(-15deg) scale(0.99); opacity: 0.85; }
    83% { transform: translate(-25px, 25px) rotate(35deg) scale(1.04); opacity: 0.75; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
}

/* Robot 5 - Gentle spiral */
@keyframes robot5Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.75; }
    25% { transform: translate(-12px, -20px) rotate(60deg) scale(1.02); opacity: 0.9; }
    50% { transform: translate(20px, -12px) rotate(120deg) scale(0.98); opacity: 0.85; }
    75% { transform: translate(8px, 22px) rotate(240deg) scale(1.01); opacity: 0.8; }
    100% { transform: translate(0, 0) rotate(300deg) scale(1); opacity: 0.75; }
}

/* Robot 6 - Random wanderer */
@keyframes robot6Wander {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
    14% { transform: translate(-22px, -8px) rotate(-25deg) scale(1.03); opacity: 0.85; }
    28% { transform: translate(-5px, -28px) rotate(40deg) scale(0.96); opacity: 0.9; }
    42% { transform: translate(25px, -18px) rotate(-30deg) scale(1.02); opacity: 0.75; }
    57% { transform: translate(18px, 12px) rotate(50deg) scale(0.99); opacity: 0.85; }
    71% { transform: translate(-8px, 25px) rotate(-20deg) scale(1.01); opacity: 0.8; }
    85% { transform: translate(-28px, 5px) rotate(35deg) scale(0.97); opacity: 0.9; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
}

@keyframes robotEyeBlink {
    0%, 85%, 100% { 
        opacity: 1; 
        transform: scaleY(1); 
    }
    90%, 95% { 
        opacity: 0.2; 
        transform: scaleY(0.1); 
    }
}

@keyframes antennaLightning {
    0%, 90%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        filter: brightness(1); 
    }
    95% { 
        opacity: 0.6; 
        transform: scale(1.3); 
        filter: brightness(1.5); 
    }
}

/* PROFESSIONAL HERO IMAGE ANIMATION */
@keyframes heroMasterFloat {
    0% { 
        transform: translateY(0) rotateZ(0deg) scale(1); 
        filter: brightness(1.1) contrast(1.1) saturate(1) hue-rotate(0deg); 
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.4),
            0 0 60px rgba(236, 72, 153, 0.3),
            0 15px 35px rgba(0, 0, 0, 0.2);
    }
    25% { 
        transform: translateY(-6px) rotateZ(1deg) scale(1.015); 
        filter: brightness(1.15) contrast(1.15) saturate(1.1) hue-rotate(2deg); 
        box-shadow: 
            0 0 35px rgba(99, 102, 241, 0.5),
            0 0 70px rgba(236, 72, 153, 0.4),
            0 20px 40px rgba(0, 0, 0, 0.25);
    }
    50% { 
        transform: translateY(-10px) rotateZ(0deg) scale(1.03); 
        filter: brightness(1.2) contrast(1.2) saturate(1.15) hue-rotate(3deg); 
        box-shadow: 
            0 0 40px rgba(99, 102, 241, 0.6),
            0 0 80px rgba(236, 72, 153, 0.5),
            0 25px 45px rgba(0, 0, 0, 0.3);
    }
    75% { 
        transform: translateY(-6px) rotateZ(-0.5deg) scale(1.015); 
        filter: brightness(1.15) contrast(1.15) saturate(1.1) hue-rotate(1deg); 
        box-shadow: 
            0 0 35px rgba(99, 102, 241, 0.5),
            0 0 70px rgba(236, 72, 153, 0.4),
            0 20px 40px rgba(0, 0, 0, 0.25);
    }
    100% { 
        transform: translateY(0) rotateZ(0deg) scale(1); 
        filter: brightness(1.1) contrast(1.1) saturate(1) hue-rotate(0deg); 
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.4),
            0 0 60px rgba(236, 72, 153, 0.3),
            0 15px 35px rgba(0, 0, 0, 0.2);
    }
}

/* Professional hover effect for hero image */
@keyframes heroMasterHover {
    0% { 
        transform: translateY(-2px) rotateZ(0deg) scale(1.15); 
        filter: brightness(1.25) contrast(1.25) saturate(1.2); 
        box-shadow: 
            0 0 50px rgba(99, 102, 241, 0.7),
            0 0 100px rgba(236, 72, 153, 0.6),
            0 30px 60px rgba(0, 0, 0, 0.4);
    }
    25% { 
        transform: translateY(-4px) rotateZ(1deg) scale(1.18); 
        filter: brightness(1.3) contrast(1.3) saturate(1.25); 
    }
    50% { 
        transform: translateY(-6px) rotateZ(0deg) scale(1.2); 
        filter: brightness(1.35) contrast(1.35) saturate(1.3); 
        box-shadow: 
            0 0 60px rgba(99, 102, 241, 0.8),
            0 0 120px rgba(236, 72, 153, 0.7),
            0 35px 70px rgba(0, 0, 0, 0.5);
    }
    75% { 
        transform: translateY(-4px) rotateZ(-0.5deg) scale(1.18); 
        filter: brightness(1.3) contrast(1.3) saturate(1.25); 
    }
    100% { 
        transform: translateY(-2px) rotateZ(0deg) scale(1.15); 
        filter: brightness(1.25) contrast(1.25) saturate(1.2); 
        box-shadow: 
            0 0 50px rgba(99, 102, 241, 0.7),
            0 0 100px rgba(236, 72, 153, 0.6),
            0 30px 60px rgba(0, 0, 0, 0.4);
    }
}

/* PROFESSIONAL INSPIRATION TEXT ANIMATION */
@keyframes inspirationMaster {
    0% { 
        transform: scale(1) translateY(0) rotateX(0deg); 
        background-position: 0% 50%; 
        text-shadow: 
            0 0 15px rgba(251, 191, 36, 0.6),
            0 0 30px rgba(245, 158, 11, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.3);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
    }
    20% { 
        transform: scale(1.02) translateY(-2px) rotateX(2deg); 
        background-position: 25% 50%; 
        text-shadow: 
            0 0 20px rgba(251, 191, 36, 0.8),
            0 0 40px rgba(245, 158, 11, 0.6),
            0 0 60px rgba(217, 119, 6, 0.4),
            0 7px 20px rgba(0, 0, 0, 0.4);
        filter: brightness(1.1) saturate(1.15) hue-rotate(5deg);
    }
    40% { 
        transform: scale(1.04) translateY(-4px) rotateX(0deg); 
        background-position: 75% 50%; 
        text-shadow: 
            0 0 25px rgba(251, 191, 36, 1),
            0 0 50px rgba(245, 158, 11, 0.8),
            0 0 75px rgba(217, 119, 6, 0.6),
            0 0 100px rgba(146, 64, 14, 0.4),
            0 10px 25px rgba(0, 0, 0, 0.5);
        filter: brightness(1.2) saturate(1.3) hue-rotate(8deg);
    }
    60% { 
        transform: scale(1.06) translateY(-6px) rotateX(-1deg); 
        background-position: 100% 50%; 
        text-shadow: 
            0 0 30px rgba(251, 191, 36, 1.2),
            0 0 60px rgba(245, 158, 11, 1),
            0 0 90px rgba(217, 119, 6, 0.8),
            0 0 120px rgba(146, 64, 14, 0.6),
            0 12px 30px rgba(0, 0, 0, 0.6);
        filter: brightness(1.3) saturate(1.4) hue-rotate(10deg);
    }
    80% { 
        transform: scale(1.04) translateY(-4px) rotateX(1deg); 
        background-position: 50% 50%; 
        text-shadow: 
            0 0 25px rgba(251, 191, 36, 1),
            0 0 50px rgba(245, 158, 11, 0.8),
            0 0 75px rgba(217, 119, 6, 0.6),
            0 0 100px rgba(146, 64, 14, 0.4),
            0 10px 25px rgba(0, 0, 0, 0.5);
        filter: brightness(1.2) saturate(1.3) hue-rotate(5deg);
    }
    100% { 
        transform: scale(1) translateY(0) rotateX(0deg); 
        background-position: 0% 50%; 
        text-shadow: 
            0 0 15px rgba(251, 191, 36, 0.6),
            0 0 30px rgba(245, 158, 11, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.3);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
    }
}

/* Advanced breathing effect for inspiration text */
@keyframes inspirationBreathe {
    0%, 100% { 
        transform: scale(1) perspective(500px) rotateY(0deg); 
        opacity: 1;
    }
    25% { 
        transform: scale(1.01) perspective(500px) rotateY(1deg); 
        opacity: 0.95;
    }
    50% { 
        transform: scale(1.02) perspective(500px) rotateY(0deg); 
        opacity: 0.9;
    }
    75% { 
        transform: scale(1.01) perspective(500px) rotateY(-1deg); 
        opacity: 0.95;
    }
}

/* Shimmer effect overlay */
@keyframes inspirationShimmer {
    0% { 
        background-position: -200% 0; 
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        background-position: 200% 0; 
        opacity: 0;
    }
}

/* ==================================================
   PURE CSS STUDENT SPOTLIGHT SYSTEM
   ================================================== */

/* Student hover system - no JavaScript needed */
.student-orbit {
    transition: all var(--duration-medium) var(--ease-out-expo);
    transform-origin: var(--origin-center);
    will-change: transform, filter;
}

.student-orbit:hover {
    transform: scale(1.15) translateY(-5px);
    filter: brightness(1.3) drop-shadow(0 10px 25px rgba(99, 102, 241, 0.5));
    z-index: 100;
}

.student-orbit:hover .student-photo {
    animation: masterPulse var(--duration-medium) var(--ease-out-back);
}

/* Advanced hover states for different elements */
.student-orbit:hover ~ .arena-center {
    transform: scale(0.95);
    opacity: 0.7;
    filter: blur(2px);
}

/* CSS-only spotlight effect */
.students-circle:hover .arena-center::before {
    content: "Explora nuestros estudiantes";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    animation: masterSlideUp var(--duration-medium) var(--ease-out-expo) forwards;
    z-index: 10;
}

/* ==================================================
   SECTION ENTRANCE ANIMATIONS - PURE CSS
   ================================================== */

/* Intersection Observer replacement with CSS */
@keyframes sectionReveal {
    0% { 
        transform: translateY(50px) scale(0.95); 
        opacity: 0; 
        filter: blur(5px);
    }
    100% { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
        filter: blur(0);
    }
}

/* Auto-triggering section animations */
section {
    animation: sectionReveal var(--duration-extended) var(--ease-out-expo);
    animation-fill-mode: both;
}

section:nth-child(1) { animation-delay: var(--delay-1); }
section:nth-child(2) { animation-delay: var(--delay-2); }
section:nth-child(3) { animation-delay: var(--delay-3); }
section:nth-child(4) { animation-delay: var(--delay-4); }
section:nth-child(5) { animation-delay: var(--delay-5); }

/* ==================================================
   TEAM ENTRANCE CHOREOGRAPHY
   ================================================== */

/* Knights team - from left */
.knights-group .student-orbit {
    animation: masterSlideLeft var(--duration-extended) var(--ease-out-back);
    animation-fill-mode: both;
}

.knights-group .student-orbit:nth-child(1) { animation-delay: 0.5s; }
.knights-group .student-orbit:nth-child(2) { animation-delay: 0.7s; }
.knights-group .student-orbit:nth-child(3) { animation-delay: 0.9s; }

/* PowerHouse team - from right */
.powerhouse-group .student-orbit {
    animation: masterSlideRight var(--duration-extended) var(--ease-out-back);
    animation-fill-mode: both;
}

.powerhouse-group .student-orbit:nth-child(1) { animation-delay: 1.1s; }
.powerhouse-group .student-orbit:nth-child(2) { animation-delay: 1.3s; }
.powerhouse-group .student-orbit:nth-child(3) { animation-delay: 1.5s; }

/* Overcomers team - bouncing from bottom */
.overcomers-group .student-orbit {
    animation: masterBounceIn var(--duration-extended) var(--ease-elastic);
    animation-fill-mode: both;
}

.overcomers-group .student-orbit:nth-child(1) { animation-delay: 1.7s; }
.overcomers-group .student-orbit:nth-child(2) { animation-delay: 1.9s; }
.overcomers-group .student-orbit:nth-child(3) { animation-delay: 2.1s; }

/* Team labels animation */
.team-label {
    animation: masterRotateIn var(--duration-long) var(--ease-out-expo);
    animation-fill-mode: both;
}

.knights-group .team-label { animation-delay: 0.3s; }
.powerhouse-group .team-label { animation-delay: 0.9s; }
.overcomers-group .team-label { animation-delay: 1.5s; }

/* ==================================================
   BUTTON MICRO-INTERACTIONS
   ================================================== */

.btn {
    transition: all var(--duration-short) var(--ease-out-expo);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--duration-medium) var(--ease-out-expo);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: var(--duration-micro);
}

/* ==================================================
   CARD HOVER CHOREOGRAPHY
   ================================================== */

.competition-card {
    transition: all var(--duration-medium) var(--ease-out-expo);
    will-change: transform;
}

.competition-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 50px rgba(99, 102, 241, 0.3);
}

.competition-card:hover .detail-item {
    animation: masterWave var(--duration-long) var(--ease-out-expo);
}

.competition-card:hover .detail-item:nth-child(1) { animation-delay: 0s; }
.competition-card:hover .detail-item:nth-child(2) { animation-delay: 0.1s; }
.competition-card:hover .detail-item:nth-child(3) { animation-delay: 0.2s; }
.competition-card:hover .detail-item:nth-child(4) { animation-delay: 0.3s; }

/* ==================================================
   APPLYING OPTIMIZED ANIMATIONS
   ================================================== */





/* Robot animations disabled */
.robot-1, .robot-2, .robot-3, .robot-4, .robot-5, .robot-6 {
    animation: none;
}

/* Only transform properties for GPU acceleration */
@keyframes robotFloat1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-8px) translateX(-5px); }
    50% { transform: translateY(-12px) translateX(0px); }
    75% { transform: translateY(-8px) translateX(5px); }
}

@keyframes robotFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(2deg); }
    66% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes robotFloat3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

@keyframes robotFloat4 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-8px) translateX(-8px); }
}

@keyframes robotFloat5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(1deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes robotFloat6 {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
    50% { transform: translateY(-14px) translateX(3px) scale(1.03); }
}

.robot-eye {
    animation: robotEyeBlink 4s var(--ease-out-expo) infinite;
}

.robot-antenna::after {
    animation: antennaLightning 3s var(--ease-out-expo) infinite;
}

/* Star pulsing */
.robot-star {
    animation: masterGlow var(--duration-slow) var(--ease-out-expo) infinite;
}

/* ==================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================== */

/* GPU layer promotion for animated elements */
.robot-element,
.student-orbit,
.competition-card,
.btn {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High refresh rate optimization */
@media (min-resolution: 120dpi) {
    :root {
        --duration-micro: 0.08s;
        --duration-short: 0.16s;
        --duration-medium: 0.24s;
    }
}

/* ==================================================
   MODAL SYSTEM - PURE CSS OPTIMIZED
   ================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: modalFadeIn var(--duration-medium) var(--ease-out-expo);
}

.donation-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-glass);
    animation: modalSlideUp var(--duration-medium) var(--ease-out-back);
    will-change: transform;
}

.donation-modal h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.donation-modal p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.donation-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-info p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.donation-info strong {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--neon-glow);
}

.donation-modal button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--duration-short) var(--ease-out-expo);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.donation-modal button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes modalSlideUp {
    0% { 
        transform: translateY(50px) scale(0.9); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

/* ==================================================
   HEADER SCROLL EFFECTS - PURE CSS
   ================================================== */

.header {
    transition: all var(--duration-normal) var(--ease-out-expo);
}

/* Scroll-triggered header change using CSS only */
body:not(.scroll-top) .header {
    background: rgb(10 10 20 / 51%) !important;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
}

/* ==================================================
   PAGE LOAD ANIMATION - PURE CSS
   ================================================== */

body {
    animation: pageLoad var(--duration-slow) var(--ease-out-expo);
}

/* Performance Control */
.performance-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#toggle-animations {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

#toggle-animations:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

#toggle-animations.disabled {
    background: var(--warning-color);
    color: white;
}

/* Performance mode - disable animations */
body.performance-mode * {
    animation: none !important;
    transition-duration: 0.1s !important;
}

body.performance-mode .robot-element,
body.performance-mode .floating-elements,
body.performance-mode .arena-effects,
body.performance-mode .title-effects {
    display: none !important;
}

@keyframes pageLoad {
    0% { 
        opacity: 0; 
        transform: scale(0.98); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
} 

/* MOBILE-FIRST: Simple Cards Layout for Students */
@media (max-width: 768px) {
    /* Resetear sección completa */
    .estudiantes-circular {
        min-height: auto;
        padding: 2rem 1rem;
        background: var(--bg-dark-primary);
        overflow-x: hidden;
    }
    
    /* Header simple */
    .circular-arena {
        width: 100%;
        height: auto;
        padding: 0;
        display: block;
        position: relative;
    }
    
    /* Título compacto */
    .arena-center {
        position: relative;
        width: 100%;
        height: auto;
        max-width: none;
        margin: 0 auto 2rem auto;
        transform: none;
        top: auto;
        left: auto;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        padding: 1.5rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .arena-title {
        font-size: 1.6rem !important;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .center-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        opacity: 0.8;
    }
    
    .robotics-logo {
        font-size: 1.5rem;
    }
    
    /* SLIDER HORIZONTAL para equipos */
    .students-circle {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 1rem 1rem 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .students-circle::-webkit-scrollbar {
        display: none;
    }
    
    /* Card de equipo en slider */
    .team-group {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        min-width: 300px;
        max-width: 320px;
        width: 300px;
        flex-shrink: 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 1.2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        scroll-snap-align: center;
        transition: all 0.3s ease;
    }
    
    .team-group:hover {
        transform: scale(1.02);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    }
    
    .knights-group,
    .powerhouse-group,
    .overcomers-group {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0;
    }
    
    /* Header del equipo */
    .team-label {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .team-name {
        font-size: 0.9rem !important;
        padding: 0.4rem 1rem !important;
        border-radius: 15px;
        display: inline-block;
    }
    
    /* Estudiantes en FILA HORIZONTAL */
    .team-students-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.8rem !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Card individual de estudiante - COMPACTA PARA ROW */
    .student-orbit {
        position: relative !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        padding: 0.6rem 0.4rem;
        flex: 1;
        min-width: 70px;
        max-width: 90px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .student-orbit:hover {
        transform: scale(1.05) !important;
        background: rgba(255, 255, 255, 0.06);
    }
    
    /* Indicador de scroll */
    .students-circle::after {
        content: "← Desliza para ver más equipos →";
        position: absolute;
        bottom: -2rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
        pointer-events: none;
        white-space: nowrap;
    }
    
    /* Foto arriba */
    .student-photo {
        width: 45px !important;
        height: 45px !important;
        flex-shrink: 0;
    }
    
    .photo-frame {
        width: 41px !important;
        height: 41px !important;
        border-width: 2px;
    }
    
    .photo-placeholder {
        font-size: 1.1rem !important;
        color: rgba(255, 255, 255, 0.8);
    }
    
    /* Nombre debajo */
    .student-orbit::after {
        content: attr(data-name);
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        text-align: center;
        line-height: 1.1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* POPUP CON MÁXIMO Z-INDEX */
    .student-spotlight {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(25px) !important;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem !important;
        margin: 0 !important;
        z-index: 999999 !important;
        overflow-y: auto;
    }
    
    /* Contenedor interno centrado - CUADRADO */
    .student-spotlight-content {
        background: rgba(15, 15, 25, 0.98);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        width: 90vw;
        max-width: 350px;
        height: 400px;
        max-height: 400px;
        padding: 2rem;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
    }
    
    .student-spotlight.show {
        display: flex !important;
    }
    
    /* Elementos del popup actualizados - FOTO CUADRADA */
    .spotlight-photo-center {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 1rem !important;
        border-radius: 6px !important;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        flex-shrink: 0;
    }
    
    .spotlight-text-area {
        margin-bottom: 1rem;
        width: 100%;
        flex-shrink: 0;
    }
    
    .spotlight-text-area h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem;
        color: white;
        font-weight: 700;
    }
    
    .spotlight-text-area p {
        font-size: 0.8rem !important;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .spotlight-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem;
        justify-content: center;
        margin-bottom: 1rem;
        width: 100%;
        flex-shrink: 0;
    }
    
    .spotlight-skills .skill {
        background: rgba(99, 102, 241, 0.2);
        border: 1px solid rgba(99, 102, 241, 0.4);
        padding: 0.2rem 0.6rem;
        border-radius: 8px;
        font-size: 0.7rem;
        color: white;
        font-weight: 500;
    }
    
    .spotlight-team-badge {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
        padding: 0.4rem 1rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 700;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
        flex-shrink: 0;
    }
    
    /* Botón de cerrar mejorado */
    .spotlight-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        width: 35px;
        height: 35px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.3rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .spotlight-close:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: scale(1.1);
    }
    
    /* Ocultar efectos */
    .arena-effects {
        display: none !important;
    }
    
    .estudiantes-circular::before,
    .estudiantes-circular::after {
        display: none !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .estudiantes-circular {
        padding: 1.5rem 0.5rem;
    }
    
    .arena-center {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .arena-title {
        font-size: 1.4rem !important;
    }
    
    .center-subtitle {
        font-size: 0.85rem;
    }
    
    /* Slider más compacto */
    .students-circle {
        padding: 0 0.5rem 1rem 0.5rem;
        gap: 0.8rem;
    }
    
    .team-group {
        min-width: 270px;
        width: 270px;
        max-width: 270px;
        padding: 1rem 0.8rem;
    }
    
    .student-orbit {
        padding: 0.5rem 0.3rem;
        gap: 0.4rem;
        min-width: 60px;
        max-width: 75px;
    }
    
    .student-photo {
        width: 40px !important;
        height: 40px !important;
    }
    
    .photo-frame {
        width: 36px !important;
        height: 36px !important;
    }
    
    .photo-placeholder {
        font-size: 1rem !important;
    }
    
    .student-orbit::after {
        font-size: 0.65rem;
    }
    
    /* Indicador más pequeño */
    .students-circle::after {
        content: "← Desliza →";
        font-size: 0.65rem;
        bottom: -1.5rem;
    }
    
    .student-spotlight-content {
        width: 95vw !important;
        max-width: 320px !important;
        height: 350px !important;
        max-height: 350px !important;
        padding: 1.5rem !important;
        border-radius: 6px !important;
    }
    
    .spotlight-photo-center {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 0.8rem !important;
        border-radius: 5px !important;
    }
    
    .spotlight-text-area h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.4rem;
    }
    
    .spotlight-text-area p {
        font-size: 0.75rem !important;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 2;
    }
    
    .spotlight-skills {
        margin-bottom: 1rem;
    }
    
    .spotlight-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}