/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #0b0b0b;
    color: #eaeaea;
    line-height: 1.7;
}

/* ================= HEADER ================= */
.head {
    background-image: url('/styles/pattern.webp');
    border-bottom: 2px solid #d10000;
}

.content-head {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-head img {
    max-width: 200px;
}

/* NAV BUTTONS */
.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Base Button */
.nav-buttons .btn {
    padding: 3px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Login Button */
.nav-buttons .btn-login {
    background-color: transparent;
    color: #ffc900;
    border: 2px solid #a10000;
}

.nav-buttons .btn-login:hover {
    background-color: #a10000;
    color: #ffffff;
}

/* Daftar Button */
.nav-buttons .btn-daftar {
    background-color: #a10000;
    color: #ffc900;
    border: 2px solid #ff0000;
}

.nav-buttons .btn-daftar:hover {
    background-color: transparent;
    color: #ffffff;
}


/* ================= CONTAINER ================= */
.container {
    background-color: #4b0000;
    max-width: 1200px;
    margin: auto;
    padding: 5px 5px;
}

/* ================= ARTICLE SLIDER ================= */
.article-slider {
    margin-bottom: 25px;
}

.article-slider .swiper {
    width: 100%;
    overflow: hidden;
}

.article-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.article-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.article-slider .swiper-pagination-bullet-active {
    background: #ffc900;
    opacity: 1;
}


/* ================= ARTICLE ================= */
article {
    padding: 30px;
    border-radius: 10px;
}

article h1 {
    font-size: 28px;
    color: #c23f3f;
    margin-bottom: 20px;
}

article h2 {
    font-size: 22px;
    color: #c23f3f;
    margin: 30px 0 10px;
}

article h3 {
    font-size: 18px;
    color: #c23f3f;
    margin: 20px 0 8px;
}

article p {
    margin-bottom: 15px;
    color: #b8b8b8;
}

article ul,
article ol {
    margin: 15px 0 15px 20px;
    color: #b8b8b8;
}

article li {
    margin-bottom: 8px;
}

/* ================= TABLE ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

table th,
table td {
    border: 1px solid #535353;
    padding: 10px;
    text-align: center;
}

table th {
    background: #810000;
    color: #b8b8b8;
}

/* ================= FOOTER ================= */
/* ================= FOOTER ================= */
.footer-content {
    background-image: url('/styles/pattern.webp');
    border-top: 2px solid #c90000;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MENU FOOTER (KIRI) */
.footer-content .link-1 {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-content .link-1 li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.footer-content .link-1 li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #810000, #ff0000);
    transition: 0.3s;
}

.footer-content .link-1 li a:hover::after {
    width: 100%;
}

/* SOSIAL ICON (KANAN) */
.footer-content .img {
    display: flex;
    gap: 12px;
}

.footer-content .img img {
    width: 34px;
    height: 34px;
    transition: 0.3s ease;
    filter: brightness(0.85);
}

.footer-content .img img:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.2);
}

.tahungokil {
    position: fixed;
    left: 0;
    top: 80%;
    z-index: -1;
    transform: translate(-100%, -50%) rotateZ(-20deg);
    animation: movingdragon linear infinite 40s;
    filter: drop-shadow(1px 1px 5px black);
    width: 800px;
}

@keyframes movingdragon {
    0% {
        transform: translate(-100%, -50%) rotateZ(-20deg);
    }

    40% {
        transform: translate(100vw, -130%)
    }

    55% {
        right: 0;
        left: none;
        top: 60%;
        transform: translate(210%, -50%) scaleX(-1);
    }

    95% {
        right: 0;
        left: none;
        top: 60%;
        transform: translate(-100vw, -50%) scaleX(-1);
    }

}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-content .link {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-content .img {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    article {
        padding: 20px;
    }

    article h1 {
        font-size: 22px;
    }

    article h2 {
        font-size: 18px;
    }

    article h3 {
        font-size: 16px;
    }
}