@font-face {
  font-family: 'pixelmain';
  src: url('/agos/assets/fonts/PIXEL_B.ttf');
}

/* screen */
#intro-screen {
    position: fixed;
    inset: 0;
    background: black;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}

/* button */
#intro-button {
    padding: 14px 26px;
    font-size: 16px;
    background: linear-gradient(145deg, #111, #222);
    color: #fff;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

#intro-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* container texto */
#intro-text {
    margin-top: 50px;
    opacity: 0;
    text-align: center;
}

/* aparece de golpe + zoom */
#intro-text.show {
    opacity: 1;
    animation: zoomSlow 6s linear forwards;
}

/* zoom */
@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.3); }
}

/* número gigante */
#intro-number {
    font-size: 120px;
    color: red;
    font-family: 'pixelmain', monospace;
    animation: shake 0.08s infinite;
    text-shadow:
        0 0 10px red,
        0 0 20px red,
        0 0 40px rgba(255,0,0,0.6);
}

/* texto DIAS */
#intro-label {
    font-size: 28px;
    color: red;
    letter-spacing: 6px;
    margin-top: -10px;
    font-family: 'pixelmain', monospace;
    text-shadow: 0 0 10px red;
}

/* shake */
@keyframes shake {
    0% { transform: translate(0,0); }
    25% { transform: translate(2px,-2px); }
    50% { transform: translate(-2px,2px); }
    75% { transform: translate(2px,2px); }
    100% { transform: translate(0,0); }
}

/* fade out */
#intro-screen.fade-out {
    opacity: 0;
    transition: opacity 1.5s ease;
}