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

body {
    background: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 400px;
    padding: 20px;
}

/* LOGO TIMNAS4D */
.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 0 10px #ff3b3bcb, 0 0 20px #ff3b3bbe;
    margin-bottom: 5px;
    padding: 5px 15px;
    border-radius: 8px;
    animation: logoBlink 1s infinite alternate;
}

@keyframes logoBlink {
    from { border: 2px solid #ffeb3b; box-shadow: 0 0 15px rgba(255, 235, 59, 0.8); }
    to { border: 2px solid #00f; box-shadow: 0 0 15px rgba(0, 0, 255, 0.8); }
}

/* SCROLLING TEXT CONTAINER 1 (Merah) */
#scroll1 {
    background: linear-gradient(to right, #928400, #ffee00);
    background: linear-gradient(to left, #ffee00, #928400);
    border: 2px solid #00f;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.6);
    animation: scrollBlinkRed 1.5s infinite alternate;
}

@keyframes scrollBlinkRed {
    from { border-color: #00f; box-shadow: 0 0 15px rgba(0, 0, 255, 0.6); }
    to { border-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.8); }
}

/* SCROLLING TEXT CONTAINER 2 (Hijau) */
#scroll2 {
    background: linear-gradient(to right, #003300, #00aa00);
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    animation: scrollBlinkGreen 1.5s infinite alternate;
}

@keyframes scrollBlinkGreen {
    from { border-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
    to { border-color: #00ff00; box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
}

.scrolling-text-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    padding: 8px 15px;
    margin: 8px 0;
    position: relative;
}

.scrolling-text {
    white-space: nowrap;
    font-size: 1rem;
    color: #ffe600;
    font-weight: bold;
    text-shadow: 0 0 5px #000;
    animation: scrollText 5s linear infinite;
    padding-left: 100%;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



.promo-img {
    width: 100%;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    border: 2px solid transparent;
    animation: imgBlink 1s infinite alternate;
}

@keyframes imgBlink {
    from { border-color: #00f; box-shadow: 0 0 10px rgba(0, 0, 255, 0.6); }
    to { border-color: #ffeb3b; box-shadow: 0 0 10px rgba(255, 235, 59, 0.8); }
}

/* Tombol Action */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 8px rgba(255, 235, 59, 0.3);
    animation: btnBlink 1.2s infinite alternate;
}

@keyframes btnBlink {
    from { border-color: #ffeb3b; box-shadow: 0 0 10px rgba(255, 235, 59, 0.6); }
    to { border-color: #00f; box-shadow: 0 0 10px rgba(0, 0, 255, 0.6); }
}

.btn:hover {
    background: rgba(255, 235, 59, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.8);
}

.btn-login {
    background: rgba(255, 235, 59, 0.1);
    animation-name: btnLoginBlink;
}

@keyframes btnLoginBlink {
    from { border-color: #ffeb3b; box-shadow: 0 0 10px rgba(255, 235, 59, 0.6); }
    to { border-color: #ff0000; box-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }
}

.btn-register {
    animation-name: btnRegisterBlink;
}

@keyframes btnRegisterBlink {
    from { border-color: #00f; box-shadow: 0 0 10px rgba(0, 0, 255, 0.6); }
    to { border-color: #00ff00; box-shadow: 0 0 10px rgba(0, 255, 0, 0.8); }
}

.btn-prediksi {
    animation-name: btnPrediksiBlink;
}

@keyframes btnPrediksiBlink {
    from { border-color: #00ff00; box-shadow: 0 0 10px rgba(0, 255, 0, 0.6); }
    to { border-color: #ffeb3b; box-shadow: 0 0 10px rgba(255, 235, 59, 0.8); }
}

.btn-rtp {
    animation-name: btnRtpBlink;
}

@keyframes btnRtpBlink {
    from { border-color: #ff0000; box-shadow: 0 0 10px rgba(255, 0, 0, 0.6); }
    to { border-color: #00f; box-shadow: 0 0 10px rgba(0, 0, 255, 0.8); }
}

footer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #ffeb3b;
    text-shadow: 0 0 5px #ffeb3b;
}