/* ============================================
   GUDANGSLOT88 - style.css
   Tema: Ungu Menyala + Gold
============================================ */

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    background: #08000f;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== BG EFFECT ===== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at top,    rgba(138,43,226,.20) 0%, transparent 55%),
        radial-gradient(ellipse at bottom, rgba(75,0,130,.15)   0%, transparent 55%),
        radial-gradient(ellipse at right,  rgba(148,0,211,.10)  0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== HEADER ===== */
.hdr {
    position: sticky; top: 0; z-index: 999;
    background: linear-gradient(135deg, #0d0020, #1a0035, #0d0020);
    border-bottom: 1px solid rgba(138,43,226,.4);
    box-shadow: 0 2px 25px rgba(138,43,226,.35);
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
}
.hdr-logo img { height: 44px; }
.hdr-nav {
    display: flex; gap: 8px;
    align-items: center;
}
.btn-login {
    padding: 8px 16px;
    background: transparent;
    color: #bf7fff;
    border: 1.5px solid #bf7fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .8px;
}
.btn-daftar {
    padding: 8px 16px;
    background: linear-gradient(135deg, #7b00ff, #bf7fff);
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .8px;
    box-shadow: 0 0 18px rgba(123,0,255,.5);
}

/* ===== MARQUEE ===== */
.mq {
    background: linear-gradient(90deg, #0a0018, #15002e, #0a0018);
    padding: 7px 0; overflow: hidden;
    border-bottom: 1px solid rgba(138,43,226,.25);
    position: relative; z-index: 1;
}
.mq-inner {
    display: flex; white-space: nowrap;
    animation: mqAnim 28s linear infinite;
}
.mq-inner span {
    color: #bf7fff; font-size: 12px;
    font-weight: 600; padding: 0 28px;
    letter-spacing: .5px;
}
@keyframes mqAnim {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== LIVE WIN BAR ===== */
.live-bar {
    background: linear-gradient(90deg, #0d0020, #1a0035);
    padding: 8px 0;
    border-bottom: 1px solid rgba(138,43,226,.2);
    overflow: hidden;
    position: relative; z-index: 1;
}
.live-bar-inner {
    display: flex; gap: 40px;
    white-space: nowrap;
    animation: mqAnim 25s linear infinite;
}
.live-item {
    font-size: 11px; color: #bf7fff;
    font-weight: 600; flex-shrink: 0;
}
.live-item .name  { color: #ffd700; }
.live-item .amount { color: #00ff88; font-weight: 800; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: linear-gradient(135deg, #0d0020, #1a0035);
    border-bottom: 1px solid rgba(138,43,226,.2);
    display: flex;
    position: relative; z-index: 1;
}
.stat-item {
    flex: 1; text-align: center;
    padding: 14px 10px;
    border-right: 1px solid rgba(138,43,226,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 16px; font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255,215,0,.5);
}
.stat-label {
    font-size: 9px; color: rgba(191,127,255,.7);
    letter-spacing: .5px; margin-top: 3px;
    text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
    position: relative; z-index: 1;
    padding: 24px 18px;
    background: linear-gradient(135deg, #0a0018, #150028, #0a0018);
    border-bottom: 1px solid rgba(138,43,226,.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-img-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 20px auto;
}
.hero-img-wrap img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    border: 2px solid rgba(138,43,226,.6);
    box-shadow:
        0 0 30px rgba(123,0,255,.5),
        0 0 60px rgba(123,0,255,.2),
        inset 0 0 20px rgba(123,0,255,.1);
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7b00ff, #bf7fff);
    color: #fff; font-size: 11px; font-weight: 800;
    padding: 5px 16px; border-radius: 20px;
    margin-bottom: 12px; letter-spacing: .8px;
    box-shadow: 0 0 15px rgba(123,0,255,.5);
}
.hero-title {
    font-size: 24px; font-weight: 900;
    color: #fff; line-height: 1.35;
    margin-bottom: 10px;
    text-align: center;
    width: 100%; max-width: 480px;
    text-shadow: 0 0 20px rgba(123,0,255,.5);
}
.hero-title span { color: #bf7fff; }
.hero-title .gold { color: #ffd700; }
.hero-sub {
    font-size: 13px;
    color: rgba(191,127,255,.8);
    margin-bottom: 14px;
    line-height: 1.7;
    text-align: center;
    width: 100%; max-width: 480px;
}
.rating-row {
    display: flex; align-items: center;
    justify-content: center;
    gap: 8px; margin-bottom: 14px;
    width: 100%; max-width: 480px;
}
.stars { color: #ffd700; font-size: 16px; }
.r-val { color: #ffd700; font-size: 14px; font-weight: 900; }
.r-cnt { color: rgba(255,215,0,.6); font-size: 12px; }
.hero-price {
    font-size: 26px; font-weight: 900;
    color: #ffd700; margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 16px rgba(255,215,0,.5);
}
.hero-price s {
    font-size: 14px; color: rgba(255,215,0,.4);
    font-weight: 400; margin-left: 8px;
}

/* ===== CTA BUTTONS CENTER ===== */
.cta-center {
    display: flex; gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    width: 100%;
    max-width: 480px;
}
.btn-purple {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #7b00ff, #9d4edd, #7b00ff);
    color: #fff; font-weight: 900;
    font-size: 14px; letter-spacing: 1.2px;
    border-radius: 12px; text-decoration: none;
    box-shadow:
        0 0 25px rgba(123,0,255,.6),
        inset 0 1px 0 rgba(255,255,255,.2);
    border: 1px solid rgba(191,127,255,.5);
}
.btn-outline-purple {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: #bf7fff; font-weight: 800;
    font-size: 14px; letter-spacing: 1.2px;
    border-radius: 12px; text-decoration: none;
    border: 2px solid rgba(191,127,255,.6);
}

/* ===== PROVIDER LOGOS ===== */
.providers {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 8px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0a0018, #120020);
    border-bottom: 1px solid rgba(138,43,226,.2);
    position: relative; z-index: 1;
}
.provider-badge {
    padding: 6px 14px;
    background: rgba(123,0,255,.15);
    border: 1px solid rgba(138,43,226,.3);
    border-radius: 6px;
    color: rgba(191,127,255,.8);
    font-size: 11px; font-weight: 700;
    letter-spacing: .5px;
}

/* ===== MAIN CONTENT ===== */
.wrap {
    position: relative; z-index: 1;
    padding: 22px 18px 0;
    max-width: 960px;
    margin: 0 auto;
}

/* Section Title */
.sec-ttl {
    font-size: 16px; font-weight: 900;
    color: #bf7fff;
    border-left: 4px solid #7b00ff;
    padding-left: 12px; margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(123,0,255,.4);
    display: flex; align-items: center; gap: 8px;
}

/* KW Cards */
.kw-card {
    background: linear-gradient(135deg,
        rgba(123,0,255,.10), rgba(75,0,130,.07));
    border: 1px solid rgba(138,43,226,.25);
    border-radius: 16px; padding: 22px;
    margin-bottom: 18px;
}
.kw-card h2 {
    font-size: 17px; font-weight: 900;
    color: #bf7fff; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}
.kw-card h2 .ico { font-size: 20px; }
.kw-card p {
    font-size: 13.5px; line-height: 1.95;
    color: rgba(220,190,255,.85);
    margin-bottom: 12px;
}
.kw-card p:last-child { margin-bottom: 0; }
.kw-card strong { color: #bf7fff; }
.kw-card .gold  { color: #ffd700; }

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(138,43,226,.6), transparent);
    margin: 24px 0;
    box-shadow: 0 0 8px rgba(123,0,255,.3);
}

/* ===== FEATURE BOXES ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px; margin-bottom: 24px;
}
.feature-box {
    background: linear-gradient(135deg,
        rgba(123,0,255,.12), rgba(75,0,130,.08));
    border: 1px solid rgba(138,43,226,.25);
    border-radius: 12px; padding: 16px;
    text-align: center;
}
.feature-box .fi { font-size: 28px; margin-bottom: 8px; }
.feature-box .ft {
    font-size: 12px; font-weight: 800;
    color: #bf7fff; margin-bottom: 4px;
}
.feature-box .fd {
    font-size: 11px; color: rgba(220,190,255,.65);
    line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-wrap { margin-bottom: 24px; }
.faq-item {
    background: linear-gradient(135deg,
        rgba(123,0,255,.10), rgba(75,0,130,.06));
    border: 1px solid rgba(138,43,226,.22);
    border-radius: 12px; margin-bottom: 10px;
    overflow: hidden;
}
.faq-q {
    display: flex; justify-content: space-between;
    align-items: center; padding: 15px 16px;
    cursor: pointer; color: #fff;
    font-weight: 700; font-size: 13px;
    gap: 10px;
}
.faq-ico {
    width: 26px; height: 26px; flex-shrink: 0;
    background: rgba(123,0,255,.2);
    border-radius: 50%;
    display: flex; align-items: center;
    justify-content: center;
    color: #bf7fff; font-size: 16px;
    transition: all .3s;
}
.faq-a {
    display: none; padding: 0 16px 15px;
    font-size: 13px; line-height: 1.85;
    color: rgba(220,190,255,.8);
}
.faq-item.open .faq-a  { display: block; }
.faq-item.open .faq-ico {
    background: rgba(123,0,255,.35);
}

/* ===== REVIEWS ===== */
.rev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 24px;
}
.rev-card {
    background: linear-gradient(135deg,
        rgba(123,0,255,.10), rgba(75,0,130,.06));
    border: 1px solid rgba(138,43,226,.2);
    border-radius: 12px; padding: 14px;
}
.rev-head {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 9px;
}
.rev-av {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b00ff, #bf7fff);
    display: flex; align-items: center;
    justify-content: center;
    font-size: 15px; font-weight: 900; color: #fff;
    box-shadow: 0 0 12px rgba(123,0,255,.4);
}
.rev-nm   { font-size: 12px; font-weight: 800; color: #bf7fff; }
.rev-loc  { font-size: 10px; color: rgba(191,127,255,.5); }
.rev-stars { color: #ffd700; font-size: 13px; margin-bottom: 6px; }
.rev-txt  { font-size: 11.5px; line-height: 1.65; color: rgba(220,190,255,.75); }
.rev-date { font-size: 10px; color: rgba(191,127,255,.4); margin-top: 6px; }

/* ===== CTA BOX ===== */
.cta-box {
    background: linear-gradient(135deg,
        rgba(123,0,255,.15), rgba(75,0,130,.10));
    border: 1px solid rgba(138,43,226,.3);
    border-radius: 16px; padding: 28px 22px;
    text-align: center; margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(123,0,255,.15);
}
.cta-box h3 {
    font-size: 20px; font-weight: 900;
    color: #bf7fff; margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(123,0,255,.4);
}
.cta-box p {
    font-size: 13px; color: rgba(220,190,255,.8);
    margin-bottom: 20px; line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #080010, #0d0020);
    border-top: 1px solid rgba(138,43,226,.25);
    padding: 30px 18px;
    position: relative; z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    max-width: 960px; margin: 0 auto 20px;
}
.footer-col h4 {
    font-size: 12px; font-weight: 900;
    color: #bf7fff; letter-spacing: 1px;
    margin-bottom: 12px; text-transform: uppercase;
}
.footer-col a {
    display: block; font-size: 12px;
    color: rgba(191,127,255,.55);
    text-decoration: none; margin-bottom: 7px;
}
.footer-col a:hover { color: #bf7fff; }
.footer-bottom {
    text-align: center;
    font-size: 11px; color: rgba(191,127,255,.35);
    border-top: 1px solid rgba(138,43,226,.15);
    padding-top: 16px; margin-top: 20px;
}

/* ===== BOTTOM NAV ===== */
.bottom-spacer { height: 68px; }
.bnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #0d0020, #1a0035, #0d0020);
    border-top: 1px solid rgba(138,43,226,.35);
    display: flex;
    box-shadow: 0 -3px 20px rgba(123,0,255,.3);
}
.bnav a {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 8px 4px; text-decoration: none;
    color: rgba(191,127,255,.65);
    font-size: 9px; font-weight: 800;
    letter-spacing: .5px;
    border-right: 1px solid rgba(138,43,226,.15);
    transition: color .2s;
}
.bnav a:last-child { border-right: none; }
.bnav a.active { color: #bf7fff; }
.bnav .ni { font-size: 19px; margin-bottom: 2px; }

/* ===== POPUP ===== */
.popup-overlay {
    position: fixed; top: 0; left: 0;
    right: 0; bottom: 0; z-index: 9999;
    background: rgba(0,0,0,.88);
    display: flex; align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.popup-box {
    background: linear-gradient(135deg, #0d0020, #1a0035);
    border: 2px solid rgba(138,43,226,.6);
    border-radius: 20px; padding: 26px;
    max-width: 340px; width: 92%;
    text-align: center;
    box-shadow:
        0 0 50px rgba(123,0,255,.5),
        0 0 100px rgba(123,0,255,.15);
    position: relative;
}
.popup-close {
    position: absolute; top: 12px; right: 16px;
    font-size: 22px; color: rgba(191,127,255,.6);
    cursor: pointer; background: none; border: none;
    line-height: 1; font-weight: 900;
}
.popup-img {
    width: 100%; border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(138,43,226,.4);
    box-shadow: 0 0 20px rgba(123,0,255,.3);
}
.popup-title {
    font-size: 18px; font-weight: 900;
    color: #bf7fff; margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(123,0,255,.4);
}
.popup-sub {
    font-size: 12px; color: rgba(220,190,255,.7);
    margin-bottom: 18px; line-height: 1.6;
}
.popup-btns {
    display: flex; gap: 12px;
}
.popup-btns a {
    flex: 1; padding: 13px;
    border-radius: 10px; text-decoration: none;
    font-weight: 900; font-size: 14px;
    letter-spacing: .8px; text-align: center;
}
.popup-login {
    background: transparent; color: #bf7fff;
    border: 1.5px solid #bf7fff;
}
.popup-daftar {
    background: linear-gradient(135deg, #7b00ff, #bf7fff);
    color: #fff;
    box-shadow: 0 0 18px rgba(123,0,255,.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .hero-title  { font-size: 18px; }
    .hero-price  { font-size: 20px; }
    .rev-grid    { grid-template-columns: 1fr; }
    .stats-bar   { flex-wrap: wrap; }
    .stat-item   { flex: 0 0 50%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-center  { flex-direction: column; align-items: center; }
    .btn-purple,
    .btn-outline-purple {
        width: 100%; text-align: center;
    }
    .hdr-nav .btn-login:first-child { display: none; }
}

@media (max-width: 400px) {
    .hdr-logo img { height: 32px; }
    .hero-title   { font-size: 16px; }
    .stat-num     { font-size: 13px; }
    .stat-label   { font-size: 8px; }
}