/* Sumberkopi — coming soon. Adaptasi layout design.jpg:
   topbar + hero kiri + kartu melayang kanan + bottombar + rail sosial kanan. */
:root {
  --bg: #3a3a3c;
  --paper: #fdfbf7;
  --ink: #1e1a14;
  --muted: #6f6257;
  --accent: #b4551f;   /* terracotta sangrai */
  --leaf: #2f5d3a;     /* hijau lereng */
  --lake: #2e6f8e;     /* biru danau */
  --card: rgba(20, 14, 8, .55);
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stage { max-width: 1180px; margin: 4vh auto; padding: 0 20px 40px; }

/* ——— Kartu utama ——— */
.card {
  position: relative; background: var(--paper);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
/* ——— Topbar ——— */
.topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 0 0 0 18px; border-bottom: 1px solid #eee5d8; background: #fff;
}
.icon-btn { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { text-decoration: none; color: var(--ink); font-size: 14px; padding: 16px 2px; }
.nav a.active, .nav a:hover { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.search {
  align-self: stretch; display: grid; place-items: center;
  width: 64px; background: #ececec; color: #555; font-size: 20px;
}

/* ——— Hero: gradien lereng + danau (ganti dengan foto via .hero.has-photo) ——— */
.hero {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr;
  min-height: 560px; color: #fff;
  background:
    radial-gradient(1100px 420px at 18% 30%, rgba(190,200,80,.85), transparent 60%),   /* lereng */
    radial-gradient(900px 500px at 85% 15%, rgba(255,255,255,.35), transparent 55%),    /* kabut */
    linear-gradient(180deg, #7a8b5a 0%, #4c5b3a 34%, #2c3a2a 52%, #274b5f 72%, #16394e 100%);
}
/* Untuk memakai foto asli: taruh file di assets/img/hero.jpg lalu tambah class has-photo */
.hero.has-photo {
  background:
    linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 55%, rgba(10,10,10,.05) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-copy { padding: 56px 8px 90px 48px; max-width: 560px; }
.badge {
  display: inline-block; font-size: 13px; letter-spacing: .04em;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 12px; border-radius: 999px; margin: 0 0 10px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 104px); line-height: .95; margin: 0 0 6px;
  text-shadow: 0 3px 24px rgba(0,0,0,.45);
}
.tagline { margin: 0 0 14px; font-weight: 600; color: #ffe9c9; }
.desc { margin: 0 0 22px; max-width: 44ch; color: #f3ece1; font-size: 15px; }

/* Form notify */
.notify { display: flex; gap: 0; max-width: 440px; }
.notify input {
  flex: 1; border: 0; padding: 13px 14px; font-size: 15px;
  border-radius: 6px 0 0 6px; min-width: 0;
}
.notify button {
  border: 0; cursor: pointer; padding: 0 20px; font-weight: 700; font-size: 14px;
  background: var(--accent); color: #fff; border-radius: 0 6px 6px 0;
}
.notify button:hover { filter: brightness(1.08); }
.fine { font-size: 13px; color: #e9ded0; }
.fine a { color: #ffd9a8; }
.countdown { font-size: 14px; background: rgba(0,0,0,.4); display: inline-block; padding: 8px 14px; border-radius: 6px; }
.countdown strong { font-size: 17px; }

/* Kartu melayang kanan */
.guide {
  align-self: center; justify-self: end; margin-right: 96px;
  background: var(--card); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  padding: 14px 18px; min-width: 250px;
}
.guide-title { margin: 0 0 8px; font-size: 13px; opacity: .85; }
.guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide li { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.guide b { font-size: 14px; }
.g-icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 16px;
}
.pager { position: absolute; right: 96px; bottom: 86px; margin: 0; font-size: 13px; opacity: .9; }

/* ——— Bottombar ——— */
.bottombar {
  position: absolute; left: 0; bottom: 0;
  display: flex; background: rgba(15,10,6,.78); backdrop-filter: blur(4px);
  border-radius: 0 var(--radius) 0 var(--radius);
}
.bottombar a {
  color: #fff; text-decoration: none; font-size: 13px; padding: 16px 28px;
  border-left: 1px solid rgba(255,255,255,.25);
}
.bottombar a:first-child { border-left: 0; }
.bottombar a:hover { background: rgba(255,255,255,.12); }

/* ——— Rail sosial vertikal ——— */
.rail {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64px;
  background: #fff; border-left: 1px solid #eee5d8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
}
.rail a {
  writing-mode: vertical-rl; text-decoration: none; color: #8a7f73;
  font-size: 12px; letter-spacing: .08em;
}
.rail a:hover { color: var(--accent); }

/* ——— Strip info + footer ——— */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px;
}
.strip div { background: #efe9dd; border-radius: 8px; padding: 14px 16px; font-size: 14px; }
.strip strong { display: block; font-size: 15px; }
.strip span { color: var(--muted); font-size: 13px; }
.foot { color: #bdbdbd; font-size: 13px; text-align: center; }
.foot a { color: #d9d9d9; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 36px 22px 150px; }
  .guide { justify-self: start; margin: 0 22px 120px; }
  .pager { display: none; }
  .rail { display: none; }
  .nav { gap: 14px; overflow-x: auto; }
  .search { display: none; }
  .strip { grid-template-columns: 1fr; }
  .bottombar { right: 0; }
  .bottombar a { flex: 1; text-align: center; padding: 14px 8px; }
}
