:root {
    /* Fondos y UI Base */
    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    /* Colores de Identidad */
    --hoh-primary: #aaff00; /* Lima neón */
    --hoh-glow: rgba(170, 255, 0, 0.3);
    --qlt-cyan: #00e5ff;
    --qlt-purple: #6a1b9a;
    --qlt-violet: #4a148c;
    
    /* Grises de Interfaz */
    --text-description: #b0b0b0;
    --text-version: #555555; /* Gris oscuro técnico */
}

/* --- Reset y Tipografía --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Inter', -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#nexus-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-header {
    text-align: center;
    margin-bottom: 20px;
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.main-header p {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* --- Grid Horizontal Estricto --- */
.grid-container {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: stretch; /* Mismo alto para ambas tarjetas */
    gap: 40px;
    width: 100%;
    margin-top: 50px;
}

/* --- Diseño de Tarjeta --- */
.card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

/* Banner adaptable a 1920x1080 (16:9) */
.card-banner {
    width: 100%;
    aspect-ratio: 16 / 9; 
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transition: all 0.6s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-body {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* --- Tipos de Proyectos --- */
.project-type, .badge {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
}

/* --- Títulos --- */
.card-body h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.my-work h2 { color: var(--hoh-primary); }
.guest-work h2 {
    background: linear-gradient(90deg, var(--qlt-cyan), var(--qlt-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Descripción Estilo Único --- */
.description, .desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-description);
    font-style: italic; /* Toque distintivo */
    margin-bottom: 25px;
}

/* --- Metadatos (Versión y Estado) --- */
.meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto; /* Empuja al fondo pero arriba de los botones */
}

.version-tag, .version {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-version);
}

.status-tag {
    color: var(--hoh-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Botones --- */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-action, .btn-itch, .btn-patreon, .btn-bsky {
    flex: 1;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    transition: 0.3s;
}

.btn-itch { background: var(--qlt-violet); color: white; }
.btn-patreon { background: #f96854; color: #052d49; }
.btn-bsky { border: 1px solid var(--qlt-cyan); color: var(--qlt-cyan); }

/* --- Botón Volver al Inicio --- */
.navigation-footer {
    margin-top: 80px;
}

.back-home-btn, .back-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

.back-home-btn:hover, .back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(-5px);
}

/* --- Efectos de Interacción --- */
.card:hover {
    transform: translateY(-10px);
}

.my-work:hover { border-color: var(--hoh-primary); box-shadow: 0 15px 40px var(--hoh-glow); }
.guest-work:hover { border-color: var(--qlt-cyan); box-shadow: 0 15px 40px var(--qlt-glow); }

.card:hover .card-banner {
    filter: brightness(1);
    transform: scale(1.03);
}

/* Desenfoque ambiental en la tarjeta no seleccionada */
.grid-container:hover .card:not(:hover) {
    filter: blur(5px);
    opacity: 0.5;
}

/* --- Responsive Móvil --- */
@media (max-width: 900px) {
    .grid-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 100%;
    }
}
