/* ==========================================================================
   THEME PALETTE: UNGU (#2a0845), BIRU (#0f2027, #1e3c72), MERAH (#e50914), EMAS (#ffd700, #ffb700)
   DESKTOP OPTIMIZED LAYOUT - MIX LANDING PAGE & NEWS PORTAL
   ========================================================================== */

:root {
  --bg-dark: #0a0512;
  --bg-card: #150a26;
  --purple-main: #2a0845;
  --purple-light: #4a154b;
  --blue-accent: #1e3c72;
  --blue-dark: #0f2027;
  --red-accent: #e50914;
  --red-hover: #b20710;
  --gold-main: #ffd700;
  --gold-hover: #ffb700;
  --text-light: #f1f1f1;
  --text-muted: #b3b3b3;
  --border-color: #3b1c63;
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-family);
  line-height: 1.6;
  padding-bottom: 50px;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-main);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

/* ==========================================
   1. TOP BAR BREAKING NEWS
   ========================================== */
.top-bar {
  background: linear-gradient(90deg, #11001c, var(--purple-main), #11001c);
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breaking-label {
  background: var(--red-accent);
  color: #fff;
  padding: 2px 10px;
  font-weight: bold;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.ticker-text {
  color: var(--gold-main);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
}

.top-date {
  color: var(--text-muted);
}

/* ==========================================
   2. HEADER & NAVIGATION (MEGA MENU)
   ========================================== */
.main-header {
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--bg-dark) 100%);
  border-bottom: 2px solid var(--purple-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand-logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.3));
}

.header-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  cursor: pointer;
}

.btn-login {
  background: linear-gradient(135deg, var(--blue-accent), #2a5298);
  color: #fff;
  border: 1px solid #3b62a4;
}

.btn-login:hover {
  background: linear-gradient(135deg, #2a5298, var(--blue-accent));
  color: #fff;
  box-shadow: 0 0 10px rgba(30,60,114,0.8);
}

.btn-register {
  background: linear-gradient(135deg, var(--red-accent), #ff416c);
  color: #fff;
  border: 1px solid #ff4b2b;
}

.btn-register:hover {
  background: var(--red-hover);
  color: #fff;
  box-shadow: 0 0 12px rgba(229,9,20,0.8);
}

/* Mega Menu Navigation */
.navbar {
  background: var(--purple-main);
  border-top: 1px solid var(--border-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(255,255,255,0.05);
  border-bottom-color: var(--gold-main);
  color: var(--gold-main);
}

.highlight-gold {
  color: var(--gold-main);
}

.arrow {
  font-size: 10px;
  margin-left: 4px;
}

/* Dropdown Mega Menu Multi Column */
.has-dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 650px;
  background: #18032b;
  border: 2px solid var(--gold-main);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  padding: 20px;
  gap: 20px;
  z-index: 1100;
  transition: all 0.3s ease;
}

.dropdown-col {
  flex: 1;
}

.dropdown-col h4 {
  color: var(--gold-main);
  font-size: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.dropdown-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.dropdown-col a:hover {
  color: #fff;
  padding-left: 5px;
}

.image-col img {
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
}

.image-col p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================
   3. BREADCRUMB
   ========================================== */
.breadcrumb-container {
  background: #0e051a;
  padding: 10px 0;
  border-bottom: 1px solid #1f0b38;
}

.breadcrumb {
  display: flex;
  list-style: none;
  font-size: 12px;
}

.breadcrumb li+li:before {
  content: "/\00a0";
  padding: 0 8px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb li.active {
  color: var(--gold-main);
}

/* ==========================================
   4. HERO LANDING BANNER
   ========================================== */
.hero-section {
  padding: 25px 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  background: linear-gradient(135deg, var(--purple-main), var(--blue-dark));
  border: 2px solid var(--gold-main);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(10, 5, 18, 0.6);
}

.badge-gold {
  background: var(--gold-main);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 12px;
}

.hero-overlay-card h1 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-overlay-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.btn-hero-reg {
  background: linear-gradient(90deg, var(--gold-main), var(--gold-hover));
  color: #000;
  flex: 1;
}

.btn-hero-reg:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 15px rgba(255,215,0,0.6);
}

.btn-hero-log {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold-main);
  flex: 1;
}

.btn-hero-log:hover {
  background: var(--gold-main);
  color: #000;
}

/* ==========================================
   5. MAIN CONTENT GRID (NEWS & LANDING MIX)
   ========================================== */
.main-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 25px;
  margin-top: 10px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
}

.news-header-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 12px;
}

.category-tag {
  background: var(--blue-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: bold;
}

.read-time {
  color: var(--text-muted);
}

.news-card h2 {
  font-size: 20px;
  color: var(--gold-main);
  margin-bottom: 15px;
  border-left: 4px solid var(--red-accent);
  padding-left: 10px;
}

.news-card h3 {
  font-size: 18px;
  color: var(--gold-main);
  margin: 15px 0 10px 0;
}

.news-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

.media-box img, .media-single img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.media-single {
  margin: 20px 0;
}

.article-body p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #dcdcdc;
  text-align: justify;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.pillar-box {
  background: rgba(42, 8, 69, 0.4);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 6px;
  position: relative;
}

.pillar-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--red-accent);
  display: block;
  margin-bottom: 5px;
}

.pillar-box h4 {
  color: var(--gold-main);
  font-size: 14px;
  margin-bottom: 8px;
}

.pillar-box p {
  font-size: 12px;
  margin-bottom: 0;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

/* Sidebar Styling */
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.widget-title {
  font-size: 14px;
  color: var(--gold-main);
  margin-bottom: 12px;
  background: var(--purple-main);
  padding: 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.widget-img-holder {
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.widget-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.btn-side-action {
  background: var(--red-accent);
  color: #fff;
  width: 100%;
}

.btn-side-action:hover {
  background: var(--red-hover);
  color: #fff;
}

.btn-side-chat {
  background: var(--blue-accent);
  color: #fff;
  width: 100%;
}

.btn-side-chat:hover {
  background: #2a5298;
  color: #fff;
}

.cert-bg {
  background: #000;
  padding: 10px;
}

/* ==========================================
   6. BANK PARTNERS SECTION
   ========================================== */
.bank-section {
  background: var(--purple-main);
  padding: 30px 0;
  margin-top: 30px;
  border-top: 2px solid var(--gold-main);
}

.section-title-center {
  text-align: center;
  color: var(--gold-main);
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  align-items: center;
}

.bank-card {
  background: #fff;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.bank-card img {
  max-height: 35px;
  width: auto;
  object-fit: contain;
}

/* ==========================================
   7. STICKY FOOTER ACTION BAR
   ========================================== */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--purple-main), var(--blue-dark), var(--purple-main));
  border-top: 1px solid var(--gold-main);
  padding: 8px 0;
  z-index: 2000;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.8);
}

.footer-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bar-info {
  font-size: 13px;
  font-weight: bold;
}

.gold-text {
  color: var(--gold-main);
}

.bar-btns {
  display: flex;
  gap: 10px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

/* ==========================================
   8. FOOTER
   ========================================== */
.main-footer {
  background: #05020a;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  font-size: 13px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 15px;
}

.brand-col p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--gold-main);
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.copyright-bar {
  background: #000;
  text-align: center;
  padding: 15px 0;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid #150a26;
}

.copyright-bar a {
  color: var(--gold-main);
}