/*
Theme Name: Empire88 SEO
Theme URI: https://empire88link.com/
Author: Empire88
Description: Tema editorial dan katalog resmi Empire88 dengan fokus SEO, aksesibilitas, dan performa.
Version: 1.0.3
Text Domain: empire88-seo
*/

:root {
  --e88-bg: #030b07;
  --e88-bg-soft: #07150e;
  --e88-panel: #0a1b12;
  --e88-panel-2: #0d2418;
  --e88-line: rgba(211, 170, 45, .25);
  --e88-gold: #f4d43a;
  --e88-gold-deep: #c88712;
  --e88-green: #1fbd70;
  --e88-text: #f7f8f2;
  --e88-muted: #b6c1b9;
  --e88-danger: #ffb8a8;
  --e88-radius: 22px;
  --e88-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--e88-bg);
  color: var(--e88-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
a { color: var(--e88-gold); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #fff36b; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; padding: .8rem; background: #fff; color: #000; z-index: 9999; }
.e88-wrap { width: min(var(--e88-max), calc(100% - 40px)); margin-inline: auto; }
.e88-main { min-height: 70vh; }
.e88-section { padding: 82px 0; }
.e88-section--tight { padding: 50px 0; }
.e88-kicker { margin: 0 0 10px; color: var(--e88-gold); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--e88-text); line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 6vw, 5.2rem); }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.15em; }
.e88-lead { max-width: 760px; color: #dce4de; font-size: clamp(1.08rem, 1.8vw, 1.27rem); }

.e88-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--e88-line); background: rgba(3, 11, 7, .94); backdrop-filter: blur(16px); }
.admin-bar .e88-header { top: 32px; }
.e88-header__inner { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.e88-brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.e88-brand img { width: 210px; height: auto; max-height: 58px; object-fit: contain; }
.e88-nav { margin-left: auto; }
.e88-nav ul { display: flex; align-items: center; gap: 21px; margin: 0; padding: 0; list-style: none; }
.e88-nav a { color: var(--e88-text); font-size: .92rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.e88-nav a:hover, .e88-nav .current-menu-item > a { color: var(--e88-gold); }
.e88-header__actions { display: flex; gap: 10px; }
.e88-menu-toggle { display: none; border: 1px solid var(--e88-line); border-radius: 12px; padding: 10px 14px; background: var(--e88-panel); color: var(--e88-text); font-weight: 800; }

.e88-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 20px; border: 1px solid var(--e88-line); border-radius: 13px; background: var(--e88-panel); color: var(--e88-text); font-weight: 850; line-height: 1.2; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.e88-btn:hover { color: #fff; border-color: rgba(244, 212, 58, .6); transform: translateY(-2px); }
.e88-btn--primary { border-color: var(--e88-gold); background: linear-gradient(135deg, #fff34a, #e8b91f); color: #17200c; }
.e88-btn--primary:hover { color: #111; background: #fff45a; }
.e88-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.e88-hero { position: relative; overflow: hidden; min-height: 690px; display: grid; align-items: center; border-bottom: 1px solid var(--e88-line); background: #031008; }
.e88-hero__media { position: absolute; inset: 0; }
.e88-hero__media > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.e88-hero__media .e88-brand-visual__logo { z-index: 2; left: auto; right: 34px; top: 34px; width: clamp(150px, 18vw, 260px); height: auto; object-fit: contain; }
.e88-hero__media .e88-brand-visual__badge { z-index: 2; right: 34px; top: 112px; }
.e88-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,7,.98) 0%, rgba(3,11,7,.91) 38%, rgba(3,11,7,.2) 72%, rgba(3,11,7,.08) 100%); }
.e88-hero__content { position: relative; z-index: 2; max-width: 700px; padding: 94px 0; }
.e88-hero__content h1 { font-size: clamp(3rem, 6.5vw, 5.6rem); }
.e88-hero__proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.e88-hero__proof li { padding: 8px 12px; border: 1px solid var(--e88-line); border-radius: 999px; background: rgba(6, 27, 17, .74); color: #dce8df; font-size: .86rem; font-weight: 700; }

.e88-brand-visual { position: relative; overflow: hidden; border-radius: var(--e88-radius); background: var(--e88-panel); }
.e88-brand-visual > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.e88-brand-visual__logo { position: absolute; left: 18px; top: 18px; width: clamp(120px, 22%, 220px); filter: drop-shadow(0 3px 10px rgba(0,0,0,.65)); }
.e88-brand-visual__badge { position: absolute; right: 16px; top: 16px; padding: 7px 12px; border: 1px solid rgba(244,212,58,.7); border-radius: 999px; background: rgba(3,11,7,.88); color: var(--e88-gold); font-size: .72rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }

.e88-shortcuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: -34px; position: relative; z-index: 4; }
.e88-shortcut { min-height: 92px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--e88-line); border-radius: 16px; background: var(--e88-panel); color: var(--e88-text); text-align: center; font-weight: 850; text-decoration: none; }
.e88-shortcut:hover { color: var(--e88-gold); border-color: rgba(244,212,58,.55); }
.e88-grid { display: grid; gap: 22px; }
.e88-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e88-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e88-card { padding: 28px; border: 1px solid var(--e88-line); border-radius: var(--e88-radius); background: linear-gradient(145deg, var(--e88-panel), #06150d); }
.e88-card p:last-child { margin-bottom: 0; }
.e88-card ul { margin: 0; padding-left: 1.2rem; }
.e88-card li + li { margin-top: .55rem; }

.e88-products { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.e88-product { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--e88-line); border-radius: 20px; background: var(--e88-panel); }
.e88-product .e88-brand-visual { aspect-ratio: 1 / 1; border-radius: 0; }
.e88-product .e88-brand-visual__logo { width: 38%; left: 12px; top: 12px; }
.e88-product__body { padding: 22px; }
.e88-stock { display: inline-block; margin-bottom: 10px; padding: 5px 9px; border: 1px solid rgba(31,189,112,.55); border-radius: 999px; color: #8af1b8; font-size: .74rem; font-weight: 850; }
.e88-specs { display: grid; gap: 8px; margin: 17px 0; padding: 0; list-style: none; color: var(--e88-muted); font-size: .92rem; }
.e88-price { color: var(--e88-gold); font-size: 1.25rem; font-weight: 950; }
.e88-product .e88-btn { width: 100%; }

.e88-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.e88-article-card { overflow: hidden; border: 1px solid var(--e88-line); border-radius: 20px; background: var(--e88-panel); }
.e88-article-card__body { padding: 24px; }
.e88-article-card h3 a { color: var(--e88-text); text-decoration: none; }
.e88-article-card h3 a:hover { color: var(--e88-gold); }
.e88-meta { color: #9daaa1; font-size: .85rem; }

.e88-page-hero { padding: 92px 0 58px; border-bottom: 1px solid var(--e88-line); background: radial-gradient(circle at 80% 20%, rgba(31,189,112,.14), transparent 35%), var(--e88-bg-soft); }
.e88-breadcrumb { margin-bottom: 22px; color: var(--e88-muted); font-size: .88rem; }
.e88-breadcrumb a { color: var(--e88-muted); }
.e88-content { max-width: 860px; padding: 64px 0 90px; }
.e88-content h2 { margin-top: 2.2em; font-size: clamp(1.75rem, 3vw, 2.6rem); }
.e88-content h3 { margin-top: 1.7em; }
.e88-content p, .e88-content li { color: #d8e0da; }
.e88-content ul, .e88-content ol { padding-left: 1.35rem; }
.e88-content li + li { margin-top: .65rem; }
.e88-content table { width: 100%; border-collapse: collapse; margin: 24px 0 34px; overflow: hidden; border: 1px solid var(--e88-line); border-radius: 14px; background: var(--e88-panel); }
.e88-content th, .e88-content td { padding: 14px 16px; border-bottom: 1px solid var(--e88-line); text-align: left; vertical-align: top; }
.e88-content th { color: var(--e88-gold); background: rgba(31,189,112,.08); }
.e88-content tr:last-child td { border-bottom: 0; }
.e88-depth { margin: 42px 0; }
.e88-note { margin: 28px 0; padding: 22px 24px; border-left: 4px solid var(--e88-gold); border-radius: 0 14px 14px 0; background: var(--e88-panel); }
.e88-checklist { list-style: none; padding: 0 !important; }
.e88-checklist li { position: relative; padding: 13px 15px 13px 44px; border-bottom: 1px solid rgba(244,212,58,.12); }
.e88-checklist li::before { content: "✓"; position: absolute; left: 14px; color: var(--e88-gold); font-weight: 950; }
.e88-faq details { margin: 10px 0; padding: 18px 20px; border: 1px solid var(--e88-line); border-radius: 14px; background: var(--e88-panel); }
.e88-faq summary { cursor: pointer; font-weight: 850; }
.e88-faq details p { margin-top: 14px; }
.e88-cta { padding: 36px; border: 1px solid rgba(244,212,58,.35); border-radius: 24px; background: linear-gradient(135deg, #0d2c1c, #07150e); }

.e88-footer { border-top: 1px solid var(--e88-line); background: #020805; }
.e88-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 42px; padding: 64px 0 30px; }
.e88-footer__logo { width: 240px; margin-bottom: 18px; }
.e88-footer h2 { font-size: 1.08rem; letter-spacing: 0; }
.e88-footer ul { margin: 0; padding: 0; list-style: none; }
.e88-footer li + li { margin-top: 8px; }
.e88-footer a { color: #cbd5ce; text-decoration: none; }
.e88-footer a:hover { color: var(--e88-gold); }
.e88-footer__bottom { padding: 22px 0 32px; border-top: 1px solid rgba(244,212,58,.12); color: #8d9991; font-size: .86rem; }

@media (max-width: 1100px) {
  .e88-nav { position: absolute; left: 0; right: 0; top: 80px; display: none; padding: 18px 20px 24px; border-bottom: 1px solid var(--e88-line); background: #041109; }
  .e88-nav.is-open { display: block; }
  .e88-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .e88-nav a { display: block; padding: 10px 0; }
  .e88-menu-toggle { display: inline-flex; }
  .e88-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .e88-article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  .admin-bar .e88-header { top: 46px; }
  .e88-wrap { width: min(100% - 28px, var(--e88-max)); }
  .e88-header__inner { min-height: 70px; gap: 10px; }
  .e88-brand img { width: 138px; }
  .e88-nav { top: 70px; }
  .e88-header__actions .e88-btn--primary { display: none; }
  .e88-header__actions .e88-btn { min-height: 42px; padding: 9px 13px; }
  .e88-hero { min-height: 770px; align-items: end; }
  .e88-hero__media { height: 43%; }
  .e88-hero__media > img:first-child { object-position: 68% center; }
  .e88-hero__media .e88-brand-visual__logo { right: 16px; top: 16px; width: 150px; }
  .e88-hero__media .e88-brand-visual__badge { right: 16px; top: 76px; }
  .e88-hero__shade { background: linear-gradient(180deg, rgba(3,11,7,.05) 0%, rgba(3,11,7,.64) 35%, rgba(3,11,7,.98) 56%, #030b07 100%); }
  .e88-hero__content { padding: 330px 0 62px; }
  .e88-hero__content h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .e88-btns .e88-btn { width: 100%; }
  .e88-shortcuts { margin-top: 0; padding-top: 18px; grid-template-columns: repeat(2, 1fr); }
  .e88-shortcut { min-height: 74px; }
  .e88-section { padding: 62px 0; }
  .e88-grid--2, .e88-grid--3, .e88-article-grid, .e88-footer__grid { grid-template-columns: 1fr; }
  .e88-products { grid-template-columns: repeat(5, 82vw); margin-right: -14px; }
  .e88-page-hero { padding: 70px 0 46px; }
  .e88-content { padding: 46px 0 68px; }
  .e88-footer__grid { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
