:root {
    --bg-color: #050505; /* Fondo negro profundo */
    --card-bg: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent-color: #5865F2; /* Discord Blurple */
    --accent-hover: #4752C4;
    --secondary-color: #1a1a1a;
    --secondary-hover: #262626;
    --border-color: rgba(255, 255, 255, 0.05);
    
    --dnx-bg: #000000;
    --dnx-card: #050505;
    --dnx-accent: #00f0ff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

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

/* Sección Hero */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 10;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    width: 35px;
    height: 35px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.nav-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn-nav {
    background: white;
    color: black;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: opacity 0.3s;
}

.btn-nav:hover {
    opacity: 0.8;
}

.hero-banner-container {
    position: absolute;
    top: 80px; /* Space for nav */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 40vh;
    overflow: hidden;
    z-index: 0;
    border-radius: 12px;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 15vh;
}

.profile-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #43b581;
    border-radius: 50%;
}

.title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    font-style: italic;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 24px;
    color: #cbd5e1;
    font-weight: 300;
}

/* Botones */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #7289da);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-dnx {
    background-color: var(--dnx-accent);
    color: #000;
}

.btn-dnx:hover {
    background-color: #00e0ef;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5);
}

/* Secciones de Contenido */
.info-section {
    padding: 60px 24px 120px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card {
    background: linear-gradient(145deg, #0a0a0a, #111111);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(88, 101, 242, 0.3);
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

.info-list {
    list-style: none;
}

.info-list li {
    font-size: 1.2rem;
    color: #e2e8f0;
}

code {
    background-color: rgba(0, 240, 255, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    color: var(--dnx-accent);
    font-weight: 700;
    margin-left: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Cuadrícula de Funciones */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 32px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--accent-color);
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.note-card {
    border-left: 6px solid #f59e0b;
}

/* Pie de página */
footer {
    text-align: center;
    padding: 80px 24px;
    border-top: 1px solid var(--border-color);
    background-color: #000;
}

.team-signature {
    margin-top: 20px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.watermark-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    pointer-events: auto;
}

.watermark {
    font-size: 0.85rem;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
    border-radius: 4px;
}


.watermark:hover {
    color: #fff;
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.dnx-shine {
    position: relative;
    font-weight: 800;
    background: linear-gradient(90deg, #333, #00f0ff, #fff, #00f0ff, #333);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2s linear infinite;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* SECCIÓN DNX OCULTA */
.hidden-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    color: #fff;
}

.hidden-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.close-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--dnx-accent);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10000;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.dnx-container {
    max-width: 900px;
    margin: 100px auto;
    padding: 0 24px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dnx-logo {
    width: 220px;
    height: auto;
    margin-bottom: 60px;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.4));
}

.dnx-content {
    background-color: #080808;
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.dnx-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dnx-content h2::before {
    content: '';
    width: 6px;
    height: 30px;
    background: var(--dnx-accent);
    border-radius: 3px;
}

.dnx-content p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.1rem;
}

.dnx-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    margin: 50px 0;
}

.dnx-list {
    list-style: none;
}

.dnx-list li {
    margin-bottom: 18px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
}

.text-accent {
    color: var(--dnx-accent);
}

.languages-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lang-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.lang-tag:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.4);
    color: #fff;
    transform: scale(1.05);
}

.dnx-credits {
    text-align: center;
}

.dnx-credits h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Ajustes Responsive */
@media (max-width: 1024px) {
    .nav-bar {
        padding: 15px 24px;
    }
    
    .hero-banner-container {
        width: 85%;
        height: 35vh;
        top: 70px;
    }
}

@media (max-width: 768px) {
    .title { 
        font-size: 2.2rem; 
    }
    .subtitle { 
        font-size: 1rem;
        max-width: 90%;
    }
    .dnx-content { 
        padding: 30px; 
    }
    .close-btn { 
        width: 48px; 
        height: 48px; 
        top: 20px; 
        left: 20px; 
    }
    .hero-content { 
        padding: 40px 20px;
        padding-top: 15vh;
    }
    
    .hero-banner-container {
        width: 95%;
        height: 30vh;
        top: 60px;
        border-radius: 8px;
    }
    
    .nav-bar {
        padding: 12px 16px;
    }
    
    .nav-logo {
        width: 30px;
        height: 30px;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .nav-subtitle {
        font-size: 0.65rem;
    }
    
    .btn-nav {
        padding: 6px 16px;
        font-size: 0.7rem;
    }
    
    .profile-image-wrapper {
        width: 100px;
        height: 100px;
        border: 3px solid white;
    }
    
    .cta-buttons {
        gap: 12px;
        margin-top: 30px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .info-section {
        padding: 40px 16px 80px;
        gap: 24px;
    }
    
    .card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .card h2 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-item {
        padding: 20px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .title { 
        font-size: 1.6rem;
        letter-spacing: -1px;
    }
    .subtitle { 
        font-size: 0.9rem;
        margin: 0 auto 30px;
    }
    
    .hero-banner-container {
        width: 100%;
        height: 25vh;
        top: 50px;
        border-radius: 0;
        left: 0;
        transform: none;
    }
    
    .nav-bar {
        padding: 10px 12px;
    }
    
    .nav-left {
        gap: 10px;
    }
    
    .nav-logo {
        width: 25px;
        height: 25px;
    }
    
    .nav-text {
        gap: 2px;
    }
    
    .nav-title {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .nav-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    
    .btn-nav {
        padding: 5px 12px;
        font-size: 0.65rem;
    }
    
    .profile-image-wrapper {
        width: 80px;
        height: 80px;
        border: 2px solid white;
        margin-bottom: 15px;
    }
    
    .status-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
    
    .info-section {
        padding: 30px 12px 60px;
        gap: 20px;
    }
    
    .card {
        padding: 16px;
        border-radius: 12px;
    }
    
    .card h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .card h2::before {
        width: 3px;
        height: 20px;
    }
    
    .info-list li {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .dnx-content {
        padding: 20px;
    }
    
    footer {
        padding: 40px 12px;
    }
}
