/*
Theme Name: Armada888 Info
Theme URI: https://www.armada-888.com/
Author: Armada888
Author URI: https://www.armada-888.com/
Description: Tema informasi Armada888 — situs panduan slot online terlengkap dalam Bahasa Indonesia. Ringan, cepat, dan ramah SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: armada888-info
Tags: dark, custom-menu, featured-images, translation-ready
*/

:root {
  --navy: #00032d;
  --navy-2: #050726;
  --deep: #03011a;
  --card: #0c0f38;
  --card-2: #10143f;
  --purple: #705dd3;
  --purple-2: #8769e9;
  --violet: #3b0084;
  --gold: #fdff0e;
  --gold-soft: #ffe95c;
  --red: #fd2b2b;
  --green: #1dbc60;
  --text: #ececf7;
  --muted: #a3a5cc;
  --line: rgba(135, 105, 233, 0.25);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(3, 1, 26, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(112, 93, 211, 0.28), transparent 60%),
    radial-gradient(900px 420px at -10% 15%, rgba(59, 0, 132, 0.35), transparent 55%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: "Raleway", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.6em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 1, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.site-logo img { display: block; height: 44px; width: auto; }
.site-logo-text { font-weight: 900; font-size: 1.3rem; color: #fff; }
.site-logo-text span { color: var(--gold); }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; margin-left: auto;
  width: 42px; height: 34px; cursor: pointer;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; position: relative;
}
.nav-toggle-label span::before { position: absolute; top: -6px; }
.nav-toggle-label span::after { position: absolute; top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 9px 13px; border-radius: 10px;
  color: var(--text); font-weight: 700; font-size: 0.95rem;
}
.primary-nav a:hover,
.primary-nav .current-menu-item a,
.primary-nav .current_page_item a {
  background: rgba(112, 93, 211, 0.22);
  color: var(--gold); text-decoration: none;
}

.header-cta { display: flex; gap: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer; border: 0;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #ffef5e 0%, var(--gold) 55%, #e2d400 100%);
  color: #1a1a00;
  box-shadow: 0 6px 18px rgba(253, 255, 14, 0.25);
}
.btn-gold:hover { color: #000; }
.btn-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(112, 93, 211, 0.35);
}
.btn-ghost {
  border: 1.5px solid var(--purple-2);
  color: var(--text);
  background: rgba(112, 93, 211, 0.08);
}
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ===== Marquee ===== */
.marquee {
  background: linear-gradient(90deg, var(--violet), var(--purple) 50%, var(--violet));
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  font-weight: 700; font-size: 0.9rem;
  color: var(--gold-soft);
  padding: 8px 0;
}
.marquee__inner {
  display: inline-block;
  padding-left: 100%;
  animation: armada-marquee 28s linear infinite;
}
@keyframes armada-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== Hero ===== */
.hero { padding: 56px 0 40px; text-align: center; }
.hero-kicker {
  display: inline-block;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(112, 93, 211, 0.14);
  color: var(--gold-soft); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { max-width: 850px; margin: 0 auto 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  max-width: 760px; margin: 0 auto 26px;
  color: var(--muted); font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px;
}
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(12, 15, 56, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px;
  font-size: 0.85rem; font-weight: 700; color: var(--text);
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}

/* ===== Sections ===== */
.section { padding: 46px 0; }
.section--alt { background: rgba(5, 7, 38, 0.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.section-head p { color: var(--muted); }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  font-size: 1.5rem; margin-bottom: 14px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Provider grid */
.provider-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.provider {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.provider:hover { border-color: var(--gold); transform: translateY(-3px); }
.provider img { max-height: 52px; width: auto; display: block; margin: 0 auto; }
.provider span { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }

/* Article cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--purple-2); }
.card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: #0a0a2e; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
.card-title { font-size: 1.08rem; margin-bottom: 8px; }
.card-title a { color: #fff; }
.card-title a:hover { color: var(--gold); }
.card-excerpt { color: var(--muted); font-size: 0.92rem; flex: 1; margin-bottom: 14px; }
.card-link { font-weight: 800; font-size: 0.88rem; color: var(--gold-soft); }

/* Steps list */
.steps { counter-reset: armada-step; display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(12, 15, 56, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.step::before {
  counter-increment: armada-step;
  content: counter(armada-step);
  flex: 0 0 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--gold); font-weight: 900; font-size: 1.1rem;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius); border: 1px solid var(--line); }
table.armada-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: rgba(12, 15, 56, 0.5); }
.armada-table th, .armada-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(135, 105, 233, 0.16); }
.armada-table th { background: rgba(59, 0, 132, 0.55); color: var(--gold-soft); font-weight: 800; }
.armada-table tr:last-child td { border-bottom: 0; }
.armada-table td strong { color: var(--gold); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq {
  background: rgba(12, 15, 56, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 15px 18px;
  font-weight: 800; color: #fff;
  list-style: none; position: relative; padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.3rem; font-weight: 900;
}
.faq[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 18px 16px; color: var(--muted); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 200px at 50% -40%, rgba(253, 255, 14, 0.18), transparent 70%),
    linear-gradient(135deg, var(--violet) 0%, var(--purple) 60%, #4a2fb8 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 20px; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { font-size: 0.83rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs span { margin: 0 6px; color: var(--purple-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }

/* ===== Content / Article ===== */
.page-wrap { padding: 26px 0 50px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.entry-hero-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 0 0 22px; }
.article {
  background: rgba(8, 10, 40, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.article h2 { margin-top: 1.5em; padding-top: 0.6em; border-top: 1px dashed rgba(135, 105, 233, 0.25); }
.article h2:first-of-type { border-top: 0; padding-top: 0; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 0.5em; }
.article blockquote {
  margin: 1.4em 0; padding: 14px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(253, 255, 14, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text);
}
.article figure { margin: 1.5em 0; }
.article figure img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
.article figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 8px; }
.article .btn { margin: 0.4em 0.5em 0.4em 0; }
.notice {
  background: rgba(29, 188, 96, 0.1);
  border: 1px solid rgba(29, 188, 96, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.93rem;
}

/* TOC */
.toc {
  background: rgba(12, 15, 56, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.toc strong { display: block; margin-bottom: 10px; color: var(--gold); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 0.9rem; }
.toc a { color: var(--text); }

/* Sidebar */
.sidebar-box {
  background: rgba(12, 15, 56, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h3 { font-size: 1rem; color: var(--gold-soft); margin-bottom: 14px; }
.sidebar-box ul { list-style: none; margin: 0; padding: 0; }
.sidebar-box li { padding: 7px 0; border-bottom: 1px dashed rgba(135, 105, 233, 0.18); font-size: 0.9rem; }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box .btn { width: 100%; text-align: center; margin-top: 6px; }

/* Jump / gateway page */
.jump-hero {
  text-align: center; padding: 54px 20px;
  background:
    radial-gradient(700px 300px at 50% -60px, rgba(253, 255, 14, 0.14), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin: 30px 0;
}
.jump-hero .count {
  font-size: 3rem; font-weight: 900; color: var(--gold);
  display: block; margin: 10px 0;
}
.jump-logo { height: 64px; width: auto; margin: 0 auto 14px; display: block; }
.alt-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* 404 */
.error-404 { text-align: center; padding: 70px 20px; }
.error-404 .code {
  font-size: clamp(4rem, 14vw, 8rem); font-weight: 900;
  background: linear-gradient(180deg, var(--gold), #b8a500);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 10px;
}
.search-form { display: flex; gap: 10px; max-width: 460px; margin: 22px auto; }
.search-form input[type="search"] {
  flex: 1; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 10, 40, 0.8);
  color: var(--text); font-family: inherit; font-size: 0.95rem;
}
.search-form input[type="search"]:focus { outline: 2px solid var(--purple-2); }
.search-form button {
  padding: 12px 22px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #ffef5e, var(--gold));
  color: #1a1a00; font-weight: 800; cursor: pointer; font-family: inherit;
}

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 34px 0 10px; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 9px 15px; border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: 0.9rem;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: rgba(112, 93, 211, 0.3); color: var(--gold); text-decoration: none;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, rgba(3, 1, 26, 0.4), rgba(3, 1, 26, 0.95));
  border-top: 1px solid var(--line);
  padding: 44px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 34px; }
.footer-col h4 { color: var(--gold-soft); font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col p { color: var(--muted); font-size: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-logo img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.footer-providers img {
  width: 100%; height: 44px; object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px;
}
.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding: 18px 0; font-size: 0.8rem; color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0; text-align: center;
  font-size: 0.85rem; color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle-label { display: flex; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(3, 1, 26, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }
  .nav-toggle:checked ~ .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .header-cta .btn-ghost { display: none; }
  .site-header .container { flex-wrap: wrap; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
