* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* FIX GESER KANAN */
body {
  background: #f5f7fa;
  color: #222;
  overflow-x: hidden;
}

/* HEADER */
.header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* LOGO */
.logo {
  font-weight: bold;
  color: #ff9900;
  font-size: 20px;
}

/* MENU DESKTOP */
.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.nav a:hover {
  color: #ff9900;
}

/* UNDERLINE EFFECT */
.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff9900;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* BURGER */
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  padding: 25px 20px;
  transition: 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  right: 0;
}

/* HEADER MOBILE */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-header span:first-child {
  font-size: 18px;
  font-weight: 600;
}

.close {
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ff9900;
  transform: rotate(90deg);
}

/* LIST */
.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 10px;
  transition: 0.2s;
}

.mobile-menu ul li:hover {
  padding-left: 5px;
}

.mobile-menu a {
  color: #222;
  text-decoration: none;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu a::after {
  content: "›";
  color: #ccc;
  transition: 0.3s;
}

.mobile-menu a:hover {
  color: #ff9900;
}

.mobile-menu a:hover::after {
  color: #ff9900;
  transform: translateX(3px);
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  z-index: 9998;
  display: none;
}

.overlay.active {
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* 🔥 FIX UTAMA: NONAKTIFKAN DI DESKTOP */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }

  .overlay {
    display: none !important;
  }
}

/* HERO PREMIUM */
.hero {
  position: relative;
  padding: 120px 20px;
  background: url('../img/hero-entertainment.webp') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* DARK + GRADIENT */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: auto;
  text-align: center;

  backdrop-filter: blur(6px);
  padding: 30px;
  border-radius: 16px;
}

/* BADGE */
.hero-badge {
  display: inline-block;
  background: rgba(255, 153, 0, 0.15);
  color: #ff9900;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,153,0,0.3);
}

/* TITLE */
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* HIGHLIGHT */
.hero h1 span {
  color: #ff9900;
}

/* DESC */
.hero p {
  font-size: 16px;
  color: #e5e7eb;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTON PRIMARY */
.btn-primary {
  background: linear-gradient(135deg, #ff9900, #ff6600);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,153,0,0.4);
}

/* BUTTON SECONDARY */
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-content {
    padding: 20px;
  }
}

.main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 30px;
  align-items: start; /* 🔥 INI KUNCINYA */
}

/* TABLET */
@media (min-width: 768px) {
  .main {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .main {
    grid-template-columns: 2fr 1fr;
  }
}


/* CONTENT GRID */
.content {
  display: flex;
  flex-direction: column;
  gap: 35px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content,
.widget {
  width: 100%;
}

/* BIAR TIDAK OVERFLOW */
img {
  max-width: 100%;
  height: auto;
}

.article h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 15px;
}

.article-image {
  width: 100%;
  max-height: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.article h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 20px;
  color: #111;
}

.article p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.article ul,
.article ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.article li {
  margin-bottom: 8px;
}

.article-quote {
  margin: 20px 0;
  padding: 15px;
  background: #f9fafb;
  border-left: 4px solid #ff9900;
  font-style: italic;
}

.news-title a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}

.news-title a:hover {
  color: #ff9900;
}

/* META PREMIUM */
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280; /* abu soft */
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* DATE */
.meta-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* AUTHOR */
.meta-author {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: #374151;
}

/* DOT */
.meta-dot {
  color: #d1d5db;
}

/* EXCERPT PREMIUM */
.excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-top: 5px;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* batasi 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* HOVER EFFECT (BIAR HIDUP) */
.news-card:hover .excerpt {
  color: #111;
}

/* META HOVER */
.news-card:hover .meta-author {
  color: #ff9900;
}


/* TABLET */
@media (min-width: 768px) {
  .article h1 {
    font-size: 28px;
  }

  .article-image {
    max-height: 400px;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .article h1 {
    font-size: 32px;
  }
}


/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
}

.search-box button {
  background: #ff9900;
  color: #fff;
  border: none;
  padding: 8px;
  white-space: nowrap;
}

.widget {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* RECENT POST PREMIUM */
.recent-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}

/* hover effect */
.recent-post:hover {
  background: #f9fafb;
}

/* thumbnail */
.recent-post img {
  width: 60px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* title link */
.recent-post a {
  color: #222; /* FIX: tidak biru */
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  transition: 0.3s;
}

/* hover link */
.recent-post a:hover {
  color: #ff9900;
}

/* divider antar item */
.recent-post + .recent-post {
  border-top: 1px solid #f1f1f1;
  padding-top: 15px;
}

/* TABLET */
@media (min-width: 768px) {
  .recent-post img {
    width: 70px;
    height: 55px;
  }

  .recent-post a {
    font-size: 14px;
  }
}

.recent-date {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #fff;
  margin-top: 50px;
}

/* CONTAINER */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* LOGO */
.footer-logo {
  color: #ff9900;
  margin-bottom: 10px;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* TITLE */
.footer-col h3 {
  margin-bottom: 15px;
}

/* LIST */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

/* LINK */
.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ff9900;
}

/* FORM */
.footer-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-form input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
}

.footer-form button {
  background: #ff9900;
  border: none;
  padding: 8px 12px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* BREAKING */
/* BREAKING PREMIUM */
.breaking {
  margin-top: 20px;
}

.breaking-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* LABEL */
.breaking-label {
  background: #ff9900;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 10px;
  white-space: nowrap;
}

/* SLIDER */
.breaking-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* hide scrollbar */
.breaking-slider::-webkit-scrollbar {
  display: none;
}

/* ITEM */
.breaking-item {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
}

/* hover */
.breaking-item:hover {
  color: #ff9900;
}