
/*Estilos generales*/
html {
  font-size: 14px;
}
body {
    font-family: Papyrus, "Papyrus", fantasy;
    background-image: url("../assets/images/iran.jpeg");
    background-size: 30px;
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    color: #111;
    cursor: none;
}
#fakeCursor {
    position: fixed;
    width: 64px;
    height: 64px;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(1px); 
    pointer-events: none;
    z-index: -1;
}
/*Navegación de la página*/
header {
    width: 100%;
    padding: 30px 10px;
    text-align: center;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    border-bottom: 4px dashed black;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #000;
    text-shadow: 
        2px 2px 0px white,
        4px 4px 0px #ff00ff,
        -3px -3px 0px #00ffff;
    filter: drop-shadow(0 0 10px #ff00ff);
    letter-spacing: 4px;
}
@media(min-width: 1024px) {
    .header {
        flex-direction: row;
    }
}

/* Estilos de los enlaces */
a {
    color: #ff0099;
    font-weight: bold;
    text-decoration: underline wavy #00ffcc;
    transition: 0.1s;
}
a:hover {
    background: yellow;
    padding: 5px;
    border-radius: 5px;
    transform: rotate(-3deg);
}
/* Galería de imágenes */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px;
    justify-content: center;
}

.gallery img {
    width: 145px;
    height: 145px;
    object-fit: cover;
    border: 6px ridge hotpink;
    box-shadow: 
        0 0 15px #ff00ff,
        0 0 30px #00ffff,
        0 0 10px black inset;
    transform: rotate(-1deg);
    transition: 0.15s;
    filter: contrast(120%) saturate(160%);
}

/* Galería clickable */
.gallery a.thumb {
    position: relative;
    display: block;
    text-decoration: none;
}

.gallery a.thumb img {
    width: 145px;
    height: 145px;
    object-fit: cover;
    border: 6px ridge hotpink;
    box-shadow: 
        0 0 15px #ff00ff,
        0 0 30px #00ffff,
        0 0 10px black inset;
    transform: rotate(-1deg);
    transition: 0.15s;

}
@media(min-width:600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Texto hover */
.gallery a.thumb .label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(3, 152, 0, 0.9);
    padding: 5px 10px;
    font-size: 2.1rem;
    font-weight: bold;
    font-family: Papyrus, fantasy;
    color: black;
    border: 3px solid hotpink;
    box-shadow: 0 0 10px #ff00ff;
    opacity: 0;
    transition: 0.2s ease-in-out;
    pointer-events: none;
}

/* Hover un poco reventado */
.gallery a.thumb:hover img {
    transform: scale(1.2) rotate(4deg);
    filter: contrast(220%) saturate(260%) hue-rotate(45deg);
    border-color: yellow;
    box-shadow: 
        0 0 30px yellow,
        0 0 40px #ff00ff,
        0 0 50px #00ffff;
}

.gallery a.thumb:hover .label {
    opacity: 1;
    bottom: 50px;
}

/* Marco cutre */
section {
    padding: 30px;
    margin: 20px auto;
    width: 90%;
    border: 10px double #ff00ff;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(3px);
    box-shadow: 0 0 25px #00ffff inset;
    animation: colorPulse 5s infinite alternate ease-in-out;
}

@keyframes colorPulse {
    0% { border-color: #ff00ff; }
    50% { border-color: #00ffff; }
    100% { border-color: #ffff00; }
}

/* Botones swag */
button {
    background: linear-gradient(to bottom, #ff00ff, #990099);
    color: white;
    border: 4px outset #ff00ff;
    padding: 15px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px #ff00ff;
    text-shadow: 2px 2px 0px black;
    transition: 0.15s;
}

button:hover {
    transform: rotate(-2deg) scale(1.1);
    border-style: inset;
    background: linear-gradient(to bottom, #ffff00, #ff00aa);
    box-shadow: 0 0 30px yellow;
}

/* Pie de pagina */
footer {
    margin-top: 60px;
    padding: 25px;
    text-align: center;
    background: repeating-linear-gradient(45deg, #000, #000 10px, #ff00ff 10px, #ff00ff 20px);
    color: white;
    border-top: 5px dotted #00ffff;
    font-size: 1.3rem;
    text-shadow: 
        1px 1px 0px white,
        2px 2px 0px #ff00ff,
        -1px -1px 0px #00ffff;
    filter: drop-shadow(0 0 1px #ff00ff);
    animation: footerFlash 0.6s infinite;
}

@keyframes footerFlash {
    0% { filter: brightness(1); }
    50% { filter: brightness(2); }
    100% { filter: brightness(1); }
}

.videoSwag {
    display: block;
    margin: 0 auto;
    border: 8px ridge hotpink;
    box-shadow: 0 0 20px #ff00ff, 0 0 30px #00ffff;
}