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

:root {
  --primary: #1abc9c;
  --dark-bg: #181818;
  --light-bg: #f5f5f5;
  --text-light: #eee;
  --text-dark: #333;
  --card-bg: #242424;
  --radius: 8px;
  --transition: 0.3s;
  --meta-color: #aaa;
  --score-good: #4caf50;
  --score-mid: #ffca28;
  --score-bad: #f44336;
  --header-height: 70px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  transition: var(--transition);
  padding-top: var(--header-height);
}

.light-mode {
  background: var(--light-bg);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-container {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  top: 8px;
}

.hamburger.active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.active .hamburger-inner::before {
  transform: rotate(-90deg) translateX(-8px);
}

.hamburger.active .hamburger-inner::after {
  opacity: 0;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 20px;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('https://via.placeholder.com/1920x1080') center/cover;
  padding: 100px 0;
  margin-bottom: 40px;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
  position: relative;
}

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

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    background: var(--dark-bg);
    width: 280px;
    height: calc(100vh - var(--header-height));
    padding: 30px;
    transition: right 0.3s;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

}
.light-mode {
  background: var(--light-bg);
  color: var(--text-dark);
}

.container { max-width:1200px; margin:0 auto; padding:0 20px; }

.site-header {
  background: var(--dark-bg);
  padding: 15px 0;
  position: sticky; top:0; z-index:100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.header-inner {
  display:flex; align-items:center; justify-content:space-between;
}
.logo { font-size:1.5rem; font-weight:700; color:var(--primary); }
.main-nav ul { display:flex; gap:20px; }
.main-nav a { color:inherit; transition: color .3s; }
.main-nav a:hover { color:var(--primary); }
.theme-toggle { background:none; border:none; color:inherit; font-size:1.2rem; cursor:pointer; }

.news-list {
  display:grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
  margin:30px 0;
}

.news-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-5px); }
.news-card img {
  width:100%; display:block; height:160px; object-fit:cover;
}
.news-content {
  padding:15px;
}
.news-content h3 {
  font-size:1rem; margin-bottom:8px; line-height:1.3;
}
.news-content h3 a { color:var(--text-light); transition: color .3s; }
.news-content h3 a:hover { color:var(--primary); }
.news-content time {
  font-size:0.8rem; color:var(--meta-color);
}

.score-badge {
  position:absolute; top:10px; right:10px;
  background: var(--score-mid);
  color:#000;
  font-weight:600;
  padding:4px 8px;
  border-radius:4px;
  font-size:0.85rem;
}
.score-good { background:var(--score-good); }
.score-bad  { background:var(--score-bad); }

.load-more {
  display:block; width:100%; padding:12px;
  background: var(--primary);
  color:#222;
  text-align:center; border:none;
  border-radius: var(--radius);
  cursor:pointer; transition: var(--transition);
  margin-bottom:40px;
}
.load-more:hover { background:#16a085; }

.site-footer {
  background: #111; color: #777;
  padding:20px 0; text-align:center;
}
.footer-inner { display:flex; justify-content:center; align-items:center; gap:20px; flex-wrap:wrap; }
.footer-inner a { color:#777; transition: color .3s; }
.footer-inner a:hover { color: var(--primary); }

.light-mode .news-card { background:#fff; color:var(--text-dark); }
.light-mode .score-badge { color:#fff; }
.light-mode .site-footer { background:#eee; color:#555; }

    .article-container {
      padding: 4rem 0;
      max-width: 1100px;
      margin: 0 auto;
    }

    .article-content {
      padding: 0 2rem;
    }

    .article-title {
      font-size: 2.75rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      line-height: 1.2;
      text-align: center;
    }

    .article-meta {
      font-size: 0.95rem;
      color: var(--meta-color);
      margin-bottom: 2.5rem;
      display: flex;
      justify-content: center;
      gap: 1.2rem;
      flex-wrap: wrap;
    }

.article-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

    .article-body {
      font-size: 1.1rem;
      line-height: 1.8;
      max-width: 780px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .article-body p {
      margin-bottom: 1.8rem;
      color: var(--text-light);
      text-align: justify;
    }

    .article-section {
      margin: 3rem 0;
    }

    .article-section h2 {
      font-size: 1.75rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--primary);
    }

    .custom-list {
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }

    .custom-list li {
      margin-bottom: 0.8rem;
      padding-left: 0.5rem;
    }

    .read-more-btn {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 1rem 2rem;
      border-radius: 8px;
      cursor: pointer;
      display: block;
      margin: 2.5rem auto 0;
      font-size: 1rem;
      transition: var(--transition);
    }

    .read-more-btn:hover {
      background: #16a085;
      transform: translateY(-2px);
    }

    @media (max-width: 992px) {
      .article-container {
        padding: 3rem 1.5rem;
      }
      
      .article-content {
        padding: 0;
      }

      .article-title {
        font-size: 2.25rem;
      }

      .article-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
    }

    @media (max-width: 768px) {
      .article-title {
        font-size: 2rem;
      }

     .article-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

      .article-body {
        padding: 0;
        font-size: 1rem;
      }

      .article-section h2 {
        font-size: 1.5rem;
      }

      .read-more-btn {
        width: 100%;
        padding: 1rem;
      }
    }

    @media (max-width: 480px) {
      .article-title {
        font-size: 1.75rem;
      }

      .article-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

      .article-meta {
        gap: 0.8rem;
        font-size: 0.85rem;
      }
    }

    .light-mode .article-body p,
    .light-mode .custom-list li {
      color: var(--text-dark) !important;
    }

    .light-mode .article-section h2 {
      color: #1a5c4d;
    }

    .light-mode .site-footer {
      background: #f8f9fa;
    }
    
.user-avatar {
  width: 50px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid var(--primary);
}

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

.user-avatar i {
  font-size: 2rem;
  color: var(--primary);
}

.user-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .user-avatar {
    width: 45px;
    height: 45px;
    margin-right: 10px;
  }
  
  .user-avatar i {
    font-size: 1.8rem;
  }
}

.main-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2c3e50 100%);
  padding: 4rem 0;
  margin-bottom: 3rem;
  border-bottom: 4px solid var(--primary);
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.banner-text {
  color: var(--text-light);
}

.banner-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.banner-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.banner-btn {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.banner-btn:hover {
  background: #16a085;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

@media (max-width: 992px) {
  .banner-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .banner-text h1 {
    font-size: 2.2rem;
  }
  
  .banner-btn {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .main-banner {
    padding: 2.5rem 0;
  }
  
  .banner-text h1 {
    font-size: 1.8rem;
  }
  
  .banner-text p {
    font-size: 1rem;
  }
}

.light-mode .main-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.light-mode .banner-text {
  color: var(--text-dark);
}

/* News Highlight Section */
.news-highlight {
  margin: 3rem 0;
}

.highlight-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform var(--transition);
}

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

.highlight-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.highlight-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.category-tag {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.highlight-content h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.highlight-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .highlight-card img {
    height: 350px;
  }
  
  .highlight-content {
    padding: 1.5rem;
  }
  
  .highlight-content h2 {
    font-size: 1.5rem;
  }
  
  .highlight-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .highlight-card img {
    height: 280px;
  }
  
  .highlight-content {
    padding: 1rem;
  }
  
  .category-tag {
    font-size: 0.8rem;
  }
}

  .game-links {
    text-align: center;
    margin-top: 20px;
  }

  .game-button {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px;
    background-color: #e1251b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s;
  }

  .game-button:hover {
    background-color: #c11e16;
  }
  
  .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background-color: #000;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.related-content {
  margin-top: 50px;
  padding: 20px 0;
}

.related-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
  padding-left: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.related-item {
  background-color: var(--dark-card);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.related-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.related-info {
  padding: 15px;
}

.related-info h3 {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-top: 8px;
  line-height: 1.4;
}

.related-tag {
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
}

.related-tag.game {
  background-color: #4caf50;
}

.related-tag.teknologi {
  background-color: #2196f3;
}

.related-tag.event {
  background-color: #9c27b0;
}

.article-title {
  color: #20c997;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
