/* DRAGON222 custom styles - extracted from index.html */

/* --- block 1 --- */
/* KUNCI overflow agar tidak meluber ke kanan */
.preview,
.m-product-preview__glider,
.glide,
.glide__track {
    overflow: hidden !important;
    max-width: 100% !important;
}

/* Biarkan Glide bekerja normal */
.glide__slides {
    display: flex !important; /* jaga-jaga */
    margin: 0 !important;
    /* rollback kalau sebelumnya sempat dipasang: */
    contain: none !important;
}

/* Pastikan gambar terlihat dan tidak “ngecil 0” */
.glide__slide img,
.m-product-preview__glider-img img,
.preview .jsProductMainImage {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Anti scroll horizontal */
html,
body {
    overflow-x: hidden !important;
}

/* --- block 2 --- */
.n-columns-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-weight: 700;
}

.n-columns-2 a {
    text-align: center;
    margin: 3px;
}

.login,
.register {
    color: #fff;
    padding: 10px 10px;
}

.login,
.login-button {
    text-shadow: 2px 2px #0c0f12;
    border-radius: 10px 10px;
    border: 1px solid #000000;
    background: linear-gradient(to bottom, rgb(202 133 6) 0, rgb(202 133 6) 0);
    color: #fff;
}

.register,
.register-button {
    text-shadow: 2px 2px #000000;
    border-radius: 10px 10px;
    background: linear-gradient(to bottom, rgb(202 133 6) 0, rgb(202 133 6) 0);
    border: 1px solid #000000;
}

/* --- block 3 --- */
.overflow-hidden {
    overflow-x: hidden;
    background-color: #ffffff;
}

/* --- block 4 --- */
.btn-x {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    padding: 14px 28px;
    margin: 5px;
    background: rgb(202 133 6);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(194, 0, 0, 0.2);
    cursor: pointer;
}

.btn-x:hover {
    background: #d6d6d6;
}

.right-rail:empty,
.sidebar:empty,
.product__aside:empty {
    display: none !important;
}

.page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* --- block 5 --- */
@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }

    .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
    border: none;
    text-align: center;
    outline: none;
    transition: 0.3s;
    }

    .faq-question:hover {
    background: rgb(202 133 6);
    }

    .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 18px;
    color: #d0d0d0;
    line-height: 1.6;
    text-align: left;
}

.faq-question.active + .faq-answer,
.active + .faq-answer {
    max-height: 320px;
    padding: 14px 18px;
}

    .grad-text {
    background: linear-gradient(90deg, #c9c8c1, #bebebe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback */
    font-weight: bold;
    }

/* --- block 6 --- */
@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }

    #mw-info-box {
    font-family: "Segoe UI", Arial, sans-serif;
    }

    /* PAKSA SEMUA TEKS DI DALAM BOX JADI PUTIH + FULL OPACITY */
    #mw-info-box,
    #mw-info-box * {
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
    }

    /* khusus teks gradient (judul/brand) tetap gradient */
    #mw-info-box .grad-text {
    background: linear-gradient(90deg, #c9c2c2, #cfcfcf) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 800 !important;
    }

    /* hover row (lebih halus) */
    #mw-info-box .table-hover tr:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    transition: 0.25s ease;
    }

    /* garis tabel */
    #mw-info-box td {
    border-color: rgba(255, 255, 255, 0.14) !important;
    }

/* --- block 7 --- */
/* ===== LAYOUT 2 KOLOM ===== */
    .mw-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    }
    .mw-left,
    .mw-right {
    flex: 1;
    min-width: 0;
    }
    @media (max-width: 900px) {
    .mw-layout {
    flex-direction: column;
    }
    }

    /* ===== BOX REVIEW ===== */
    @keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }
    .mw-review-box {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.85), rgba(0, 0, 0, 0.85));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 20px;
    color: #e5e5e5;
    animation: fadeIn 1s ease;
    height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    }
    .mw-review-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    padding: 14px;
    background: linear-gradient(135deg, rgb(202 133 6), rgb(202 133 6));
    border-radius: 12px;
    margin-bottom: 20px;
    color: #d6d6d6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* ===== CARD ===== */
    .review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;

    display: flex;
    gap: 16px;
    align-items: flex-start;

    transition: 0.35s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    .review-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgb(202 133 6);
    }

    /* ===== AVATAR (FIX BULAT ANTI-KE-TARIK) ===== */
    .review-avatar {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    flex: 0 0 56px !important;

    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: linear-gradient(145deg, rgb(202 133 6), rgb(202 133 6)) !important;
    color: #fff !important;

    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }

    /* ===== TEXT ===== */
    .review-name {
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(90deg, #c9c8c1, #bebebe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 6px;
    }
    .review-text {
    font-size: 14px;
    color: #eaeaea;
    line-height: 1.5;
    }
    .mw-footer {
    text-align: center;
    padding-top: 12px;
    margin-top: 6px;
    font-size: 13px;
    color: #ccc;
    }

/* --- block 8 --- */
.generator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    }

    .machine {
    background: radial-gradient(
    circle at -4% -12.9%,
    rgb(202 133 6) 40%,
    rgb(202 133 6) 90%
    );
    border-radius: 16px;
    width: 380px;
    text-align: center;
    padding: 20px 15px 25px;
    color: rgb(202 133 6);
    position: relative;
    box-shadow: 0 0 25px rgb(202 133 6);
    font-family: "Orbitron", sans-serif;
    }

    .machine h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 6px #cbcbcb;
    }

    .display {
    background: #0a0a0a;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    box-shadow: inset 0 0 10px rgba(255, 230, 0, 0.2);
    }

    .ball {
    width: 60px;
    height: 60px;
    background: radial-gradient(
    circle at 30% 30%,
    rgb(202 133 6),
    rgb(202 133 6)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    box-shadow:
    0 0 8px #000000,
    inset -3px -3px 6px rgba(255 255 255 / 40%),
    inset 3px 3px 6px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 4px #ffffff;
    transition: transform 0.3s ease;
    }

    .ball.spin {
    animation: roll 0.4s ease infinite;
    }

    @keyframes roll {
    0% {
    transform: rotateY(0deg) scale(1);
    }
    50% {
    transform: rotateY(180deg) scale(1.1);
    }
    100% {
    transform: rotateY(360deg) scale(1);
    }
    }

    #generate-btn {
    margin-top: 18px;
    background: linear-gradient(to right, #000000, #000000);
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgb(202 133 6);
    font-family: "Orbitron", sans-serif;
    }

    #generate-btn:hover {
    background: linear-gradient(to right, #121010, #211f1f);
    transform: translateY(-2px);
    box-shadow: 0 0 15px #ffffff;
    }

/* --- block 9 --- */
/* ========================
    WRAPPER
    ======================== */
    .testi-tentoto-wrap {
    max-width: 900px;
    margin: 40px auto;
    border-radius: 20px;
    background: rgba(3, 10, 24, 0.9);
    border: 1px solid rgba(255, 251, 0, 0.4);
    box-shadow:
    0 0 30px rgb(202 133 6),
    inset 0 0 18px rgba(246, 255, 0, 0.22);
    overflow: hidden;
    position: relative;
    font-family: "Orbitron", sans-serif;
    }

    /* Laser Border Animation */
    .testi-tentoto-wrap::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: conic-gradient(
    from 0deg,
    rgba(246, 255, 0, 0.1),
    rgba(0, 15255, 200, 0.6),
    rgba(0, 255, 220, 0.45),
    rgba(246, 255, 0, 0.1)
    );
    filter: blur(12px);
    animation: spinBorder 12s linear infinite;
    z-index: -1;
    }

    @keyframes spinBorder {
    to {
    transform: rotate(360deg);
    }
    }

    /* ========================
    TITLE
    ======================== */
    .testi-title {
    font-size: 1.4rem;
    text-align: center;
    padding: 20px 10px;
    color: #feffc9;
    text-shadow: 0 0 12px #e6e33e;
    border-bottom: 1px solid rgba(246, 255, 0, 0.3);
    }

    /* ========================
    SCROLL SECTION
    ======================== */
    .testi-scroll {
    max-height: 340px;
    overflow: hidden;
    }

    .testi-inner {
    animation: scrollTesti 14s linear infinite;
    }

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

    /* ========================
    ITEM
    ======================== */
    .testi-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid rgba(246, 255, 0, 0.15);
    }

    /* Avatar anime glow */
    .testi-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgb(202 133 6);
    box-shadow:
    0 0 15px rgb(202 133 6),
    0 0 30px rgba(246, 255, 0, 0.7),
    inset 0 0 14px rgba(246, 255, 0, 0.4);
    }

    /* Text */
    .testi-name {
    font-size: 1rem;
    color: #ffff7e;
    text-shadow: 0 0 6px #dbdb27;
    margin-bottom: 4px;
    }

    .testi-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #d2faff;
    }

    .star-rating i,
    .star-rating {
    color: rgb(202 133 6);
    text-shadow: 0 0 12px rgb(202 133 6);
    font-size: 1rem;
    margin-bottom: 6px;
    }

/* --- block 10 --- */
/* === FOOTER DRAGON222 PANDUANGAMING TEMA DRAGON222 NEON === */
    .DRAGON222-fixed-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 8px;
        padding: 12px 0;
        background: linear-gradient(180deg, #000000 0%, #000000 100%);
        border-top: 2px solid rgba(0, 0, 0, 0.5);
        box-shadow:
    0 -3px 18px rgb(202 133 6),
    inset 0 0 12px rgb(202 133 6);
        border-radius: 20px 20px 0 0;
        font-family: "Poppins", "Segoe UI", sans-serif;
        color: #eaffef;
    }

    /* === Tombol Footer === */
    .DRAGON222-fixed-footer a {
        flex: 1;
        max-width: 90px;
        text-align: center;
        text-decoration: none;
        color: rgb(202 133 6);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        font-weight: 600;
        text-shadow:
    0 0 6px rgb(202 133 6),
    0 0 12px rgb(202 133 6);
        transition: all 0.25s ease-in-out;
    }

    /* Hover efek */
    .DRAGON222-fixed-footer a:hover {
        color: #ffffff;
        transform: translateY(-6px) scale(1.1);
        text-shadow:
    0 0 10px rgb(202 133 6),
    0 0 15px rgb(202 133 6),
    0 0 20px rgb(202 133 6);
    }

    /* === Ikon tombol === */
    .DRAGON222-fixed-footer img {
        width: 26px;
        height: 26px;
        filter: drop-shadow(0 0 5px rgb(202 133 6));
        transition:
    transform 0.3s ease,
    filter 0.3s ease;
    }

    .DRAGON222-fixed-footer a:hover img {
        transform: scale(1.25);
        filter: drop-shadow(0 0 10px rgb(202 133 6)) drop-shadow(0 0 10px rgb(202 133 6));
    }

    /* === Tombol Tengah (Spesial: Daftar) === */
    .DRAGON222-fixed-footer .tada {
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
        border-radius: 50%;
        padding: 8px;
        transform: scale(1.2);
        animation: neonGlow 2.5s infinite alternate;
    }

    @keyframes neonGlow {
        0% {
    box-shadow:
    0 0 6px rgb(202 133 6),
    0 0 12px rgb(202 133 6);
        }
        25% {
    box-shadow:
    0 0 12px rgb(202 133 6),
    0 0 20px rgb(202 133 6);
        }
        50% {
    box-shadow:
    0 0 14px rgb(202 133 6),
    0 0 25px rgb(202 133 6);
        }
        75% {
    box-shadow:
    0 0 18px rgb(202 133 6),
    0 0 30px rgb(202 133 6);
        }
        100% {
    box-shadow:
    0 0 6px rgb(202 133 6),
    0 0 12px rgb(202 133 6);
        }
    }

    /* Klik efek */
    .DRAGON222-fixed-footer a:active {
        transform: scale(0.95);
        opacity: 0.85;
    }

    /* === Responsif untuk layar kecil === */
    @media (max-width: 500px) {
        .DRAGON222-fixed-footer {
    padding: 8px 0;
    border-radius: 16px 16px 0 0;
        }

        .DRAGON222-fixed-footer a {
    font-size: 11px;
        }

        .DRAGON222-fixed-footer img {
    width: 22px;
    height: 22px;
        }
    }

/* --- popup overlay --- */
.DRAGON222-popup-overlay {
    position: fixed;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #00000088;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.DRAGON222-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.DRAGON222-popup-banner {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 12px rgb(250, 250, 250);
    margin-bottom: 16px;
}

.DRAGON222-popup-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-bottom: 16px;
}

.DRAGON222-popup-btn {
    flex: 1;
    background: linear-gradient(to right, #c98405, #c98405);
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Segoe UI", sans-serif;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.DRAGON222-popup-title {
    color: white;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.DRAGON222-popup-footer {
    margin-top: 16px;
    font-size: 12px;
    color: #f8f7f7;
}

.DRAGON222-popup-footer span {
    color: #faf9f9;
}

/* ============================================================
   Layout polish — tampilan rapi tanpa ubah konten
   ============================================================ */

.u-hidden {
    display: none !important;
}

body {
    padding-bottom: 88px;
}

/* Konten artikel */
.m-design-details__description-text {
    line-height: 1.75;
    max-width: 850px;
}

.m-design-details h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1.4;
}

/* FAQ box */
.dragon-faq-box {
    max-width: 850px;
    margin: 40px auto;
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.85), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
    font-family: "Segoe UI", Arial, sans-serif;
    color: #e5e5e5;
    animation: fadeIn 1s ease;
}

.dragon-faq-box__header {
    text-align: center;
    padding: 18px;
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, rgb(202 133 6), rgb(202 133 6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffcc64;
}

.dragon-faq-box__content {
    padding: 10px 0;
}

.dragon-faq-box__footer {
    text-align: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: #ccc;
}

/* Info box */
#mw-info-box {
    max-width: 850px;
    margin: 40px auto 0;
    background: linear-gradient(145deg, #3b3200, #0e0000);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease;
}

.mw-info-box__header {
    padding: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, rgb(202 133 6), rgb(202 133 6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mw-info-table {
    width: 100%;
    border-collapse: collapse;
}

.mw-info-table td {
    padding: 14px 18px;
    vertical-align: middle;
}

.mw-info-table td:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 600;
    width: 42%;
}

.mw-info-box__footer {
    text-align: center;
    padding: 12px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #161300, #2b2700);
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-guarantee-img {
    width: 50%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

.tray-logo-img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Generator responsif */
@media (max-width: 480px) {
    .machine {
        width: 100%;
        max-width: 380px;
    }

    .ball {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    #generate-btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .dragon-faq-box__header,
    .mw-info-box__header {
        font-size: 18px;
        padding: 14px;
    }

    .faq-question {
        font-size: 15px;
        padding: 14px 12px;
    }
}

@media (max-width: 768px) {
    .btn-x {
        min-width: 140px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

