:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --primary: #FF0055;
    --secondary: #00F0FF;
    --tertiary: #FFF000;
    --border: 2px solid #000;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* Puntero "+" Gris Minimalista */
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M12 4v16M4 12h16' stroke='grey' stroke-width='2' stroke-linecap='square'/></svg>") 12 12, auto;
}

/* Forzar cursor en elementos interactivos */
a,
.gallery-item,
.btn-brutal,
button {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M12 4v16M4 12h16' stroke='grey' stroke-width='2' stroke-linecap='square'/></svg>") 12 12, pointer !important;
}

header {
    padding: 2rem;
    border-bottom: 1px solid #333;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
}

#gallery-root {
    min-height: 100vh;
    padding: 0;
    background: #000000;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    background: #000;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.gallery-item:hover {
    transform: scale(1.5);
    z-index: 100;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recorte para la grilla en reposo */
    display: block;
    transition: object-fit 0.3s;
}

.gallery-item:hover img,
.gallery-item:hover video {
    object-fit: contain;
    /* Mostrar completa en hover */
}

/* Star Trail Particles */
.star-particle {
    position: fixed;
    pointer-events: none;
    width: 12px;
    height: 12px;
    background: white;
    box-shadow: 0 0 10px white, 0 0 20px var(--secondary);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 9999;
    animation: star-fade 0.8s forwards ease-out;
}

@keyframes star-fade {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}

@media (max-width: 1400px) {
    #gallery-root {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    #gallery-root {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    #gallery-root {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #gallery-root {
        grid-template-columns: 1fr;
    }
}

.brutal-contact {
    padding: 0.75rem;
    background: var(--tertiary);
    border-top: 1px solid #000;
    text-align: center;
    color: #000;
}

.brutal-contact h2 {
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 900;
}

.btn-brutal {
    display: inline-block;
    padding: 1rem 3rem;
    background: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--primary);
    transition: 0.2s;
}

.btn-brutal:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--secondary);
}

/* Subtle Halftone Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 1;
    pointer-events: none;
    z-index: 2000;
}