/* RoyalCasino Template */

:root {
    --bg: #0c0e14;
    --bg-alt: #12151e;
    --card: #181c28;
    --card-hover: #1e2333;
    --border: #2a3044;
    --text: #eef0f4;
    --muted: #8b93a7;
    --accent: #d4af37;
    --accent-hover: #e8c547;
    --accent-dim: rgba(212, 175, 55, 0.12);
    --radius: 10px;
    --max: 1280px;
    --content-max: 820px;
    --toc-width: 260px;
    --header: 64px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --hero-ratio: 2 / 1;
    --hero-min: 360px;
    --hero-max: 960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 20px);
}

body {
    font-family: 'Sarabun', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow { max-width: 640px; }

.highlight { color: var(--accent); }

.badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header);
    background: rgba(12, 14, 20, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo:hover { opacity: 0.9; }

.logo__img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo__img--footer {
    height: 36px;
    margin-bottom: 12px;
}

.logo__mark {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #111;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.nav { display: flex; gap: 2px; }

.nav__link {
    padding: 8px 12px;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link.active {
    color: var(--text);
    background: var(--accent-dim);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--primary {
    background: var(--accent);
    color: #111;
}
.btn--primary:hover {
    background: var(--accent-hover);
    color: #111;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }

/* Hero — desktop: teks di atas banner | mobile: banner + konten terpisah */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    width: 100%;
    aspect-ratio: var(--hero-ratio);
    height: clamp(var(--hero-min), 50vw, var(--hero-max));
    min-height: var(--hero-min);
    max-height: var(--hero-max);
    background: var(--bg);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(12, 14, 20, 0.72) 0%,
        rgba(12, 14, 20, 0.82) 50%,
        rgba(12, 14, 20, 0.88) 100%
    );
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    width: 100%;
    padding: 28px 20px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 999px;
}

.hero h1 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--text);
}

.hero__lead {
    color: var(--muted);
    font-size: clamp(0.85rem, 1.8vw, 0.92rem);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero__desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.hero .kw {
    color: var(--accent);
    font-weight: 700;
    white-space: pre;
}

.hero .kw-alt {
    color: var(--text);
    font-weight: 600;
    white-space: pre;
}

.hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero__stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.stat__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat__label {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

.stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}
.stat span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Section Head */
.section {
    padding: 64px 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section__head {
    text-align: center;
    margin-bottom: 36px;
}

.section__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
}

.section__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section__title--left {
    text-align: left;
    margin-bottom: 12px;
}

.section__desc {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Article */
.article {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 40px 36px 48px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.article__header {
    padding-bottom: 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.article__meta-sep {
    opacity: 0.5;
}

.article__intro {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
    font-weight: 500;
}

.article h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--text);
}

.article h2 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 48px 0 18px;
    padding-top: 8px;
    color: var(--text);
    line-height: 1.45;
    scroll-margin-top: calc(var(--header) + 24px);
}

.article h2:first-of-type {
    margin-top: 32px;
}

.article__h2-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    margin-top: 2px;
}

.article h3 {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 28px 0 14px;
    color: var(--accent);
    line-height: 1.4;
}

.article h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.article p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.article p:last-child {
    margin-bottom: 0;
}

.article strong {
    color: var(--text);
    font-weight: 600;
}

.article .kw {
    color: var(--accent);
    font-weight: 600;
    white-space: pre;
}

.article .kw-alt {
    color: var(--text);
    font-weight: 600;
    white-space: pre;
}

/* Article lists */
.article-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-list li {
    position: relative;
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.article-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.article-list li strong {
    display: block;
    margin-bottom: 2px;
}

.article-list--check li::before {
    content: '✓';
    width: auto;
    height: auto;
    background: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    top: 14px;
}

.article-list--cross li::before {
    content: '✕';
    width: auto;
    height: auto;
    background: none;
    color: #e05c5c;
    font-weight: 700;
    font-size: 0.85rem;
    top: 14px;
}

/* Numbered steps */
.article-steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-steps li {
    counter-increment: step;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 16px 16px 56px;
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.article-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg);
    background: var(--accent);
    border-radius: 50%;
}

.article-steps__title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.98rem;
}

.article-steps__desc {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
}

/* Callout boxes */
.article-callout {
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    background: var(--accent-dim);
}

.article-callout--warn {
    border-left-color: #e8a838;
    background: rgba(232, 168, 56, 0.08);
}

.article-callout__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-callout p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Provider cards grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0 28px;
}

.article-card {
    padding: 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
}

.article-card h4 {
    margin-bottom: 8px;
}

.article-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.7;
}

/* Comparison table */
.article-compare {
    margin: 28px 0;
}

.article-compare__title {
    margin-bottom: 14px !important;
}

.article-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.article-table th,
.article-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-table th {
    background: var(--bg-alt);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
}

.article-table td {
    color: var(--muted);
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Blockquote */
.article-quote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--accent);
    background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 100%);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-quote p {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

/* Article footer CTA */
.article__footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.layout__content > main > .article {
    margin-top: 48px;
    margin-bottom: 16px;
}

.section__head--left {
    text-align: left;
    margin-bottom: 28px;
}

/* Layout: content + TOC sidebar */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--toc-width);
    gap: 28px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px 48px;
    align-items: start;
}

.layout__content {
    min-width: 0;
}

.layout__content .section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.layout__content .section:last-child {
    border-bottom: none;
}

.layout__content .section--alt {
    background: transparent;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-bottom: none;
    margin-bottom: 0;
}

/* TOC Sidebar */
.toc-sidebar {
    position: sticky;
    top: calc(var(--header) + 20px);
    align-self: start;
}

.toc-sidebar__panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.toc-sidebar__head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, transparent 100%);
}

.toc-sidebar__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toc-sidebar__desc {
    font-size: 0.7rem;
    color: var(--muted);
}

.toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    max-height: calc(100vh - var(--header) - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.toc::-webkit-scrollbar { width: 4px; }
.toc::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.toc__empty {
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    padding: 16px 8px;
}

.toc__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: var(--text);
    transition: all 0.15s;
}

.toc__item:hover {
    background: var(--card-hover);
    border-color: var(--border);
    color: var(--text);
}

.toc__item.toc__item--active {
    background: var(--accent-dim);
    border-color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
}

.toc__item--h1 { padding-left: 10px; }
.toc__item--h2 { padding-left: 10px; }
.toc__item--h3 { padding-left: 22px; }
.toc__item--h4 { padding-left: 34px; }
.toc__item--h5 { padding-left: 46px; }
.toc__item--h6 { padding-left: 58px; }

.toc__tag {
    flex-shrink: 0;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2px 5px;
    border-radius: 3px;
    min-width: 24px;
    text-align: center;
}

.toc__num {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted);
    opacity: 0.6;
}

.toc__text {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile TOC */
.toc-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--card);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 95;
    box-shadow: var(--shadow);
}

.toc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.2s;
}

.toc-overlay.open {
    display: block;
    opacity: 1;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 16px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: all 0.2s;
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
}

.card--icon .card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.card__icon--gold { background: rgba(212, 175, 55, 0.15); color: var(--accent); }
.card__icon--red  { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.card__icon--blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.card__icon--green{ background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.card__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Slot provider cards */
.card--slot {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0 12px;
}

.card__img--slot {
    min-height: 56px;
    padding: 12px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    color: var(--accent);
}

.card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card__desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

.card--slot .card__desc {
    margin-top: 0;
}

.card__meter {
    margin-bottom: 4px;
}

.card__meter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 8px;
}

.card__meter-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
}

.card__meter-value {
    font-size: 0.8rem;
    font-weight: 700;
}

.card__meter-track {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.card__meter-fill {
    height: 100%;
    width: var(--meter, 0%);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.card__meter-fill--pp {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}

.card__meter-fill--pg {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.45);
}

.card__meter-fill--hb {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
}

.card__meter-fill--jp {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.card__meter-value--pp { color: #fbbf24; }
.card__meter-value--pg { color: #a78bfa; }
.card__meter-value--hb { color: #f87171; }
.card__meter-value--jp { color: #4ade80; }

.card--slot .card__link {
    margin-top: 12px;
}

.card--promo {
    display: flex;
    flex-direction: column;
}

.card--promo p { flex: 1; margin-bottom: 16px; }
.card--promo .btn { align-self: flex-start; }

/* Features */
.feature {
    text-align: center;
    padding: 24px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.feature:hover { border-color: rgba(212, 175, 55, 0.3); }

.feature__icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature p {
    font-size: 0.825rem;
    color: var(--muted);
}

/* Register */
/* FAQ */
.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: var(--card);
}

.faq summary {
    padding: 16px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq p {
    padding: 0 18px 16px;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    background: var(--bg-alt);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer__name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.footer__text {
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 280px;
}

.footer__col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}

.footer__col a {
    display: block;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 8px;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer__note {
    margin-top: 6px;
    opacity: 0.7;
    font-size: 0.75rem !important;
}

/* WhatsApp */
.wa-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    z-index: 90;
}
.wa-btn:hover { color: #fff; opacity: 0.9; }

/* Responsive */
@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 88vw);
        z-index: 201;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        top: 0;
        padding: 0;
    }

    .toc-sidebar.open {
        transform: translateX(0);
    }

    .toc-sidebar__panel {
        height: 100%;
        border-radius: 0;
        border-right: none;
        border-top: none;
        border-bottom: none;
        display: flex;
        flex-direction: column;
    }

    .toc-sidebar__head {
        padding-top: calc(var(--header) + 12px);
    }

    .toc {
        flex: 1;
        max-height: none;
    }

    .toc-toggle { display: flex; align-items: center; justify-content: center; }

    .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .grid--4,
    .grid--2 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px;
        display: none;
    }
    .nav.open { display: flex; }

    .menu-btn { display: flex; }
    .header .btn--primary { display: none; }

    .header__inner {
        position: relative;
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo__img {
        height: 56px;
        max-width: 260px;
    }

    .menu-btn {
        position: absolute;
        right: 0;
        z-index: 1;
        font-size: 1.35rem;
        color: var(--text);
    }

    .grid--3,
    .grid--4,
    .grid--2 { grid-template-columns: 1fr; }

    .hero__stats { gap: 24px; }
    .section { padding: 48px 0; }
    .footer__grid { grid-template-columns: 1fr; }

    /* Mobile: banner full 2:1, konten di bawah (tidak overlap) */
    .hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: unset;
        overflow: visible;
    }

    .hero__media {
        position: relative;
        width: 100%;
        aspect-ratio: var(--hero-ratio);
        flex-shrink: 0;
    }

    .hero__bg {
        position: absolute;
        inset: 0;
        object-fit: cover;
    }

    .hero__overlay {
        display: none;
    }

    .hero__inner {
        max-width: none;
        padding: 20px 16px 24px;
        background: var(--bg-alt);
        border-top: 1px solid var(--border);
    }

    .hero__badge {
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 1.15rem;
        margin-bottom: 0;
    }

    .hero__lead {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__stats {
        gap: 8px;
        padding-top: 16px;
    }

    .stat {
        padding: 10px 6px;
    }

    .stat__value {
        font-size: 1.05rem;
    }

    .stat__label {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .article {
        padding: 28px 20px 36px;
    }

    .article h2 {
        font-size: 1.15rem;
        gap: 10px;
    }

    .article__h2-num {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stat {
        padding: 8px 4px;
    }

    .stat__value {
        font-size: 0.95rem;
    }

    .stat__label {
        font-size: 0.6rem;
    }
}
