/*
Theme Name: Wslot888
Theme URI: https://wslot888.games/
Author: Wslot888
Author URI: https://wslot888.games/
Description: Tema portal informasi hiburan online Wslot888 - responsif, SEO friendly, satu kolom dengan widget footer.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wslot888
*/

/* ============ Variabel & Reset ============ */
:root {
  --ws-red: #C8102E;
  --ws-red-dark: #8F0B20;
  --ws-red-deep: #5E0714;
  --ws-gold: #F5B301;
  --ws-gold-soft: #FFD257;
  --ws-green: #0E9F6E;
  --ws-green-dark: #0A7A54;
  --ws-blue: #1D4E89;
  --ws-blue-dark: #143A66;
  --ws-dark: #141420;
  --ws-dark-2: #1C1C2E;
  --ws-ink: #232634;
  --ws-mut: #5A5F72;
  --ws-soft: #F6F7FB;
  --ws-line: #E6E8F0;
  --ws-white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 32, 0.10);
  --shadow-lg: 0 18px 44px rgba(20, 20, 32, 0.18);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ws-ink);
  background: var(--ws-white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ws-red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ws-red-dark); }

ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; color: var(--ws-dark-2); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ws-gold);
  color: var(--ws-dark); padding: 8px 16px; font-weight: 700; z-index: 3000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ Tombol & Chip ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: linear-gradient(180deg, #E01536, var(--ws-red-dark)); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35); }
.btn-red:hover { color: #fff; box-shadow: 0 10px 26px rgba(200, 16, 46, 0.5); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--ws-gold-soft), var(--ws-gold)); color: var(--ws-dark-2); box-shadow: 0 8px 20px rgba(245, 179, 1, 0.35); }
.btn-gold:hover { color: var(--ws-dark); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-blue { background: linear-gradient(180deg, #26639F, var(--ws-blue-dark)); color: #fff; box-shadow: 0 8px 20px rgba(29, 78, 137, 0.3); }
.btn-blue:hover { color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; background: var(--ws-soft); color: var(--ws-mut);
  border: 1px solid var(--ws-line);
}
.chip-gold { background: rgba(245, 179, 1, 0.14); border-color: rgba(245, 179, 1, 0.4); color: #8a6501; }
.chip-green { background: rgba(14, 159, 110, 0.12); border-color: rgba(14, 159, 110, 0.35); color: var(--ws-green-dark); }
.chip-blue { background: rgba(29, 78, 137, 0.1); border-color: rgba(29, 78, 137, 0.3); color: var(--ws-blue); }
.chip-red { background: rgba(200, 16, 46, 0.1); border-color: rgba(200, 16, 46, 0.3); color: var(--ws-red); }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 7px; border-radius: 6px;
  border: 2px solid var(--ws-gold); color: var(--ws-gold);
  font-weight: 900; font-size: 12px; letter-spacing: 0.5px;
}

/* ============ Topbar ============ */
.topbar { background: var(--ws-dark); color: #cfd2e0; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; padding: 4px 0; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #e7e9f2; font-weight: 600; }
.topbar a:hover { color: var(--ws-gold); }
.topbar .sep { opacity: 0.35; }
.wib-time { font-variant-numeric: tabular-nums; color: var(--ws-gold-soft); font-weight: 700; }

/* ============ Header ============ */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  position: sticky; top: 0; z-index: 1200;
  border-bottom: 1px solid var(--ws-line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 20, 32, 0.12); }
.header-main { display: flex; align-items: center; gap: 22px; min-height: 70px; }

.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo svg { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .b1 { font-size: 23px; font-weight: 900; color: var(--ws-dark-2); letter-spacing: -0.5px; }
.brand-text .b1 em { font-style: normal; color: var(--ws-red); }
.brand-text .b2 { font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; color: var(--ws-gold); text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 9px; color: var(--ws-ink);
  font-weight: 700; font-size: 14.5px;
}
.main-nav a:hover { background: var(--ws-soft); color: var(--ws-red); }
.main-nav .current-menu-item a { background: rgba(200, 16, 46, 0.09); color: var(--ws-red); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--ws-line);
  background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ws-ink); transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { border-color: var(--ws-red); color: var(--ws-red); }

.burger { display: none; }

/* pencarian header */
.hsearch { position: relative; }
.hsearch-panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(400px, 92vw);
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px; z-index: 1300; display: none;
}
.hsearch-panel.open { display: block; }
.hsearch-input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--ws-line);
  font-family: var(--font); font-size: 14.5px; color: var(--ws-ink); outline: none;
}
.hsearch-input:focus { border-color: var(--ws-red); }
.search-results { list-style: none; padding: 0; margin-top: 8px; max-height: 320px; overflow: auto; }
.search-results li a {
  display: block; padding: 9px 10px; border-radius: 8px; color: var(--ws-ink); font-weight: 600; font-size: 14px;
}
.search-results li a:hover { background: var(--ws-soft); color: var(--ws-red); }
.search-results li a small { display: block; color: var(--ws-mut); font-weight: 500; font-size: 12px; }
.search-empty { padding: 10px; color: var(--ws-mut); font-size: 13.5px; }

/* ============ Breadcrumb ============ */
.breadcrumb { background: var(--ws-soft); border-bottom: 1px solid var(--ws-line); font-size: 13px; }
.breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.breadcrumb li { color: var(--ws-mut); display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--ws-gold); font-weight: 900; }
.breadcrumb a { color: var(--ws-mut); font-weight: 600; }
.breadcrumb a:hover { color: var(--ws-red); }
.breadcrumb [aria-current] { color: var(--ws-red); font-weight: 700; }

/* ============ Hero Beranda ============ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(20, 20, 32, 0.96) 20%, rgba(94, 7, 20, 0.86) 60%, rgba(143, 11, 32, 0.72)),
    url("/wp-content/uploads/2026/08/hero-casino.jpg") center 30% / cover no-repeat;
}
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; padding: 72px 0 84px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(245, 179, 1, 0.14); border: 1px solid rgba(245, 179, 1, 0.45);
  color: var(--ws-gold-soft); font-weight: 700; font-size: 13px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.8px; margin-bottom: 16px; }
.hero h1 span { color: var(--ws-gold); }
.hero-lead { color: #d9dceb; font-size: clamp(15px, 1.6vw, 17.5px); max-width: 56ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #c9cde0; font-size: 13.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(245, 179, 1, 0.55); aspect-ratio: 4 / 3; object-fit: cover;
}
.hero-float {
  position: absolute; left: -14px; bottom: -20px; background: rgba(20, 20, 32, 0.92);
  border: 1px solid rgba(245, 179, 1, 0.5); border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.hero-float .num { font-size: 22px; font-weight: 900; color: var(--ws-gold); }
.hero-float .lbl { font-size: 12px; color: #c9cde0; font-weight: 600; }

/* ============ Section umum ============ */
.section { padding: 68px 0; }
.section-soft { background: var(--ws-soft); }
.section-dark { background: var(--ws-dark-2); color: #d9dceb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-blue { background: linear-gradient(135deg, var(--ws-blue-dark), var(--ws-blue)); color: #dbe6f5; }
.section-blue h2, .section-blue h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ws-red); margin-bottom: 10px;
}
.section-dark .kicker, .section-blue .kicker { color: var(--ws-gold); }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.5px; margin-bottom: 12px; }
.section-head p { color: var(--ws-mut); font-size: 16px; }
.section-dark .section-head p, .section-blue .section-head p { color: #c3c9dc; }

/* ============ Langkah 4 (panduan pemula) ============ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; box-shadow: var(--shadow); transition: transform 0.18s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 16px;
  background: linear-gradient(160deg, var(--ws-red), var(--ws-red-deep));
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.35);
}
.step-card:nth-child(2) .step-num { background: linear-gradient(160deg, var(--ws-gold), #c98f00); box-shadow: 0 8px 18px rgba(245, 179, 1, 0.4); }
.step-card:nth-child(3) .step-num { background: linear-gradient(160deg, var(--ws-green), var(--ws-green-dark)); box-shadow: 0 8px 18px rgba(14, 159, 110, 0.35); }
.step-card:nth-child(4) .step-num { background: linear-gradient(160deg, #26639F, var(--ws-blue-dark)); box-shadow: 0 8px 18px rgba(29, 78, 137, 0.35); }
.step-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--ws-mut); }
.step-card .step-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 800; }

/* ============ Keunggulan (grid fitur) ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(200, 16, 46, 0.35); }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 16px; background: rgba(200, 16, 46, 0.09);
}
.feature-card:nth-child(2) .feature-ico { background: rgba(245, 179, 1, 0.14); }
.feature-card:nth-child(3) .feature-ico { background: rgba(14, 159, 110, 0.12); }
.feature-card:nth-child(4) .feature-ico { background: rgba(29, 78, 137, 0.1); }
.feature-card:nth-child(5) .feature-ico { background: rgba(200, 16, 46, 0.09); }
.feature-card:nth-child(6) .feature-ico { background: rgba(245, 179, 1, 0.14); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ws-mut); }

/* ============ Mengapa memilih kami (band biru) ============ */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.why-list li {
  display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14); padding: 16px 18px; border-radius: var(--radius-sm);
}
.why-check {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 179, 1, 0.2); border: 1.5px solid var(--ws-gold); color: var(--ws-gold); font-weight: 900; font-size: 14px;
}
.why-list h3 { font-size: 16px; margin-bottom: 3px; }
.why-list p { font-size: 14px; color: #c3c9dc; }
.why-media img { border-radius: 16px; border: 3px solid rgba(245, 179, 1, 0.45); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ============ Band cerita ============ */
.story-band { background: linear-gradient(120deg, var(--ws-red-deep), var(--ws-red-dark) 60%, #a30f26); color: #f4e3e6; }
.story-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.story-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.story-band p { font-size: 15px; margin-bottom: 12px; color: #f2d9dd; }
.story-band .btn { margin-top: 8px; }

/* ============ Mobile band ============ */
.mobile-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.mobile-media { position: relative; text-align: center; }
.mobile-media img {
  border-radius: 22px; border: 3px solid rgba(29, 78, 137, 0.25); box-shadow: var(--shadow-lg);
  max-height: 430px; width: auto; max-width: 100%; margin: 0 auto; object-fit: cover;
}
.mobile-points { list-style: none; padding: 0; display: grid; gap: 14px; }
.mobile-points li { display: flex; gap: 13px; align-items: flex-start; }
.mobile-points .mi {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--ws-line);
  display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow);
}
.mobile-points h3 { font-size: 15.5px; margin-bottom: 2px; }
.mobile-points p { font-size: 14px; color: var(--ws-mut); }

/* ============ Testimoni ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { color: var(--ws-gold); font-size: 16px; letter-spacing: 2px; }
.testi-card blockquote { font-size: 14.5px; color: var(--ws-ink); font-style: italic; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #fff; flex-shrink: 0;
}
.testi-who strong { display: block; font-size: 14px; color: var(--ws-dark-2); }
.testi-who small { color: var(--ws-mut); font-size: 12.5px; }
.testi-note { text-align: center; color: var(--ws-mut); font-size: 12.5px; margin-top: 22px; }

/* ============ Kamus istilah ============ */
.glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.glossary-grid details {
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden; transition: border-color 0.15s ease;
}
.glossary-grid details[open] { border-color: rgba(200, 16, 46, 0.4); }
.glossary-grid summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 18px; font-weight: 800; font-size: 15px; color: var(--ws-dark-2);
}
.glossary-grid summary::-webkit-details-marker { display: none; }
.glossary-grid summary::after {
  content: "+"; font-size: 20px; font-weight: 900; color: var(--ws-red);
  width: 28px; height: 28px; border-radius: 8px; background: rgba(200, 16, 46, 0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s ease;
}
.glossary-grid details[open] summary::after { content: "−"; transform: rotate(180deg); }
.glossary-grid .term-body { padding: 0 18px 16px; font-size: 14px; color: var(--ws-mut); }
.glossary-grid .term-body strong { color: var(--ws-green-dark); }

/* ============ Duo band: keamanan & RG ============ */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.duo-card.sec { border-top: 4px solid var(--ws-blue); }
.duo-card.rg { border-top: 4px solid var(--ws-green); }
.duo-card h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.duo-card > p { color: var(--ws-mut); font-size: 14.5px; margin-bottom: 16px; }
.duo-card ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 18px; }
.duo-card ul li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.duo-card ul li::before { content: "✓"; color: var(--ws-green); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.duo-card .more-link { font-weight: 800; font-size: 14px; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-list details { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-list details[open] { border-color: rgba(200, 16, 46, 0.4); box-shadow: var(--shadow); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 800; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--ws-dark-2);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "▾"; color: var(--ws-red); font-size: 16px; flex-shrink: 0; transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list .faq-a { padding: 0 20px 18px; color: var(--ws-mut); font-size: 14.5px; }

/* ============ Pencarian + tag cloud ============ */
.search-band { background: linear-gradient(120deg, var(--ws-dark), var(--ws-dark-2)); color: #d9dceb; }
.big-search { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 18px; }
.big-search input {
  flex: 1; padding: 14px 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: #fff; font-family: var(--font); font-size: 15px; outline: none;
}
.big-search input::placeholder { color: #9aa0b8; }
.big-search input:focus { border-color: var(--ws-gold); }
.big-search-results { max-width: 640px; margin: 0 auto 6px; list-style: none; padding: 0; }
.big-search-results li a {
  display: block; background: #fff; color: var(--ws-ink); border-radius: 10px; padding: 10px 14px;
  margin-bottom: 8px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow);
}
.big-search-results li a:hover { color: var(--ws-red); }
.big-search-results li a small { display: block; font-weight: 500; color: var(--ws-mut); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagcloud a {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #dfe2ee;
}
.tagcloud a:hover { background: var(--ws-gold); border-color: var(--ws-gold); color: var(--ws-dark); }
.tagcloud a.hot { border-color: rgba(245, 179, 1, 0.6); color: var(--ws-gold-soft); }
.tagcloud a.hot:hover { color: var(--ws-dark); }

/* ============ CTA box ============ */
.cta-box {
  background: linear-gradient(120deg, var(--ws-red-deep), var(--ws-red) 55%, #e01536);
  border-radius: 20px; padding: 44px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.18);
}
.cta-box::before { top: -80px; left: -60px; }
.cta-box::after { bottom: -90px; right: -70px; }
.cta-box h2 { color: #fff; font-size: clamp(21px, 2.8vw, 28px); margin-bottom: 10px; }
.cta-box p { color: #ffdfe5; max-width: 60ch; margin: 0 auto 22px; font-size: 15px; }
.cta-box .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============ Footer ============ */
.site-footer { background: var(--ws-dark); color: #b9bdce; font-size: 14px; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .brand-text .b1 { color: #fff; }
.footer-brand p { margin-top: 14px; color: #9ea3b8; font-size: 13.5px; }
.footer-18 { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: #dfe2ee; font-weight: 700; font-size: 13px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; letter-spacing: 0.3px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { color: #b9bdce; font-weight: 600; }
.site-footer ul a:hover { color: var(--ws-gold); }
.footer-note { font-size: 12.5px; color: #8b90a6; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 14px; border-radius: 10px; margin-top: 14px; line-height: 1.65; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #9ea3b8; padding-bottom: 84px;
}
.footer-bottom .fb-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ============ Float bar (slot machine) ============ */
.floatbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 1500;
  display: flex; align-items: stretch; gap: 8px; padding: 8px;
  background: linear-gradient(180deg, #23233a, #101018);
  border: 2px solid var(--ws-gold); border-radius: 18px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: calc(100vw - 16px);
}
.floatbar::before, .floatbar::after {
  content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--ws-gold) 55%, #9a7000);
  border: 2px solid #141420; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.floatbar::before { left: 14px; }
.floatbar::after { right: 14px; }
.fl-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 138px; padding: 13px 20px; border-radius: 12px;
  font-weight: 900; font-size: 16px; letter-spacing: 0.6px; text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.fl-btn:active { transform: scale(0.96); }
.fl-daftar {
  color: #fff;
  background: linear-gradient(180deg, #ef2d51, var(--ws-red-dark));
  border: 2px solid #ff8fa3;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.25), 0 6px 16px rgba(200, 16, 46, 0.55);
  animation: flPulse 1.6s ease-in-out infinite;
}
.fl-login {
  color: #2a1d00;
  background: linear-gradient(180deg, #ffe08a, var(--ws-gold));
  border: 2px solid #b98600;
  box-shadow: 0 6px 16px rgba(245, 179, 1, 0.45);
}
@keyframes flPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.25), 0 6px 16px rgba(200, 16, 46, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(245, 179, 1, 0.28), 0 6px 22px rgba(200, 16, 46, 0.7); }
}
.fl-btn .coin {
  position: absolute; bottom: -12px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff3c4, var(--ws-gold) 52%, #8f6a00);
  border: 1.5px solid #7a5a00; opacity: 0; pointer-events: none;
  animation: coinUp 2.4s linear infinite;
}
.fl-btn .coin.c2 { animation-delay: 0.8s; left: 68%; }
.fl-btn .coin.c3 { animation-delay: 1.6s; left: 32%; }
@keyframes coinUp {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(-52px) scale(1.05); opacity: 0; }
}
.fl-reels { display: flex; gap: 5px; align-self: center; padding: 0 4px; }
.fl-reels i {
  width: 12px; height: 12px; border-radius: 50%; background: #2c2c44; border: 1.5px solid var(--ws-gold);
  animation: reelSpin 0.9s steps(3) infinite;
}
.fl-reels i:nth-child(2) { animation-delay: 0.3s; }
.fl-reels i:nth-child(3) { animation-delay: 0.6s; }
@keyframes reelSpin { 0% { background: #2c2c44; } 33% { background: var(--ws-red); } 66% { background: var(--ws-green); } 100% { background: #2c2c44; } }

/* ============ Halaman artikel / kategori ============ */
.page-hero { color: #fff; position: relative; overflow: hidden; }
.page-hero.red { background: linear-gradient(115deg, #2a060f 10%, var(--ws-red-dark) 55%, var(--ws-red) 100%); }
.page-hero.blue { background: linear-gradient(115deg, #0b1e35 10%, var(--ws-blue-dark) 55%, var(--ws-blue) 100%); }
.page-hero.green { background: linear-gradient(115deg, #06231a 10%, var(--ws-green-dark) 55%, var(--ws-green) 100%); }
.page-hero.gold { background: linear-gradient(115deg, #2b1d00 10%, #9a7000 55%, var(--ws-gold) 100%); }
.page-hero-in { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 52px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); letter-spacing: -0.5px; margin: 12px 0 14px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); font-size: clamp(14.5px, 1.5vw, 16.5px); max-width: 58ch; margin-bottom: 20px; }
.page-hero .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero .hero-chips .chip { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.page-hero-media img {
  border-radius: 16px; border: 3px solid rgba(255, 255, 255, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
}
.page-hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding: 56px 0 64px; align-items: start; }
.entry-content { font-size: 16px; color: #2c3040; min-width: 0; }
.entry-content > p { margin-bottom: 18px; }
.entry-content h2 {
  font-size: clamp(20px, 2.4vw, 25px); margin: 40px 0 14px; padding-left: 14px;
  border-left: 5px solid var(--ws-red); letter-spacing: -0.3px;
}
.entry-content h3 { font-size: 18px; margin: 26px 0 10px; color: var(--ws-blue-dark); }
.entry-content ul, .entry-content ol { margin: 0 0 18px; display: grid; gap: 7px; }
.entry-content ul { list-style: none; padding: 0; }
.entry-content ul li { padding-left: 26px; position: relative; }
.entry-content ul li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 3px;
  background: var(--ws-gold); transform: rotate(45deg);
}
.entry-content ul li::marker { color: var(--ws-red); }
.entry-content a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(200, 16, 46, 0.35); text-underline-offset: 3px; }
.entry-content figure { margin: 26px 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.entry-content figcaption { font-size: 13px; color: var(--ws-mut); text-align: center; margin-top: 10px; }
.entry-content blockquote {
  background: var(--ws-soft); border-left: 5px solid var(--ws-gold); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 22px 0; font-style: italic; color: var(--ws-mut);
}
.entry-content strong { color: var(--ws-dark-2); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--ws-mut); font-size: 13.5px; margin-bottom: 8px; }
.article-meta .by { font-weight: 700; color: var(--ws-ink); }

.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius-sm); border: 1px solid var(--ws-line); -webkit-overflow-scrolling: touch; }
.terms-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; background: #fff; }
.terms-table th, .terms-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ws-line); vertical-align: top; }
.terms-table th { background: var(--ws-dark-2); color: #fff; font-weight: 800; white-space: nowrap; }
.terms-table tr:nth-child(even) td { background: var(--ws-soft); }
.terms-table td:first-child { font-weight: 700; color: var(--ws-dark-2); white-space: nowrap; }

.note-box, .warn-box {
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 22px 0; font-size: 14px; display: flex; gap: 12px; align-items: flex-start;
}
.note-box { background: rgba(245, 179, 1, 0.1); border: 1px solid rgba(245, 179, 1, 0.5); color: #6b5200; }
.warn-box { background: rgba(200, 16, 46, 0.07); border: 1px solid rgba(200, 16, 46, 0.35); color: #7c1128; }
.note-box .ico, .warn-box .ico { font-size: 19px; flex-shrink: 0; }

/* sidebar */
.sidebar { display: grid; gap: 22px; position: sticky; top: 92px; }
.widget { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.widget h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ws-gold); display: inline-block; }
.widget ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.widget ul a { font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.widget ul a small { color: var(--ws-mut); font-weight: 600; }
.widget .mini-cta { text-align: center; }
.widget .mini-cta p { font-size: 13.5px; color: var(--ws-mut); margin-bottom: 14px; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a { padding: 6px 12px; border-radius: 999px; background: var(--ws-soft); border: 1px solid var(--ws-line); font-size: 12.5px; font-weight: 700; color: var(--ws-mut); }
.widget-tags a:hover { border-color: var(--ws-red); color: var(--ws-red); }

/* game grid (kartu permainan) */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 8px; }
.game-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--ws-line);
  box-shadow: var(--shadow); transition: transform 0.16s ease; display: block; color: var(--ws-ink);
}
.game-card:hover { transform: translateY(-4px); color: var(--ws-ink); }
.cover { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; }
.cover-red { background: linear-gradient(140deg, var(--ws-red-dark), var(--ws-red-deep)); }
.cover-gold { background: linear-gradient(140deg, #b98600, #7a5a00); }
.cover-green { background: linear-gradient(140deg, var(--ws-green-dark), #064c35); }
.cover-blue { background: linear-gradient(140deg, var(--ws-blue-dark), #0b2c4f); }
.cover-dark { background: linear-gradient(140deg, #26263c, var(--ws-dark)); }
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px);
}
.game-card .g-body { padding: 13px 15px; }
.game-card .g-body strong { font-size: 14.5px; color: var(--ws-dark-2); display: block; }
.game-card .g-body small { color: var(--ws-mut); font-size: 12.5px; }

/* promo grid */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.16s ease; display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card .p-media { position: relative; }
.promo-card .p-media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo-card .p-tag {
  position: absolute; top: 12px; left: 12px; background: var(--ws-red); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px;
}
.promo-card .p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card h3 { font-size: 16.5px; }
.promo-card p { font-size: 13.5px; color: var(--ws-mut); flex: 1; }
.promo-card .p-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* form auth */
.auth-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; padding: 56px 0 64px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--ws-line); border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow-lg); }
.form-card h1 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { color: var(--ws-mut); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 13.5px; margin-bottom: 7px; color: var(--ws-dark-2); }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--ws-line);
  font-family: var(--font); font-size: 15px; outline: none; transition: border-color 0.15s ease; background: #fff;
}
.field input:focus { border-color: var(--ws-red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1); }
.field .hint { font-size: 12.5px; color: var(--ws-mut); margin-top: 5px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; color: var(--ws-mut); }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ws-red); flex-shrink: 0; }
.form-card .btn { width: 100%; font-size: 16px; padding: 15px; }
.form-msg { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; }
.form-msg.err { display: block; background: rgba(200, 16, 46, 0.09); border: 1px solid rgba(200, 16, 46, 0.4); color: var(--ws-red-dark); }
.form-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ws-mut); }
.form-alt a { font-weight: 800; }
.auth-aside { display: grid; gap: 20px; }
.auth-aside .widget { padding: 24px; }
.auth-aside .steps-mini { list-style: none; padding: 0; counter-reset: sm; display: grid; gap: 12px; }
.auth-aside .steps-mini li { counter-increment: sm; display: flex; gap: 12px; font-size: 14px; color: var(--ws-mut); align-items: flex-start; }
.auth-aside .steps-mini li::before {
  content: counter(sm); flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  background: var(--ws-red); color: #fff; font-weight: 900; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* kontak */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.contact-card { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; }
.contact-card .ci { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--ws-mut); }

/* 404 */
.err-wrap { text-align: center; padding: 90px 0 100px; }
.err-code { font-size: clamp(90px, 16vw, 150px); font-weight: 900; line-height: 1;
  background: linear-gradient(120deg, var(--ws-red), var(--ws-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-wrap h1 { font-size: 26px; margin: 8px 0 12px; }
.err-wrap p { color: var(--ws-mut); max-width: 52ch; margin: 0 auto 26px; }
.err-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Responsif ============ */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--ws-line); box-shadow: var(--shadow-lg);
    padding: 14px 20px 20px;
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.open a { padding: 12px 14px; }
  .burger { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions .icon-btn.search-toggle { display: inline-flex; }
  .header-main { position: relative; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 60px; }
  .hero-media { max-width: 560px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; }
  .story-wrap { grid-template-columns: 1fr; }
  .mobile-wrap { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; }
  .page-hero-in { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 560px; }
  .auth-layout { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 48px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .big-search { flex-direction: column; border-radius: 18px; }
  .big-search input { border-radius: 12px; }
  .big-search .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .page-hero .btn-row .btn { width: 100%; }
  .cta-box .btn-row .btn { width: 100%; }
  .fl-btn { min-width: 0; flex: 1; padding: 12px 14px; font-size: 15px; }
  .fl-reels { display: none; }
  .floatbar { width: calc(100vw - 16px); }
  .topbar-right { display: none; }
  .form-card { padding: 26px 20px; }
  .hsearch-panel { left: 50%; right: auto; transform: translateX(-50%); }
}

@media (max-width: 380px) {
  .game-grid { grid-template-columns: 1fr; }
  .hero-float { left: 8px; bottom: -26px; padding: 10px 12px; }
}

/* preferensi aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--ws-gold); color: var(--ws-dark); }
