
/* =========================================================
   ARTICLE STYLE — TEMA SAMURAI JEPANG
   Hitam Arang • Merah Darah • Emas • Katana • Kuil Jepang
========================================================= */

/* =========================
   HEADING UTAMA
========================= */

h1 {
    position: relative;

    margin: 0 0 18px;
    padding-bottom: 16px;

    color: #f8e9c7;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "Hiragino Mincho ProN",
        Georgia,
        serif;

    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;

    background:
        linear-gradient(
            180deg,
            #fff9e9 0%,
            #f0d17a 48%,
            #b67a17 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 3px 7px rgba(0, 0, 0, 0.85),
        0 0 13px rgba(177, 0, 0, 0.22);

    animation: samuraiTitleGlow 4s ease-in-out infinite;
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 145px;
    height: 3px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #9c0000 18%,
            #efcc6c 50%,
            #9c0000 82%,
            transparent
        );

    box-shadow:
        0 0 10px rgba(196, 0, 0, 0.5),
        0 0 12px rgba(223, 181, 70, 0.25);
}

h1 span {
    color: #d81818;

    background:
        linear-gradient(
            180deg,
            #ff6b5e 0%,
            #bd0808 58%,
            #680000 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 12px rgba(212, 0, 0, 0.45),
        0 3px 7px rgba(0, 0, 0, 0.8);
}

/* =========================
   HEADING H2
========================= */

h2 {
    position: relative;

    margin: 32px 0 20px;
    padding: 7px 0 7px 18px;

    color: #f1ddad;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.7px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(173, 0, 0, 0.16);
}

h2::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;

    width: 5px;

    border-radius: 1px;

    background:
        linear-gradient(
            180deg,
            #f2d278 0%,
            #b70000 48%,
            #570000 100%
        );

    box-shadow:
        0 0 9px rgba(194, 0, 0, 0.42),
        0 0 7px rgba(225, 180, 65, 0.2);
}

h2::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;

    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(215, 173, 77, 0.75),
            rgba(157, 0, 0, 0.65),
            transparent
        );
}

/* =========================
   HEADING H3
========================= */

h3 {
    position: relative;

    margin: 22px 0 11px;
    padding-bottom: 7px;

    color: #e8c768;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.75),
        0 0 8px rgba(215, 173, 77, 0.16);
}

h3::after {
    content: "";
    display: block;

    width: 55px;
    height: 2px;
    margin-top: 7px;

    background:
        linear-gradient(
            90deg,
            #a80000,
            #d9ae49,
            transparent
        );
}

/* =========================
   PARAGRAF DAN LIST
========================= */

p {
    margin-bottom: 15px;

    color: #e7ddc9;

    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

li {
    position: relative;

    margin: 0 0 11px 22px;

    color: #e7ddc9;

    line-height: 1.75;
    list-style: none;
}

li::before {
    content: "◆";
    position: absolute;
    top: 1px;
    left: -20px;

    color: #b90000;
    font-size: 10px;

    text-shadow:
        0 0 6px rgba(210, 0, 0, 0.6);
}

/* =========================
   LINK
========================= */

a {
    color: #edca69;

    font-weight: 800;
    text-decoration: none;

    border-bottom:
        1px solid rgba(215, 173, 77, 0.34);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        text-shadow 0.25s ease;
}

a:hover {
    color: #fff1b2;

    border-color: #e6bd56;

    text-shadow:
        0 0 9px rgba(215, 173, 77, 0.32);
}

/* =========================
   HIGHLIGHT BOX
========================= */

.highlight-box {
    position: relative;
    overflow: hidden;

    margin: 30px 0;
    padding: 25px;

    border: 1px solid rgba(215, 173, 77, 0.28);
    border-left: 4px solid #9f0000;
    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            rgba(157, 0, 0, 0.19),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(23, 15, 13, 0.98),
            rgba(8, 8, 8, 0.97)
        );

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.48),
        0 0 18px rgba(155, 0, 0, 0.08),
        inset 0 0 24px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(5px);
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 145px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #a60000,
            #e5bd5d,
            transparent
        );

    box-shadow:
        0 0 10px rgba(190, 0, 0, 0.3);
}

.highlight-box::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -45%;

    width: 24%;
    height: 270%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 240, 193, 0.08),
            transparent
        );

    transform: rotate(26deg);
    pointer-events: none;
}

.highlight-box:hover::after {
    animation: samuraiSlash 1.2s ease;
}

/* =========================
   INFO GRID
========================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;

    margin: 25px 0;
}

/* =========================
   INFO CARD
========================= */

.info-card {
    position: relative;
    overflow: hidden;

    padding: 20px 12px;

    border: 1px solid rgba(215, 173, 77, 0.2);
    border-bottom: 3px solid #920000;
    border-radius: 4px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(137, 0, 0, 0.15),
            transparent 47%
        ),
        rgba(12, 11, 10, 0.95);

    box-shadow:
        0 10px 21px rgba(0, 0, 0, 0.36),
        inset 0 0 18px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.info-card::before {
    content: "";
    position: absolute;
    top: -65%;
    left: -65%;

    width: 30%;
    height: 230%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 239, 187, 0.09),
            transparent
        );

    transform: rotate(24deg);
}

.info-card:hover {
    transform: translateY(-5px);

    border-color: rgba(224, 181, 74, 0.43);
    border-bottom-color: #d7ad4d;

    background:
        linear-gradient(
            145deg,
            rgba(170, 0, 0, 0.24),
            rgba(215, 173, 77, 0.025)
        ),
        rgba(12, 11, 10, 0.98);

    box-shadow:
        0 15px 28px rgba(0, 0, 0, 0.46),
        0 0 16px rgba(159, 0, 0, 0.12);
}

.info-card:hover::before {
    animation: samuraiCardShine 0.9s ease;
}

.info-card .label {
    color: #d7ad4d;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-card .value {
    margin-top: 10px;

    color: #fff2d1;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 18px;
    font-weight: 900;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8),
        0 0 9px rgba(182, 0, 0, 0.18);
}

/* =========================
   FAQ
========================= */

.faq-container {
    margin: 30px 0;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 14px;

    border: 1px solid rgba(215, 173, 77, 0.2);
    border-radius: 4px;

    background:
        linear-gradient(
            145deg,
            rgba(42, 12, 10, 0.96),
            rgba(7, 7, 7, 0.98)
        );

    box-shadow:
        0 10px 23px rgba(0, 0, 0, 0.34),
        inset 0 0 18px rgba(0, 0, 0, 0.24);
}

.faq-question {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;
    padding: 18px 20px;

    border: none;
    border-left: 4px solid #990000;

    color: #f7e9ca;

    background:
        linear-gradient(
            90deg,
            rgba(143, 0, 0, 0.4),
            rgba(45, 13, 10, 0.72),
            rgba(10, 10, 10, 0.88)
        );

    cursor: pointer;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 16px;
    font-weight: 800;
    text-align: left;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.faq-question:hover {
    border-left-color: #e0b653;

    color: #fff2c5;

    background:
        linear-gradient(
            90deg,
            rgba(174, 0, 0, 0.55),
            rgba(74, 33, 13, 0.75),
            rgba(10, 10, 10, 0.9)
        );
}

.faq-question .icon {
    color: #e4bc58;

    font-size: 22px;
    font-weight: 400;

    text-shadow:
        0 0 9px rgba(215, 173, 77, 0.42);

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.faq-question:hover .icon {
    color: #fff0a5;
    transform: rotate(90deg);
}

.faq-answer {
    overflow: hidden;

    max-height: 0;
    padding: 0 20px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 13, 11, 0.98),
            rgba(6, 6, 6, 0.98)
        );

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.faq-answer p {
    margin: 16px 0;

    color: #dfd4bf;
}

.faq-answer.open {
    max-height: 300px;
    padding: 3px 20px;
}

/* =========================
   REVIEWS
========================= */

.reviews-section {
    margin: 40px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;

    margin-top: 25px;
}

.review-card {
    position: relative;
    overflow: hidden;

    padding: 20px;

    border: 1px solid rgba(215, 173, 77, 0.2);
    border-top: 3px solid #970000;
    border-radius: 5px;

    background:
        linear-gradient(
            145deg,
            rgba(123, 0, 0, 0.18),
            transparent 50%
        ),
        rgba(11, 10, 9, 0.96);

    box-shadow:
        0 12px 27px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.27);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.review-card::before {
    content: "侍";
    position: absolute;
    right: 12px;
    bottom: -12px;

    color: rgba(181, 0, 0, 0.09);

    font-family:
        "Noto Serif JP",
        serif;

    font-size: 80px;
    font-weight: 900;
    line-height: 1;

    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);

    border-color: rgba(224, 181, 74, 0.42);
    border-top-color: #d8af4e;

    box-shadow:
        0 17px 31px rgba(0, 0, 0, 0.48),
        0 0 18px rgba(162, 0, 0, 0.12);
}

.review-header {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 12px;
}

.review-name {
    color: #fff0cf;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-weight: 900;
}

.review-stars {
    color: #f1c84f;

    letter-spacing: 2px;

    text-shadow:
        0 0 8px rgba(241, 200, 79, 0.35);
}

.review-text {
    position: relative;
    z-index: 1;

    margin: 10px 0;

    color: #ded2bc;

    font-size: 14px;
    font-style: italic;
    line-height: 1.75;
}

.review-date {
    position: relative;
    z-index: 1;

    display: block;
    margin-top: 10px;

    color: #a99d87;

    font-size: 12px;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    margin: 40px 0 20px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* =========================
   BUTTON
========================= */

.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    min-width: 155px;
    padding: 14px 40px;

    border: 1px solid;
    border-radius: 4px;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.24) 50%,
            transparent 80%
        );

    transform: translateX(-120%);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 4px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;

    pointer-events: none;
}

.btn:hover::before {
    opacity: 1;
    animation: samuraiButtonShine 0.9s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

/* Tombol login emas gelap */
.btn-login {
    color: #e9c767;

    border-color: rgba(215, 173, 77, 0.58);

    background:
        linear-gradient(
            180deg,
            rgba(66, 46, 12, 0.9),
            rgba(10, 8, 4, 0.97)
        );

    box-shadow:
        inset 0 0 16px rgba(215, 173, 77, 0.04),
        0 9px 20px rgba(0, 0, 0, 0.38),
        0 0 13px rgba(215, 173, 77, 0.1);
}

.btn-login:hover {
    color: #fff0aa;

    border-color: #edc85f;

    background:
        linear-gradient(
            180deg,
            rgba(105, 71, 12, 0.94),
            rgba(22, 14, 3, 0.98)
        );

    box-shadow:
        0 13px 24px rgba(0, 0, 0, 0.48),
        0 0 20px rgba(215, 173, 77, 0.2);
}

/* Tombol register merah samurai */
.btn-register {
    color: #fff3dc;

    border-color: rgba(255, 205, 140, 0.3);

    background:
        linear-gradient(
            180deg,
            #d51e1e 0%,
            #a30000 52%,
            #560000 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 11px 22px rgba(79, 0, 0, 0.56),
        0 0 18px rgba(190, 0, 0, 0.22);
}

.btn-register:hover {
    color: #fff8e7;

    background:
        linear-gradient(
            180deg,
            #ee3232 0%,
            #bd0808 50%,
            #710000 100%
        );

    box-shadow:
        0 15px 28px rgba(80, 0, 0, 0.67),
        0 0 26px rgba(215, 0, 0, 0.31);
}

/* =========================
   ANIMASI
========================= */

@keyframes samuraiTitleGlow {
    0%,
    100% {
        filter: brightness(1);

        text-shadow:
            0 3px 7px rgba(0, 0, 0, 0.85),
            0 0 12px rgba(177, 0, 0, 0.2);
    }

    50% {
        filter: brightness(1.08);

        text-shadow:
            0 3px 7px rgba(0, 0, 0, 0.85),
            0 0 18px rgba(206, 0, 0, 0.32),
            0 0 11px rgba(215, 173, 77, 0.18);
    }
}

@keyframes samuraiSlash {
    from {
        left: -45%;
    }

    to {
        left: 135%;
    }
}

@keyframes samuraiCardShine {
    from {
        left: -65%;
    }

    to {
        left: 135%;
    }
}

@keyframes samuraiButtonShine {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 768px) {
    .container {
        padding: 25px 18px;
    }

    .info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

    .info-card .value {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 22px;
        letter-spacing: 0.5px;
    }

    h2 {
        padding-left: 14px;
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    p,
    li {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .highlight-box {
        padding: 20px 15px;
    }

    .faq-question {
        padding: 16px 14px;
        font-size: 14.5px;
    }

    .faq-answer {
        padding: 0 14px;
    }

    .faq-answer.open {
        padding: 3px 14px;
    }

    .review-card {
        padding: 18px 15px;
    }
}

/* =========================
   AKSESIBILITAS ANIMASI
========================= */

@media (prefers-reduced-motion: reduce) {
    h1,
    .highlight-box::after,
    .info-card::before,
    .btn::before {
        animation: none !important;
    }

    .highlight-box,
    .info-card,
    .faq-question,
    .review-card,
    .btn,
    a {
        transition: none;
    }
}

