/* =====================================================================
   FUTURECOIN NEWS PORTAL — PUBLIC STYLESHEET
   Palet: Dark #0C1014 · Biru #0B7CFE · Teal #59D9DA
   ===================================================================== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

:root{
  --bg:#0C1014;
  --bg-alt:#10151B;
  --card:#141A21;
  --border:rgba(241,238,251,0.08);
  --text:#F1EEFB;
  --text-dim:#9CA3AF;
  --text-dimmer:#6B7280;
  --blue:#0B7CFE;
  --blue-soft:rgba(11,124,254,0.12);
  --teal:#59D9DA;
  --radius:16px;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  line-height:1.6;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }
.mono{ font-family:'JetBrains Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }

/* ===== NAVBAR ===== */
.navbar{
  position:sticky; top:0; z-index:50;
  background:rgba(12,16,20,0.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.navbar .navin{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.15rem; flex-shrink:0; }
.brand img{ width:70px; height:auto; }
.brand span{ color:var(--blue); }
.navlinks{ display:flex; gap:26px; font-size:.92rem; color:var(--text-dim); }
.navlinks a:hover{ color:var(--blue); }
.navsearch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280; /* Warna ikon (bisa disesuaikan) */
}
.navsearch input{ background:none; border:none; outline:none; color:var(--text); font-size:.85rem; width:100%; }
.navsearch input::placeholder{ color:var(--text-dimmer); }
.navburger{ display:none; background:none; border:none; color:var(--text); font-size:1.4rem; cursor:pointer; }

/* ===== TOPBAR TICKER (mini market info placeholder) ===== */
.topbar{
  background:linear-gradient(90deg, rgba(11,124,254,0.1), rgba(89,217,218,0.06));
  border-bottom:1px solid var(--border);
  font-family:'JetBrains Mono',monospace; font-size:.7rem; letter-spacing:.08em;
  color:var(--text-dim); padding:7px 0; text-transform:uppercase;
}
.topbar b{ color:var(--teal); }
.topbar-in{ display:flex; align-items:center; justify-content:center; gap:14px; }
.topbar-text{ flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.topbar-text-mobile{ display:none; }
.topbar-tele-btn{
  display:inline-flex; align-items:center; gap:6px; flex-shrink:0;
  background:var(--blue); color:#fff; font-weight:700; font-size:.66rem;
  font-family:'JetBrains Mono',monospace; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 14px; border-radius:999px; text-decoration:none;
  transition:opacity .15s ease;
}
.topbar-tele-btn:hover{ opacity:.85; }

/* ===== HERO / FEATURED ===== */
.hero-section{ padding:36px 0 20px; }
.hero-grid{ display:grid; grid-template-columns:1.6fr 1fr; gap:24px; }
.hero-grid-single{ grid-template-columns:1fr; }
.hero-grid-single .hero-main{ min-height:340px; }
.hero-main{
  position:relative; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border); min-height:420px; display:flex; align-items:flex-end;
  background:var(--card);
}
.hero-main img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; }
.hero-main::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(12,16,20,0.98) 10%, rgba(12,16,20,0.25) 70%);
}
.hero-main .hc{ position:relative; z-index:2; padding:34px; }
.hero-side{ display:flex; flex-direction:column; gap:16px; }
.hero-side-card{
  display:flex; gap:14px; background:var(--card); border:1px solid var(--border);
  border-radius:14px; padding:14px; align-items:center; transition:border-color .2s;
}
.hero-side-card:hover{ border-color:rgba(11,124,254,.5); }
.hero-side-card img{ width:96px; height:72px; object-fit:cover; border-radius:10px; flex-shrink:0; }

.badge-cat{
  display:inline-block; font-family:'JetBrains Mono',monospace; font-size:.62rem; letter-spacing:.1em;
  text-transform:uppercase; padding:5px 12px; border-radius:999px; background:var(--blue-soft); color:var(--blue);
  border:1px solid rgba(11,124,254,.3); margin-bottom:10px;
}
.badge-sponsor{
  display:inline-block; font-family:'JetBrains Mono',monospace; font-size:.62rem; letter-spacing:.1em;
  text-transform:uppercase; padding:5px 12px; border-radius:999px; background:rgba(245,165,36,.14); color:#f5a524;
  border:1px solid rgba(245,165,36,.35); margin-bottom:10px; margin-left:8px;
}
.sponsor-note{
  font-size:.8rem; color:var(--text-dim); background:var(--card); border:1px solid var(--border);
  border-left:3px solid #f5a524; border-radius:0 10px 10px 0; padding:12px 16px; margin-top:10px;
}
.hero-main h1{ font-size:clamp(1.3rem,3vw,2rem); font-weight:800; line-height:1.2; margin-bottom:10px; }
.hero-side-card h3{ font-size:.9rem; font-weight:600; line-height:1.35; }
.meta{ font-size:.75rem; color:var(--text-dim); margin-top:6px; display:flex; gap:10px; align-items:center; }
.meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--text-dimmer); }

/* ===== SECTION HEADER ===== */
.sec-head{ display:flex; align-items:center; justify-content:space-between; margin:44px 0 22px; }
.sec-head h2{ font-size:1.3rem; font-weight:800; display:flex; align-items:center; gap:10px; }
.sec-head h2::before{ content:""; width:5px; height:22px; background:var(--blue); border-radius:3px; display:inline-block; }
.sec-head a{ font-size:.8rem; color:var(--blue); font-weight:600; }

/* ===== MAIN LAYOUT ===== */
.content-layout{ display:grid; grid-template-columns:2.2fr 1fr; gap:34px; align-items:start; }

/* ===== ARTICLE CARDS / GRID ===== */
.grid-articles{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.card{
  background:var(--card); border:1px solid var(--border); border-radius:14px; overflow:hidden;
  transition:transform .2s, border-color .2s;
}
.card:hover{ transform:translateY(-3px); border-color:rgba(11,124,254,.45); }
.card .thumb{ aspect-ratio:16/9; overflow:hidden; background:#0a0d11; }
.card .thumb img{ width:100%; height:100%; object-fit:cover; }
.card .body{ padding:16px; }
.card h3{ font-size:.98rem; font-weight:700; line-height:1.35; margin-bottom:8px; }
.card p{ font-size:.83rem; color:var(--text-dim); }

.list-row{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--border); }
.list-row:last-child{ border-bottom:none; }
.list-row .thumb{ width:150px; height:100px; border-radius:10px; overflow:hidden; flex-shrink:0; background:#0a0d11; }
.list-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.list-row h3{ font-size:1rem; font-weight:700; margin-bottom:6px; }
.list-row p{ font-size:.85rem; color:var(--text-dim); }

/* ===== SLIDER NAV (dipakai Press Release & Advertorial) ===== */
.fc-slide-nav{
  flex-shrink:0; width:34px; height:34px; border-radius:50%;
  background:var(--card); border:1px solid var(--border); color:var(--text);
  font-size:1.2rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, color .2s;
}
.fc-slide-nav:hover{ border-color:var(--blue); color:var(--blue); }
.fc-slide-nav:disabled{ opacity:.35; cursor:default; }
.fc-slide-nav:disabled:hover{ border-color:var(--border); color:var(--text); }

/* ===== PRESS RELEASE SLIDER (kolom utama) ===== */
.pr-head::before{ background:#f5a524 !important; }
.pr-slider-wrap{ display:flex; align-items:center; gap:10px; margin-bottom:44px; }
.pr-slider{
  display:flex; gap:16px; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none;
  flex:1; min-width:0;
}
.pr-slider::-webkit-scrollbar{ display:none; }
.pr-card{
  flex:0 0 240px; background:var(--card); border:1px solid var(--border); border-radius:14px;
  overflow:hidden; transition:transform .2s, border-color .2s;
}
.pr-card:hover{ transform:translateY(-3px); border-color:rgba(245,165,36,.5); }
.pr-card .thumb{ aspect-ratio:16/9; overflow:hidden; background:#0a0d11; }
.pr-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.pr-card .body{ padding:14px; }
.pr-card h4{ font-size:.88rem; font-weight:700; line-height:1.35; margin:0 0 8px; }

/* ===== ADVERTORIAL SLIDER (sidebar) — 1 kartu full-width per slide,
   panah overlay pas di atas gambar (aspect-ratio sama dgn .thumb: 16/9)
   supaya presisi menempel di gambar berapapun lebar containernya. ===== */
.adv-slider-wrap{ position:relative; }
.adv-slider{
  display:flex; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none;
  scroll-snap-type:x mandatory; border-radius:12px;
}
.adv-slider::-webkit-scrollbar{ display:none; }
.adv-card{
  flex:0 0 100%; width:100%; scroll-snap-align:start;
  background:var(--bg-alt); border:1px solid var(--border); border-radius:12px; overflow:hidden;
}
.adv-card .thumb{ aspect-ratio:16/9; overflow:hidden; background:#0a0d11; }
.adv-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.adv-card .body{ padding:14px; }
.adv-card h5{ font-size:.85rem; font-weight:600; line-height:1.35; margin:0 0 6px; }

.adv-nav-overlay{
  position:absolute; left:0; right:0; top:0;
  aspect-ratio:16/9; /* identik dgn .thumb -> tinggi overlay selalu pas di area gambar */
  display:flex; align-items:center; justify-content:space-between;
  padding:0 8px; pointer-events:none; /* klik tembus, kecuali ke tombolnya sendiri */
}
.adv-nav-overlay .fc-slide-nav{
  pointer-events:auto;
  width:30px; height:30px; font-size:1rem;
  background:rgba(12,16,20,.72); backdrop-filter:blur(3px);
  border-color:rgba(241,238,251,.18);
}
.adv-nav-overlay .fc-slide-nav:hover{ background:rgba(12,16,20,.9); }

.adv-dots{ display:flex; justify-content:center; gap:6px; margin-top:12px; }
.adv-dot{ width:6px; height:6px; border-radius:50%; background:var(--border); transition:background .2s, width .2s; }
.adv-dot.active{ background:var(--blue); width:16px; border-radius:3px; }

/* ===== SIDEBAR ===== */
.side-block{ background:var(--card); border:1px solid var(--border); border-radius:14px; padding:20px; margin-bottom:22px; }
.side-block h4{ font-family:'JetBrains Mono',monospace; font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; }
.side-trend{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); align-items:flex-start; }
.side-trend:last-child{ border-bottom:none; }
.side-trend .n{ font-family:'JetBrains Mono',monospace; font-weight:800; color:var(--blue); font-size:1.1rem; width:22px; flex-shrink:0; }
.side-trend h5{ font-size:.86rem; font-weight:600; line-height:1.35; }

.cat-pill-list{ display:flex; flex-wrap:wrap; gap:8px; }
.cat-pill{
  font-size:.78rem; padding:7px 14px; border-radius:999px; border:1px solid var(--border);
  color:var(--text-dim); transition:.2s;
}
.cat-pill:hover{ border-color:var(--blue); color:var(--blue); }

.banner-slot{ border-radius:14px; overflow:hidden; border:1px solid var(--border); margin-bottom:22px; background:var(--card); }
.banner-slot img{ width:100%; }
.banner-slot .adlabel{ font-family:'JetBrains Mono',monospace; font-size:.58rem; color:var(--text-dimmer); padding:6px 10px; letter-spacing:.1em; text-transform:uppercase; }

/* ===== POPUP BANNER ===== */
.popup-overlay{
  position:fixed; inset:0; z-index:200; background:rgba(7,10,13,.75); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.popup-overlay.show{ opacity:1; pointer-events:auto; }
.popup-box{ position:relative; max-width:460px; width:100%; }
.popup-box img{ border-radius:16px; width:100%; border:1px solid var(--border); }
.popup-box .adlabel{ position:absolute; top:10px; left:10px; background:rgba(12,16,20,.75); color:var(--text-dimmer);
  font-family:'JetBrains Mono',monospace; font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; padding:4px 10px; border-radius:6px; }
.popup-close{
  position:absolute; top:-16px; right:-16px; width:36px; height:36px; border-radius:50%;
  background:var(--card); border:1px solid var(--border); color:var(--text); font-size:1.3rem; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.popup-close:hover{ border-color:var(--blue); color:var(--blue); }

/* ===== ARTICLE DETAIL ===== */
.article-header{ padding:40px 0 10px; }
.article-header .badge-cat{ margin-bottom:16px; }
.article-header h1{ font-size:clamp(1.5rem,3.6vw,2.4rem); font-weight:800; line-height:1.2; margin-bottom:18px; }
.article-header .meta{ font-size:.85rem; margin-bottom:26px; }
.article-cover{ border-radius:var(--radius); overflow:hidden; margin-bottom:30px; border:1px solid var(--border); }
.article-body{ font-size:1.02rem; color:#D8D6E8; max-width:760px; }
.article-body h2, .article-body h3{ color:var(--text); margin:30px 0 14px; font-weight:800; }
.article-body p{ margin-bottom:18px; }
.article-body img{ border-radius:12px; margin:20px 0; }
.article-body a{ color:var(--blue); text-decoration:underline; }
.article-body blockquote{ border-left:3px solid var(--blue); padding:12px 20px; color:var(--text-dim); margin:20px 0; background:var(--card); border-radius:0 10px 10px 0; }
.tag-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:30px; }
.tag-list a{ font-size:.76rem; padding:6px 13px; border:1px solid var(--border); border-radius:999px; color:var(--text-dim); }

.share-box{ display:flex; gap:10px; margin:26px 0; align-items:center; }
.share-box a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; transition:.2s; }
.share-box a:hover{ border-color:var(--blue); color:var(--blue); }

/* ===== PAGINATION ===== */
.pagination{ display:flex; gap:8px; justify-content:center; margin:50px 0 20px; flex-wrap:wrap; }
.pagination a, .pagination span{
  min-width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:10px; font-size:.85rem; color:var(--text-dim);
}
.pagination a:hover{ border-color:var(--blue); color:var(--blue); }
.pagination .active{ background:var(--blue); color:#fff; border-color:var(--blue); }

/* ===== FOOTER ===== */
footer{ margin-top:80px; border-top:1px solid var(--border); padding:50px 0 30px; background:var(--bg-alt); }
.foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:30px; margin-bottom:40px; }
.foot-grid h5{ font-family:'JetBrains Mono',monospace; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; }
.foot-grid ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.foot-grid ul a{ color:var(--text-dim); font-size:.86rem; }
.foot-grid ul a:hover{ color:var(--blue); }
.foot-bottom{ border-top:1px solid var(--border); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.78rem; color:var(--text-dimmer); }

/* ===== EMPTY / MISC ===== */
.empty-state{ text-align:center; padding:60px 20px; color:var(--text-dim); }
.btn{ display:inline-block; padding:12px 24px; border-radius:999px; font-size:.85rem; font-weight:600; }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-outline{ border:1px solid var(--border); color:var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width:980px){
  .content-layout{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-articles{ grid-template-columns:1fr; }
}
@media (max-width:720px){
  .navlinks, .navsearch{ display:none; }
  .navburger{ display:block; }
  .foot-grid{ grid-template-columns:1fr; }
  .list-row{ flex-direction:column; }
  .list-row .thumb{ width:100%; height:180px; }
  .topbar-text-full{ display:none; }
  .topbar-text-mobile{ display:inline; }
  .topbar-tele-btn{ font-size:.6rem; padding:5px 11px; }

  .navlinks.show{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(12,16,20,0.98); backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border);
    padding:6px 20px 14px;
  }
  .navlinks.show a{
    padding:12px 0; font-size:.95rem;
    border-bottom:1px solid var(--border);
  }
  .navlinks.show a:last-child{ border-bottom:none; }

  .navbar .wrap{ padding-left:24px; padding-right:20px; }
  .navburger{ padding:8px; margin-right:-8px; }

  .pr-card{ flex-basis:190px; }
}
@media (max-width:480px){
  .adv-nav-overlay .fc-slide-nav{ width:32px; height:32px; }
}