/* ============================================================
   Masterbet188 — Portal Informasi Permainan Indonesia
   Stylesheet utama (responsif: ponsel / tablet / desktop)
   ============================================================ */

:root {
  --bg-dark: #10141b;
  --bg-dark-2: #171c25;
  --bg-page: #f5f6f8;
  --surface: #ffffff;
  --gold: #f2b632;
  --gold-dark: #d99b17;
  --gold-soft: #fff3d6;
  --red: #d3222a;
  --red-dark: #b01b22;
  --green: #1f9d55;
  --green-soft: #e7f6ee;
  --text: #222a35;
  --text-light: #e9edf3;
  --muted: #61707f;
  --line: #e3e7ec;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 20, 27, .08);
  --shadow-lg: 0 14px 40px rgba(16, 20, 27, .16);
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-page);
  overflow-x: hidden;
}

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

a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- Utilitas ---------- */
.section { padding: 52px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%); color: var(--text-light); }

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px;
}
.section--dark .section-head .kicker { color: var(--gold); }
.section-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.3; color: var(--text); }
.section--dark .section-head h2 { color: var(--text-light); }
.section-head p { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.section--dark .section-head p { color: #aeb9c6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-size: .95rem; font-weight: 700; line-height: 1.2;
  text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: linear-gradient(180deg, #ffcf5c, var(--gold) 55%, var(--gold-dark)); color: #201503; box-shadow: 0 6px 18px rgba(242, 182, 50, .35); }
.btn--gold:hover { box-shadow: 0 8px 22px rgba(242, 182, 50, .5); }
.btn--red { background: linear-gradient(180deg, #e2373f, var(--red) 55%, var(--red-dark)); color: #fff; box-shadow: 0 6px 18px rgba(211, 34, 42, .3); }
.btn--red:hover { box-shadow: 0 8px 22px rgba(211, 34, 42, .42); }
.btn--ghost { background: transparent; color: var(--text-light); border: 1.5px solid #46536a; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 9px 18px; font-size: .87rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.badge--18 { background: var(--red); color: #fff; }
.badge--info { background: var(--green-soft); color: #146c3c; }
.badge--gold { background: var(--gold-soft); color: #8a5d00; }
.badge--dark { background: rgba(255, 255, 255, .08); color: #d7dee8; border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(16, 20, 27, .97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 182, 50, .25);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 178px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 8px; color: #cfd7e1;
  font-size: .92rem; font-weight: 600; text-decoration: none !important;
}
.main-nav a:hover { color: var(--gold); background: rgba(255, 255, 255, .06); }
.main-nav a.is-active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn { padding: 10px 20px; font-size: .88rem; }
.header-search { display: flex; }
.header-search input {
  width: 0; opacity: 0; transition: width .25s ease, opacity .2s ease;
  padding: 0; border: 1.5px solid #46536a; border-radius: 999px 0 0 999px;
  background: #0d1117; color: #e9edf3; font-size: .87rem; outline: none;
}
.header-search input:focus { border-color: var(--gold); }
.header-search.open input, .header-search input:focus { width: 168px; opacity: 1; padding: 8px 14px; }
.header-search button {
  border: 1.5px solid #46536a; border-left: 0; border-radius: 0 999px 999px 0;
  background: #0d1117; color: var(--gold); padding: 8px 13px; cursor: pointer; font-size: .9rem;
}
.header-search button:hover { border-color: var(--gold); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px; color: #e9edf3;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; color: var(--text-light);
  background: #10141b url('/assets/img/hero-home.jpg') center 30% / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, .88) 0%, rgba(13, 17, 23, .68) 45%, rgba(13, 17, 23, .92) 100%);
}
.hero-inner { position: relative; padding: 72px 0 66px; max-width: 780px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px;
  border-radius: 999px; background: rgba(242, 182, 50, .14); border: 1px solid rgba(242, 182, 50, .45);
  color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .06em;
}
.hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); line-height: 1.22; color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin: 18px 0 26px; font-size: clamp(1rem, 2vw, 1.12rem); color: #d3dae3; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Breadcrumbs & hero halaman ---------- */
.breadcrumbs { font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: #9aa6b3; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }
.section--dark .breadcrumbs, .section--dark .breadcrumbs a { color: #a7b2c0; }

.page-hero { padding: 34px 0 0; }
.page-hero .breadcrumbs { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.28; color: var(--text); max-width: 820px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 22px; color: var(--muted); font-size: .88rem; }
.hero-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-figure figcaption { padding: 10px 16px; background: #fff; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Grid kartu ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none !important; }
.card-img { overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.05rem; color: var(--text); }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--red-dark); }
.card-body p { font-size: .9rem; color: var(--muted); flex: 1; }
.card-more { font-size: .86rem; font-weight: 700; color: var(--gold-dark); }

/* ---------- Artikel / prose ---------- */
.layout-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding: 40px 0 56px; }
.prose { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
.prose > h2 { margin: 34px 0 14px; padding-left: 14px; border-left: 5px solid var(--gold); font-size: 1.32rem; line-height: 1.35; }
.prose > h3 { margin: 24px 0 10px; font-size: 1.08rem; color: #333c48; }
.prose p { margin: 0 0 15px; }
.prose ul, .prose ol { margin: 0 0 15px; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--gold-dark); font-weight: 700; }
.prose a { font-weight: 600; }
.prose figure { margin: 24px 0; }
.prose figure img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.prose figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #fbf7ee; color: #6b4d09; font-weight: 700; }
.prose tr:nth-child(even) td { background: #fafbfc; }
.prose blockquote {
  margin: 20px 0; padding: 14px 18px; border-left: 5px solid var(--green);
  background: var(--green-soft); border-radius: 0 10px 10px 0; color: #14532d;
}
.prose .note {
  margin: 20px 0; padding: 14px 18px; border-radius: 10px;
  background: var(--gold-soft); border: 1px solid #eed9a4; color: #6b4d09; font-size: .93rem;
}
.article-footer { margin-top: 30px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .86rem; color: var(--muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 92px; }
.side-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.side-box h2 { font-size: 1rem; margin-bottom: 14px; color: var(--text); }
.side-links { list-style: none; padding: 0; }
.side-links li + li { margin-top: 10px; }
.side-links a { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; }
.side-links a:hover { color: var(--red-dark); }
.side-links a::before { content: '🎰'; font-size: .85rem; }
.side-links a.gc-poker::before { content: '♠️'; }
.side-links a.gc-live::before { content: '🎡'; }
.side-links a.gc-sport::before { content: '⚽'; }
.side-cta { background: linear-gradient(150deg, #1b212c, #10141b); color: var(--text-light); }
.side-cta h2 { color: var(--gold); }
.side-cta p { font-size: .88rem; color: #b9c3cf; margin-bottom: 16px; }

/* ---------- Kartu keunggulan ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow); text-align: center;
}
.feat .ico {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  background: linear-gradient(150deg, #fff3d6, #ffe2a3);
}
.feat h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feat p { font-size: .88rem; color: var(--muted); }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.testi .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.testi blockquote { font-size: .92rem; color: #3a4653; font-style: italic; margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--gold), var(--gold-dark));
}
.testi .who b { display: block; font-size: .92rem; }
.testi .who span { font-size: .8rem; color: var(--muted); }

/* ---------- Mitos vs Fakta ---------- */
.mythfact { display: grid; gap: 14px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf {
  border-radius: 12px; padding: 18px 20px; font-size: .92rem;
  border: 1px solid transparent;
}
.mf--myth { background: #fdecec; border-color: #f5c9cb; }
.mf--fact { background: var(--green-soft); border-color: #bfe6cf; }
.mf b { display: block; margin-bottom: 6px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.mf--myth b { color: var(--red); }
.mf--fact b { color: var(--green); }

/* ---------- Promo ---------- */
.promo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.promo-card .pc-head { padding: 20px 22px 14px; border-bottom: 2px solid var(--gold-soft); }
.promo-card .pc-head h3 { font-size: 1.08rem; }
.promo-card .pc-head .badge { margin-top: 8px; }
.promo-card .pc-body { padding: 16px 22px 20px; flex: 1; }
.promo-card .pc-body p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.terms { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .86rem; }
.terms div { display: grid; grid-template-columns: 148px 1fr; border-bottom: 1px solid var(--line); }
.terms div:last-child { border-bottom: 0; }
.terms dt { background: #fafbfc; padding: 9px 12px; font-weight: 700; color: #46536a; }
.terms dd { padding: 9px 12px; color: #4a5563; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  font-weight: 700; font-size: .97rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft);
  color: var(--gold-dark); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary::after { content: '–'; }
.faq .faq-a { padding: 0 20px 18px; font-size: .92rem; color: #4a5563; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, #191f2a, #10141b 60%);
  border-radius: var(--radius); padding: 36px 30px; text-align: center; color: var(--text-light);
  border: 1px solid rgba(242, 182, 50, .3);
}
.cta-band h2 { color: var(--gold); font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-bottom: 10px; }
.cta-band p { max-width: 640px; margin: 0 auto 20px; font-size: .95rem; color: #b9c3cf; }
.cta-band .btn + .btn { margin-left: 10px; }

/* ---------- Formulir ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding: 44px 0 60px; }
.auth-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: var(--font); outline: none; transition: border-color .15s ease;
  background: #fbfcfd; color: var(--text);
}
.field input:focus { border-color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: #4a5563; margin: 18px 0; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold-dark); }
.auth-note { margin-top: 18px; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.auth-side h2 { font-size: 1.2rem; margin-bottom: 12px; }
.auth-side .points { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.auth-side .points li { display: flex; gap: 12px; font-size: .93rem; color: #4a5563; }
.auth-side .points .dot { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* ---------- Pencarian ---------- */
.search-hero { padding: 46px 0 8px; }
.search-big { display: flex; max-width: 640px; margin: 22px auto 8px; }
.search-big input {
  flex: 1; padding: 15px 20px; border: 2px solid #d8dee6; border-right: 0;
  border-radius: 12px 0 0 12px; font-size: 1rem; font-family: var(--font); outline: none; background: #fff;
}
.search-big input:focus { border-color: var(--gold); }
.search-big button {
  padding: 0 26px; border: 0; border-radius: 0 12px 12px 0; cursor: pointer;
  background: linear-gradient(180deg, #ffcf5c, var(--gold-dark)); color: #201503; font-weight: 700; font-size: .95rem;
}
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 8px; }
.tagcloud a {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: #46536a; text-decoration: none !important;
}
.tagcloud a:hover { border-color: var(--gold); color: var(--gold-dark); }
.search-results { max-width: 760px; margin: 30px auto 50px; display: grid; gap: 14px; }
.sr-item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 18px 20px; }
.sr-item h3 { font-size: 1rem; margin-bottom: 4px; }
.sr-item h3 a { text-decoration: none; color: var(--text); }
.sr-item h3 a:hover { color: var(--red-dark); }
.sr-item .url { font-size: .78rem; color: var(--green); margin-bottom: 6px; }
.sr-item p { font-size: .88rem; color: var(--muted); }

/* ---------- Terkait ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related .card-body h3 { font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #141924, #0e1218); color: #aab4c0;
  padding: 54px 0 0; margin-top: 0;
  /* ruang untuk widget melayang tanpa membuat celah di bawah footer */
  padding-bottom: 118px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; }
.footer-brand img { width: 186px; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: #8d99a8; }
.footer-col h3 { color: var(--text-light); font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: #98a4b3; font-size: .88rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid #232b38; padding: 20px 0 26px;
  display: flex; flex-direction: column; gap: 12px; font-size: .8rem; color: #7d8a9a;
}
.footer-legal .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-legal p { line-height: 1.65; }

/* ---------- Widget melayang ---------- */
.float-widget {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: linear-gradient(90deg, #12161f 0%, #1a2130 55%, #23202a 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -10px 30px rgba(8, 10, 15, .45);
}
.float-widget .fw-inner {
  display: flex; align-items: center; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 10px 20px;
}
.fw-art { flex-shrink: 0; width: 118px; height: 52px; }
.fw-art .reel-win { animation: fw-glow 2.6s ease-in-out infinite; }
.fw-art .fw-strip { animation: fwspin 1.2s linear infinite; }
.fw-art .fw-reel--2 .fw-strip { animation-duration: 1.45s; }
.fw-art .fw-reel--3 .fw-strip { animation-duration: 1.05s; animation-delay: .2s; }
@keyframes fwspin { to { transform: translateY(-42px); } }
.fw-art .coin1 { animation: fw-float 2.8s ease-in-out infinite; }
.fw-art .coin2 { animation: fw-float 2.8s ease-in-out infinite .55s; }
.fw-art .coin3 { animation: fw-float 2.8s ease-in-out infinite 1.1s; }
@keyframes fw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes fw-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .fw-art *, .hero-inner * { animation: none !important; }
}
.fw-text { flex: 1; min-width: 0; }
.fw-text b { display: block; color: var(--gold); font-size: .95rem; line-height: 1.3; }
.fw-text span { display: block; color: #a9b3c1; font-size: .76rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-actions { display: flex; gap: 10px; flex-shrink: 0; }
.fw-actions .btn { padding: 11px 24px; font-size: .9rem; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-article { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .side-box { flex: 1 1 260px; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #12161f; border-bottom: 1px solid rgba(242, 182, 50, .25);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35); margin: 0; padding: 8px 16px 14px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: .98rem; }
  .header-actions .btn--ghost { display: none; }
}
@media (max-width: 860px) {
  .testi-grid { grid-template-columns: 1fr; }
  .promo-list { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .mf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-cards { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 52px 0 46px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .fw-art { display: none; }
  .fw-text span { display: none; }
  .fw-inner { padding: 8px 14px; gap: 10px; }
  .fw-actions { margin-left: auto; }
  .fw-actions .btn { padding: 10px 18px; font-size: .86rem; }
  .terms div { grid-template-columns: 1fr; }
  .terms dt { padding-bottom: 2px; }
  .terms dd { padding-top: 4px; }
  .cta-band .btn { display: block; margin: 0 0 10px 0 !important; width: 100%; }
  .prose table { display: block; overflow-x: auto; }
  .search-big { flex-direction: column; gap: 0; }
  .search-big input { border-right: 2px solid #d8dee6; border-radius: 10px 10px 0 0; }
  .search-big button { border-radius: 0 0 10px 10px; padding: 13px; }
}
@media (max-width: 480px) {
  .header-actions .btn { padding: 9px 14px; font-size: .8rem; }
  .brand img { width: 150px; }
}

/* ---------- Aksesibilitas ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
:focus-visible { outline: 3px solid rgba(242, 182, 50, .7); outline-offset: 2px; }
