/* Alba88 — Varian H + High Contrast UI | palet dari banner (hitam + neon kuning) */

:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --bg-panel: #111111;
  --yellow: #ffe500;
  --yellow-bright: #ffff00;
  --yellow-glow: rgba(255, 229, 0, 0.55);
  --white: #ffffff;
  --muted: #9a9a9a;
  --border: #ffe500;
  --font: "Segoe UI", system-ui, sans-serif;
  --container: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--white); text-shadow: 0 0 12px var(--yellow-glow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--yellow); color: #000; font-weight: 800;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Floating pill nav (varian H) */
.pill-nav-wrap {
  position: sticky;
  top: 0.75rem;
  z-index: 400;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem;
  background: rgba(0, 0, 0, 0.92);
  border: 3px solid var(--yellow);
  border-radius: 999px;
  box-shadow: 0 0 20px var(--yellow-glow);
}

.pill-brand {
  padding: 0 0.5rem 0 0.25rem;
  border-right: 2px solid var(--yellow);
  margin-right: 0.15rem;
}

.pill-brand img {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.pill-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.1rem;
}

.pill-links a {
  display: block;
  padding: 0.4rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.pill-links a:hover,
.pill-links a.is-active {
  color: #000;
  background: var(--yellow);
}

.pill-cta { display: flex; gap: 0.25rem; margin-left: 0.15rem; padding-left: 0.15rem; border-left: 2px solid var(--yellow); }

.menu-toggle {
  display: none;
  background: var(--bg-panel);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
  background: var(--bg);
  border-bottom: 3px solid var(--yellow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.55rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-menu .m-cta { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.mobile-menu .m-cta .btn { flex: 1; }

/* High contrast buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 3px solid var(--yellow);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--yellow);
  color: #000;
  box-shadow: 0 0 18px var(--yellow-glow);
}
.btn-primary:hover { background: var(--yellow-bright); color: #000; box-shadow: 0 0 28px var(--yellow-glow); }

.btn-outline {
  background: transparent;
  color: var(--yellow);
}
.btn-outline:hover { background: var(--yellow); color: #000; }

/* Hero + diagonal band */
.hero-band {
  position: relative;
  padding: 5rem 0 3.5rem;
  background: var(--bg);
}

.hero-band::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-alt);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.hero-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-text .tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--yellow);
  color: #000;
  border: 2px solid #000;
}

.hero-text h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-text h1 a {
  color: var(--white);
  text-shadow: 0 0 24px var(--yellow-glow);
}

.hero-text h1 em {
  display: block;
  font-style: normal;
  color: var(--yellow);
  font-size: 0.92em;
}

.hero-lead { margin: 0 0 1.2rem; color: var(--muted); max-width: 30rem; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.jackpot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 2px solid var(--yellow);
  background: var(--bg-panel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jackpot-pill strong { color: var(--yellow); }

.hero-banner {
  border: 3px solid var(--yellow);
  background: #000;
  box-shadow: 0 0 32px var(--yellow-glow);
  overflow: hidden;
}

.hero-banner img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Diagonal sections */
.section {
  padding: 3rem 0;
  position: relative;
}

.section-slant {
  background: var(--bg-alt);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  padding: 3.5rem 0;
}

.section-slant-reverse {
  background: var(--bg);
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  padding: 3.5rem 0;
}

.section-tag {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  display: block;
}

.section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  border-left: 5px solid var(--yellow);
  padding-left: 0.75rem;
}

.prose p { margin: 0 0 0.95rem; color: var(--muted); max-width: 40rem; }

.article-box {
  border: 3px solid var(--yellow);
  padding: 1.5rem;
  background: var(--bg-panel);
}

.article-box h3 {
  margin: 1.3rem 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
}

.article-box p { margin: 0 0 0.85rem; font-size: 0.92rem; color: var(--muted); }
.meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.8rem; }

/* Tab-style benefits (CSS only, varian H) */
.benefit-tabs { max-width: 36rem; }

.tab-input { position: absolute; opacity: 0; pointer-events: none; }

.tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 3px solid var(--yellow);
  margin-bottom: 0;
}

.tab-labels label {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  background: var(--bg-panel);
  border-right: 2px solid var(--yellow);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tab-labels label:last-child { border-right: none; }

#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"] {
  background: var(--yellow);
  color: #000;
}

.tab-panels {
  border: 3px solid var(--yellow);
  border-top: none;
  background: var(--bg);
  min-height: 120px;
}

.tab-panel {
  display: none;
  padding: 1.2rem 1.25rem;
}

.tab-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
}

.tab-panel p { margin: 0; font-size: 0.88rem; color: var(--muted); }

#tab1:checked ~ .tab-panels #panel1,
#tab2:checked ~ .tab-panels #panel2,
#tab3:checked ~ .tab-panels #panel3,
#tab4:checked ~ .tab-panels #panel4 { display: block; }

/* FAQ */
.faq-wrap { max-width: 36rem; }

.faq-item {
  margin-bottom: 0.5rem;
  border: 2px solid var(--yellow);
  background: var(--bg-panel);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-q span { color: var(--yellow); font-size: 1.15rem; font-weight: 900; }
.faq-item.open .faq-q span { transform: rotate(45deg); display: inline-block; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 1rem 0.9rem; font-size: 0.85rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 3px solid var(--yellow);
  background: var(--bg-alt);
  padding: 2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-brand img { height: 30px; margin-bottom: 0.5rem; }
.footer-brand p { margin: 0; font-size: 0.82rem; color: var(--muted); max-width: 18rem; }

.footer-nav h4 {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 0.82rem; color: var(--muted); }

.footer-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 2px solid var(--yellow);
  font-size: 0.78rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .pill-links, .pill-cta { display: none; }
  .menu-toggle { display: block; }
  .pill-nav { padding: 0.3rem 0.45rem; }
  .hero-band { padding-top: 4rem; }
}
