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

body {
    background: #121212;
    color: #fff;
    font-family: 'Helvetica', sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
}

h1 {
    font-weight: 700;
    opacity: 100%;
}

.container {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.logo {
    width: 33px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #fff;
}

p {
    font-size: 1em;
    margin-bottom: 30px;
    color: #fff;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.links a {
    background-color: white;
    filter: brightness(1.5);
    background-size: cover;
    background-position: center;
    color: black;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.links a:hover {
    transform: translateY(-2px);
    transform: scale(1.07);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}


footer,
.legal {
    margin-top: 40px;
    font-size: 0.8em;
    color: #fff;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/film-grain.png') repeat;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.legal a {
    color: #000;
    /* Blanco al hacer hover */
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.3s;
}

.legal a:hover {
    color: #fff;
    /* Gris claro */
    text-decoration: underline;
}

.privacy {
    color: #000;
    /* Blanco al hacer hover */
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy a:hover {
    color: #fff;
    /* Gris claro */
    text-decoration: underline;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-logo img {
    width: 50px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Optional subtle bounce/pulse effect */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

.disco-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    background-size: 20px 20px;
    background-color: #666;
    box-shadow: 0 0 10px #fff, 0 0 20px #0ff, 0 0 30px #ff76a1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.disco-button:hover {
    transform: scale(1.05) rotate(1deg);
}



.shadow-dance-text {
    color: #fff;
    text-shadow: 5px 5px 0 #ff005e, 5px 5px 0 #00d4ff;
    animation: shadow-dance 2s infinite;
}

@keyframes shadow-dance {

    0%,
    100% {
        text-shadow: 1px 1px 0 #ff005e, 3px 3px 0 #00d4ff;
    }

    50% {
        text-shadow: -1px -1px 0 #00d4ff, -3px -3px 0 #ff005e;
    }
}

/* 
ejidKC */

/* CSS */
.button-85 {
    display: inline-block;

    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-85:before {
    content: "";
    background: linear-gradient(45deg,
            #ff0000,
            #ff7300,
            #ff00c8,
            #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing-button-85 {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

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

.button-85:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    left: 0;
    top: 0;
    border-radius: 10px;
}

:root {
    --bar-height: 20px;
    /* requested height */
    --bar-bg: #d90429;
    /* red */
    --bar-fg: #ffffff;
    /* white text */
    --bar-speed: 18s;
    /* lower = faster */
    --bar-gap: 2rem;
    /* space between repeats */
    --bar-font: 12px/20px system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.announcement-bar {
    position: fixed;
    /* sticks to viewport */
    top: 0;
    /* always at top */
    left: 0;
    width: 100%;
    /* full width */
    height: 20px;
    /* your desired height */
    background: #d90429;
    /* will get replaced by JS color */
    color: #fff;
    font: 12px/20px system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    z-index: 9999;
    /* sits above everything */
    text-align: center;
}

.marquee {
    display: flex;
    align-items: center;
    height: 100%;
}

.marquee__track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 18s linear infinite;
    will-change: transform;
}

.marquee__text {
    display: inline-block;
}


/* Seamless loop: start at 0, translate left by half (because we duplicated content) */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause when user hovers (optional) */
.announcement-bar:hover .marquee__track {
    animation-play-state: paused;
}

/* Respect “prefers-reduced-motion” for accessibility */
@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
    }
}

a.bar-link {
  color: inherit; /* Inherits the color of the parent element */
  text-decoration: none; /* Removes the underline */
}

a.bar-link:hover,
a.bar-link:visited,
a.bar-link:active {
  color: inherit; /* Keeps the color the same on hover, visited, and active states */
  text-decoration: none; /* Ensures no underline appears in any state */
}