
/* =========================================================
   ARTIKEL MAWARTOTO — TEMA SAMURAI JEPANG
   Sesuai dengan struktur HTML:
   article.lx-container > .container
========================================================= */

:root {
    --lx-bg: #050505;
    --lx-bg-deep: #000000;

    --lx-card: rgba(18, 13, 11, 0.97);
    --lx-card-light: rgba(34, 18, 15, 0.96);

    --lx-text: #f8efdc;
    --lx-muted: #d8ccb5;

    --lx-red: #a60000;
    --lx-red-light: #e02b2b;
    --lx-red-dark: #4e0000;

    --lx-gold: #d7ad4d;
    --lx-gold-light: #f2d47d;
    --lx-gold-dark: #87570c;

    --lx-border: rgba(215, 173, 77, 0.28);
    --lx-border-red: rgba(190, 0, 0, 0.38);

    --lx-radius: 6px;

    --lx-shadow:
        0 18px 40px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(150, 0, 0, 0.09);
}

/* =========================================================
   ARTICLE UTAMA
========================================================= */

article.lx-container {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    max-width: 1425px;
    min-height: 1px;

    margin: 30px auto;
    padding: 0 16px;

    overflow: visible;

    color: var(--lx-text);

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "Hiragino Mincho ProN",
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.8;
    letter-spacing: 0.2px;

    visibility: visible;
    opacity: 1;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Background utama artikel */
article.lx-container::before {
    content: "";
    position: absolute;
    inset: -20px 0;
    z-index: -2;

    border: 1px solid rgba(215, 173, 77, 0.17);
    border-radius: 8px;

    background:
        radial-gradient(
            circle at 88% 7%,
            rgba(190, 0, 0, 0.4) 0 5%,
            rgba(113, 0, 0, 0.14) 6%,
            transparent 23%
        ),
        radial-gradient(
            ellipse at 10% 85%,
            rgba(255, 255, 255, 0.035),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #020202 0%,
            #140504 48%,
            #080706 76%,
            #000000 100%
        );

    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.62),
        0 0 30px rgba(148, 0, 0, 0.13),
        inset 0 0 45px rgba(0, 0, 0, 0.42);

    pointer-events: none;
}

/* Matahari Jepang */
article.lx-container::after {
    content: "";
    position: absolute;
    top: -130px;
    right: -70px;
    z-index: -1;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(195, 0, 0, 0.1) 0deg 7deg,
            transparent 7deg 15deg
        );

    opacity: 0.8;
    pointer-events: none;

    animation: articleSamuraiSun 55s linear infinite;
}

/* =========================================================
   CONTAINER DALAM
========================================================= */

article.lx-container > .container {
    position: relative;
    z-index: 3;

    display: block;

    width: 100%;
    min-height: 1px;

    margin: 0;
    padding: 30px;

    overflow: visible;

    border: 1px solid rgba(215, 173, 77, 0.16);
    border-radius: var(--lx-radius);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.02),
            transparent 35%
        ),
        rgba(8, 7, 6, 0.72);

    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.3);

    visibility: visible;
    opacity: 1;
}

/* Garis katana bagian atas */
article.lx-container > .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 190px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--lx-red),
            var(--lx-gold-light),
            transparent
        );

    box-shadow:
        0 0 12px rgba(191, 0, 0, 0.42),
        0 0 10px rgba(215, 173, 77, 0.18);

    pointer-events: none;
}

/* =========================================================
   JUDUL UTAMA
========================================================= */

article.lx-container h1 {
    position: relative;
    z-index: 3;

    margin: 0 0 18px;
    padding: 0 0 17px;

    color: #f7e6be;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "Hiragino Mincho ProN",
        Georgia,
        serif;

    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.8px;
    text-align: center;

    background:
        linear-gradient(
            180deg,
            #fffdf4 0%,
            #f1d784 48%,
            #b87a16 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 3px 7px rgba(0, 0, 0, 0.9),
        0 0 14px rgba(188, 0, 0, 0.25);

    animation: articleTitleGlow 4s ease-in-out infinite;
}

article.lx-container h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 145px;
    height: 3px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--lx-red) 17%,
            var(--lx-gold-light) 50%,
            var(--lx-red) 83%,
            transparent
        );

    box-shadow:
        0 0 11px rgba(196, 0, 0, 0.46),
        0 0 10px rgba(215, 173, 77, 0.22);
}

article.lx-container h1 a {
    color: inherit;

    border: none;

    background:
        linear-gradient(
            180deg,
            #ff6969 0%,
            #c60808 58%,
            #690000 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-decoration: none;

    text-shadow:
        0 0 12px rgba(205, 0, 0, 0.38);
}

/* =========================================================
   GOLD DIVIDER
========================================================= */

.gold-divider {
    position: relative;
    z-index: 3;

    width: 210px;
    height: 3px;

    margin: 0 auto 28px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #8f0000 15%,
            #f0cf72 50%,
            #8f0000 85%,
            transparent
        );

    box-shadow:
        0 0 10px rgba(215, 173, 77, 0.28),
        0 0 14px rgba(175, 0, 0, 0.2);
}

/* =========================================================
   HEADING H2
========================================================= */

article.lx-container h2 {
    position: relative;
    z-index: 3;

    margin: 35px 0 20px;
    padding: 7px 0 7px 18px;

    color: #efd89d;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        Georgia,
        serif;

    font-size: 27px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.5px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(172, 0, 0, 0.15);
}

article.lx-container h2::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;

    width: 5px;

    background:
        linear-gradient(
            180deg,
            var(--lx-gold-light),
            var(--lx-red),
            var(--lx-red-dark)
        );

    box-shadow:
        0 0 10px rgba(190, 0, 0, 0.36),
        0 0 8px rgba(215, 173, 77, 0.16);
}

article.lx-container h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;

    width: 105px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--lx-gold),
            var(--lx-red),
            transparent
        );
}

/* =========================================================
   PARAGRAF DAN LINK
========================================================= */

article.lx-container p {
    position: relative;
    z-index: 3;

    margin: 0 0 16px;

    color: var(--lx-muted);

    font-size: 16px;
    line-height: 1.85;
    text-align: justify;

    visibility: visible;
    opacity: 1;
}

article.lx-container a {
    color: var(--lx-gold-light);

    font-weight: 800;
    text-decoration: none;

    border-bottom:
        1px solid rgba(215, 173, 77, 0.36);

    transition:
        color 0.24s ease,
        border-color 0.24s ease,
        text-shadow 0.24s ease;
}

article.lx-container a:hover {
    color: #fff1b4;

    border-color: var(--lx-gold-light);

    text-shadow:
        0 0 9px rgba(215, 173, 77, 0.28);
}

/* =========================================================
   INFO GRID
========================================================= */

.info-grid {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 15px;

    width: 100%;

    margin: 25px 0 30px;

    visibility: visible;
    opacity: 1;
}

/* =========================================================
   INFO CARD
========================================================= */

.info-card {
    position: relative;
    z-index: 3;

    display: block;
    overflow: hidden;

    min-width: 0;
    padding: 20px 12px;

    border: 1px solid rgba(215, 173, 77, 0.22);
    border-bottom: 3px solid var(--lx-red);
    border-radius: 4px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(153, 0, 0, 0.17),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            rgba(25, 14, 12, 0.97),
            rgba(8, 7, 6, 0.98)
        );

    box-shadow:
        0 11px 23px rgba(0, 0, 0, 0.37),
        inset 0 0 20px rgba(0, 0, 0, 0.28);

    visibility: visible;
    opacity: 1;

    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: -70%;

    width: 30%;
    height: 230%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 240, 192, 0.1),
            transparent
        );

    transform: rotate(24deg);
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-5px);

    border-color: rgba(232, 194, 95, 0.46);
    border-bottom-color: var(--lx-gold);

    background:
        linear-gradient(
            145deg,
            rgba(180, 0, 0, 0.25),
            rgba(215, 173, 77, 0.025)
        ),
        rgba(11, 9, 8, 0.98);

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.47),
        0 0 17px rgba(165, 0, 0, 0.12);
}

.info-card:hover::before {
    animation: articleCardShine 0.9s ease;
}

.info-card .label {
    position: relative;
    z-index: 2;

    color: var(--lx-gold);

    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.info-card .value {
    position: relative;
    z-index: 2;

    margin-top: 10px;

    color: #fff1cf;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.45;
    overflow-wrap: anywhere;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8),
        0 0 9px rgba(177, 0, 0, 0.17);
}

/* =========================================================
   HIGHLIGHT BOX / ISI ARTIKEL
========================================================= */

.highlight-box {
    position: relative;
    z-index: 3;

    display: block;
    overflow: visible;

    width: 100%;
    min-height: 1px;

    margin: 30px 0;
    padding: 28px;

    border: 1px solid rgba(215, 173, 77, 0.3);
    border-left: 4px solid var(--lx-red);
    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            rgba(158, 0, 0, 0.18),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(25, 15, 13, 0.98),
            rgba(7, 7, 6, 0.98)
        );

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.48),
        0 0 19px rgba(153, 0, 0, 0.08),
        inset 0 0 25px rgba(0, 0, 0, 0.29);

    visibility: visible;
    opacity: 1;
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 160px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--lx-red),
            var(--lx-gold-light),
            transparent
        );

    box-shadow:
        0 0 11px rgba(190, 0, 0, 0.32);

    pointer-events: none;
}

/* Semua isi box harus tampil */
.highlight-box > * {
    position: relative;
    z-index: 3;

    visibility: visible;
    opacity: 1;
}

/* H1 kedua dalam artikel */
.highlight-box h1 {
    margin-top: 0;
    font-size: 27px;
}

/* =========================================================
   REVIEWS GRID
========================================================= */

.reviews-grid {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;

    width: 100%;

    margin-top: 25px;

    visibility: visible;
    opacity: 1;
}

/* =========================================================
   REVIEW CARD
========================================================= */

.review-card {
    position: relative;
    z-index: 3;

    display: block;
    overflow: hidden;

    min-width: 0;
    padding: 20px;

    border: 1px solid rgba(215, 173, 77, 0.21);
    border-top: 3px solid var(--lx-red);
    border-radius: 5px;

    background:
        linear-gradient(
            145deg,
            rgba(136, 0, 0, 0.18),
            transparent 52%
        ),
        linear-gradient(
            145deg,
            rgba(21, 13, 11, 0.98),
            rgba(7, 7, 6, 0.98)
        );

    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.4),
        inset 0 0 21px rgba(0, 0, 0, 0.27);

    visibility: visible;
    opacity: 1;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.review-card::before {
    content: "侍";
    position: absolute;
    right: 10px;
    bottom: -12px;
    z-index: 0;

    color: rgba(180, 0, 0, 0.08);

    font-size: 82px;
    font-weight: 900;
    line-height: 1;

    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);

    border-color: rgba(226, 186, 84, 0.43);
    border-top-color: var(--lx-gold);

    box-shadow:
        0 18px 33px rgba(0, 0, 0, 0.49),
        0 0 18px rgba(160, 0, 0, 0.12);
}

.review-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 12px;
}

.review-name {
    color: #fff0ce;

    font-size: 16px;
    font-weight: 900;
}

.review-stars {
    color: #f2c84e;

    letter-spacing: 2px;

    text-shadow:
        0 0 8px rgba(242, 200, 78, 0.34);
}

article.lx-container .review-text {
    position: relative;
    z-index: 2;

    margin: 10px 0;

    color: #ded2bc;

    font-size: 14px;
    font-style: italic;
    line-height: 1.75;
    text-align: left;
}

.review-date {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 10px;

    color: #a99d87;

    font-size: 12px;
}

/* =========================================================
   FOOTER ARTIKEL
========================================================= */

article.lx-container .container > div[style*="border-top"] {
    position: relative;
    z-index: 3;

    color: #b89c62 !important;

    border-top-color:
        rgba(215, 173, 77, 0.32) !important;

    letter-spacing: 0.4px;
}

/* =========================================================
   PERLINDUNGAN AGAR ARTIKEL TIDAK HILANG
========================================================= */

article.lx-container,
article.lx-container > .container,
article.lx-container h1,
article.lx-container h2,
article.lx-container p,
article.lx-container div,
article.lx-container span,
.info-grid,
.info-card,
.highlight-box,
.reviews-grid,
.review-card {
    height: auto;
    min-height: 0;

    visibility: visible !important;
    opacity: 1 !important;
}

article.lx-container,
article.lx-container > .container,
.highlight-box {
    overflow: visible !important;
}

/* Pseudo-element selalu berada di belakang konten */
article.lx-container::before,
article.lx-container::after,
article.lx-container > .container::before,
.highlight-box::before,
.info-card::before,
.review-card::before {
    pointer-events: none;
}

/* =========================================================
   ANIMASI
========================================================= */

@keyframes articleSamuraiSun {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes articleTitleGlow {
    0%,
    100% {
        filter: brightness(1);

        text-shadow:
            0 3px 7px rgba(0, 0, 0, 0.9),
            0 0 13px rgba(180, 0, 0, 0.21);
    }

    50% {
        filter: brightness(1.07);

        text-shadow:
            0 3px 7px rgba(0, 0, 0, 0.9),
            0 0 20px rgba(207, 0, 0, 0.32),
            0 0 10px rgba(215, 173, 77, 0.16);
    }
}

@keyframes articleCardShine {
    from {
        left: -70%;
    }

    to {
        left: 135%;
    }
}

/* =========================================================
   RESPONSIVE LAPTOP
========================================================= */

@media (max-width: 1100px) {
    .info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 768px) {
    article.lx-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    article.lx-container > .container {
        padding: 24px 18px;
    }

    article.lx-container h1 {
        font-size: 25px;
    }

    .highlight-box h1 {
        font-size: 23px;
    }

    article.lx-container h2 {
        font-size: 22px;
    }

    .info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        padding: 22px 18px;
    }

    .info-card .value {
        font-size: 15px;
    }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 480px) {
    article.lx-container {
        padding: 0 8px;
    }

    article.lx-container::before {
        inset: -10px 2px;
    }

    article.lx-container > .container {
        padding: 20px 12px;
    }

    article.lx-container h1 {
        font-size: 21px;
        letter-spacing: 0.3px;
    }

    .highlight-box h1 {
        font-size: 20px;
    }

    article.lx-container h2 {
        padding-left: 14px;
        font-size: 19px;
    }

    article.lx-container p {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .gold-divider {
        width: 150px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 18px 12px;
    }

    .highlight-box {
        margin: 24px 0;
        padding: 20px 14px;
    }

    .review-card {
        padding: 18px 15px;
    }

    .review-header {
        align-items: flex-start;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    article.lx-container::after,
    article.lx-container h1,
    .info-card::before {
        animation: none !important;
    }

    .info-card,
    .review-card,
    article.lx-container a {
        transition: none;
    }
}

