/* GUDANGSLOT (gudangslot.com) — Minimalist Light Documentation & Clean Directory UX */
:root {
  --gds-bg: #FFFFFF;
  --gds-subtle: #F8FAFC;
  --gds-ink: #0F172A;
  --gds-body: #334155;
  --gds-muted: #64748B;
  --gds-indigo: #4F46E5;
  --gds-indigo-dark: #3730A3;
  --gds-border: #E2E8F0;
  --gds-radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #f6f3ee; color: var(--gds-ink); font-family: 'Source Sans 3', 'Inter', sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; font-size: 16px; background: radial-gradient(880px 460px at 100% -12%, rgba(79, 70, 229, 0.12), transparent 56%), radial-gradient(760px 420px at -8% 0%, rgba(217, 164, 65, 0.16), transparent 52%), #f6f3ee; }
h1, h2, .gds-kicker-chip, .gds-metric-num { font-family: 'Newsreader', Georgia, serif; }
a { color: var(--gds-indigo); text-decoration: none; font-weight: 500; }
a:hover { color: var(--gds-indigo-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Minimal Light Header */
.gds-vault-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid rgba(226, 232, 240, 0.9); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.gds-vault-nav-wrap { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gds-brand-mark { display: inline-flex; align-items: center; flex-shrink: 0; }
.gds-brand-mark img { height: 42px; width: auto; filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.14)); }
.gds-index-tabs { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; align-items: center; }
.gds-index-tabs a { padding: 6px 8px; border-radius: 8px; font-size: 0.79rem; color: var(--gds-body); text-decoration: none; white-space: nowrap; }
.gds-index-tabs a:hover, .gds-index-tabs a[aria-current="page"] { background: var(--gds-subtle); color: var(--gds-indigo); font-weight: 600; }
.gds-action-group { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.gds-btn-indigo { padding: 7px 14px; border-radius: 8px; background: var(--gds-indigo); color: #FFFFFF; font-size: 0.81rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gds-btn-indigo:hover { background: var(--gds-indigo-dark); color: #FFFFFF; text-decoration: none; }
.gds-btn-copper { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--gds-border); color: var(--gds-ink); background: #FFFFFF; font-size: 0.81rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.gds-btn-copper:hover { background: var(--gds-subtle); text-decoration: none; }

/* Clean Container */
.gds-container { max-width: 1120px; margin: 0 auto; padding: 28px 24px 20px; }
.gds-breadcrumb { margin-bottom: 24px; font-size: 0.82rem; color: var(--gds-muted); }
.gds-breadcrumb ul.items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gds-breadcrumb li.item + li.item::before { content: "›"; margin-right: 8px; color: #CBD5E1; }

/* Minimal Split Hero — Consistent Panel Width */
.gds-bento-hero { width: 100%; display: flex; flex-direction: column; gap: 22px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 22px; padding: 28px 32px; box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95); margin-bottom: 24px; }
.gds-kicker-chip { display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gds-indigo); margin-bottom: 10px; }
.gds-bento-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 560; letter-spacing: -0.025em; line-height: 1.16; color: var(--gds-ink); margin-bottom: 16px; }
.gds-ai-digest { width: 100%; background: rgba(248, 250, 252, 0.88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(226, 232, 240, 0.95); border-left: 4px solid var(--gds-indigo); box-shadow: 0 10px 24px rgba(15,23,42,0.04); border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; }
.gds-ai-digest-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--gds-indigo); letter-spacing: 0.06em; margin-bottom: 4px; }
.gds-ai-digest p { font-size: 0.95rem; color: var(--gds-body); margin: 0; line-height: 1.68; }

.gds-hero-media { order: -1; width: 100%; }
.gds-hero-media figure { width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid rgba(226, 232, 240, 0.95); background: #0F172A; box-shadow: 0 20px 44px rgba(15,23,42,0.12); }
.gds-hero-media figure img, .gds-dir-item img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.gds-hero-media figcaption { padding: 11px 18px; font-size: 0.79rem; color: var(--gds-muted); border-top: 1px solid var(--gds-border); background: #FFFFFF; }

.gds-bento-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; align-items: stretch; }
.gds-metric-box { background: rgba(248, 250, 252, 0.9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(226, 232, 240, 0.95); box-shadow: 0 8px 20px rgba(15,23,42,0.04); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; min-height: 76px; animation: gds-float 7s ease-in-out infinite; }
.gds-metric-box:nth-child(2) { animation-delay: -2s; }
.gds-metric-box:nth-child(3) { animation-delay: -4s; }
.gds-metric-num { font-size: 1rem; font-weight: 700; color: var(--gds-ink); display: block; margin-bottom: 2px; }
.gds-metric-cap { font-size: 0.76rem; color: var(--gds-muted); }

.gds-editorial-bar { width: 100%; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 15px 24px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 16px; margin-bottom: 24px; font-size: 0.84rem; color: var(--gds-muted); }
.gds-editorial-bar strong { color: var(--gds-ink); font-weight: 600; }

/* Clean Documentation Layout (Left TOC Sidebar + Full-Width Main Article Column) */
.gds-wiki-layout { width: 100%; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.gds-side-vault { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; width: 100%; }
.gds-side-vault .gds-card { width: 100%; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 20px; padding: 22px 24px; box-shadow: 0 14px 32px rgba(15,23,42,0.05); }
.gds-side-vault h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gds-muted); margin-bottom: 10px; }
.gds-side-vault p { font-size: 0.84rem; color: var(--gds-body); margin-bottom: 10px; line-height: 1.6; }
.gds-side-vault ul { list-style: none; padding: 0; }
.gds-side-vault li { margin-bottom: 7px; font-size: 0.86rem; }

/* Main Vault — 100% Uniform Glass Panel Cards */
.gds-main-vault { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: none; }
.gds-main-vault > .gds-card, .gds-main-vault > article.gds-card, .gds-slot-edu-box { width: 100%; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35); border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 20px; padding: 28px 32px; box-shadow: 0 14px 34px rgba(15,23,42,0.05), inset 0 1px 0 rgba(255,255,255,0.95); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.gds-main-vault > .gds-card:hover, .gds-main-vault > article.gds-card:hover, .gds-slot-edu-box:hover { border-color: rgba(79, 70, 229, 0.35); }
.gds-main-vault .gds-card.ai-key-takeaways { border-color: rgba(79, 70, 229, 0.32); background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(248,250,252,0.82)); }
.gds-main-vault h2, .gds-slot-edu-box h2 { font-size: 1.38rem; font-weight: 700; letter-spacing: -0.015em; color: var(--gds-ink); margin: 0 0 14px; line-height: 1.3; }
.gds-main-vault h3 { font-size: 1.05rem; font-weight: 600; color: var(--gds-ink); margin: 16px 0 6px; }
.gds-main-vault p { margin-bottom: 15px; color: var(--gds-body); }
.gds-main-vault p:last-child { margin-bottom: 0; }
.gds-main-vault ul, .gds-main-vault ol { padding-left: 22px; margin-bottom: 14px; color: var(--gds-body); }
.gds-main-vault ul:last-child, .gds-main-vault ol:last-child { margin-bottom: 0; }
.gds-main-vault li { margin-bottom: 8px; }

.gds-slot-edu-box { border-left: 4px solid var(--gds-indigo); }
.gds-slot-edu-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gds-indigo); margin-bottom: 8px; text-transform: uppercase; }
.gds-slot-edu-box p { margin: 0; font-size: 0.95rem; line-height: 1.72; color: var(--gds-body); }

/* Spec Table — Uniform Inner Frame */
.gds-spec-wrap { width: 100%; overflow-x: auto; margin: 14px 0 0; border: 1px solid var(--gds-border); border-radius: 14px; background: #FFFFFF; }
.gds-spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.gds-spec-table caption { text-align: left; padding: 14px 18px; font-weight: 600; background: var(--gds-subtle); color: var(--gds-ink); border-bottom: 1px solid var(--gds-border); }
.gds-spec-table th, .gds-spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--gds-border); text-align: left; vertical-align: top; }
.gds-spec-table thead th { background: rgba(79, 70, 229, 0.05); color: var(--gds-indigo-dark); font-weight: 600; }
.gds-spec-table tbody tr:last-child th, .gds-spec-table tbody tr:last-child td { border-bottom: 0; }
.gds-spec-table tbody th { background: #FFFFFF; color: var(--gds-muted); font-weight: 500; width: 36%; }
.gds-spec-table td { color: var(--gds-ink); }

/* Directory Cards — Equal Height 2-Column Grid */
.gds-dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 18px; align-items: stretch; }
.gds-dir-item { height: 100%; background: #FFFFFF; border: 1px solid rgba(226,232,240,0.95); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(15,23,42,0.05); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.gds-dir-item:hover { transform: translateY(-6px); border-color: var(--gds-indigo); box-shadow: 0 18px 34px rgba(79,70,229,0.12); }
.gds-dir-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.gds-dir-body h3 { font-size: 1rem; margin: 0 0 8px; color: var(--gds-ink); line-height: 1.35; }
.gds-dir-body p { font-size: 0.86rem; color: var(--gds-muted); margin-bottom: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Clean FAQ */
.gds-faq-card { border-bottom: 1px solid var(--gds-border); padding: 16px 0; }
.gds-faq-card:first-of-type { border-top: 1px solid var(--gds-border); margin-top: 6px; }
.gds-faq-card:last-of-type { border-bottom: 0; padding-bottom: 0; }
.gds-faq-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--gds-ink); font-weight: 600; }
.gds-faq-card p { margin: 0; font-size: 0.94rem; color: var(--gds-body); }

/* Footer — Unified Deep Navy-Indigo Vault Footer Card */
.gds-footer { padding: 12px 24px 40px; margin-top: 0; font-size: 0.86rem; color: #94A3B8; background: transparent; border-top: 0; }
.gds-footer-inner { max-width: 1120px; margin: 0 auto; background: linear-gradient(160deg, #0F172A 0%, #172036 100%); border: 1px solid rgba(99, 102, 241, 0.32); border-radius: 24px; padding: 34px 32px 26px; box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.gds-ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 22px; padding-bottom: 26px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); align-items: stretch; }
.gds-ft-brand, .gds-ft-col { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.gds-ft-logo { display: inline-block; margin-bottom: 10px; }
.gds-ft-logo img { height: 44px; width: auto; filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3)); }
.gds-ft-desc { color: #CBD5E1; font-size: 0.84rem; line-height: 1.6; margin-bottom: 12px; }
.gds-ft-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gds-ft-badges span { font-size: 0.71rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(99, 102, 241, 0.2); border: 1px solid rgba(129, 140, 248, 0.38); color: #C7D2FE; }
.gds-ft-socials { display: flex; flex-wrap: wrap; gap: 6px; }
.gds-ft-socials a { font-size: 0.76rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #F8FAFC; text-decoration: none; }
.gds-ft-socials a:hover { border-color: #818CF8; color: #C7D2FE; text-decoration: none; }
.gds-ft-col h3 { font-size: 0.94rem; font-weight: 700; color: #FFFFFF; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(99, 102, 241, 0.3); letter-spacing: 0.01em; }
.gds-ft-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gds-ft-links a { color: #CBD5E1; font-size: 0.84rem; text-decoration: none; transition: color 0.15s ease, transform 0.15s ease; display: inline-block; }
.gds-ft-links a:hover { color: #A5B4FC; transform: translateX(3px); text-decoration: none; }
.gds-ft-meta-card { display: flex; flex-direction: column; gap: 7px; font-size: 0.82rem; color: #CBD5E1; flex: 1; justify-content: space-between; }
.gds-ft-meta-card p { margin: 0; line-height: 1.5; }
.gds-ft-meta-card strong { color: #FFFFFF; }
.gds-ft-ext { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; }
.gds-ft-ext a { color: #A5B4FC; }

.ft-pay { margin: 0 0 22px; padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(9, 14, 26, 0.65); color: #E2E8F0; }
.ft-pay-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ft-pay h3 { color: #FFFFFF; margin-bottom: 2px; font-size: 0.95rem; }
.ft-pay-note { font-size: 0.8rem; margin: 0; color: #94A3B8; }
.ft-pay-tag { font-size: 0.73rem; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: rgba(99, 102, 241, 0.22); border: 1px solid rgba(129, 140, 248, 0.38); color: #C7D2FE; }
.ft-pay-banner { background: transparent; text-align: center; }
.ft-pay-banner img { width: 100%; max-width: 820px; height: auto; aspect-ratio: 1920 / 400; object-fit: contain; margin: 0 auto; display: block; }

.gds-ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; font-size: 0.81rem; color: #94A3B8; }
.gds-ft-bottom a { color: #C7D2FE; }
.gds-ft-bottom-right { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gds-back-top { padding: 6px 13px; border-radius: 8px; background: rgba(99, 102, 241, 0.25); border: 1px solid rgba(129, 140, 248, 0.45); color: #FFFFFF !important; font-weight: 600; font-size: 0.78rem; text-decoration: none; }
.gds-back-top:hover { background: var(--gds-indigo); color: #FFFFFF !important; border-color: var(--gds-indigo); text-decoration: none; }

.gds-inline-shot { width: 100%; margin: 20px 0 6px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(226, 232, 240, 0.95); box-shadow: 0 14px 30px rgba(15,23,42,0.08); }
.gds-inline-shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
@keyframes gds-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gds-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gds-bento-hero { animation: gds-rise 0.65s ease both; }

.gate-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; background: var(--gds-subtle); color: var(--gds-ink); position: relative; }
.gate-bg { position: fixed; inset: 0; opacity: 0.08; z-index: 0; pointer-events: none; }
.gate-bg img { width: 100%; height: 100%; object-fit: cover; }
.gate { position: relative; z-index: 2; max-width: 460px; width: 100%; background: rgba(255,255,255,0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,0.9); border-radius: 22px; padding: 32px; text-align: center; box-shadow: 0 18px 40px rgba(15,23,42,0.08); }
.gate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.gate-actions button { padding: 12px 16px; border-radius: 8px; border: 0; font-weight: 600; cursor: pointer; font-family: inherit; }
#gate-yes { background: var(--gds-indigo); color: #FFFFFF; }
#gate-no { background: var(--gds-subtle); color: var(--gds-ink); border: 1px solid var(--gds-border); }

@media (max-width: 880px) {
  .gds-wiki-layout, .gds-dir-grid, .gds-bento-metrics { grid-template-columns: 1fr; gap: 20px; }
  .gds-ft-grid { grid-template-columns: 1fr 1fr; }
  .gds-side-vault { position: static; order: 2; }
  .gds-bento-hero, .gds-main-vault > .gds-card, .gds-main-vault > article.gds-card, .gds-slot-edu-box { padding: 20px; border-radius: 16px; }
}
@media (max-width: 600px) {
  .gds-ft-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
