/* --- VARIABLES Y RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;900&display=swap');

:root {
    --bg: #000000;
    --accent: #8a2be2; /* Púrpura Digital Monster */
    --pink: #ff69b4;   /* Rosa Digital Monster */
    --text: #ffffff;
    --text-dim: #555555;
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- NAVEGACIÓN --- */
.nav-minimal {
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-text { 
    font-weight: 900; 
    letter-spacing: -1px; 
    font-size: 1.3rem;
}

.links a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-left: 20px;
    transition: 0.3s;
}

.links a:hover {
    color: var(--pink);
}

.lang-switcher button {
    background: none;
    border: 1px solid #333;
    color: #666;
    font-weight: 900;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.6rem;
    transition: 0.3s;
}

.lang-switcher button.active {
    border-color: var(--accent);
    color: white;
}

/* --- HERO SECTION Y ANIMACIÓN DE RESPIRACIÓN --- */
.hero-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.glitch-logo {
    width: 220px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.4));
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 20px rgba(138, 43, 226, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 35px rgba(255, 105, 180, 0.7));
    }
}

.main-title {
    font-size: clamp(3rem, 12vw, 8.5rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -4px;
    color: var(--accent); /* "CREAMOS" en púrpura */
}

.outline {
    -webkit-text-stroke: 1.5px var(--pink); /* Contorno en rosa */
    color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
    display: block;
}

/* --- SECCIÓN DE PROYECTOS --- */
.work-section {
    padding: 50px 8%;
}

.work-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}

.work-item.reverse {
    flex-direction: row-reverse;
}

.work-info {
    max-width: 450px;
    z-index: 10;
}

.work-num {
    font-size: 8rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.07;
    position: absolute;
    top: -80px;
    left: -30px;
    z-index: -1;
}

.work-cat {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.work-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.work-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-art {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,1));
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.work-item:hover .floating-art {
    transform: scale(1.08) rotate(-2deg);
}

.work-status {
    position: absolute;
    bottom: 20px;
    right: 10%;
    background: white;
    color: black;
    padding: 10px 20px;
    font-weight: 900;
    font-size: 0.7rem;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 var(--accent);
}

.empty {
    height: 300px;
    border: 1px dashed #222;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glitch-text {
    font-weight: 900;
    color: #222;
    letter-spacing: 10px;
}

/* --- FOOTER (CORREGIDO Y CENTRADO) --- */
.glitch-footer {
    padding: 100px 5% 100px; /* Margen inferior generoso */
    text-align: center;
    border-top: 1px solid #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: 0.3s;
    opacity: 0.6;
}

.social-links a:hover img {
    opacity: 1;
    transform: translateY(-5px);
    filter: drop-shadow(0 0 10px var(--accent));
}

.glitch-footer p {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 2px;
    font-weight: 900;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .work-item, .work-item.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 120px;
    }
    .work-preview {
        width: 100%;
        margin-top: 40px;
    }
    .work-title {
        font-size: 3rem;
    }
}