
:root {
    --primary-dark: #0A192F;
    --secondary-dark: #172A45;
    --accent-blue: #3A7BD5;
    --accent-blue-light: #64B6F7;
    --accent-green: #38B2AC;
    --accent-yellow: #FFB347;
    --accent-pink: #FF6B8B;
    --accent-purple: #9F7AEA;
    --accent-orange: #ED8936;
    
    --mundo-1: #3A7BD5;
    --mundo-2: #FFB347;
    --mundo-3: #FF6B8B;
    --mundo-4: #00B4D8;
    
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #1E293B;
    
    --gradient-dark: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
    --gradient-blue: linear-gradient(135deg, #3A7BD5 0%, #64B6F7 100%);
    --gradient-yellow: linear-gradient(135deg, #FFB347 0%, #FFCC80 100%);
    --gradient-pink: linear-gradient(135deg, #FF6B8B 0%, #FF9EB3 100%);
    --gradient-turquoise: linear-gradient(135deg, #00B4D8 0%, #90E0EF 100%);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--gradient-dark);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

h1, h2 {
    font-family: 'Fredoka One', cursive;
}

p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed !important;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    top: 10px;
    z-index: 1000;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 1400px;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 25, 47, 0.98);
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    top: 5px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo i {
    color: var(--accent-blue-light);
    font-size: 2rem;
    animation: gentleFloat 3s ease-in-out infinite;
}

.brand-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.brand-logo h1 span {
    color: var(--accent-blue-light);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 5px;
    padding: 10px 15px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue-light) !important;
    background: rgba(100, 182, 247, 0.1);
}

.nav-link.active {
    background: var(--gradient-blue);
    color: white !important;
}

.btn-download-nav {
    background: var(--gradient-yellow);
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.btn-download-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 179, 71, 0.4);
    color: var(--text-dark);
}

/* NAVBAR RESPONSIVE MEJORADO */
@media (max-width: 992px) {
    .navbar {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
    }
    
    .navbar-collapse {
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 15px !important;
        border-radius: 12px;
        text-align: center;
        margin: 5px 0;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-link:hover {
        background: rgba(58, 123, 213, 0.2);
    }
    
    .btn-download-nav {
        width: 100%;
        justify-content: center;
        margin: 10px 0 0 0;
        padding: 15px;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 8px 12px;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .brand-logo h1 {
        font-size: 1.5rem;
    }
    
    .brand-logo i {
        font-size: 1.5rem;
    }
}


.hero-section {
    padding-top: 100px;
}

.header-carousel .owl-carousel-item {
    height: 85vh;
    min-height: 600px;
    position: relative;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9), rgba(23, 42, 69, 0.7));
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-blue);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(58, 123, 213, 0.4);
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: white;
}


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}


.features-section {
    background: rgba(23, 42, 69, 0.5);
    border-radius: 30px;
    margin: 30px;
    padding: 60px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: width 0.4s ease;
}

.feature-card-1::before { background: var(--gradient-blue); }
.feature-card-2::before { background: var(--gradient-yellow); }
.feature-card-3::before { background: var(--gradient-pink); }
.feature-card-4::before { background: var(--gradient-turquoise); }

.feature-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.feature-card-1 .feature-icon { 
    background: rgba(58, 123, 213, 0.1); 
    color: var(--accent-blue);
}
.feature-card-2 .feature-icon { 
    background: rgba(255, 179, 71, 0.1); 
    color: var(--accent-yellow);
}
.feature-card-3 .feature-icon { 
    background: rgba(255, 107, 139, 0.1); 
    color: var(--accent-pink);
}
.feature-card-4 .feature-icon { 
    background: rgba(0, 180, 216, 0.1); 
    color: var(--accent-green);
}

.feature-icon i {
    font-size: 2.5rem;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    min-height: 70px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.feature-content p {
    color: var(--text-muted);
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.6;
}


@media (max-width: 992px) {
    .feature-card {
        min-height: 260px;
        padding: 30px 20px;
    }
    
    .feature-content h3 {
        min-height: 60px;
        font-size: 1.3rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        margin: 15px;
        padding: 40px 0;
    }
    
    .feature-card {
        min-height: auto;
    }
    
    .feature-content h3 {
        min-height: auto;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .feature-content p {
        -webkit-line-clamp: 3;
        font-size: 0.95rem;
    }
}


.worlds-section {
    background: rgba(23, 42, 69, 0.5);
    border-radius: 30px;
    margin: 30px;
    padding: 60px 0;
}

.world-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.world-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.world-image {
    height: 180px;
    overflow: hidden;
}

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

.world-card:hover .world-image img {
    transform: scale(1.1);
}

.world-content {
    padding: 30px;
}

.world-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.world-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.world-level {
    background: var(--gradient-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
}

.world-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


.world-card-1 { border-top: 5px solid var(--mundo-1); }
.world-card-2 { border-top: 5px solid var(--mundo-2); }
.world-card-3 { border-top: 5px solid var(--mundo-3); }
.world-card-4 { border-top: 5px solid var(--mundo-4); }

.world-card-1 .world-level { background: var(--gradient-blue); }
.world-card-2 .world-level { background: var(--gradient-yellow); color: var(--text-dark); }
.world-card-3 .world-level { background: var(--gradient-pink); }
.world-card-4 .world-level { background: var(--gradient-turquoise); }


.download-section {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(23, 42, 69, 0.9));
    border-radius: 30px;
    margin: 30px;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23ffffff05" d="M0,0L1000,0L1000,1000L0,1000Z"/></svg>');
    background-size: cover;
    z-index: 1;
}

.download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.requirements {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-yellow);
}

.requirements h5 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.requirements ul {
    list-style: none;
    padding: 0;
}

.requirements li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.requirements li i {
    color: var(--accent-yellow);
    font-size: 1.1rem;
}


.download-options {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.os-selector {
    text-align: center;
    margin-bottom: 30px;
}

.os-selector h4 {
    color: var(--accent-blue-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.os-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.os-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.os-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-blue);
}

.os-btn.active {
    background: var(--gradient-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.3);
}

.os-btn i {
    font-size: 1.5rem;
}

.os-btn[data-os="windows"] i {
    color: #00BCF2;
}

.os-btn[data-os="linux"] i {
    color: #FCC624;
}

.os-btn.active[data-os="windows"] i,
.os-btn.active[data-os="linux"] i {
    color: white;
}

.download-info {
    background: rgba(10, 25, 47, 0.7);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent-yellow);
}

.version-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-weight: 600;
}

.version-info i {
    font-size: 1.2rem;
}

.download-details h5 {
    color: var(--accent-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.download-details ul {
    list-style: none;
    padding: 0;
}

.download-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.download-details li i {
    color: var(--accent-blue);
    min-width: 20px;
}

/* Botón de descarga principal */
.btn-download-main {
    display: block;
    text-align: center;
    background: var(--gradient-yellow);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 179, 71, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.btn-download-main::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 0.6s ease;
}

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

.btn-download-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 179, 71, 0.4);
    color: var(--text-dark);
}

.btn-download-main i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.btn-download-main span {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.btn-download-main small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}


.download-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.download-preview {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.download-preview img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.download-preview:hover img {
    transform: scale(1.05);
}


.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.download-modal.active {
    display: flex;
}

.modal-content {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header i {
    font-size: 4rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    display: block;
}

.modal-header h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
}

.modal-body {
    margin-bottom: 30px;
}

.download-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
}

.download-status {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.modal-btn.primary {
    background: var(--gradient-blue);
    color: white;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.footer {
    background: linear-gradient(to top, #0A192F, #172A45);
    padding: 80px 0 30px;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--mundo-1), 
        var(--mundo-2), 
        var(--mundo-3), 
        var(--mundo-4));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p i {
    color: var(--accent-blue);
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-5px);
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-section a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.footer-section a:hover {
    color: white;
    padding-left: 25px;
}

.footer-section a:hover::before {
    transform: translateX(5px);
}

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

.gallery-grid img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-resources {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-resources:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.copyright span {
    color: var(--accent-blue);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
}


.classes-section-enhanced {
    background: rgba(23, 42, 69, 0.6);
    border-radius: 30px;
    margin: 30px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.classes-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23ffffff05" d="M0,0L1000,0L1000,1000L0,1000Z"/></svg>');
    background-size: cover;
    z-index: 0;
}

.classes-intro-enhanced {
    text-align: center;
    margin: 30px auto 60px;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.1), rgba(56, 178, 172, 0.1));
    border-radius: 25px;
    padding: 30px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.classes-intro-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.classes-intro-enhanced i {
    font-size: 4rem;
    color: var(--accent-blue-light);
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
    animation: gentleFloat 3s ease-in-out infinite;
}

.classes-intro-enhanced p {
    font-size: 1.4rem;
    color: var(--text-light);
    font-family: 'Bubblegum Sans', cursive;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


.class-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}


.class-card-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.class-card-enhanced:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.class-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card-enhanced:hover::before {
    opacity: 1;
}

/* Class Header */
.class-header-enhanced {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.class-badge-enhanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 8px 25px rgba(58, 123, 213, 0.3);
    transition: all 0.3s ease;
}

.class-card-enhanced:hover .class-badge-enhanced {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(58, 123, 213, 0.4);
}

.class-badge-enhanced i {
    font-size: 2rem;
    color: white;
}

.class-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-pink);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Fredoka One', cursive;
    box-shadow: 0 4px 12px rgba(255, 107, 139, 0.4);
}

.class-title-enhanced {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-family: 'Fredoka One', cursive;
    line-height: 1.2;
}

.class-subtitle {
    color: var(--accent-blue-light);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}


.class-preview-enhanced {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.preview-images {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.main-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.class-card-enhanced:hover .main-preview {
    transform: scale(1.1);
}


@keyframes iconGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 8px 25px var(--glow-color);
    }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

@keyframes keyTurn {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-25deg); }
    75% { transform: rotate(25deg); }
    100% { transform: rotate(0deg); }
}

@keyframes shirtWave {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    75% { transform: translateY(3px); }
}

@keyframes starSparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: scale(1.1) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes commentBubble {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { 
        transform: scale(0.95);
        opacity: 0.9;
    }
    75% { transform: scale(1.05); }
}

@keyframes busMove {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

@keyframes carrotGrow {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.05) rotate(5deg); }
}

@keyframes clockTick {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

@keyframes phoneVibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-5deg); }
    75% { transform: translateX(2px) rotate(5deg); }
}


.color-samples,
.category-icons,
.object-samples,
.manner-icons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.color-sample {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-sample:hover {
    transform: scale(1.3);
    border-width: 3px;
}

.category-icon,
.object-sample,
.manner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-icon:hover,
.object-sample:hover,
.manner-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}


.category-icon:hover i.fa-heart,
.manner-icon:hover i.fa-heart {
    --glow-color: rgba(255, 107, 139, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, heartbeat 1.2s ease-in-out infinite;
    background: linear-gradient(135deg, #FF6B8B, #FF416C);
    color: white !important;
}


.category-icon:hover i.fa-key,
.object-sample:hover i.fa-key {
    --glow-color: rgba(255, 179, 71, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, keyTurn 1s ease-in-out infinite;
    background: linear-gradient(135deg, #FFB347, #FFCC80);
    color: #7B4F00 !important;
}


.category-icon:hover i.fa-tshirt {
    --glow-color: rgba(56, 178, 172, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, shirtWave 1.5s ease-in-out infinite;
    background: linear-gradient(135deg, #38B2AC, #4ECDC4);
    color: white !important;
}


.category-icon:hover i.fa-star,
.manner-icon:hover i.fa-star {
    --glow-color: rgba(255, 215, 102, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, starSparkle 2s linear infinite;
    background: linear-gradient(135deg, #FFD166, #FFC107);
    color: #FF6B00 !important;
}


.category-icon:hover i.fa-comments,
.manner-icon:hover i.fa-comments {
    --glow-color: rgba(100, 182, 247, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, commentBubble 1.2s ease-in-out infinite;
    background: linear-gradient(135deg, #64B6F7, #3A7BD5);
    color: white !important;
}


.category-icon:hover i.fa-bus {
    --glow-color: rgba(155, 102, 255, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, busMove 1.5s ease-in-out infinite;
    background: linear-gradient(135deg, #9B66FF, #7B4FFF);
    color: white !important;
}


.category-icon:hover i.fa-carrot {
    --glow-color: rgba(237, 137, 54, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, carrotGrow 1.2s ease-in-out infinite;
    background: linear-gradient(135deg, #ED8936, #F6AD55);
    color: #7B341E !important;
}


.object-sample:hover i.fa-clock {
    --glow-color: rgba(159, 122, 234, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, clockTick 4s linear infinite;
    background: linear-gradient(135deg, #9F7AEA, #805AD5);
    color: white !important;
}


.object-sample:hover i.fa-mobile-alt {
    --glow-color: rgba(72, 187, 120, 0.8);
    animation: iconGlow 0.8s ease-in-out infinite, phoneVibrate 1s ease-in-out infinite;
    background: linear-gradient(135deg, #48BB78, #38A169);
    color: white !important;
}


.category-icon:hover::after,
.object-sample:hover::after,
.manner-icon:hover::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--glow-color);
    z-index: -1;
    opacity: 0.3;
    animation: iconGlow 0.8s ease-in-out infinite;
}


.category-icon i.fa-heart,
.manner-icon i.fa-heart {
    color: #FF6B8B;
}

.category-icon i.fa-key,
.object-sample i.fa-key {
    color: #FFB347;
}

.category-icon i.fa-tshirt {
    color: #38B2AC;
}

.category-icon i.fa-star,
.manner-icon i.fa-star {
    color: #FFD166;
}

.category-icon i.fa-comments,
.manner-icon i.fa-comments {
    color: #64B6F7;
}

.category-icon i.fa-bus {
    color: #9B66FF;
}

.category-icon i.fa-carrot {
    color: #ED8936;
}

.object-sample i.fa-clock {
    color: #9F7AEA;
}

.object-sample i.fa-mobile-alt {
    color: #48BB78;
}


.category-icon::before,
.object-sample::before,
.manner-icon::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(10, 25, 47, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon:hover::before,
.object-sample:hover::before,
.manner-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}


.class-content-enhanced {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.learning-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.vocabulary-preview {
    background: rgba(10, 25, 47, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vocabulary-preview h4 {
    color: var(--accent-green);
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.word-item,
.object-item,
.phrase-item {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 12px;
    margin: 0 5px 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vocabulary-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.category-tag {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
}

.class-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
}


.audio-interface-enhanced {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(23, 42, 69, 0.9));
    border-radius: 25px;
    padding: 35px;
    margin-top: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.audio-interface-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23ffffff03" d="M0,0L1000,0L1000,1000L0,1000Z"/></svg>');
    background-size: cover;
    z-index: 0;
}

.audio-title {
    color: var(--accent-blue-light);
    font-size: 1.8rem;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Fredoka One', cursive;
    position: relative;
    z-index: 1;
}

.audio-description {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.audio-controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.audio-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-grow: 1;
    height: 45px;
}

.wave-bar {
    width: 5px;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-green));
    border-radius: 3px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

@keyframes waveAnimation {
    0%, 100% { height: 8px; }
    50% { height: 35px; }
}

.player-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 20px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.play-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color: white;
    box-shadow: 0 8px 20px rgba(58, 123, 213, 0.25);
}

.play-btn.playing {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
}

.repeat-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slow-btn {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(255, 179, 71, 0.25);
}

.slow-btn.active {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    color: white;
}

.control-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.current-phrase {
    background: rgba(10, 25, 47, 0.7);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid var(--accent-yellow);
}

.phrase-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.english-phrase {
    font-size: 1.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.spanish-translation {
    font-size: 1.1rem;
    color: var(--accent-blue-light);
    font-style: italic;
}

.pronunciation-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pronunciation-guide i {
    color: var(--accent-green);
    font-size: 1rem;
}

.audio-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 1;
}

.tip-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.tip-item i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    min-width: 35px;
}

.tip-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}


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


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

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    opacity: 0.1;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(58, 123, 213, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(58, 123, 213, 0.4);
}


@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-container {
        gap: 40px;
    }
    
    .class-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .download-container {
        grid-template-columns: 1fr;
    }
    
    .download-preview {
        order: -1;
    }
    
    .download-preview img {
        height: 400px;
    }
    
    .class-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .class-card-enhanced {
        min-height: 480px;
    }
    
    .features-section,
    .worlds-section,
    .download-section,
    .classes-section-enhanced {
        margin: 20px;
    }
    
    .os-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .os-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-hero {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .features-section,
    .worlds-section,
    .download-section,
    .classes-section-enhanced {
        margin: 15px;
        padding: 40px 20px;
    }
    
    .world-image {
        height: 180px;
    }
    
    .download-preview img {
        height: 300px;
    }
    
    .btn-download-main {
        padding: 20px 30px;
        font-size: 1.2rem;
    }
    
    .class-grid-enhanced {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .class-card-enhanced {
        min-height: auto;
    }
    
    .audio-player {
        flex-direction: column;
        align-items: stretch;
    }
    
    .player-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .control-btn {
        flex-grow: 1;
        justify-content: center;
    }
    
    .audio-tips {
        grid-template-columns: 1fr;
    }
    
    .classes-intro-enhanced i {
        font-size: 3rem;
    }
    
    .classes-intro-enhanced p {
        font-size: 1.1rem;
    }
    
    /* RESPONSIVE PARA ICONOS */
    .category-icon,
    .object-sample,
    .manner-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .color-sample {
        width: 20px;
        height: 20px;
    }
    
    .category-icon::before,
    .object-sample::before,
    .manner-icon::before {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .download-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .download-preview img {
        height: 250px;
    }
    
    .class-title-enhanced {
        font-size: 1.3rem;
    }
    
    .english-phrase {
        font-size: 1.3rem;
    }
    
    .preview-images {
        height: 150px;
    }
    
    .class-badge-enhanced {
        width: 60px;
        height: 60px;
    }
    
    .class-badge-enhanced i {
        font-size: 1.7rem;
    }
    
    .audio-interface-enhanced {
        padding: 20px;
    }
}


@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.class-card-enhanced {
    animation: cardEntrance 0.6s ease-out;
    animation-fill-mode: both;
}

.class-card-enhanced:nth-child(1) { animation-delay: 0.1s; }
.class-card-enhanced:nth-child(2) { animation-delay: 0.2s; }
.class-card-enhanced:nth-child(3) { animation-delay: 0.3s; }
.class-card-enhanced:nth-child(4) { animation-delay: 0.4s; }


@keyframes iconEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.color-sample:nth-child(1),
.category-icon:nth-child(1),
.object-sample:nth-child(1),
.manner-icon:nth-child(1) {
    animation: iconEntrance 0.6s ease-out 0.2s both;
}

.color-sample:nth-child(2),
.category-icon:nth-child(2),
.object-sample:nth-child(2),
.manner-icon:nth-child(2) {
    animation: iconEntrance 0.6s ease-out 0.3s both;
}

.color-sample:nth-child(3),
.category-icon:nth-child(3),
.object-sample:nth-child(3),
.manner-icon:nth-child(3) {
    animation: iconEntrance 0.6s ease-out 0.4s both;
}


@keyframes floatAway {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(calc(-50% + var(--offset-x)), calc(-50% - 100px)) scale(0);
        opacity: 0;
    }
}