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

/* Mengatur font dan warna dasar */
html, body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a1a1a, #4d4d4d);
    color: #f4f4f4;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative; /* Untuk animasi kabut */
}

/* Efek kabut */
.fog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    animation: fogAnimation 10s infinite;
}

@keyframes fogAnimation {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Mengatur style h1 */
h1 {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 20px;
    color: #e0e0e0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    font-family: 'Cloister Black', 'Georgia', serif; /* Font bergaya gothic */
    animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 3px 3px 20px rgba(255, 255, 255, 1);
    }
}

/* Mengatur style untuk elemen list */
ul {
    list-style: none;
    padding: 0;
}

li {
    font-size: 1.5rem;
    margin: 10px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    font-family: 'Georgia', serif;
    animation: flickerAnimation 1s infinite;
}

@keyframes flickerAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

li span {
    font-size: 4rem;
    font-weight: bold;
    color: #ff6f61; /* Warna kontras yang berani */
}

/* Background animation */
.background-animation {
    background: linear-gradient(45deg, #000000, #434343);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Responsif */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    li {
        font-size: 1.2rem;
        padding: 12px;
    }

    li span {
        font-size: 3rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    li {
        font-size: 1rem;
        padding: 10px;
    }

    li span {
        font-size: 2.5rem;
    }
}
