/* Variables de diseño */
:root {
    --background-dark: #000000;
    --card-background: #111111;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --border-color: #333333;
}

/* -------------------- GLITCH ANIMATIONS -------------------- */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Base Styles */
body {
    background-color: var(--background-dark);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
}

.page-container {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    overflow-x: hidden;
}


/* -------------------- HEADER -------------------- */

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem; /* px-6 py-4 */
    mix-blend-mode: difference;
    color: var(--text-primary);
}
@media (min-width: 768px) {
    .header {
        padding: 1rem 3rem; /* md:px-12 */
    }
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem; /* gap-12 */
}
@media (min-width: 768px) {
    .header-nav {
        gap: 4rem; /* md:gap-16 */
    }
}

/* Navigation buttons */
.nav-button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    color: rgba(255, 255, 255, 0.8); /* text-white/80 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem; /* py-2 px-4 */
    transition: all 0.3s ease;
    position: relative;
}

.nav-button:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    text-shadow: 0 0 5px #f129b3;
    animation: glitch 0.2s ease-in-out;
}

.nav-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-button:hover::after {
    width: 100%;
}

.tickets-button {
    padding-right: 3rem;
}

/* Eye button styles */
.eye-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-button:hover .eye-icon {
    transform: scale(1.1);
    opacity: 0.9;
    filter: invert(1) drop-shadow(0 0 10px #f129b3);
    animation: glitch 0.3s ease-in-out;
}

/* Eye icon styles */
.eye-icon {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: invert(1); /* Makes the black eye white due to mix-blend-mode */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Language toggle button */
.lang-toggle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    color: rgba(255, 255, 255, 0.8); /* text-white/80 */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem; /* rounded-md */
    padding: 0.5rem 1rem; /* py-2 px-4 */
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    right: -2rem;
    top: 1rem;
    z-index: 100;
}
.lang-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}


/* -------------------- MAIN CONTENT -------------------- */

.main-content {
    flex: 1;
    padding: 6rem 1rem 3rem 1rem; /* py-12 px-4 + top padding for fixed header */
}
@media (min-width: 640px) {
    .main-content {
        padding: 4rem 1.5rem; /* sm:py-16 sm:px-6 */
    }
}
@media (min-width: 768px) {
    .main-content {
        padding-left: 2.5rem; /* md:px-10 */
        padding-right: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .main-content {
        padding-left: 5rem; /* lg:px-20 */
        padding-right: 5rem;
    }
}
@media (min-width: 1280px) {
    .main-content {
        padding-left: 10rem; /* xl:px-40 */
        padding-right: 10rem;
    }
}

.main-container {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem; /* mb-12 */
    text-align: center;
}

.section-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    letter-spacing: -0.05em; /* tracking-tighter */
    color: var(--text-primary);
    text-transform: uppercase;
}
@media (min-width: 640px) {
    .section-title {
        font-size: 3rem; /* sm:text-5xl */
    }
}

.section-subtitle {
    margin-top: 1rem; /* mt-4 */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem; /* text-base */
    color: var(--text-secondary);
}
@media (min-width: 640px) {
    .section-subtitle {
        font-size: 1.125rem; /* sm:text-lg */
    }
}


/* -------------------- ARTIST GRID -------------------- */

.artist-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem; /* gap-8 */
}
@media (min-width: 640px) {
    .artist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm:grid-cols-2 */
    }
}
@media (min-width: 1024px) {
    .artist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* lg:grid-cols-3 */
    }
}

.artist-card {
    display: flex;
    flex-direction: column;
    padding: 1rem; /* p-4 */
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.artist-card:hover {
    background-color: #222222;
    border-color: var(--text-primary);
}

.artist-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* IMAGEN BASE64: Imagen del ojo/símbolo orgánico (image_2dcee0.png)
   Usada como ejemplo de imagen de artista */
.artist-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(100%) blur(1px) contrast(1.2);
    transition: filter 0.5s ease;
}

/* Efecto hover: color y nitidez */
.artist-card:hover .artist-image {
    filter: grayscale(0%) blur(0) contrast(1);
}

/* Base64 para el GRAIN/RUIDO */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbnoaXNlKSIgb3BhY2l0eT0iMC4xNSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.artist-info {
    padding-top: 1rem; /* pt-4 */
}

.artist-name {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
}

.artist-description {
    font-size: 0.875rem; /* text-sm */
    color: var(--text-secondary);
    margin-top: 0.5rem; /* mt-2 */
    font-family: monospace;
}

/* CLASES DE IMÁGENES DE ARTISTAS (Base64) */
/* He usado imágenes de ejemplo para simular retratos de techno */

/* Image for Alex/Surgeon */
.artist-surgeon {
    background-image: url("https://images.unsplash.com/photo-1598259020929-232d398d5722?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
/* Image for Clara/Paula Temple */
.artist-paula {
    background-image: url("https://images.unsplash.com/photo-1547432092-411a51155981?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
/* Image for Ben/SNTS */
.artist-snts {
    background-image: url("https://images.unsplash.com/photo-1595163013233-1436214878a1?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
/* Image for VTSS */
.artist-vtss {
    background-image: url("https://images.unsplash.com/photo-1547432092-411a51155981?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
/* Image for I Hate Models */
.artist-ihm {
    background-image: url("https://images.unsplash.com/photo-1616298586940-21a4f00d8f0f?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
/* Image for Ancient Methods */
.artist-am {
    background-image: url("https://images.unsplash.com/photo-1628174780521-83d5a42878d2?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

/* -------------------- FOOTER -------------------- */
.footer {
    background-color: var(--background-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
        align-items: center;
    }
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-logo-section {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo img {
    height: 40px;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-info {
        align-items: flex-start;
    }
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
        margin-top: 0;
        align-self: center;
    }
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px #f129b3;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #f129b3;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-start;
    }
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f129b3, #00ffff);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover {
    background: rgba(241, 41, 179, 0.15);
    border-color: rgba(241, 41, 179, 0.4);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(241, 41, 179, 0.3);
}

.social-icon:hover::before {
    opacity: 0.1;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin: 0;
}