/* ============================================================
   LANDING PAGE — PARTAI RAKYAT INDONESIA
   Tema: Harimau Putih · Merah · Hitam · Emas
   assets/css/landing.css
   ============================================================ */
:root {
    /* ═══════════════════════════════════
       WARNA BRAND PARTAI RAKYAT INDONESIA
       Logo: Merah · Putih · Hitam · Emas
    ═══════════════════════════════════ */
    --red:       #C8151A;   /* merah utama logo PRI */
    --red-dk:    #9E0F13;   /* merah gelap */
    --red-dkr:   #6B0509;   /* merah sangat gelap */
    --red-lt:    #E03035;   /* merah terang */
    --red-pal:   rgba(200,21,26,.10);
    --red-pal2:  rgba(200,21,26,.06);

    /* Emas — aksen dari lambang */
    --gold:      #B8730A;
    --gold-lt:   #D4900F;
    --gold-pal:  rgba(184,115,10,.12);

    /* Putih & Netral hangat */
    --white:     #FFFFFF;
    --off:       #F9F7F5;
    --g1:        #F0EDEA;
    --g2:        #DDD8D2;
    --g3:        #A09890;
    --g4:        #5C5550;

    /* Hitam dari logo */
    --black:     #0E0C0B;
    --black2:    #201C1A;
    --black3:    #332E2B;

    /* Surface */
    --surface:   #FFFFFF;
    --bg:        var(--off);
    --border:    var(--g2);
    --shadow:    0 2px 14px rgba(14,12,11,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--off); color: var(--black); overflow-x: clip; }

/* ═══════════════════════════════════════
   NAVBAR — putih bersih, logo merah
═══════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
    height: 66px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 44px);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--red);
    transition: box-shadow .3s, border-color .3s;
    gap: 12px;
}
/* ── Hamburger button ── */
.nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 40px; height: 40px; border: none;
    background: rgba(200,21,26,.08); border-radius: 8px;
    cursor: pointer; flex-shrink: 0;
    transition: background .2s;
}
.nav-hamburger:hover { background: rgba(200,21,26,.18); }
.nav-hamburger span {
    display: block; width: 20px; height: 2px;
    background: var(--red); border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── Mobile drawer ── */
.nav-drawer {
    display: none;
    position: fixed; top: 66px; left: 0; right: 0;
    background: rgba(255,255,255,.99); backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 8px 32px rgba(14,12,11,.15);
    z-index: 8999; padding: 20px 24px 24px;
    flex-direction: column; gap: 16px;
}
.nav-drawer.open { display: flex; }
.nav-drawer-links { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer-links a {
    font-size: 14px; font-weight: 600; color: var(--black2);
    text-decoration: none; padding: 10px 12px;
    border-radius: 8px; transition: background .15s, color .15s;
}
.nav-drawer-links a:hover { background: var(--red-pal); color: var(--red); }
.nav-drawer-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--g2); }
.nav-drawer-actions a { flex: 1; text-align: center; min-width: 130px; }
/* Garis gold muncul setelah scroll — seperti aksen mata harimau */
.navbar.scrolled {
    box-shadow: 0 4px 28px rgba(14,12,11,.14);
    border-bottom-color: var(--red);
}
.navbar.scrolled::after {
    content: '';
    position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .6;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--red);
    box-shadow: 0 0 0 3px rgba(200,21,26,.15);
}
.nav-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 15.5px; font-weight: 900;
    color: var(--black); line-height: 1.15;
    letter-spacing: -.01em;
}
.nav-brand-sub {
    font-size: 9px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--red);
}

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
    font-size: 13px; font-weight: 600;
    color: var(--black2); text-decoration: none;
    position: relative; padding-bottom: 3px;
    transition: color .2s;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -1px; left: 0; width: 0; height: 2px;
    background: var(--red); border-radius: 2px;
    transition: width .25s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn-nav-outline {
    padding: 7px 18px;
    border: 2px solid var(--red); border-radius: 6px;
    color: var(--red); font-family: 'DM Sans', sans-serif;
    font-size: 12.5px; font-weight: 700; background: transparent;
    cursor: pointer; text-decoration: none; transition: all .2s;
    white-space: nowrap;
}
.btn-nav-outline:hover { background: var(--red); color: #fff; }
.btn-nav-solid {
    padding: 8px 18px;
    border: none; border-radius: 6px;
    background: linear-gradient(135deg, var(--red-dk), var(--red));
    color: #fff; font-family: 'DM Sans', sans-serif;
    font-size: 12.5px; font-weight: 700;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 3px 14px rgba(200,21,26,.35);
    transition: all .2s; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-nav-solid::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(232,168,32,.15) 0%, transparent 50%);
    pointer-events: none;
}
.btn-nav-solid:hover {
    background: linear-gradient(135deg, var(--red-dkr), var(--red-dk));
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(200,21,26,.45);
}

/* ═══════════════════════════════════════
   HERO MAP — peta full width
═══════════════════════════════════════ */
.hero-map {
    position: relative; width: 100%;
    height: calc(100vh - 66px); margin-top: 66px;
    background: #0d0a0b; display: flex; flex-direction: column; overflow: hidden;
}
/* Layer toggle button */
#landingLayerBtn {
    position: absolute; top: 108px; right: 14px; z-index: 600;
    background: rgba(14,12,11,.82); backdrop-filter: blur(8px);
    border: 1.5px solid rgba(200,21,26,.5); border-radius: 9px;
    padding: 6px 12px; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.85);
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
    white-space: nowrap; transition: all .2s;
}
#landingLayerBtn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.map-toolbar {
    flex-shrink: 0; padding: 10px 20px 8px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200,21,26,.25); flex-wrap: wrap;
}
.map-toolbar-title { display: flex; align-items: center; gap: 8px; }
.map-toolbar-title span {
    font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.85);
}
.map-live-dot {
    display: flex; align-items: center; gap: 5px;
    background: rgba(200,21,26,.95); border-radius: 20px;
    padding: 4px 12px; font-size: 10.5px; font-weight: 800;
    color: #fff; letter-spacing: .06em;
}
.map-live-dot::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff;
    animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }

.filter-bar {
    flex-shrink: 0; padding: 9px 18px;
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap;
}
.filter-select {
    flex: 1; min-width: 120px; max-width: 178px;
    padding: 7px 28px 7px 10px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(200,21,26,.4); border-radius: 7px;
    color: #fff; font-family: 'DM Sans', sans-serif;
    font-size: 11.5px; font-weight: 500;
    cursor: pointer; outline: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23E8383D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 9px center;
    transition: border-color .2s, background .2s;
}
.filter-select:focus { border-color: var(--red-lt); background-color: rgba(255,255,255,.14); }
.filter-select:disabled { opacity: .35; cursor: not-allowed; }
.filter-select option { background: #1a0102; color: #fff; }
.btn-reset-map {
    padding: 7px 14px; background: rgba(200,21,26,.2);
    border: 1px solid rgba(200,21,26,.5); border-radius: 7px;
    color: rgba(255,255,255,.85); font-family: 'DM Sans', sans-serif;
    font-size: 11.5px; font-weight: 700; cursor: pointer;
    white-space: nowrap; flex-shrink: 0; transition: all .2s;
}
.btn-reset-map:hover { background: rgba(200,21,26,.65); color: #fff; }

.map-trail { display: none; align-items: center; gap: 6px; padding: 5px 18px; background: rgba(200,21,26,.18); border-bottom: 1px solid rgba(200,21,26,.22); flex-wrap: wrap; }
.map-trail.on { display: flex; }
.map-trail .tc { font-size: 10.5px; font-weight: 700; color: #fff; }
.map-trail .ts { color: rgba(200,21,26,.7); font-size: 13px; }

#map-landing { flex: 1; min-height: 0; }

/* Panel statistik peta */
.map-panel {
    position: absolute; top: 105px; right: 14px; width: 215px;
    max-height: calc(100% - 120px);
    background: rgba(10,1,2,.88); backdrop-filter: blur(14px);
    border-radius: 13px; border: 1px solid rgba(200,21,26,.3);
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 20px rgba(200,21,26,.08); z-index: 600;
    overflow: hidden; font-family: 'DM Sans', sans-serif;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
/* ── Mobile panel toggle ── */
#mapPanelToggle {
    display: none;
    position: absolute; top: 108px; right: 14px; z-index: 601;
    background: var(--red); backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,.25); border-radius: 9px;
    padding: 7px 13px; cursor: pointer;
    align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: #fff;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 14px rgba(200,21,26,.5);
    white-space: nowrap; transition: all .2s;
}
#mapPanelToggle:hover { background: var(--red-dk); }
#mapPanelToggle svg { flex-shrink: 0; transition: transform .25s; }
.map-panel-head {
    background: linear-gradient(135deg, #6B0509 0%, #C8151A 100%);
    padding: 10px 14px; font-size: 9px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(200,21,26,.3);
}
.map-panel-head strong {
    display: block; font-size: 12.5px; font-weight: 800; color: #fff;
    letter-spacing: 0; text-transform: none; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.map-panel-body { padding: 12px 14px; max-height: calc(100% - 50px); overflow-y: auto; }
.map-panel-body::-webkit-scrollbar { width: 2px; }
.map-panel-body::-webkit-scrollbar-thumb { background: rgba(200,21,26,.4); border-radius: 2px; }
.sum-row { display: flex; gap: 7px; margin-bottom: 11px; }
.sum-box { flex: 1; border-radius: 8px; padding: 8px 10px; text-align: center; }
.sum-box.red { background: linear-gradient(135deg, var(--red-dkr), var(--red)); }
.sum-box.wht { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sum-val { display: block; font-size: 18px; font-weight: 900; line-height: 1; }
.sum-box.red .sum-val { color: #fff; }
.sum-box.wht .sum-val { color: rgba(255,255,255,.9); }
.sum-lbl { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-top: 3px; display: block; }
.sum-box.red .sum-lbl { color: rgba(255,255,255,.65); }
.sum-box.wht .sum-lbl { color: rgba(255,255,255,.4); }
.dl { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 7px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 9px; }
.bk-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.bk-rank { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; flex-shrink: 0; background: var(--g2); color: var(--g3); }
.bk-rank.r1 { background: var(--red); color: #fff; }
.bk-rank.r2 { background: rgba(200,21,26,.35); color: var(--red-dk); }
.bk-rank.r3 { background: rgba(200,21,26,.15); color: var(--red); }
.bk-body { flex: 1; min-width: 0; }
.bk-nama { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-bars { display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.bk-bar-wrap { flex: 1; background: rgba(255,255,255,.1); border-radius: 4px; height: 4px; overflow: hidden; }
.bk-bar-aktif { height: 100%; background: var(--red); border-radius: 4px; transition: width .6s; }
.bk-bar-tunggu { height: 100%; background: rgba(200,21,26,.4); border-radius: 4px; }
.bk-nums { text-align: right; flex-shrink: 0; }
.bk-aktif { font-size: 10px; font-weight: 800; color: #ff6b6b; display: block; }
.bk-tunggu { font-size: 8.5px; color: rgba(255,255,255,.35); display: block; }
.panel-loading { padding: 20px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.3); }
.spin { width: 16px; height: 16px; border: 2px solid rgba(200,21,26,.2); border-top-color: var(--red); border-radius: 50%; animation: spin .6s linear infinite; flex-shrink: 0; }
@keyframes spin { to{transform:rotate(360deg)} }
.nodata { padding: 18px 14px; text-align: center; color: rgba(255,255,255,.3); font-size: 12px; line-height: 1.6; }
.nodata-ico { font-size: 22px; display: block; margin-bottom: 6px; }
.map-legend {
    flex-shrink: 0; padding: 8px 18px;
    display: flex; align-items: center; gap: 18px;
    background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,.06); flex-wrap: wrap;
}
.legend-title { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); flex-shrink: 0; }
.legend-items { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-swatch { width: 18px; height: 7px; border-radius: 4px; }
.legend-label { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.65); }

/* Leaflet overrides */
#map-landing .leaflet-control-zoom { border: 1px solid rgba(200,21,26,.35) !important; border-radius: 8px !important; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.4) !important; }
#map-landing .leaflet-control-zoom a { background: rgba(10,1,2,.88) !important; color: rgba(255,255,255,.8) !important; border-bottom: 1px solid rgba(200,21,26,.2) !important; transition: background .2s; font-size: 16px !important; line-height: 30px !important; width: 30px !important; height: 30px !important; }
#map-landing .leaflet-control-zoom a:hover { background: var(--red) !important; color: #fff !important; }
#map-landing .leaflet-tooltip { background: rgba(10,1,2,.92); backdrop-filter: blur(8px); border: 1px solid rgba(200,21,26,.5); border-radius: 7px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; padding: 6px 11px; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
#map-landing .leaflet-tooltip::before { border-top-color: rgba(200,21,26,.5) !important; }
#map-landing .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.4); border: 1px solid rgba(200,21,26,.15); }
.pp { font-family: 'DM Sans', sans-serif; }
.pp-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px; border-bottom: 1px solid var(--g2); }
.pp-ico { width: 26px; height: 26px; border-radius: 6px; background: var(--red-pal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pp-title { font-size: 13px; font-weight: 800; color: var(--black); }
.pp-type { font-size: 10px; color: var(--g3); }
.pp-body { padding: 10px 14px; }
.pp-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.pp-lbl { font-size: 11px; color: #666; }
.pp-val { font-size: 12px; font-weight: 800; }
.pp-val.red { color: var(--red); }
.pp-val.wht { color: var(--black); }

/* ═══════════════════════════════════════
   NEWS TICKER — bar hitam di bawah peta
═══════════════════════════════════════ */
.news-ticker-wrap {
    display: flex; align-items: stretch;
    overflow: hidden; height: 46px;
    background: var(--black);
    border-top: 3px solid var(--red);
    border-bottom: 1px solid var(--black3);
}
.news-ticker-label {
    background: var(--red);
    color: #fff; font-size: 10.5px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 0 20px;
    display: flex; align-items: center; gap: 7px;
    white-space: nowrap; flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    padding-right: 28px;
}
.news-ticker-dot {
    width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.9);
    animation: dotPulse 1.4s ease-in-out infinite; flex-shrink: 0;
}
.news-ticker-scroll { flex: 1; overflow: hidden; display: flex; align-items: center; }
.news-ticker-track {
    display: flex; align-items: center;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}
/* Pause CSS animation on hover for top news ticker (NOT berita-ticker which is JS-driven) */
.news-ticker-wrap:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-item {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 0 36px;
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82);
    white-space: nowrap; text-decoration: none;
    border-right: 1px solid rgba(255,255,255,.08);
    transition: color .2s;
}
.news-ticker-item:hover { color: var(--gold-lt); }
.news-ticker-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.news-ticker-num {
    background: var(--red); color: #fff;
    font-size: 9px; font-weight: 800; border-radius: 3px;
    padding: 2px 7px; flex-shrink: 0; letter-spacing: .04em;
}
.news-ticker-gold { background: var(--gold); }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.news-ticker-btn {
    background: rgba(255,255,255,.06); border: none;
    border-left: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.5); padding: 0 18px;
    cursor: pointer; display: flex; align-items: center; gap: 5px;
    font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 700;
    text-decoration: none; transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.news-ticker-btn:hover { background: var(--red); color: #fff; }

/* ═══════════════════════════════════════
   HERO CONTENT — harimau + teks + stats
═══════════════════════════════════════ */
.hero-content {
    background: var(--off); display: flex;
    flex-direction: column; gap: 0;
    border-bottom: 4px solid var(--red);
    position: relative;
    min-height: 100vh;
}
/* Pola daun/geometris tipis di background seperti border logo */
.hero-content::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 60% 50%, rgba(200,21,26,.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-text {
    padding: clamp(48px, 8vw, 72px) clamp(24px, 6vw, 72px) clamp(32px, 5vw, 48px) clamp(24px, 6vw, 72px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    border-right: none;
    border-bottom: 1px solid var(--g2);
    position: relative; z-index: 1;
    flex: 1;
    min-height: 60vh;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red-pal); border: 1.5px solid rgba(200,21,26,.25);
    border-radius: 100px; padding: 5px 16px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--red);
    width: fit-content; margin-bottom: 24px;
    animation: fadeUp .5s ease both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: dotPulse 2s ease-in-out infinite; }
.hero-eyebrow {
    font-size: 11px; font-weight: 800; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 10px;
    animation: fadeUp .5s .05s ease both;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(46px, 5.2vw, 74px);
    font-weight: 900; line-height: 1.03; color: var(--black);
    margin-bottom: 6px;
    animation: fadeUp .5s .08s ease both;
    letter-spacing: -.02em;
}
.hero-title .accent {
    color: var(--red); position: relative; display: inline-block;
}
.hero-title .accent::after {
    content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red-dk), var(--red-lt), var(--gold));
    border-radius: 2px; transform-origin: left;
    animation: lineGrow .5s .7s ease both;
}
@keyframes lineGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }
.hero-sub {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; font-style: italic;
    color: var(--black2); margin-bottom: 20px;
    animation: fadeUp .5s .16s ease both;
}
.hero-desc {
    font-size: 15px; line-height: 1.78; color: var(--g4);
    max-width: 450px; margin-bottom: 36px;
    animation: fadeUp .5s .24s ease both;
}
.hero-cta { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: clamp(8px, 2vw, 12px); 
    animation: fadeUp .5s .32s ease both; 
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    padding: clamp(12px, 2.5vw, 13px) clamp(24px, 4vw, 30px);
    background: linear-gradient(135deg, var(--red-dk), var(--red));
    color: #fff; border: none; border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: clamp(13px, 2vw, 14.5px); font-weight: 800;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(200,21,26,.35);
    transition: all .2s; letter-spacing: .01em;
    position: relative; overflow: hidden;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(232,168,32,.18) 0%, transparent 55%);
    pointer-events: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-dkr), var(--red-dk));
    transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,21,26,.48);
}
.btn-primary .btn-arrow, .btn-outline .btn-arrow { transition: transform .2s; }
.btn-primary:hover .btn-arrow, .btn-outline:hover .btn-arrow { transform: translateX(4px); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 9px;
    padding: clamp(11px, 2.5vw, 12px) clamp(22px, 4vw, 28px); 
    background: transparent; color: var(--black);
    border: 2px solid var(--g2); border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: clamp(13px, 2vw, 14.5px); font-weight: 600;
    text-decoration: none; cursor: pointer; transition: all .2s;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-pal); }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Iframe Loading States */
.sm2-tt-frame, .sm2-ig-frame {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.sm2-fb-frame .fb-page {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.fb-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  min-height: 200px;
}

/* Error States */
.sm2-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  min-height: 200px;
  text-align: center;
}

.sm2-empty-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.sm2-empty-title {
  font-size: 0.9rem;
  color: var(--g4);
  font-weight: 500;
}

/* Responsive iframe fixes */
@media (max-width: 768px) {
  .sm2-tt-frame, .sm2-ig-frame {
    height: 300px !important;
  }
  
  .fb-loading {
    min-height: 150px;
    padding: 15px;
  }
  
  .sm2-card-empty {
    min-height: 150px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .sm2-tt-frame, .sm2-ig-frame {
    height: 250px !important;
  }
}

/* Hero Bawah — stats horizontal */
.hero-right-panel {
    display: flex; flex-direction: column;
    background: var(--white); position: relative; overflow: hidden; z-index: 1;
}
/* Harimau watermark besar di background */
.hero-tiger-bg {
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 200px; opacity: .04;
    pointer-events: none; user-select: none;
    filter: grayscale(1);
}
.hero-stats-list {
    padding: clamp(24px, 4vw, 36px) clamp(24px, 6vw, 72px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 0;
    position: relative; z-index: 1;
    border-bottom: 1px solid var(--g2);
}
.hstat-item {
    display: flex; align-items: center; gap: clamp(12px, 3vw, 16px);
    padding: clamp(16px, 3vw, 20px) clamp(20px, 4vw, 40px);
    border-bottom: none;
    border-right: 1px solid var(--g2);
    transition: background .2s;
    min-width: 0;
}
.hstat-item:last-child {
    border-right: none;
}
@media (max-width: 768px) {
    .hstat-item {
        border-right: none;
        border-bottom: 1px solid var(--g2);
        padding: clamp(14px, 3vw, 16px) clamp(16px, 4vw, 20px);
    }
    .hstat-item:last-child {
        border-bottom: none;
    }
}
.hstat-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.hstat-icon.red { background: var(--red-pal); }
.hstat-icon.gold { background: var(--gold-pal); }
.hstat-icon.dark { background: rgba(14,12,11,.07); }
.hstat-body { flex: 1; }
.hstat-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 900; color: var(--black); line-height: 1;
}
.hstat-num .hstat-unit { font-size: 16px; color: var(--g3); font-weight: 500; margin-left: 2px; }
.hstat-label { font-size: 13px; font-weight: 600; color: var(--g4); margin-top: 3px; }
.hstat-num .num-red { color: var(--red); }
.hstat-num .num-gold { color: var(--gold); }

/* Hero CTA strip bawah */
.hero-cta-strip {
    background: linear-gradient(135deg, var(--red-dkr), var(--red));
    padding: clamp(16px, 3vw, 18px) clamp(24px, 6vw, 72px);
    display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 3vw, 16px);
    flex-wrap: wrap; position: relative; z-index: 1;
    min-height: 80px;
}
.hero-cta-strip-text { 
    font-size: clamp(13px, 2vw, 14px); 
    font-weight: 700; 
    color: rgba(255,255,255,.85); 
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}
.hero-cta-strip-text span { color: #fff; font-size: clamp(14px, 2.2vw, 15px); font-weight: 800; }
.btn-strip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: clamp(8px, 2vw, 10px) clamp(16px, 3vw, 24px); 
    border-radius: 7px;
    background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
    color: #fff; font-family: 'DM Sans', sans-serif;
    font-size: clamp(12px, 2vw, 13.5px); font-weight: 700; text-decoration: none;
    transition: all .2s; white-space: nowrap;
    flex-shrink: 0;
}
.btn-strip:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }
.btn-strip-gold {
    background: var(--gold); border-color: var(--gold);
    color: var(--black); box-shadow: 0 4px 14px rgba(200,134,10,.35);
}
.btn-strip-gold:hover { background: var(--gold-lt); box-shadow: 0 6px 20px rgba(200,134,10,.5); }

/* ═══════════════════════════════════════
   STATISTIK NASIONAL
═══════════════════════════════════════ */
.section-stats { 
    padding: clamp(48px, 6vw, 80px); 
    background: var(--off); 
    border-bottom: 1px solid var(--g2); 
}
.section-header-row {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: clamp(32px, 4vw, 48px); 
    flex-wrap: wrap; 
    gap: clamp(12px, 2vw, 16px);
}
.live-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700; color: var(--g4);
    background: var(--white); border: 1px solid var(--g2);
    border-radius: 20px; padding: 6px 16px; white-space: nowrap;
}
.live-badge::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #16a34a; flex-shrink: 0; animation: dotPulse 2s ease-in-out infinite;
}
.stats-summary-row { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); 
    gap: clamp(16px, 3vw, 20px); 
    margin-bottom: clamp(24px, 3vw, 32px); 
}
.stats-card {
    border-radius: 16px; 
    padding: clamp(20px, 3vw, 26px) clamp(16px, 2.5vw, 24px) clamp(18px, 2.5vw, 22px);
    display: flex; align-items: flex-start; gap: 16px;
    transition: transform .2s, box-shadow .2s;
}
.stats-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.09); }
.stats-card.sc-red { background: linear-gradient(135deg, var(--red-dkr), var(--red)); }
.stats-card.sc-white { background: var(--white); border: 1px solid var(--g2); }
.stats-card.sc-dark { background: var(--black); }
.stats-card.sc-gold { background: linear-gradient(135deg, #7A4F00, var(--gold)); }
.sc-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.sc-val { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 900; line-height: 1; margin-bottom: 5px; transition: all .3s; }
.sc-label { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.sc-sub { font-size: 10.5px; }
.stats-card.sc-red .sc-val, .stats-card.sc-dark .sc-val, .stats-card.sc-gold .sc-val { color: #fff; }
.stats-card.sc-white .sc-val { color: var(--red); }
.stats-card.sc-red .sc-label, .stats-card.sc-dark .sc-label, .stats-card.sc-gold .sc-label { color: rgba(255,255,255,.75); }
.stats-card.sc-white .sc-label { color: var(--black2); }
.stats-card.sc-red .sc-sub, .stats-card.sc-dark .sc-sub, .stats-card.sc-gold .sc-sub { color: rgba(255,255,255,.5); }
.stats-card.sc-white .sc-sub { color: var(--g3); }

.stats-progress-wrap { margin-bottom: 52px; background: var(--white); border: 1px solid var(--g2); border-radius: 14px; padding: 20px 24px; }
.stats-progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--black2); margin-bottom: 12px; }
#stat-progress-pct { color: var(--red); }
.stats-progress-track { width: 100%; height: 12px; background: var(--g2); border-radius: 8px; overflow: hidden; }
.stats-progress-bar { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--red-dkr), var(--red), var(--gold-lt)); transition: width 1.2s cubic-bezier(.4,0,.2,1); position: relative; }
.stats-progress-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); animation: shimmer 2s ease-in-out infinite; }
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

.top-prov-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.top-prov-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--black); }
.top-prov-badge { font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-pal); border: 1px solid rgba(200,21,26,.2); border-radius: 20px; padding: 4px 14px; }
.top-prov-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.top-prov-card { background: var(--white); border: 1px solid var(--g2); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.top-prov-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--g2); transition: background .3s; }
.top-prov-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.09); border-color: rgba(200,21,26,.22); }
.top-prov-card:hover::before { background: linear-gradient(90deg, var(--red-dk), var(--red-lt)); }
.top-prov-card.rank-1::before { background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }
.top-prov-card.rank-2::before { background: linear-gradient(90deg, #9CA3AF, #D1D5DB); }
.top-prov-card.rank-3::before { background: linear-gradient(90deg, #CD7F32, #E8A96A); }
.tpc-rank { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 900; background: var(--g2); color: var(--g3); }
.top-prov-card.rank-1 .tpc-rank { background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: #5A3700; }
.top-prov-card.rank-2 .tpc-rank { background: linear-gradient(135deg, #9CA3AF, #D1D5DB); color: #374151; }
.top-prov-card.rank-3 .tpc-rank { background: linear-gradient(135deg, #CD7F32, #E8A96A); color: #7C3A00; }
.tpc-body { flex: 1; }
.tpc-name { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.tpc-bar-wrap { background: var(--g2); border-radius: 6px; height: 6px; overflow: hidden; margin-bottom: 6px; }
.tpc-bar { height: 100%; background: linear-gradient(90deg, var(--red-dk), var(--red)); border-radius: 6px; transition: width 1s .2s; width: 0; }
.top-prov-card.rank-1 .tpc-bar { background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }
.tpc-num { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--red); line-height: 1; }
.top-prov-card.rank-1 .tpc-num { color: var(--gold); }
.tpc-num-label { font-size: 10px; color: var(--g3); font-weight: 500; margin-top: 2px; }
.top-prov-card.skeleton { pointer-events: none; }
.sk-line { background: var(--g2); border-radius: 4px; animation: skPulse 1.4s ease-in-out infinite; }
.sk-title { height: 13px; width: 80%; margin-bottom: 10px; }
.sk-bar { height: 6px; width: 100%; border-radius: 6px; }
.sk-num { width: 48px; height: 26px; border-radius: 6px; background: var(--g2); animation: skPulse 1.4s ease-in-out infinite; }
@keyframes skPulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ═══════════════════════════════════════
   BERITA TERKINI
═══════════════════════════════════════ */
.section-berita { padding: 80px; background: var(--white); border-bottom: none; }
.berita-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.berita-link-all {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--red);
    text-decoration: none; border: 2px solid rgba(200,21,26,.25);
    border-radius: 20px; padding: 7px 20px;
    transition: all .2s; white-space: nowrap;
}
.berita-link-all:hover { background: var(--red); color: #fff; border-color: var(--red); }
.berita-link-all svg { transition: transform .2s; }
.berita-link-all:hover svg { transform: translateX(3px); }
.berita-ticker-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    /* Keluar dari padding section agar scroll tidak terpotong */
    margin-left: -80px;
    margin-right: -80px;
    padding-left: 80px;
    padding-right: 80px;
    width: calc(100% + 160px);
    box-sizing: border-box;
}
.berita-ticker-wrap::-webkit-scrollbar { display: none; }
.berita-ticker-wrap:active { cursor: grabbing; }
.berita-ticker-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding-bottom: 4px;
}
/* Hapus keyframe — tidak dipakai lagi */
/* Legacy: keep .berita-grid for any old references */
.berita-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    cursor: grab;
}
.berita-grid:active { cursor: grabbing; }
.berita-grid::-webkit-scrollbar { height: 5px; }
.berita-grid::-webkit-scrollbar-track { background: var(--g1); border-radius: 10px; }
.berita-grid::-webkit-scrollbar-thumb { background: var(--red); border-radius: 10px; }
.berita-grid .bcard {
    flex: 0 0 320px;
    scroll-snap-align: start;
}
.berita-grid .bcard.bcard-main {
    flex: 0 0 400px;
}
/* Card sizes dalam ticker — sama seperti card biasa */
.berita-ticker-track .bcard {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
}
.berita-ticker-track .bcard.bcard-main {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
}
.berita-ticker-track .bcard-main .bcard-title { font-size: 15px; -webkit-line-clamp: 2; }
.berita-ticker-track .bcard-main .bcard-thumb { aspect-ratio: 16/9; }
.berita-ticker-track .bcard-excerpt { display: none; }
.bcard {
    background: var(--off); border-radius: 14px; overflow: hidden;
    border: 1px solid var(--g2); text-decoration: none; display: flex;
    flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bcard:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.09); border-color: rgba(200,21,26,.22); }
.bcard-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--g1); position: relative; flex-shrink: 0; }
.bcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.bcard:hover .bcard-thumb img { transform: scale(1.06); }
.bcard-thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--g3); }
.bcard-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.bcard-badge-feat { background: rgba(200,134,10,.92); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 3px; letter-spacing: .04em; }
.bcard-badge-break { background: rgba(200,21,26,.95); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 3px; letter-spacing: .04em; }
.bcard-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.bcard-cat { font-size: 10px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.bcard-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.bcard:hover .bcard-title { color: var(--red); }
.bcard-excerpt { font-size: 12.5px; color: var(--g4); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 10px; }
.bcard-footer { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--g3); margin-top: auto; }
.bcard-views { display: flex; align-items: center; gap: 3px; }
.bcard-main .bcard-title { font-size: 19px; -webkit-line-clamp: 3; }
.bcard-main .bcard-thumb { aspect-ratio: 16/10; }
.berita-empty { text-align: center; padding: 48px; background: var(--off); border-radius: 14px; border: 2px dashed var(--g2); color: var(--g3); }

/* ═══════════════════════════════════════
   TICKER PROMO
═══════════════════════════════════════ */
.ticker-bar { background: var(--red); padding: 8px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; animation: ticker 35s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.9); padding: 0 28px; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   VISI & MISI — gelap elegan
═══════════════════════════════════════ */
.section-visi {
    padding: 96px 80px;
    background: var(--black);
    position: relative; overflow: hidden;
}
.section-visi::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(200,21,26,.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(200,134,10,.07) 0%, transparent 50%);
    pointer-events: none;
}
/* Harimau besar di kanan sebagai decorasi */
.visi-tiger-deco {
    position: absolute; right: -40px; top: 50%;
    transform: translateY(-50%);
    width: 45%; opacity: .04;
    pointer-events: none; filter: invert(1) grayscale(1);
}
.visi-inner { position: relative; z-index: 1; }
.visi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.visi-left { }
.visi-tag {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(200,21,26,.15); border: 1px solid rgba(200,21,26,.3);
    border-radius: 20px; padding: 5px 14px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--red-lt);
    margin-bottom: 20px;
}
.visi-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 52px); font-weight: 900;
    color: #fff; line-height: 1.1; margin-bottom: 18px;
}
.visi-title .gold { color: var(--gold-lt); }
.visi-desc { font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,.68); margin-bottom: 32px; }
.visi-quote {
    border-left: 3px solid var(--gold);
    padding: 14px 20px;
    background: rgba(200,134,10,.08);
    border-radius: 0 10px 10px 0;
    font-size: 15px; font-style: italic; font-weight: 600;
    color: rgba(255,255,255,.8); line-height: 1.65;
}

.misi-right { }
.misi-header {
    font-size: 11px; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.35);
    margin-bottom: 20px;
}
.misi-list { display: flex; flex-direction: column; gap: 14px; }
.misi-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px; padding: 18px 20px;
    transition: background .2s, border-color .2s;
}
.misi-item:hover { background: rgba(255,255,255,.1); border-color: rgba(200,21,26,.3); }
.misi-num {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--red); color: #fff;
    font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.misi-text { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.78); font-weight: 500; padding-top: 6px; }

/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.section-features { padding: 88px 80px; background: var(--off); }
.section-eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 2.5px; background: var(--red); border-radius: 2px; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.2vw, 44px); font-weight: 900;
    color: var(--black); line-height: 1.15; max-width: 560px; margin-bottom: 54px;
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature-card {
    padding: 32px; border-radius: 14px; border: 1px solid var(--g2);
    background: var(--white); position: relative; overflow: hidden;
    opacity: 0; transform: translateY(18px);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red-dk), var(--red-lt), var(--gold-lt));
    transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.08); border-color: rgba(200,21,26,.25); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 30px; margin-bottom: 20px; display: block; }
.feature-title { font-size: 16px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.feature-desc { font-size: 13.5px; line-height: 1.72; color: var(--g4); }

/* ═══════════════════════════════════════
   JOIN — CTA merah kuat
═══════════════════════════════════════ */
.section-join {
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, var(--red-dkr) 0%, var(--red-dk) 50%, #B01015 100%);
    padding: 96px 80px;
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center;
}
.section-join::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 52px 52px; pointer-events: none;
}
/* Tiger watermark di join */
.join-tiger {
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    height: 140%; opacity: .06;
    pointer-events: none; filter: invert(1) grayscale(1);
}
.join-left { position: relative; z-index: 1; }
.join-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.join-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.5vw, 50px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.join-desc { font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,.72); margin-bottom: 28px; }
.join-trust {
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px; color: rgba(255,255,255,.55); font-weight: 500;
}
.join-trust-icon { font-size: 16px; }
.join-cards { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.join-card {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px;
    background: rgba(255,255,255,.09); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
    text-decoration: none; transition: all .25s;
}
.join-card:hover { background: rgba(255,255,255,.17); transform: translateX(6px); border-color: rgba(255,255,255,.3); }
.join-card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.join-card-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.join-card-sub { font-size: 12.5px; color: rgba(255,255,255,.6); }
.join-card-arrow { margin-left: auto; color: rgba(255,255,255,.4); flex-shrink: 0; transition: color .2s, transform .2s; }
.join-card:hover .join-card-arrow { color: rgba(255,255,255,.9); transform: translateX(4px); }
.join-card.gold { border-color: rgba(200,134,10,.4); background: rgba(200,134,10,.12); }
.join-card.gold:hover { background: rgba(200,134,10,.25); border-color: rgba(200,134,10,.65); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background: var(--black); padding: 64px 80px 0; }
/* Garis emas di atas footer */
.footer::before {
    content: ''; display: block; height: 3px;
    background: linear-gradient(90deg, var(--red-dk), var(--red), var(--gold), var(--red), var(--red-dk));
    margin: 0 -80px 64px;
}
.footer-top {
    display: flex; justify-content: space-between; gap: 48px;
    padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 0; flex-wrap: wrap;
}
.footer-brand-col { max-width: 280px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 900; color: #fff; }
.footer-brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-lt); margin-top: 1px; }
.footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn {
    width: 36px; height: 36px; border-radius: 9px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); transition: all .2s;
    text-decoration: none; font-size: 14px; font-weight: 700;
}
.footer-social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-col-title { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; display: flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--red-lt); }
.footer-links a::before { content: '›'; color: var(--red); opacity: 0; transition: opacity .2s; font-size: 16px; }
.footer-links a:hover::before { opacity: 1; }
/* Footer bottom */
.footer-bottom-bar {
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    border-top: 1px solid rgba(255,255,255,.07); margin-top: 52px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.25); }
.footer-copy span { color: var(--red-lt); font-weight: 600; }
.footer-copy .gold { color: var(--gold-lt); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   RESPONSIVE — ALL SCREENS  (Mobile-First)
   Warna brand: Merah #C8151A · Putih #FFF · Hitam #0E0C0B · Emas #C8860A
═══════════════════════════════════════ */

/* ── MAP PANEL: default kecil di pojok kanan atas, TIDAK memblokir peta ── */
.map-panel {
    position: absolute;
    top: 108px;
    right: 14px;
    width: 210px;
    max-height: calc(100% - 130px);
    overflow-y: auto;
    z-index: 600;
    pointer-events: auto;
}
.map-panel-body {
    padding: 11px 13px;
    max-height: 280px;
    overflow-y: auto;
}

/* ── TV / Large screen (≥1800px) ── */
@media (min-width: 1800px) {
    .navbar        { padding: 0 80px; }
    .hero-map      { height: calc(100vh - 66px); }
    .map-panel     { width: 260px; top: 115px; right: 24px; }
    .map-panel-body{ max-height: 380px; }
    .hero-text     { padding: 80px; }
    .hero-title    { font-size: 80px; }
    .section-stats, .section-berita, .section-features,
    .section-join, .section-sosmed { padding-left: 80px; padding-right: 80px; }
}

/* ── Desktop standard (1100px–1799px) ── */
@media (max-width: 1100px) {
    .navbar         { padding: 0 24px; }
    .nav-links      { gap: 16px; }
    .nav-links a    { font-size: 12.5px; }
    .hero-map       { height: calc(100vh - 66px); min-height: 440px; }
    .map-panel      { width: 200px; }
    .map-panel-body { max-height: 240px; }
    .hero-text      { padding: 52px 40px; }
    .hero-stats-list{ padding: 28px 40px; }
    .hstat-item     { padding: 14px 20px; min-width: 150px; }
    .hero-cta-strip { padding: 16px 40px; }
    .visi-grid      { grid-template-columns: 1fr; gap: 40px; }
    .section-stats, .section-berita, .section-features { padding: 64px 40px; }
    .berita-ticker-wrap { margin-left: -40px; margin-right: -40px; padding-left: 40px; padding-right: 40px; width: calc(100% + 80px); }
    .section-visi   { padding: 72px 40px; }
    .section-join   { grid-template-columns: 1fr; padding: 64px 40px; }
    .section-sosmed { padding: 64px 40px; }
    .footer         { padding: 64px 40px 0; }
    .footer::before { margin: 0 -40px 64px; }
    .footer-top     { flex-direction: column; gap: 36px; }
    .stats-summary-row   { grid-template-columns: repeat(2,1fr); }
    .top-prov-grid       { grid-template-columns: repeat(3,1fr); }
    .features-grid       { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet (768px–1099px): hamburger aktif ── */
@media (max-width: 1024px) {
    .nav-links      { display: none; }
    .nav-actions    { display: none; }
    .nav-hamburger  { display: flex; }
}

@media (max-width: 900px) {
    .map-panel      { width: 185px; font-size: 11.5px; }
    .map-panel-body { max-height: 210px; }
    .filter-bar     { gap: 5px; padding: 7px 12px; }
    .filter-select  { min-width: 100px; max-width: none; font-size: 11px; padding: 5px 24px 5px 8px; }
    .stats-summary-row { grid-template-columns: repeat(2,1fr); }
    .section-stats, .section-berita, .section-features { padding: 52px 28px; }
    .berita-ticker-wrap { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; width: calc(100% + 56px); }
    .section-sosmed { padding: 52px 28px; }
}

/* ── Mobile landscape + small tablet (≤768px) ── */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links    { display: none; }
    .nav-actions  { display: none; }
    .nav-hamburger{ display: flex; }

    /* Peta: tinggi penuh layar, map panel tersembunyi default di mobile */
    .hero-map     { height: calc(100svh - 66px); min-height: 340px; }

    /* Map panel: default TERSEMBUNYI di mobile, toggle via tombol */
    .map-panel {
        position: absolute;
        bottom: 52px; top: auto;
        right: 10px; left: auto;
        width: min(200px, 56vw);
        max-height: 55vh;
        transform: translateX(calc(100% + 20px));  /* tersembunyi di kanan */
        transition: transform .28s cubic-bezier(.4,0,.2,1);
    }
    .map-panel.visible { transform: translateX(0); }

    /* Toggle button muncul di mobile — posisi sama dengan panel */
    #mapPanelToggle { display: flex; top: 105px; right: 14px; left: auto; }

    /* Layer btn disembunyikan di mobile */
    #landingLayerBtn { display: none; }

    /* Filter scrollable horizontal, tidak wrap */
    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 5px; padding: 6px 12px;
        scrollbar-width: none;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-select  { flex: 0 0 auto; min-width: 115px; max-width: none; font-size: 11px; padding: 5px 24px 5px 8px; }
    .btn-reset-map  { flex-shrink: 0; padding: 5px 10px; font-size: 11px; }

    /* Toolbar kompak */
    .map-toolbar    { padding: 7px 12px; }
    .map-toolbar-title span { font-size: 10px; }
    .map-live-dot   { padding: 3px 9px; font-size: 9.5px; }

    /* Legend */
    .map-legend     { padding: 6px 12px; gap: 10px; }
    .legend-title   { display: none; }
    .legend-items   { gap: 8px; }
    .legend-label   { font-size: 9px; }
    .legend-swatch  { width: 14px; height: 5px; }

    /* Hero content */
    .hero-text      { padding: clamp(32px, 5vw, 40px) clamp(16px, 4vw, 24px); }
    .hero-stats-list{ padding: clamp(20px, 3vw, 24px); }
    .hstat-item     { padding: clamp(10px, 2vw, 12px) clamp(12px, 3vw, 16px); min-width: 0; }
    .hero-cta       { flex-direction: column; align-items: stretch; gap: clamp(8px, 2vw, 12px); }
    .btn-primary, .btn-outline { justify-content: center; min-width: 0; }
    .hero-cta-strip { 
        padding: clamp(12px, 2vw, 14px) clamp(16px, 4vw, 24px); 
        flex-direction: column; 
        align-items: flex-start; 
        gap: clamp(10px, 2vw, 12px);
        min-height: auto;
    }
    .hero-cta-strip-text { 
        font-size: clamp(12px, 2.5vw, 13px);
        min-width: 0;
        text-align: left;
    }

    /* Stats */
    .stats-summary-row  { 
        grid-template-columns: 1fr 1fr; 
        gap: clamp(10px, 2vw, 12px); 
        margin-bottom: clamp(20px, 3vw, 24px);
    }
    .stats-card {
        padding: clamp(16px, 3vw, 20px) clamp(12px, 2vw, 16px);
    }
    .top-prov-grid      { grid-template-columns: 1fr 1fr; }
    .features-grid      { grid-template-columns: 1fr; }

    /* News ticker */
    .news-ticker-label  { padding: 0 12px; font-size: 10px; }
    .news-ticker-btn    { padding: 0 12px; font-size: 11px; }

    /* Sections */
    .section-stats, .section-berita, .section-features { 
        padding: clamp(36px, 5vw, 44px) clamp(16px, 4vw, 20px); 
    }
    .berita-ticker-wrap { 
        margin-left: calc(-1 * clamp(16px, 4vw, 20px)); 
        margin-right: calc(-1 * clamp(16px, 4vw, 20px)); 
        padding-left: clamp(16px, 4vw, 20px); 
        padding-right: clamp(16px, 4vw, 20px); 
        width: calc(100% + 2 * clamp(16px, 4vw, 20px)); 
    }
    .section-visi   { padding: clamp(48px, 6vw, 56px) clamp(16px, 4vw, 20px); }
    .section-join   { padding: clamp(48px, 6vw, 56px) clamp(16px, 4vw, 20px); }
    .section-sosmed { padding: clamp(36px, 5vw, 44px) clamp(16px, 4vw, 20px); }
    .footer         { padding: clamp(40px, 6vw, 48px) clamp(16px, 4vw, 20px) 0; }
    .footer::before { margin: 0 calc(-1 * clamp(16px, 4vw, 20px)) clamp(32px, 4vw, 48px); }
    .footer-top     { flex-direction: column; gap: clamp(20px, 3vw, 28px); }
}

/* ── Mobile portrait (≤480px) ── */
@media (max-width: 480px) {
    /* Navbar lebih kecil */
    .navbar         { height: 58px; padding: 0 14px; }
    .nav-logo       { width: 34px; height: 34px; }
    .nav-brand-name { font-size: 13px; }
    .nav-brand-sub  { font-size: 8px; }
    .hero-map       { margin-top: 58px; height: calc(100svh - 58px); min-height: 300px; }
    .nav-drawer     { top: 58px; }

    /* Map panel lebih kecil, pinned bawah */
    .map-panel {
        right: 8px; bottom: 44px;
        width: min(185px, calc(100vw - 24px));
        max-height: 50vh;
    }

    /* Filter bar */
    .filter-bar     { padding: 5px 10px; gap: 4px; }
    .filter-select  { min-width: 100px; font-size: 10.5px; padding: 4px 22px 4px 7px; }
    .btn-reset-map  { padding: 4px 8px; font-size: 10.5px; }

    /* Map toolbar & legend */
    .map-toolbar    { padding: 6px 10px; }
    .map-live-dot   { display: none; }
    .map-legend     { padding: 4px 10px; }
    .legend-swatch  { width: 11px; height: 4px; }
    .legend-items   { gap: 6px; }

    /* Hero */
    .hero-title     { font-size: clamp(32px, 8vw, 54px); }
    .hero-text      { padding: clamp(24px, 6vw, 32px) clamp(12px, 4vw, 16px); }
    .hero-stats-list{ padding: clamp(12px, 3vw, 16px); }
    .hstat-item     { padding: clamp(8px, 2vw, 10px) clamp(10px, 3vw, 14px); }
    .hero-desc      { font-size: clamp(13px, 3vw, 14px); }
    .hero-sub       { font-size: clamp(14px, 4vw, 22px); }
    .hero-cta       { gap: clamp(6px, 2vw, 8px); }
    .hero-cta-strip { 
        padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
        gap: clamp(8px, 2vw, 10px);
    }
    .hero-cta-strip-text { 
        font-size: clamp(11px, 2.5vw, 12px);
        line-height: 1.3;
    }

    /* Stats */
    .sc-val         { font-size: clamp(22px, 5vw, 26px); }
    .stats-summary-row { 
        grid-template-columns: 1fr; 
        gap: clamp(8px, 2vw, 10px); 
        margin-bottom: clamp(16px, 3vw, 20px);
    }
    .stats-card {
        padding: clamp(14px, 3vw, 16px) clamp(10px, 2vw, 12px);
    }
    .top-prov-grid  { grid-template-columns: 1fr; }

    /* News ticker */
    .news-ticker-wrap   { height: 40px; }
    .news-ticker-label  { font-size: 9px; padding: 0 10px; gap: 5px; clip-path: none; padding-right: 12px; }
    .news-ticker-item   { font-size: 12px; padding: 0 18px; }
    .news-ticker-btn    { padding: 0 10px; font-size: 10px; }

    /* Sections */
    .section-stats, .section-berita, .section-features { 
        padding: clamp(28px, 5vw, 36px) clamp(12px, 3vw, 14px); 
    }
    .berita-ticker-wrap { 
        margin-left: calc(-1 * clamp(12px, 3vw, 14px)); 
        margin-right: calc(-1 * clamp(12px, 3vw, 14px)); 
        padding-left: clamp(12px, 3vw, 14px); 
        padding-right: clamp(12px, 3vw, 14px); 
        width: calc(100% + 2 * clamp(12px, 3vw, 14px)); 
    }
    .section-visi, .section-join { 
        padding: clamp(36px, 5vw, 44px) clamp(12px, 3vw, 14px); 
    }
    .section-sosmed { 
        padding: clamp(28px, 5vw, 36px) clamp(12px, 3vw, 14px); 
    }
    .footer         { 
        padding: clamp(36px, 5vw, 44px) clamp(12px, 3vw, 14px) 0; 
    }
    .footer::before { 
        margin: 0 calc(-1 * clamp(12px, 3vw, 14px)) clamp(32px, 4vw, 44px); 
    }

    /* Berita */
    .berita-top     { flex-direction: column; align-items: flex-start; gap: 12px; }

    /* Sosmed */
    .sosmed-nav-tabs{ gap: 6px; overflow-x: auto; flex-wrap: nowrap; }
    .sosmed-nav-tabs::-webkit-scrollbar { display: none; }
    .sn-tab         { padding: 8px 12px; font-size: 11px; flex-shrink: 0; }
}

/* ── Extra small (≤360px) ── */
@media (max-width: 360px) {
    .navbar         { padding: 0 clamp(8px, 2vw, 10px); gap: clamp(4px, 1.5vw, 6px); }
    .nav-brand-name { font-size: clamp(11px, 3vw, 12px); }
    .nav-brand-sub  { display: none; }
    .hero-title     { font-size: clamp(28px, 8vw, 48px); }
    .hero-text      { padding: clamp(20px, 5vw, 24px) clamp(10px, 3vw, 12px); }
    .hero-stats-list{ padding: clamp(10px, 2.5vw, 12px); }
    .hstat-item     { padding: clamp(6px, 2vw, 8px) clamp(8px, 2.5vw, 10px); }
    .hero-cta-strip { 
        padding: clamp(8px, 2vw, 10px) clamp(10px, 2.5vw, 12px);
        gap: clamp(6px, 1.5vw, 8px);
    }
    .hero-cta-strip-text { 
        font-size: clamp(10px, 2.5vw, 11px);
    }
    .filter-select  { min-width: clamp(80px, 20vw, 88px); font-size: clamp(9px, 2.5vw, 10px); }
    .map-panel      { width: calc(100vw - clamp(12px, 3vw, 16px)); right: clamp(6px, 2vw, 8px); }
    .sc-val         { font-size: clamp(20px, 5vw, 22px); }
    .stats-summary-row { 
        gap: clamp(6px, 2vw, 8px); 
        margin-bottom: clamp(14px, 3vw, 16px);
    }
    .stats-card {
        padding: clamp(12px, 3vw, 14px) clamp(8px, 2vw, 10px);
    }
    .section-stats, .section-berita, .section-features { 
        padding: clamp(24px, 5vw, 28px) clamp(10px, 3vw, 12px); 
    }
    .berita-ticker-wrap { 
        margin-left: calc(-1 * clamp(10px, 3vw, 12px)); 
        margin-right: calc(-1 * clamp(10px, 3vw, 12px)); 
        padding-left: clamp(10px, 3vw, 12px); 
        padding-right: clamp(10px, 3vw, 12px); 
        width: calc(100% + 2 * clamp(10px, 3vw, 12px)); 
    }
}

/* ═══════════════════════════════════════
   SECTION SOSIAL MEDIA PRI
   Tambahkan ke: assets/css/landing.css
   (taruh sebelum bagian RESPONSIVE)
═══════════════════════════════════════ */

/* ── Sosmed wrapper ── */
.section-sosmed {
    background: var(--white);
    padding: 80px 80px;
    position: relative;
    overflow: hidden;
}

/* Dekorasi latar belakang merah samar */
.section-sosmed::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,21,26,.07) 0%, transparent 70%);
    pointer-events: none;
}

.section-sosmed::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,134,10,.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Header Section ── */
.sosmed-header {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

.sosmed-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sosmed-eyebrow::before,
.sosmed-eyebrow::after {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--red);
    opacity: .4;
}

.sosmed-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 14px;
}

.sosmed-title .red {
    color: var(--red);
}

.sosmed-desc {
    font-size: 15px;
    color: var(--g4);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Platform Pills (tab switch) ── */
.sosmed-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.sosmed-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--g2);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--black2);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}

.sosmed-tab svg {
    flex-shrink: 0;
}

.sosmed-tab:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(200,21,26,.12);
}

.sosmed-tab.active-yt  { background: #FF0000; border-color: #FF0000; color: #fff; box-shadow: 0 6px 20px rgba(255,0,0,.25); }
.sosmed-tab.active-fb  { background: #1877F2; border-color: #1877F2; color: #fff; box-shadow: 0 6px 20px rgba(24,119,242,.25); }
.sosmed-tab.active-tk  { background: #010101; border-color: #010101; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.sosmed-tab.active-x   { background: #000; border-color: #000; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* ── Main Grid Sosmed ── */
.sosmed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── YouTube Feature Card ── */
.sosmed-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--g2);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.sosmed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.sosmed-card.card-yt {
    grid-column: 1 / -1; /* Full width untuk YouTube */
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.sosmed-card.card-yt:hover {
    box-shadow: 0 16px 48px rgba(255,0,0,.12);
}

/* ── YouTube Video Embed ── */
.yt-embed-wrap {
    position: relative;
    background: #000;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.yt-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Placeholder sebelum play */
.yt-placeholder {
    position: absolute;
    inset: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.yt-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
    transition: opacity .3s;
}

.yt-placeholder:hover img {
    opacity: .9;
}

.yt-play-btn {
    position: absolute;
    width: 72px;
    height: 72px;
    background: #FF0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s, background .2s;
    box-shadow: 0 8px 32px rgba(255,0,0,.5);
}

.yt-placeholder:hover .yt-play-btn {
    transform: scale(1.1);
    background: #cc0000;
}

.yt-play-btn svg {
    margin-left: 4px; /* optical center */
}

/* ── YouTube Info Panel ── */
.yt-info {
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(160deg, #fff 0%, #fff8f8 100%);
}

.yt-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FF0000;
    color: #fff;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 16px;
}

.yt-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 12px;
}

.yt-info-desc {
    font-size: 13.5px;
    color: var(--g4);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.yt-stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.yt-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--g3);
    font-weight: 600;
}

.yt-stat span {
    color: var(--black);
    font-weight: 700;
}

.yt-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-yt-sub {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FF0000;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
}

.btn-yt-sub:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,0,.3);
}

.btn-yt-channel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--g2);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}

.btn-yt-channel:hover {
    border-color: #FF0000;
    color: #FF0000;
}

/* ── Kartu Sosmed Kecil (FB, TikTok, X) ── */
.sosmed-card-sm {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--g2);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.sosmed-card-sm:hover {
    transform: translateY(-5px);
}

/* Header tiap platform */
.sm-card-header {
    padding: 22px 22px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--g2);
}

.sm-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

/* Warna per platform */
.card-fb  { border-top: 3px solid #1877F2; }
.card-fb:hover  { box-shadow: 0 16px 48px rgba(24,119,242,.13); }
.card-fb .sm-icon-wrap  { background: #e7f0fd; }

.card-tk  { border-top: 3px solid #010101; }
.card-tk:hover  { box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.card-tk .sm-icon-wrap  { background: #f0f0f0; }

.card-x   { border-top: 3px solid #000; }
.card-x:hover   { box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.card-x .sm-icon-wrap   { background: #f0f0f0; }

.sm-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--black);
}

.sm-card-handle {
    font-size: 12px;
    color: var(--g3);
    margin-top: 2px;
}

.sm-follow-btn {
    margin-left: auto;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
    border: 1.5px solid;
}

.card-fb .sm-follow-btn  { color: #1877F2; border-color: #1877F2; }
.card-fb .sm-follow-btn:hover  { background: #1877F2; color: #fff; }
.card-tk .sm-follow-btn  { color: #010101; border-color: #ccc; }
.card-tk .sm-follow-btn:hover  { background: #010101; color: #fff; border-color: #010101; }
.card-x  .sm-follow-btn  { color: #000; border-color: #ccc; }
.card-x  .sm-follow-btn:hover  { background: #000; color: #fff; border-color: #000; }

/* Preview Post / Feed Sosmed */
.sm-card-body {
    padding: 18px 22px;
    flex: 1;
}

.sm-post-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sm-post-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--g2);
}

.sm-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sm-post-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--g1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.sm-post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-post-text {
    font-size: 12.5px;
    color: var(--black2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sm-post-date {
    font-size: 11px;
    color: var(--g3);
    margin-top: 4px;
}

/* TikTok video thumbnails grid */
.tk-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tk-video-thumb {
    aspect-ratio: 9/16;
    border-radius: 8px;
    background: var(--g1);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.tk-video-thumb::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255,255,255,.9);
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: opacity .2s;
}

.tk-video-thumb:hover::after {
    opacity: 1;
}

.tk-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-video-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Card footer */
.sm-card-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--g2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sm-stats-mini {
    display: flex;
    gap: 14px;
}

.sm-stat-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--g3);
    font-weight: 600;
}

.sm-stat-mini strong {
    color: var(--black);
}

.sm-view-all {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}

.card-fb .sm-view-all  { color: #1877F2; }
.card-tk .sm-view-all  { color: #010101; }
.card-x  .sm-view-all  { color: #000; }

.sm-view-all:hover {
    gap: 7px;
}

/* ── CTA bawah banner sosmed ── */
/* ══════════════════════════════════════════════════
   SOSMED BARU — YouTube + 4 Platform Cards
══════════════════════════════════════════════════ */

/* YouTube Row */
.sosmed-yt-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--g2);
    overflow: hidden;
    max-width: 1120px;
    margin: 0 auto 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    transition: box-shadow .3s;
}
.sosmed-yt-row:hover { box-shadow: 0 12px 40px rgba(200,21,26,.12); }

.sosmed-yt-embed {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.sosmed-yt-embed iframe {
    width: 100%; height: 100%;
    border: none; display: block;
}

.sosmed-yt-info {
    padding: 32px 28px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: var(--white);
    border-left: 1px solid var(--g2);
}
.sosmed-yt-info .yt-platform-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: #FF0000; color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 14px;
    border-radius: 50px; margin-bottom: 16px;
    width: fit-content;
}
.sosmed-yt-info .yt-info-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2vw, 26px); font-weight: 900;
    color: var(--black); line-height: 1.2; margin-bottom: 14px;
}
.sosmed-yt-info .yt-info-desc {
    font-size: 13.5px; line-height: 1.72; color: var(--g4);
    margin-bottom: 24px;
}
.sosmed-yt-info .yt-cta-row {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.sosmed-yt-info .btn-yt-sub {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: #FF0000; color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: all .2s;
}
.sosmed-yt-info .btn-yt-sub:hover { background: #CC0000; transform: translateY(-1px); }
.sosmed-yt-info .btn-yt-channel {
    display: inline-flex; align-items: center;
    padding: 10px 18px; border: 2px solid var(--g2);
    border-radius: 8px; font-size: 13px; font-weight: 600;
    color: var(--black); text-decoration: none; transition: all .2s;
}
.sosmed-yt-info .btn-yt-channel:hover { border-color: var(--red); color: var(--red); }

/* 4 Platform Cards Grid */
.sosmed-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto 40px;
}

.smc-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--g2);
    padding: 22px 20px 18px;
    display: flex; flex-direction: column; gap: 14px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative; overflow: hidden;
}
.smc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.smc-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.1); }
.smc-card:hover::before { transform: scaleX(1); }

.smc-fb::before  { background: #1877F2; }
.smc-ig::before  { background: linear-gradient(90deg, #f09433, #dc2743, #bc1888); }
.smc-tk::before  { background: linear-gradient(90deg, #010101, #ff0050); }
.smc-x::before   { background: #000; }

.smc-card:hover.smc-fb  { border-color: rgba(24,119,242,.3); }
.smc-card:hover.smc-ig  { border-color: rgba(220,39,67,.3); }
.smc-card:hover.smc-tk  { border-color: rgba(255,0,80,.3); }
.smc-card:hover.smc-x   { border-color: rgba(0,0,0,.2); }

.smc-top {
    display: flex; align-items: center; gap: 12px;
}
.smc-icon-wrap {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.smc-fb-bg { background: #1877F2; }
.smc-ig-bg { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.smc-tk-bg { background: #010101; }
.smc-x-bg  { background: #000; }

.smc-meta { flex: 1; min-width: 0; }
.smc-platform {
    font-size: 13px; font-weight: 800; color: var(--black); line-height: 1;
}
.smc-handle {
    font-size: 11px; color: var(--g3); font-weight: 500; margin-top: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.smc-follow-tag {
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    border: 1.5px solid var(--g2); color: var(--g4);
    white-space: nowrap; flex-shrink: 0;
    transition: all .2s;
}
.smc-card:hover .smc-follow-tag {
    border-color: var(--red); color: var(--red);
}

.smc-desc {
    font-size: 12.5px; line-height: 1.7; color: var(--g4);
    flex: 1;
}

.smc-footer {
    padding-top: 14px;
    border-top: 1px solid var(--g2);
}
.smc-cta {
    font-size: 12.5px; font-weight: 700; color: var(--red);
    transition: letter-spacing .2s;
}
.smc-card:hover .smc-cta { letter-spacing: .02em; }

.sosmed-cta-strip {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--red-dkr) 0%, var(--red) 50%, #e8520a 100%);
    border-radius: 18px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sosmed-cta-strip::before {
    content: '🐯';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: .12;
    pointer-events: none;
}

.sosmed-cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.sosmed-cta-text span {
    opacity: .7;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

.sosmed-cta-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.sosmed-cta-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    backdrop-filter: blur(8px);
}

.sosmed-cta-link:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-2px);
}

/* ── Responsive Sosmed ── */
@media (max-width: 1100px) {
    .section-sosmed {
        padding: 60px 28px;
    }
    .sosmed-card.card-yt {
        grid-template-columns: 1fr;
    }
    .yt-embed-wrap {
        aspect-ratio: 16/9;
    }
    .sosmed-grid {
        grid-template-columns: 1fr;
    }
    /* Responsive baru */
    .sosmed-yt-row {
        grid-template-columns: 1fr;
    }
    .sosmed-yt-embed {
        aspect-ratio: 16/9;
    }
    .sosmed-yt-info {
        border-left: none;
        border-top: 1px solid var(--g2);
        padding: 24px 22px;
    }
    .sosmed-platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sosmed-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .sosmed-cta-strip::before {
        display: none;
    }
    .sosmed-cta-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .sosmed-platform-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .smc-desc { display: none; }
    .sosmed-tabs {
        gap: 6px;
    }
    .sosmed-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
    .yt-info {
        padding: 20px;
    }
    .yt-info-title {
        font-size: 18px;
    }
    .yt-cta-row {
        flex-direction: column;
    }
    .btn-yt-sub,
    .btn-yt-channel {
        justify-content: center;
        width: 100%;
    }
    .sosmed-cta-strip {
        padding: 24px 20px;
    }
    .tk-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════
   SOSMED TABS + PANEL POSTS FEED — New Section
   ═══════════════════════════════════════════════════════ */

/* Nav Tabs */
.sosmed-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}
.sn-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.2rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    transition: all .2s;
    outline: none;
}
.sn-tab:hover {
    border-color: #cc0000;
    color: #cc0000;
    background: #fff5f5;
}
.sn-tab.active {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}
.sn-tab.active svg path,
.sn-tab.active svg rect,
.sn-tab.active svg circle {
    fill: #fff;
    stroke: none;
}

/* Panels */
.sn-panel {
    display: none;
    animation: snFadeIn .3s ease;
}
.sn-panel.active {
    display: block;
}
@keyframes snFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Post grid container */
.sn-posts-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Post card base */
.sn-post-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8ecf0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}
.sn-post-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

/* Post card header */
.sn-post-header {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1.1rem .5rem;
}
.sn-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    border-radius: 1rem;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}
.sn-yt-badge  { background: #FF0000; }
.sn-tk-badge  { background: #000; }
.sn-fb-badge  { background: #1877F2; }
.sn-ig-badge  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sn-x-badge   { background: #000; }

.sn-handle {
    font-size: .8rem;
    color: #888;
    font-weight: 500;
}

/* Embed wrappers */
.sn-yt-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.sn-yt-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.sn-tiktok-embed-wrap {
    display: flex;
    justify-content: center;
    padding: .5rem 1rem;
    min-height: 480px;
}

.sn-fb-embed-wrap {
    display: flex;
    justify-content: center;
    padding: .5rem 1rem;
    min-height: 300px;
    overflow: hidden;
}

.sn-ig-embed-wrap {
    display: flex;
    justify-content: center;
    padding: .5rem 1rem;
    min-height: 400px;
    overflow: hidden;
}

.sn-x-timeline-container {
    padding: 0 1rem;
    min-height: 500px;
}

/* Post footer */
.sn-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.1rem;
    border-top: 1px solid #f0f0f0;
    gap: .5rem;
}
.sn-view-link {
    font-size: .82rem;
    font-weight: 700;
    color: #cc0000;
    text-decoration: none;
    transition: letter-spacing .15s;
}
.sn-view-link:hover { letter-spacing: .03em; }
.sn-channel-link {
    font-size: .78rem;
    color: #888;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: .25rem .7rem;
    border-radius: 1rem;
    transition: all .15s;
}
.sn-channel-link:hover {
    border-color: #cc0000;
    color: #cc0000;
}

/* Follow strip */
.sn-follow-strip {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 .5rem;
}
.sn-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.8rem;
    border-radius: 2rem;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}
.sn-follow-btn:hover { opacity: .88; transform: scale(1.03); }
.sn-yt-btn { background: #FF0000; }
.sn-tk-btn { background: #000; }
.sn-fb-btn { background: #1877F2; }
.sn-ig-btn { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sn-x-btn  { background: #000; }

/* Responsive */
@media (max-width: 600px) {
    .sosmed-nav-tabs { gap: .35rem; }
    .sn-tab { padding: .45rem .9rem; font-size: .78rem; }
    .sn-post-card { max-width: 100%; }
    .sn-tiktok-embed-wrap { padding: .25rem .25rem; }
    .sn-fb-embed-wrap, .sn-ig-embed-wrap { padding: .25rem .25rem; }
    .sn-post-footer { flex-direction: column; align-items: flex-start; }
}

/* ── Thumbnail card styles ── */
.sn-thumb-link {
    display: block; text-decoration: none; color: inherit;
}
.sn-thumb-wrap {
    position: relative; width: 100%; padding-top: 56.25%;
    overflow: hidden; background: #000;
}
.sn-thumb-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s;
}
.sn-thumb-link:hover .sn-thumb-img { transform: scale(1.03); }
.sn-yt-play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
    transition: transform .2s;
}
.sn-thumb-link:hover .sn-yt-play-btn { transform: translate(-50%,-50%) scale(1.1); }
.sn-thumb-fallback {
    padding: 1.5rem; text-align: center;
    font-size: .85rem; color: #64748b; background: #f8fafc;
}
/* Badge class mapping for 2-char prefix */
.sn-yo-badge { background: #FF0000; }
.sn-ti-badge { background: #000; }
.sn-fa-badge { background: #1877F2; }
.sn-in-badge { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sn-tw-badge { background: #000; }

/* ═══════════════════════════════════════════════════════
   SNC — Social Media Card (new unified design)
   ═══════════════════════════════════════════════════════ */

/* Grid & card wrapper */
.sn-posts-grid { display:flex; justify-content:center; padding:0 1rem; }

.snc-card {
    width:100%; max-width:620px;
    background:#fff;
    border-radius:20px;
    border:1.5px solid #e8ecf0;
    overflow:hidden;
    box-shadow:0 4px 24px rgba(0,0,0,.07);
    transition:box-shadow .25s, transform .25s;
}
.snc-card:hover {
    box-shadow:0 10px 40px rgba(0,0,0,.12);
    transform:translateY(-3px);
}

/* Hero area */
.snc-hero-link { display:block; text-decoration:none; }

.snc-hero {
    position:relative;
    width:100%;
    min-height:280px;
    overflow:hidden;
}

/* Image hero */
.snc-hero-img { background:#000; }
.snc-hero-img-el {
    width:100%; display:block;
    max-height:360px; object-fit:cover;
    transition:transform .35s;
}
.snc-hero-link:hover .snc-hero-img-el { transform:scale(1.04); }

/* Fallback if img fails */
.snc-hero-fallback {
    background:linear-gradient(135deg,#1e293b,#334155);
    min-height:280px;
    display:flex; align-items:center; justify-content:center;
}

/* Play overlay for video platforms */
.snc-play-overlay {
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(0,0,0,.18);
    transition:background .2s;
}
.snc-hero-link:hover .snc-play-overlay { background:rgba(0,0,0,.3); }
.snc-play-circle {
    width:72px; height:72px; border-radius:50%;
    background:rgba(220,27,27,.88);
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 4px 20px rgba(0,0,0,.35);
    transition:transform .2s, background .2s;
}
.snc-hero-link:hover .snc-play-circle { transform:scale(1.1); background:rgba(220,27,27,1); }

/* Gradient hero (FB, IG, X, fallback) */
.snc-hero-gradient {
    min-height:280px;
    display:flex; align-items:center; justify-content:center;
    position:relative; overflow:hidden;
}
.snc-gradient-content {
    position:relative; z-index:2;
    text-align:center; padding:2rem 1.5rem;
    display:flex; flex-direction:column; align-items:center; gap:.5rem;
}
.snc-gradient-icon {
    width:72px; height:72px; border-radius:50%;
    background:rgba(255,255,255,.15);
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 4px 20px rgba(0,0,0,.2);
    margin-bottom:.4rem;
    transition:transform .25s, background .25s;
}
.snc-hero-link:hover .snc-gradient-icon {
    transform:scale(1.12);
    background:rgba(255,255,255,.25);
}
.snc-gradient-label {
    font-size:1.25rem; font-weight:800; color:#fff;
    text-shadow:0 1px 4px rgba(0,0,0,.25);
}
.snc-gradient-handle {
    font-size:.85rem; color:rgba(255,255,255,.8);
    font-weight:500;
}
/* Decorative circle pattern */
.snc-gradient-pattern {
    position:absolute; right:-40px; bottom:-40px;
    width:220px; height:220px; border-radius:50%;
    background:rgba(255,255,255,.07);
    pointer-events:none;
}
.snc-gradient-pattern::before {
    content:''; position:absolute;
    inset:-40px; border-radius:50%;
    border:2px solid rgba(255,255,255,.08);
}

/* Open button overlay on gradient cards */
.snc-open-btn {
    position:absolute; bottom:1.2rem; left:50%; transform:translateX(-50%);
    z-index:3;
    display:inline-flex; align-items:center; gap:.4rem;
    padding:.5rem 1.4rem;
    background:rgba(255,255,255,.18);
    border:1.5px solid rgba(255,255,255,.45);
    border-radius:2rem;
    color:#fff; font-size:.82rem; font-weight:700;
    backdrop-filter:blur(6px);
    transition:background .2s, transform .2s;
    white-space:nowrap;
}
.snc-hero-link:hover .snc-open-btn {
    background:rgba(255,255,255,.28);
    transform:translateX(-50%) translateY(-2px);
}

/* Info strip */
.snc-info { padding:1.1rem 1.3rem 1.3rem; }
.snc-info-top {
    display:flex; align-items:center; gap:.6rem;
    margin-bottom:.7rem;
}
.snc-badge {
    display:inline-flex; align-items:center; gap:.35rem;
    padding:.22rem .75rem;
    border-radius:2rem;
    font-size:.72rem; font-weight:800; color:#fff;
    letter-spacing:.02em;
}
.snc-badge svg path, .snc-badge svg rect, .snc-badge svg circle { /* color already set */ }
.snc-handle-text {
    font-size:.78rem; color:#94a3b8; font-weight:500;
}
.snc-title {
    font-size:1rem; font-weight:700;
    color:#1e293b; line-height:1.45;
    margin-bottom:.4rem;
}
.snc-desc {
    font-size:.83rem; color:#64748b; line-height:1.55;
    margin-bottom:.85rem;
}
.snc-actions {
    display:flex; align-items:center; gap:.65rem; flex-wrap:wrap;
}
.snc-btn-primary {
    display:inline-flex; align-items:center; gap:.4rem;
    padding:.52rem 1.2rem;
    border-radius:8px;
    color:#fff; font-size:.82rem; font-weight:700;
    text-decoration:none;
    transition:opacity .15s, transform .15s;
    white-space:nowrap;
}
.snc-btn-primary:hover { opacity:.87; transform:translateY(-1px); }
.snc-btn-secondary {
    display:inline-flex; align-items:center;
    padding:.5rem 1rem;
    border-radius:8px;
    border:1.5px solid #e2e8f0;
    color:#64748b; font-size:.82rem; font-weight:600;
    text-decoration:none;
    transition:border-color .15s, color .15s;
    white-space:nowrap;
}
.snc-btn-secondary:hover { border-color:#cc0000; color:#cc0000; }

/* Follow strip */
.sn-follow-strip { display:flex; justify-content:center; margin:1.5rem 0 .5rem; }
.sn-follow-btn {
    display:inline-flex; align-items:center; gap:.55rem;
    padding:.72rem 2rem;
    border-radius:2rem;
    color:#fff; font-size:.9rem; font-weight:700;
    text-decoration:none;
    box-shadow:0 4px 16px rgba(0,0,0,.18);
    transition:opacity .2s, transform .15s;
}
.sn-follow-btn:hover { opacity:.88; transform:scale(1.03); }
.sn-follow-btn svg { flex-shrink:0; }

/* Responsive */
@media(max-width:640px){
    .snc-hero { min-height:200px; }
    .snc-hero-gradient { min-height:200px; }
    .snc-gradient-icon { width:56px; height:56px; }
    .snc-gradient-label { font-size:1rem; }
    .snc-info { padding:.9rem 1rem 1rem; }
    .snc-actions { flex-direction:column; align-items:stretch; }
    .snc-btn-primary, .snc-btn-secondary { justify-content:center; }
    .sn-follow-btn { padding:.65rem 1.4rem; font-size:.82rem; }
}

/* ═══════════════════════════════════════════════════════
   SNF — Social Media Feed Wrapper (unified)
   ═══════════════════════════════════════════════════════ */

.snf-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1.5px solid #e8ecf0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* Header bar */
.snf-header {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfc;
}
.snf-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    border-radius: 2rem;
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
}
.snf-yt { background: #FF0000; }
.snf-tk { background: #000; }
.snf-fb { background: #1877F2; }
.snf-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.snf-x  { background: #000; }
.snf-handle {
    font-size: .8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* YouTube embed */
.snf-yt-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.snf-yt-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* TikTok embed */
.snf-tiktok-embed {
    display: flex;
    justify-content: center;
    padding: .5rem;
    background: #fafafa;
    min-height: 500px;
}
.snf-tiktok-embed iframe {
    border-radius: 8px;
}

/* Facebook Page Plugin wrapper */
.snf-fb-wrap {
    display: flex;
    justify-content: center;
    padding: .75rem;
    min-height: 200px;
    background: #f0f2f5;
    overflow: hidden;
}
.snf-fb-wrap .fb_iframe_widget,
.snf-fb-wrap .fb_iframe_widget span,
.snf-fb-wrap .fb_iframe_widget iframe {
    width: 100% !important;
    max-width: 600px !important;
}

/* Instagram embed wrapper */
.snf-ig-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .75rem;
    min-height: 200px;
    background: #fafafa;
    overflow: hidden;
}
.snf-ig-wrap .instagram-media {
    margin: 0 auto !important;
}

/* Twitter/X timeline */
.snf-tw-wrap {
    padding: .5rem .75rem;
    min-height: 300px;
    background: #fff;
}

/* Offline / localhost notice */
.snf-offline-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: .6rem;
    width: 100%;
}
.snf-offline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}
.snf-offline-desc {
    font-size: .82rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 320px;
    margin: 0;
}
.snf-offline-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    padding: .55rem 1.4rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: opacity .15s;
}
.snf-offline-btn:hover { opacity: .87; }
.snf-fb-btn { background: #1877F2; }
.snf-ig-btn { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }

/* Hide IG offline notice when embed loads */
.instagram-media ~ .snf-ig-offline { display: none; }

/* Footer */
.snf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.1rem;
    border-top: 1px solid #f0f4f8;
    background: #fafbfc;
}
.snf-view-link {
    font-size: .83rem;
    font-weight: 700;
    color: #cc0000;
    text-decoration: none;
    transition: letter-spacing .15s;
}
.snf-view-link:hover { letter-spacing: .03em; }
.snf-channel-link {
    font-size: .78rem;
    color: #64748b;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    padding: .25rem .75rem;
    border-radius: 2rem;
    transition: all .15s;
}
.snf-channel-link:hover { border-color: #cc0000; color: #cc0000; }

@media (max-width: 640px) {
    .snf-wrap { border-radius: 12px; }
    .snf-tiktok-embed { min-height: 400px; }
    .snf-footer { flex-direction: column; gap: .5rem; align-items: flex-start; }
}

/* ── Berita Carousel: Nav buttons & Dots ── */
.berita-nav-btns {
    display: flex;
    gap: 6px;
}
.bnav-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--g2);
    background: var(--white);
    color: var(--black);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
    flex-shrink: 0;
}
.bnav-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: scale(1.08);
}