/* ===== VARIABLES GLOBALES ===== */
:root {
    --color-bg: #0b0c14;
    --color-bg-card: rgba(20, 25, 38, 0.7);
    --color-bg-nav: rgba(8, 12, 21, 0.85);
    --color-gold-primary: #f3d47c;
    --color-gold-dark: #b88d4b;
    --color-gold-light: #f5e7c8;
    --color-text: #e0e5f0;
    --color-text-soft: #b0c2e0;
    --border-glow: rgba(200, 170, 100, 0.25);
    --border-glow-hover: rgba(230, 180, 70, 0.5);
    --shadow-heavy: 0 30px 40px -20px rgba(0,0,0,0.8);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Lexend Deca', sans-serif;
    --transition: all 0.2s ease;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
}

/* Fondo con partículas */
.particle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.15"><circle cx="30" cy="40" r="1.5" fill="%23aaccff"/><circle cx="150" cy="120" r="2" fill="%23f0c060"/><circle cx="85" cy="180" r="1" fill="%236688cc"/><circle cx="180" cy="30" r="1.2" fill="%23ddaa55"/><circle cx="10" cy="160" r="1.8" fill="%2399bbee"/></svg>') repeat;
    z-index: -1;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
    padding: 0.5rem 2rem;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo i {
    color: var(--color-gold-primary);
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 0 6px var(--color-gold-dark));
}

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

.nav-link {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    border-radius: 40px;
    font-weight: 500;
    color: #d4dcec;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(210, 180, 100, 0.1);
    border-color: rgba(220, 185, 100, 0.4);
    color: #f5e2b0;
}

.nav-toggle {
    display: none;
    color: var(--color-gold-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== LAYOUT PRINCIPAL ===== */
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    position: relative;
    z-index: 2;
}

/* ===== PÁGINA DE BIENVENIDA ===== */
.welcome-hero {
    text-align: center;
    padding: 3rem 1rem 4rem;
}

.welcome-icon {
    font-size: 5rem;
    color: var(--color-gold-primary);
    filter: drop-shadow(0 0 20px #f0b840);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.welcome-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark), #b88d4b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.welcome-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-soft);
    margin-bottom: 2rem;
}

.welcome-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #cfd9f0;
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(200, 170, 100, 0.2);
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(20, 25, 38, 0.6);
    backdrop-filter: blur(4px);
    padding: 1.5rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid #5b4e32;
    text-align: center;
    min-width: 150px;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold-primary);
}

.stat-text {
    font-size: 1rem;
    color: #a0b0d0;
}

.welcome-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

/* ===== PREVIEW CARDS (en index) ===== */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.preview-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.preview-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow-hover);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.8);
}

.preview-card i {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.preview-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold-light);
}

.preview-card p {
    color: #b0c0e0;
    margin-bottom: 1.5rem;
    flex: 1;
}

.preview-link {
    color: var(--color-gold-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== EMULADOR SPOTLIGHT ===== */
.emulator-spotlight {
    background: linear-gradient(145deg, #1a2335, #0f1525);
    border: 1px solid #a98143;
    border-radius: 3rem;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem 0;
}

.spotlight-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.spotlight-content i {
    font-size: 3rem;
    color: #fac257;
}

.spotlight-label {
    color: #b1bfe0;
    font-size: 1rem;
    display: block;
}

.spotlight-content h3 {
    font-size: 2rem;
    background: linear-gradient(145deg, #b4975a, #ebd399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* ===== PÁGINAS INTERNAS ===== */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header i {
    font-size: 3.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1.2rem;
    color: #a0b0d0;
    max-width: 600px;
    margin: 0 auto;
}

.content-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    border-radius: 2rem;
    padding: 2.5rem;
    margin: 2rem 0;
}

/* ===== HISTORIA TIMELINE ===== */
.history-timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -3rem;
    width: 3rem;
    height: 3rem;
    background: #1e263b;
    border: 2px solid #cf9f4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cf9f4a;
}

.timeline-content {
    flex: 1;
    padding-left: 1rem;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--color-gold-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1.1rem;
    color: #cfd9f0;
}

/* ===== SISTEMAS SHOWCASE ===== */
.systems-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.system-category {
    background: rgba(0,0,0,0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border-left: 5px solid var(--color-gold-primary);
}

.system-category h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.system-category h2 i {
    color: var(--color-gold-primary);
}

.system-detail {
    color: #c0c8e0;
    padding-left: 1rem;
}

.system-detail ul {
    list-style: none;
    margin-top: 1rem;
}

.system-detail li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.system-detail li i {
    color: #65c97a;
}

/* ===== APRENDIZAJE ===== */
.learning-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.learning-section {
    background: rgba(28, 34, 48, 0.7);
    padding: 1.8rem;
    border-radius: 1.5rem;
    border: 1px solid #4f4a38;
}

.learning-section h2 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.learning-section p {
    color: #c0c8e0;
    line-height: 1.6;
}

/* ===== CHANGELOG FULL ===== */
.changelog-full {
    background: rgba(0,0,0,0.2);
    border-radius: 2rem;
    padding: 2rem;
}

.changelog-month {
    margin-bottom: 2.5rem;
}

.changelog-month h2 {
    font-size: 2rem;
    color: var(--color-gold-primary);
    border-bottom: 2px solid #4a3f28;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.changelog-entry {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(200, 175, 120, 0.1);
    flex-wrap: wrap;
}

.changelog-entry.new {
    background: rgba(184, 134, 61, 0.15);
    border-radius: 1rem;
}

.changelog-date {
    min-width: 100px;
    font-weight: 600;
    color: #e6b85e;
}

.changelog-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.changelog-tag {
    background: #2a3344;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #eac87b;
    text-transform: uppercase;
}

/* ===== DESCARGAS ===== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.download-item {
    background: linear-gradient(145deg, #1a1f2e, #0f1420);
    border: 1px solid #5b4e32;
    border-radius: 2rem;
    padding: 2rem;
    transition: var(--transition);
}

.download-item.featured {
    border-color: #cfa557;
    box-shadow: 0 0 25px rgba(207, 165, 87, 0.2);
    grid-column: span 2;
}

.download-icon {
    font-size: 3rem;
    color: #ffd966;
    text-align: center;
    margin-bottom: 1rem;
}

.download-item h2,
.download-item h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-gold-light);
}

.download-features {
    list-style: none;
    margin: 1.5rem 0;
}

.download-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.download-features i {
    color: #65c97a;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    color: #b0b8d0;
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.modules-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 2rem;
    color: #eac87b;
    text-decoration: none;
}

.download-notes {
    background: rgba(0,0,0,0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem 0;
}

.download-notes h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.download-notes ul {
    padding-left: 2rem;
    color: #b0b8d0;
}

.download-notes li {
    padding: 0.3rem 0;
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
    background: rgba(184, 134, 61, 0.1);
    border-left: 5px solid #b8863d;
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* ===== NAVEGACIÓN ENTRE PÁGINAS ===== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #7a663e;
    cursor: pointer;
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(145deg, #252e3f, #171f2e);
    color: #f2e0c0;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #2f3b52, #1f2a3d);
    border-color: #c9a75a;
    color: #fff6e0;
    transform: scale(1.02);
    box-shadow: 0 10px 20px -6px #000, 0 0 8px #cf9f40;
}

.btn-secondary {
    background: transparent;
    color: #e0cba0;
    border-color: #5b4e32;
}

.btn-secondary:hover {
    background: rgba(200, 170, 100, 0.1);
    border-color: #c9a75a;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 4rem;
    padding: 2rem 0 1rem;
    border-top: 1px solid #4a4233;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #cbb88c;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #f8db9c;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    color: #7b8ba0;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .welcome-title {
        font-size: 3rem;
    }
    
    .download-item.featured {
        grid-column: span 1;
    }
    
    .emulator-spotlight {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .welcome-stats {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 1rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .welcome-subtitle {
        font-size: 1.2rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ESTILOS MEJORADOS PARA CHANGELOG ===== */
        .changelog-full {
            background: rgba(0,0,0,0.25);
            border-radius: 2rem;
            padding: 2rem;
        }

        .changelog-month {
            margin-bottom: 3rem;
            animation: fadeIn 0.5s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .changelog-month h2 {
            font-size: 2.2rem;
            color: var(--color-gold-primary);
            border-bottom: 2px solid #4a3f28;
            padding-bottom: 0.8rem;
            margin-bottom: 2rem;
            font-family: var(--font-display);
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .changelog-month h2 i {
            font-size: 2rem;
            color: #e6b85e;
        }

        .commit-item {
            background: rgba(20, 25, 38, 0.7);
            backdrop-filter: blur(8px);
            border: 1px solid #4f4a38;
            border-radius: 1.8rem;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .commit-item:hover {
            border-color: #be9f56;
            background: rgba(30, 35, 48, 0.9);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(184, 141, 75, 0.2);
        }

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

        .commit-icon {
            color: #e6b85e;
            font-size: 1.3rem;
            min-width: 2rem;
            text-align: center;
        }

        .commit-hash {
            font-family: 'Courier New', monospace;
            color: #aaccff;
            background: #1a1f30;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            border: 1px solid #5b4e32;
            letter-spacing: 1px;
        }

        .commit-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #b0bfe0;
            background: rgba(0,0,0,0.3);
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.9rem;
            border: 1px solid #4f4a38;
        }

        .commit-date i {
            color: #f3cd8b;
        }

        .commit-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #f3cd8b;
            background: rgba(184, 141, 75, 0.15);
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 500;
            border: 1px solid #ad8f58;
        }

        .commit-author i {
            color: #fac257;
            font-size: 0.9rem;
        }

        .commit-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #e0e5f0;
            margin: 0.8rem 0 1rem;
            padding-left: 2.5rem;
            word-break: break-word;
            line-height: 1.5;
        }

        .commit-title i {
            color: #65c97a;
            margin-right: 0.8rem;
            font-size: 1rem;
        }

        .commit-files {
            margin-top: 1rem;
            border-top: 1px dashed rgba(200, 175, 120, 0.3);
            padding-top: 1rem;
        }

        .commit-files-summary {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            color: #b0bfe0;
            font-size: 0.95rem;
            cursor: pointer;
            user-select: none;
            padding: 0.5rem 1.5rem;
            background: rgba(0,0,0,0.3);
            border-radius: 30px;
            transition: all 0.2s;
            border: 1px solid #5b4e32;
        }

        .commit-files-summary:hover {
            background: rgba(200, 170, 100, 0.15);
            color: #f5e2b0;
            border-color: #ad8f58;
        }

        .commit-files-summary i {
            transition: transform 0.3s;
            color: #cf9f4a;
        }

        .commit-files.expanded .commit-files-summary i {
            transform: rotate(90deg);
        }

        .commit-files-list {
            list-style: none;
            margin-top: 1.2rem;
            margin-left: 2rem;
            display: none;
            max-height: 350px;
            overflow-y: auto;
            background: rgba(0,0,0,0.4);
            border-radius: 1.2rem;
            padding: 1.2rem;
            border: 1px solid #4f4a38;
            scrollbar-width: thin;
            scrollbar-color: #b88d4b #1a1f30;
        }

        .commit-files.expanded .commit-files-list {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .commit-files-list li {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(200, 175, 120, 0.1);
            color: #c0c8e0;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .commit-files-list li:last-child {
            border-bottom: none;
        }

        .commit-files-list li i {
            color: #cf9f4a;
            font-size: 0.9rem;
            width: 1.2rem;
            text-align: center;
        }

        .commit-files-list::-webkit-scrollbar {
            width: 8px;
        }

        .commit-files-list::-webkit-scrollbar-track {
            background: #1a1f30;
            border-radius: 10px;
        }

        .commit-files-list::-webkit-scrollbar-thumb {
            background: #b88d4b;
            border-radius: 10px;
        }

        .commit-files-list::-webkit-scrollbar-thumb:hover {
            background: #cf9f4a;
        }

        .stats-bar {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0 3rem;
            padding: 1.5rem;
            background: linear-gradient(145deg, #1a1f2e, #0f1420);
            border: 1px solid #a98143;
            border-radius: 2rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--color-gold-primary);
            display: block;
        }

        .stat-label {
            color: #b0bfe0;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .loading-message {
            text-align: center;
            padding: 4rem;
            color: #b0bfe0;
            font-size: 1.2rem;
        }

        .loading-message i {
            color: #f3cd7a;
            margin-right: 0.5rem;
            animation: spin 1.5s infinite linear;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .error-message {
            text-align: center;
            padding: 3rem;
            background: rgba(255, 70, 70, 0.1);
            border: 1px solid #ff6b6b;
            border-radius: 2rem;
            margin: 2rem 0;
        }

        .error-message i {
            font-size: 3rem;
            color: #ff6b6b;
            margin-bottom: 1rem;
        }

        .btn-github {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            background: #24292e;
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 500;
            margin-top: 1.5rem;
            transition: all 0.3s;
        }

        .btn-github:hover {
            background: #2f3b52;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
		
/* ===== SECCIÓN NATIVO ===== */
.native-section {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.95), rgba(20, 25, 40, 0.98));
    border-radius: 2rem;
    margin: 3rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.native-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.native-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.native-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.section-subtitle {
    color: #a0a0c0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid principal */
.native-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.native-card {
    background: rgba(20, 25, 40, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.native-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
}

.native-card.featured {
    background: linear-gradient(145deg, rgba(30, 35, 55, 0.9), rgba(40, 45, 70, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
    z-index: 3;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.native-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.native-card:hover .card-glow {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0a0f19;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd70022, #ff8c0022);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ffd700;
    transition: all 0.3s ease;
}

.native-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, #ffd70033, #ff8c0033);
}

.native-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-description {
    color: #b0b0d0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.native-feature-list {
    list-style: none;
    padding: 0;
}

.native-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #c0c0e0;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.native-feature-list li i {
    color: #ffd700;
    font-size: 0.9rem;
}

.handmade-quote {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #ffd700;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.handmade-quote i {
    color: #ffd700;
    opacity: 0.5;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.handmade-quote blockquote {
    color: #d0d0f0;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
    padding-left: 0.5rem;
}

/* Tech Showcase */
.tech-showcase {
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.tech-showcase-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    color: #fff;
}

.tech-showcase-title i {
    color: #ffd700;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tech-item-card {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tech-item-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
    background: rgba(25, 30, 45, 0.8);
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffd700;
}

.tech-item-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tech-item-card p {
    color: #a0a0c0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    font-size: 0.8rem;
}

/* Tech Stack Pills */
.tech-stack-wrapper {
    margin-top: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #d0d0f0;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.stack-pill:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-2px);
}

.stack-pill i {
    color: #ffd700;
}

/* Decoración */
.native-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(100, 150, 255, 0.05) 0%, transparent 70%);
}

/* Responsive */
@media (max-width: 1200px) {
    .native-grid {
        gap: 1rem;
    }
    
    .native-card {
        padding: 2rem 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .native-grid {
        grid-template-columns: 1fr;
    }
    
    .native-card.featured {
        transform: scale(1);
    }
    
    .native-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .native-header h2 {
        font-size: 2rem;
    }
    
    .stack-pill {
        width: 100%;
        justify-content: center;
    }
}