/* ============================================================
   1. RESET & BASIC STYLES (GLOBAL)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(186, 104, 200, .35), transparent 55%),
    linear-gradient(180deg, #12001f, #1a0033, #12001f);
  line-height: 1.6;
  min-height: 100vh;
}

.site-wrapper { max-width: 1200px; margin: auto; position: relative; }

/* ============================================================
   2. HEADER & NAVIGATION
   ============================================================ */
.header { padding: 15px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; gap: 15px; align-items: center; }
.logo { max-width: 200px; }

/* Header Icons */
.header-icons { display: flex; gap: 10px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(186, 104, 200, .5);
}
.icon-btn img { width: 16px; }

/* Navigation */
.nav { display: flex; justify-content: center; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 600;
  display: flex; align-items: center; gap: 8px; font-size: 15px;
}
.nav a img { width: 18px; height: 18px; }
.nav a:hover { color: #ffeb3b; text-shadow: 0 0 10px #ffeb3b; }
.nav a:hover img { filter: drop-shadow(0 0 6px #ffeb3b); }

.hamburger { display: none; font-size: 28px; cursor: pointer; }

/* ============================================================
   3. BUTTONS (CTA)
   ============================================================ */
.header-cta { display: flex; gap: 12px; }

.btn {
  position: relative; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; text-decoration: none; display: flex;
  align-items: center; gap: 8px; overflow: hidden;
  transition: .3s ease; font-size: 14px;
}

/* Daftar - Gold */
.btn-daftar {
  background: linear-gradient(135deg, #ffeb3b, #ffc107);
  color: #000; box-shadow: 0 0 20px rgba(255, 235, 59, .6);
}
.btn-daftar:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px rgba(255, 235, 59, .9);
}

/* Login - Purple */
.btn-login {
  background: linear-gradient(135deg, #7b1fa2, #9c27b0);
  color: #fff; box-shadow: 0 0 18px rgba(156, 39, 176, .6);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(186, 104, 200, .9);
}

.btn .icon { font-size: 16px; }

/* ============================================================
   4. HERO & JACKPOT
   ============================================================ */
.hero img { width: 100%; display: none; } /* Placeholder rule */

.jackpot-wrap { max-width: 1000px; margin: auto; padding: 20px; }
.jackpot-svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 25px rgba(255, 204, 51, .6));
}
.jackpot-title {
  fill: #ffcc33; font-weight: 700; font-size: 28px;
  letter-spacing: 2px; text-shadow: 0 0 12px #ffcc33;
}
.jackpot-text {
  fill: #ffeb3b; font-weight: 900; font-size: 48px; letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 235, 59, .8), 0 0 30px rgba(255, 193, 7, .9);
  animation: jackpotPulse 2s infinite; font-family: 'Inter', Arial, sans-serif;
}
@keyframes jackpotPulse { 0% { opacity: 1 } 50% { opacity: .85 } 100% { opacity: 1 } }

/* ============================================================
   5. GAME GRID
   ============================================================ */
.game-section { padding: 40px 15px; }
.game-section h2 { text-align: center; margin-bottom: 25px; }
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }

.game-item {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #2a004d, #14002a);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 15px rgba(186, 104, 200, .5);
  transition: transform 0.3s ease;
}
.game-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
}
.game-item span {
  display: block; text-align: center; padding: 8px 6px;
  font-size: 12px; font-weight: 600; color: #ffeb3b;
  background: linear-gradient(180deg, #2a004d, #1a0033); letter-spacing: .3px;
}
.game-item:hover img { transform: scale(1.08); }

/* ============================================================
   6. ARTICLE SECTION (GLOBAL TYPOGRAPHY)
   ============================================================ */
.article-section { padding: 40px 15px; }

.article-content {
  background: rgba(255, 255, 255, .06);
  padding: 30px;
  border-radius: 10px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Judul Artikel */
.article-content h1, 
.article-content h2, 
.article-content h3 {
  color: #ffeb3b; 
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  line-height: 1.3;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.2);
}

.article-content p { margin-bottom: 1.5em; }

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5em;
  padding-left: 25px;
}
.article-content li { margin-bottom: 10px; }

/* Gambar dalam Artikel */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
@media (min-width: 1024px) {
  .article-content img { max-height: 600px; object-fit: contain; }
}

/* Kotak Info (Highlight & Success) */
.highlight-box {
  background-color: rgba(217, 83, 79, 0.15);
  border-left: 5px solid #d9534f;
  padding: 15px;
  margin: 20px 0;
  color: #ffcccc;
}

.success-box {
  background-color: rgba(76, 175, 80, 0.15);
  border-left: 5px solid #4caf50;
  padding: 15px;
  margin: 20px 0;
  color: #c8e6c9;
}

.disclaimer {
  font-size: 0.85em;
  color: #999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 10px;
}

/* ============================================================
   7. TABLE STYLES (RESPONSIVE)
   ============================================================ */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 0, 42, 0.6);
    color: #fff;
}

th, td {
    padding: 15px;
    border: 1px solid rgba(186, 104, 200, 0.2);
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #7b1fa2;
    color: #ffeb3b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

td { font-size: 14px; }

/* ============================================================
   8. FAQ SECTION
   ============================================================ */
.faq-section { padding: 40px 20px; max-width: 800px; margin: auto; }
.faq-section h2 { text-align: center; margin-bottom: 30px; color: #fff; }

.faq-container { display: flex; flex-direction: column; gap: 15px; }

.faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 235, 59, 0.1);
  transition: all 0.3s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 235, 59, 0.3);
}

.faq-item summary {
  padding: 18px 25px; font-weight: 700; cursor: pointer; position: relative;
  list-style: none; color: #ffeb3b; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: #fff; transition: transform 0.3s ease;
}

.faq-item[open] {
  background: rgba(20, 0, 42, 0.9); border-color: #ffeb3b;
}
.faq-item[open] summary::after {
  transform: rotate(45deg); color: #ffeb3b;
}

.faq-body {
  padding: 0 25px 25px 25px; color: #e0e0e0; line-height: 1.6; font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 5px; padding-top: 15px;
}
.faq-body ul { padding-left: 20px; margin-top: 10px; }
.faq-body li { margin-bottom: 5px; }

/* ============================================================
   9. SUPPORT & PROVIDERS
   ============================================================ */
.support-section { padding: 50px 15px; }
.support-block { margin-bottom: 35px; }
.support-block h3 { color: #ffeb3b; margin-bottom: 15px; font-size: 18px; }

.provider-grid, .payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
  align-items: center;
  margin-top: 15px;
}

/* Provider Images */
.provider-grid img {
  max-width: 100%; height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.provider-grid img:hover {
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(255, 235, 59, 0.9));
}

/* Payment Items (Bank/Ewallet) */
.pay-item {
  background: linear-gradient(180deg, #2a004d, #14002a);
  border-radius: 12px;
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
  height: 56px;
  color: #fff; font-weight: 600; font-size: 13px;
  position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.pay-item:hover {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(180deg, #3b0070, #1a0033);
  box-shadow: 0 0 18px rgba(255,235,59,.6), 0 0 35px rgba(186,104,200,.5);
}

/* Footer Global */
.section-divider { position: relative; padding-top: 55px; }
.section-divider::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 85%; height: 2px;
  background: linear-gradient(90deg, transparent, #ffeb3b, transparent);
  box-shadow: 0 0 20px #ffeb3b;
}

.footer { text-align: center; padding: 30px; color: #fff; border-top: 1px solid rgba(255,255,255,0.05); }
.footer a { color: #ffeb3b; text-decoration: none; font-weight: 600; }
.footer a:hover { color: #ffc107; text-shadow: 0 0 6px rgba(255, 193, 7, .8); }

/* ============================================================
   10. MOBILE & RESPONSIVE RULES (GLOBAL)
   ============================================================ */

/* Tablet & Smaller */
@media(max-width: 768px) {
  .header-cta { justify-content: center; margin-top: 10px; }
  .desktop-only { display: none; }
  .hamburger { display: block; }
  
  .nav ul { display: none; flex-direction: column; width: 100%; margin-top: 15px; background: rgba(0,0,0,0.9); padding: 20px; border-radius: 10px; }
  .nav.active ul { display: flex; }
  
  .jackpot-title { font-size: 20px; }
  .jackpot-text { font-size: 34px; }
  
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .game-item span { font-size: 11px; padding: 6px 4px; }
}

/* Mobile Phone */
@media(max-width: 600px) {
    /* FAQ Adjustments */
    .faq-item summary { padding: 15px; font-size: 14px; padding-right: 40px; }
    .faq-item summary::after { position: absolute; right: 15px; top: 12px; }

    /* --- MOBILE TABLE GRID SYSTEM (Transform Table to Cards) --- */
    .article-content table, 
    .article-content thead, 
    .article-content tbody, 
    .article-content th, 
    .article-content td, 
    .article-content tr { 
        display: block; 
    }

    /* Hide Original Header */
    .article-content thead tr { position: absolute; top: -9999px; left: -9999px; }

    /* Card Style for Rows */
    .article-content tr { 
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid #7b1fa2;
        border-radius: 12px;
        overflow: hidden;
        display: grid;
        grid-template-areas: "header header" "legit scam";
        grid-template-columns: 1fr 1fr;
    }

    /* Col 1: Indikator */
    .article-content td:nth-of-type(1) { 
        grid-area: header;
        background: rgba(123, 31, 162, 0.5);
        color: #ffeb3b; font-weight: bold; text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-transform: uppercase; letter-spacing: 1px;
    }

    /* Col 2: Legit (Left) */
    .article-content td:nth-of-type(2) { 
        grid-area: legit;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        color: #a5d6a7; 
        font-size: 13px;
    }
    .article-content td:nth-of-type(2)::before { 
        content: "âœ… ASLI"; font-weight: 800; display: block; 
        font-size: 11px; margin-bottom: 5px; color: #4caf50;
    }

    /* Col 3: Scam (Right) */
    .article-content td:nth-of-type(3) { 
        grid-area: scam;
        color: #ef9a9a; 
        font-size: 13px;
    }
    .article-content td:nth-of-type(3)::before { 
        content: "âŒ SCAM"; font-weight: 800; display: block; 
        font-size: 11px; margin-bottom: 5px; color: #d9534f;
    }
}

/* Small Phones */
@media(max-width: 480px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-item img { aspect-ratio: 1 / 1; }
  .jackpot-title { font-size: 18px; }
}

/* =========================================
   GAYA LINK DALAM ARTIKEL (GRADIENT GOLD)
   ========================================= */
/* Link di dalam artikel */
.article-content a {
  color: #ffeb3b;                 /* kuning utama */
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 235, 59, 0.6);
  transition: color .2s ease, border-bottom-color .2s ease, text-shadow .2s ease;
}

.article-content a:visited {
  color: #fbc02d;                 /* sedikit lebih gelap untuk visited */
}

.article-content a:hover {
  color: #ffc107;
  border-bottom-color: transparent;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.8);
}