@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FONDO PRINCIPAL */
body {
    min-height: 100vh;
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle at top, #001a33, #000000);
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BURBUJAS */
.bubbles {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
}

.bubbles span {
    position: absolute;
    bottom: -150px;
    background: rgba(0, 170, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 15px #00aaff, 0 0 30px #00aaff;
    animation: rise 20s linear infinite;
}

/* Tamaños y posiciones */
.bubbles span:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 18s; }
.bubbles span:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 12s; animation-delay: 2s; }
.bubbles span:nth-child(3) { width: 60px; height: 60px; left: 30%; animation-duration: 25s; }
.bubbles span:nth-child(4) { width: 25px; height: 25px; left: 40%; animation-duration: 15s; animation-delay: 4s; }
.bubbles span:nth-child(5) { width: 50px; height: 50px; left: 50%; animation-duration: 22s; }
.bubbles span:nth-child(6) { width: 30px; height: 30px; left: 60%; animation-duration: 17s; animation-delay: 3s; }
.bubbles span:nth-child(7) { width: 70px; height: 70px; left: 70%; animation-duration: 28s; }
.bubbles span:nth-child(8) { width: 20px; height: 20px; left: 80%; animation-duration: 14s; }
.bubbles span:nth-child(9) { width: 45px; height: 45px; left: 90%; animation-duration: 23s; animation-delay: 1s; }
.bubbles span:nth-child(10) { width: 35px; height: 35px; left: 95%; animation-duration: 19s; }

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) scale(1.5);
        opacity: 0;
    }
}

/* TARJETA CENTRAL */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px #00aaff;
    max-width: 420px;
    width: 90%;
    backdrop-filter: blur(12px);
    animation: fadeIn 1.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* LOGO */
.logo {
    width: 130px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px #00aaff);
    transition: 0.4s;
}

.logo:hover {
    transform: rotate(3deg) scale(1.15);
    filter: drop-shadow(0 0 30px #00ccff);
}

/* TÍTULO */
h1 {
    color: #00ccff;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px #00aaff,
        0 0 20px #00aaff,
        0 0 40px #0088ff;
}

/* SUBTÍTULO */
.subtitle {
    color: #7fd9ff;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00aaff;
    animation: glowText 3s ease-in-out infinite;
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 5px #00aaff;
        opacity: 0.7;
    }
    50% {
        text-shadow: 0 0 20px #00ccff;
        opacity: 1;
    }
    100% {
        text-shadow: 0 0 5px #00aaff;
        opacity: 0.7;
    }
}

/* BOTONES */
.link-btn {
    position: relative;
    display: block;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #001f3f, #00aaff);
    padding: 16px;
    margin: 18px 0;
    border-radius: 12px;
    font-size: 18px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 0 15px #00aaff;
}

/* EFECTO LUZ DESLIZANTE */
.link-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.link-btn:hover::before {
    left: 100%;
}

.link-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px #00ccff;
}

/* FOOTER */
footer {
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.6;
}
