/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Fondo cósmico animado */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 35%, #0f0f23 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(119, 198, 255, 0.2) 0%, transparent 50%);
    animation: nebula-drift 20s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@keyframes nebula-drift {
    0% {
        transform: translateX(-10px) translateY(-5px);
    }

    100% {
        transform: translateX(10px) translateY(5px);
    }
}

/* Overlay de circuitos */
.circuit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.3) 100%),
        linear-gradient(0deg, transparent 98%, rgba(0, 255, 255, 0.2) 100%);
    background-size: 100px 100px;
    animation: circuit-pulse 3s ease-in-out infinite;
}

.circuit-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 100px 100px, rgba(0, 255, 255, 0.8) 2px, transparent 3px),
        radial-gradient(circle at 200px 200px, rgba(255, 0, 255, 0.6) 1px, transparent 2px),
        radial-gradient(circle at 300px 150px, rgba(255, 255, 0, 0.7) 1.5px, transparent 2.5px);
    background-size: 200px 200px;
    animation: node-glow 2s ease-in-out infinite alternate;
}

@keyframes circuit-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes node-glow {
    0% {
        filter: brightness(0.8);
    }

    100% {
        filter: brightness(1.5);
    }
}

/* Contenedor principal con efecto de vidrio */
.glass-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    backdrop-filter: blur(10px);
    /* background: rgba(255, 255, 255, 0.05); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header */
.main-header {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* animation: gradient-shift 3s ease-in-out infinite; */
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.title-sub {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    letter-spacing: 2px;
}

/* @keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
} */

.header-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.header-description a {
    color: rgba(156, 176, 176, 0.8);
    font-weight: 600;
}

#prompt {
    padding-left: 30px;
}

#prompt a {
    color: rgb(116, 108, 162);
}

/* Indicador de escala */
.scale-indicator {
    margin: 2rem auto;
    max-width: 1200px;
    position: relative;
    padding: 0 2rem;
}

.scale-line {
    height: 4px;
    background: linear-gradient(90deg, #ff0080, #00ffff, #80ff00);
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.scale-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.marker {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Galería de imágenes */
/* Fondo negro para toda la sección de galería */
.gallery-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #000000;
    position: relative;
    z-index: 1;
}

/* Fondo negro para toda la sección de galería */
.gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: #000000;
    z-index: -1;
}





.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}


.image-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.image-info {
    padding: 1.5rem;
    text-align: center;
}

.cfg-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.cfg-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Panel de información */
.info-panel {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.info-panel h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.info-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.main-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Efectos de agua */
.water-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.water-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(0, 255, 255, 0.1));
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }

    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }

    66% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title-main {
        font-size: 2.5rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-placeholder {
        height: 500px;
    }


    .main-header {
        padding: 2rem 1rem;
    }

    .gallery-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1rem;
    }

    .scale-markers {
        font-size: 0.8rem;
    }
}