/* --- ESTILO DARK TERMINAL + FONDO MATRIX --- */
:root {
    --bg-base: #000000; /* Negro puro para Matrix */
    --bg-card: rgba(10, 10, 10, 0.85); /* Fondo oscuro semi-transparente */
    --accent: #10b981; /* Verde terminal */
    --accent-glow: rgba(16, 185, 129, 0.5);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* --- CANVAS MATRIX (FONDO) --- */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    background-color: var(--bg-base);
}

/* --- SECCIÓN PRINCIPAL (HERO) --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* --- ESLOGAN --- */
.slogan {
    font-family: var(--font-mono); 
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 40px;
    height: 30px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

/* --- BOTÓN TERMINAL --- */
.neon-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px transparent;
}

.neon-button:hover {
    background-color: var(--accent);
    color: var(--bg-base);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.neon-button span { display: none; }

/* --- TARJETAS (SEMI-TRANSPARENTES EFECTO CRISTAL) --- */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px); /* Efecto cristal */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- SECCIÓN DEL CREADOR --- */
.creator {
    padding: 80px 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.creator-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.creator-container h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.creator-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.profile-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--border-color), var(--accent));
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-base);
}

.creator-details {
    text-align: left;
    max-width: 450px;
}

.creator-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.creator-details p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: rgba(0,0,0,0.3);
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.github-link:hover {
    background: var(--text-main);
    color: var(--bg-base);
}

.github-icon {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: all 0.3s ease;
}

.github-link:hover .github-icon {
    filter: invert(0);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 1rem;
    background: var(--bg-base);
    font-family: var(--font-mono);
}

/* --- ANIMACIONES DE APARICIÓN (NUEVO ESTILO ZOOM) --- */
.fade-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- RESPONSIVE PARA CELULARES --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .slogan { font-size: 1rem; }
    .creator-content { flex-direction: column; text-align: center; }
    .creator-details { text-align: center; }
}
