/* CSS para index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Efecto de espacio con puntos blancos */
.space {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 1000px;
    z-index: 10;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: yellow;
    text-shadow: 0 0 10px yellow, 0 0 20px yellow;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 2s, transform 2s;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title.visible {
    opacity: 1;
    transform: translateY(0);
}

.message {
    font-size: 2rem;
    margin: 30px 0;
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 2s, transform 2s;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.message.visible {
    opacity: 1;
    transform: translateY(0);
}

.message.red {
    color: yellow;
    text-shadow: 0 0 10px yellow, 0 0 20px yellow;
}

.button {
    margin-top: 50px;
    opacity: 0;
    transition: opacity 2s;
}

.button.visible {
    opacity: 1;
}

.btn {
    background: transparent;
    border: 2px solid #9900ff;
    padding: 15px 40px;
    font-size: 1.5rem;
    color: #9500ff;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
    transform: scale(1.05);
}

.hacker-effect {
    position: relative;
    overflow: hidden;
}

.hacker-effect::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: #a6c91a;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .message {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
}
