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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

.home-btn-glass {
    position: relative;
    padding: 18px 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.home-btn-glass .home-icon-glass {
    width: 26px;
    height: 26px;
    position: relative;
    animation: float-icon 3s ease-in-out infinite;
}

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

.home-btn-glass .home-icon-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 11px solid rgba(255, 255, 255, 0.9);
}

.home-btn-glass .home-icon-glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: rgba(255, 255, 255, 0.9);
}

.home-btn-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
                rgba(255, 255, 255, 0.1) 0%, 
                transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.home-btn-glass:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.home-btn-glass:hover::before {
    opacity: 1;
    animation: rotate-gradient 2s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradient 5s ease infinite;
}

@keyframes titleGradient {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(45deg); }
}

.page-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.headers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.header-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.header-info {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
}

.header-info h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.header-demo {
    width: 100%;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.code-section {
    position: relative;
    margin-top: 20px;
}

.code-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.code-tab {
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.code-tab.active {
    background: rgba(102, 126, 234, 0.5);
    border-bottom: none;
}

.code-block {
    background: #1a1a2e;
    border-radius: 0 10px 10px 10px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.code-block.active {
    display: block;
}

.copy-btn {
    position: absolute;
    top: 50px;
    right: 10px;
    background: #667eea;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
}

.copy-btn:hover {
    background: #764ba2;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #00ff88;
}

/* Estilos de Headers */

/* Header 1: Glassmorphism con Gradiente */
.header-glass-gradient {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
}

.header-glass-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-glass-gradient .logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.header-glass-gradient nav {
    display: flex;
    gap: 30px;
    z-index: 1;
}

.header-glass-gradient nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.header-glass-gradient nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.header-glass-gradient nav a:hover::before {
    width: 100px;
    height: 100px;
}

.header-glass-gradient nav a:hover {
    color: white;
}

/* Header 2: Neon Cyberpunk */
.header-neon-cyber {
    height: 80px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    border-bottom: 2px solid #00ff88;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.5);
}

.header-neon-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.03) 2px,
        rgba(0, 255, 136, 0.03) 4px
    );
    pointer-events: none;
}

.header-neon-cyber .logo {
    font-size: 28px;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    animation: neonFlicker 2s infinite alternate;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes neonFlicker {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
    50% { 
        opacity: 0.8;
        text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88, 0 0 15px #00ff88;
    }
}

.header-neon-cyber nav {
    display: flex;
    gap: 30px;
}

.header-neon-cyber nav a {
    color: #00ff88;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #00ff88;
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.header-neon-cyber nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00ff88;
    transition: left 0.3s;
    z-index: -1;
}

.header-neon-cyber nav a:hover {
    color: #0a0a0a;
    box-shadow: 0 0 15px #00ff88, inset 0 0 15px rgba(0, 255, 136, 0.3);
}

.header-neon-cyber nav a:hover::before {
    left: 0;
}

/* Header 3: GLASS */
.header-glassmorphism {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
    color: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 0 0 15px 15px;
}

.header-glassmorphism .logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.header-glassmorphism nav {
    display: flex;
    gap: 25px;
}

.header-glassmorphism nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
}

.header-glassmorphism nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #0ff;
}


/* Mensaje de más próximamente */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-top: 40px;
}

.coming-soon h3 {
    font-size: 2rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.coming-soon p {
    color: #888;
    font-size: 1.1rem;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Responsivo */
@media (max-width: 768px) {
    .header-demo nav {
        display: none;
    }
    
    .header-demo {
        padding: 0 20px;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

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

