/* ===================================================
   HAYUK MEDIA NETWORK - DESIGN SYSTEM (DS-1.0)
   National-grade Modern News Portal Stylesheet
   =================================================== */

@import "./design-system/index.css";

:root {
  --bg: var(--hayuk-bg);
  --paper: var(--hayuk-paper);
  --paper-hover: var(--hayuk-paper-hover);
  --primary: var(--hayuk-primary);
  --accent: var(--hayuk-accent);
  --text: var(--hayuk-text-primary);
  --text-muted: var(--hayuk-text-muted);
  --border: var(--hayuk-border);
  --shadow: var(--hayuk-shadow-lg);
  --radius: var(--hayuk-radius-lg);
}

[data-theme="light"] {
  --bg: var(--hayuk-bg);
  --paper: var(--hayuk-paper);
  --paper-hover: var(--hayuk-paper-hover);
  --primary: var(--hayuk-primary);
  --accent: var(--hayuk-accent);
  --text: var(--hayuk-text-primary);
  --text-muted: var(--hayuk-text-muted);
  --border: var(--hayuk-border);
  --shadow: var(--hayuk-shadow-md);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body { 
  background-color: var(--bg); 
  color: var(--text); 
  line-height: 1.6; 
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { 
  color: inherit; 
  text-decoration: none; 
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* Accessibility Focus Indicator */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================================================
   TOP BAR & TICKER
   =================================================== */
.top-bar { 
  background: #070a12; 
  border-bottom: 1px solid var(--border); 
  color: var(--text-muted); 
  font-size: 0.8rem; 
  padding: 8px 0; 
}

.top-bar-inner { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

.top-bar-date {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.ticker-box { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  overflow: hidden; 
}

.ticker-label { 
  background: var(--accent); 
  color: #fff; 
  font-family: 'Oswald', sans-serif; 
  font-size: 0.72rem; 
  padding: 2px 8px; 
  font-weight: 700; 
  text-transform: uppercase; 
  border-radius: 3px; 
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-text { 
  font-size: 0.82rem; 
  color: #cbd5e1; 
  transition: color 0.2s;
}
.ticker-text:hover {
  color: var(--primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.social-icons a:hover {
  color: var(--primary);
}

.theme-toggle-btn {
  background: #0f172a;
  border: 1px solid var(--border);
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
}
.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 768px) {
  .top-bar-date, .social-icons { display: none; }
}

/* ===================================================
   MAIN HEADER & LOGO BRANDING
   =================================================== */
.main-header { 
  background: #0f172a; 
  border-bottom: 3px solid var(--accent); 
  padding: 16px 0; 
}

.header-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.logo-icon { 
  width: 45px; 
  height: 45px; 
  background: linear-gradient(135deg, var(--primary), var(--accent)); 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.4rem; 
  font-weight: 800; 
  color: #fff; 
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); 
  flex-shrink: 0; 
}

.logo-text h1 { 
  font-family: 'Oswald', sans-serif; 
  font-size: 2.2rem; 
  font-weight: 700; 
  color: #fff; 
  letter-spacing: -0.5px; 
  text-transform: uppercase; 
  line-height: 1; 
}
.logo-text h1 span { color: var(--accent); }
.logo-subtext { 
  font-size: 0.72rem; 
  color: var(--text-muted); 
  letter-spacing: 1px; 
  text-transform: uppercase; 
}

.leaderboard-slot { 
  background: linear-gradient(135deg, #1e293b, #0f172a); 
  border: 1px dashed var(--border); 
  width: 728px; 
  height: 75px; 
  border-radius: 8px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  color: var(--text-muted); 
  font-size: 0.8rem; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
}

.mobile-action-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hamburger-btn {
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 1050px) {
  .leaderboard-slot { display: none; }
}

@media (max-width: 850px) {
  .mobile-action-btn { display: flex; }
  .logo-subtext { display: none; }
  .logo-text h1 { font-size: 1.6rem; }
  .logo-icon { width: 38px; height: 38px; font-size: 1.2rem; }
  .nav-bar { display: none; }
}

/* ===================================================
   STICKY NAVIGATION BAR & DROPDOWN
   =================================================== */
.nav-bar { 
  background: #161e2e; 
  border-bottom: 1px solid var(--border); 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  backdrop-filter: blur(10px); 
}

.nav-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.main-nav { display: flex; list-style: none; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  padding: 16px 18px; 
  color: #f1f5f9; 
  font-weight: 700; 
  text-decoration: none; 
  font-size: 0.95rem; 
  text-transform: uppercase; 
  font-family: 'Oswald', sans-serif; 
  letter-spacing: 0.8px; 
  transition: 0.2s; 
  white-space: nowrap; 
}
.main-nav a:hover, .main-nav a.active { 
  background: var(--accent); 
  color: #fff; 
}

.main-nav li.has-dropdown:hover > .nav-dropdown { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #0f172a;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 6px 0;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 200;
  transition: all 0.2s ease;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-family: 'Outfit', sans-serif;
  text-transform: none;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-dropdown a:hover {
  background: #1e293b;
  color: #fff;
  padding-left: 20px;
}

.desktop-search-btn {
  background: #0f172a;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.desktop-search-btn:hover { border-color: var(--primary); color: #fff; }

/* ===================================================
   MOBILE NAVIGATION DRAWER & SEARCH MODAL
   =================================================== */
.drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #0f1424;
  border-right: 1px solid var(--border);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0,0,0,0.8);
}
.mobile-drawer.active { transform: translateX(0); }

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b0f19;
}
.drawer-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body { padding: 20px; overflow-y: auto; flex: 1; }

.drawer-search-form { display: flex; margin-bottom: 20px; }
.drawer-search-form input { flex: 1; background: #0b0f19; border: 1px solid var(--border); border-radius: 6px 0 0 6px; padding: 10px 14px; color: #fff; font-size: 0.9rem; outline: none; }
.drawer-search-form button { background: var(--primary); border: none; padding: 0 16px; border-radius: 0 6px 6px 0; cursor: pointer; color: #000; font-weight: 700; }

.drawer-menu-list { list-style: none; }
.drawer-menu-list a { display: block; padding: 12px 14px; color: #e2e8f0; font-weight: 700; font-family: 'Oswald', sans-serif; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.2s; }
.drawer-menu-list a:hover, .drawer-menu-list a.active { color: var(--primary); background: rgba(56, 189, 248, 0.05); border-radius: 6px; }
.drawer-divider { font-size: 0.72rem; color: var(--accent); font-weight: 800; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; padding: 15px 14px 6px; }

/* --- Search Modal Overlay --- */
.search-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 10, 18, 0.9);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  backdrop-filter: blur(8px);
}
.search-modal.active { opacity: 1; visibility: visible; }

.search-modal-content {
  background: #0f1424;
  border: 1px solid var(--primary);
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  padding: 25px;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
}

.search-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.search-close-btn { background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

.search-modal-form { display: flex; gap: 10px; }
.search-modal-form input { flex: 1; background: #070a12; border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; color: #fff; font-size: 1.1rem; outline: none; }
.search-modal-form input:focus { border-color: var(--primary); }

/* ===================================================
   HERO MAGAZINE GRID SECTION
   =================================================== */
.hero-section {
  margin-bottom: 35px;
}

.hero-magazine-grid { 
  display: grid; 
  grid-template-columns: 66% 1fr; 
  gap: 24px; 
}

@media (max-width: 850px) { 
  .hero-magazine-grid { grid-template-columns: 1fr; } 
}

.feature-big { 
  position: relative; 
  height: 480px; 
  border-radius: var(--radius); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow);
}
.feature-big img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease; 
}
.feature-big:hover img { transform: scale(1.04); }

.feature-overlay { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  background: linear-gradient(to top, rgba(11, 15, 25, 0.98), rgba(11, 15, 25, 0.4), transparent); 
  padding: 40px 25px 25px; 
}

.badge-tag { 
  background: var(--accent); 
  color: #fff; 
  font-family: 'Oswald', sans-serif; 
  font-size: 0.75rem; 
  padding: 4px 10px; 
  font-weight: 700; 
  text-transform: uppercase; 
  display: inline-block; 
  margin-bottom: 8px; 
  border-radius: 4px; 
  letter-spacing: 0.5px;
}

.badge-tag-sm {
  font-size: 0.68rem;
  padding: 2px 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 6px;
}

.feature-title { 
  font-size: 2.2rem; 
  font-family: 'Oswald', sans-serif; 
  font-weight: 700; 
  line-height: 1.2; 
  margin-bottom: 10px; 
  color: #fff;
}
.feature-title a:hover { color: var(--primary); }

.feature-excerpt {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-meta, .feature-meta-sm {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feature-stack { 
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 15px; 
}
@media (max-width: 500px) {
  .feature-stack { grid-template-columns: 1fr; }
}

.feature-small { 
  position: relative; 
  height: 200px; 
  border-radius: var(--radius); 
  overflow: hidden; 
  border: 1px solid var(--border); 
}
.feature-small img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease; 
}
.feature-small:hover img { transform: scale(1.06); }

.feature-overlay-small {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95), transparent);
  padding: 15px;
}
.feature-title-sm {
  font-family: 'Oswald', sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 4px;
}
.feature-title-sm a:hover { color: var(--primary); }

/* ===================================================
   SECTION HEADERS & LAYOUT GRIDS
   =================================================== */
.section-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.heading-accent {
  color: var(--accent);
}

.heading-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.see-all-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  transition: 0.2s;
}
.see-all-link:hover {
  text-decoration: underline;
}

/* ===================================================
   ARTICLES GRID & CARDS
   =================================================== */
.articles-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
  gap: 22px; 
  margin-bottom: 35px; 
}

.art-card { 
  background: var(--paper); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; 
}
.art-card:hover { 
  transform: translateY(-4px); 
  border-color: var(--primary); 
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
}

.art-card-img { 
  width: 100%; 
  height: 180px; 
  overflow: hidden; 
  position: relative; 
}
.art-card-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease;
}
.art-card:hover .art-card-img img {
  transform: scale(1.05);
}

.badge-tag-corner {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
}

.art-card-body { 
  padding: 18px; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
}

.art-card-title { 
  font-size: 1.1rem; 
  font-weight: 700; 
  line-height: 1.35; 
  margin: 6px 0; 
  color: #fff;
}
.art-card-title a:hover { color: var(--primary); }

.art-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.art-card-footer { 
  font-size: 0.78rem; 
  color: var(--text-muted); 
  display: flex; 
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===================================================
   EDITOR'S PICK & CATEGORY BLOCKS
   =================================================== */
.editors-pick-section {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 40px;
}

.editors-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.editors-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.editors-card-img {
  height: 140px;
  overflow: hidden;
}
.editors-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.editors-card-body {
  padding: 14px;
}
.editors-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
  margin: 6px 0;
  color: #fff;
}
.editors-card-title a:hover { color: var(--primary); }

.category-block-section {
  margin-bottom: 40px;
}

.category-block-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .category-block-grid { grid-template-columns: 1fr; }
}

.cat-block-lead {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-lead-img { height: 220px; overflow: hidden; }
.cat-lead-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-lead-body { padding: 18px; }
.cat-lead-title { font-family: 'Oswald', sans-serif; font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.cat-lead-title a:hover { color: var(--primary); }
.cat-lead-excerpt { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }

.cat-block-sublist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-sub-card {
  display: flex;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  align-items: center;
}
.cat-sub-img { width: 90px; height: 65px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.cat-sub-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-sub-title { font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: #fff; }
.cat-sub-title a:hover { color: var(--primary); }

.category-icon-badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 0.9rem;
}

/* Video News Placeholder Block */
.video-placeholder-section {
  margin-bottom: 40px;
}
.video-placeholder-card {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-preview-box {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn-circle {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.6);
  cursor: pointer;
}
.video-info-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95), transparent);
}
.video-info-overlay h3 { font-family: 'Oswald', sans-serif; font-size: 1.3rem; color: #fff; margin-top: 6px; }
.video-info-overlay p { font-size: 0.85rem; color: var(--text-muted); }

/* ===================================================
   SIDEBAR & WIDGETS
   =================================================== */
aside.sidebar { 
  display: flex; 
  flex-direction: column; 
  gap: 25px; 
}

.sidebar-widget { 
  background: var(--paper); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 20px; 
}

.widget-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.widget-title { 
  font-family: 'Oswald', sans-serif; 
  font-size: 1.15rem; 
  text-transform: uppercase; 
  color: #fff; 
  margin: 0;
}

.widget-badge {
  font-size: 0.68rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trending-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trending-number {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  width: 25px;
  flex-shrink: 0;
}

.trending-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 2px;
}
.trending-title a:hover { color: var(--primary); }

.trending-views {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popular-row {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.popular-rank {
  font-weight: 800;
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
}
.popular-link {
  color: #e2e8f0;
  font-weight: 600;
}
.popular-link:hover { color: var(--primary); }

.ad-widget-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px dashed var(--primary);
  text-align: center;
  padding: 25px 15px;
  position: relative;
}
.ad-badge {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 0.65rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
}
.ad-placeholder-content h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.ad-placeholder-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sidebar-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-category-list a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #0f172a;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 600;
  transition: 0.2s;
}
.sidebar-category-list a:hover {
  background: #1e293b;
  color: var(--primary);
  padding-left: 16px;
}

/* ===================================================
   FOOTER SECTION
   =================================================== */
footer { 
  background: #070a12; 
  border-top: 4px solid var(--accent); 
  margin-top: 60px; 
  padding: 50px 0 25px; 
  color: var(--text-muted); 
}

.footer-grid { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 30px; 
  margin-bottom: 35px; 
}

.footer-col h4 { 
  font-family: 'Oswald', sans-serif; 
  font-size: 1.1rem; 
  color: #fff; 
  text-transform: uppercase; 
  border-bottom: 2px solid var(--accent); 
  padding-bottom: 8px; 
  margin-bottom: 15px; 
}

.footer-col p { font-size: 0.88rem; line-height: 1.6; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }

/* ===================================================
   ADMIN & UTILITY CARDS
   =================================================== */
.admin-card { 
  background: var(--paper); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 20px; 
  margin-bottom: 20px; 
}

.admin-table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 15px; 
  font-size: 0.9rem; 
}
.admin-table th, .admin-table td { 
  padding: 12px 15px; 
  text-align: left; 
  border-bottom: 1px solid var(--border); 
}
.admin-table th { 
  background: #0f172a; 
  color: #fff; 
  font-family: 'Oswald', sans-serif; 
  text-transform: uppercase; 
}

.admin-btn { 
  padding: 8px 16px; 
  border-radius: 6px; 
  font-weight: 700; 
  font-family: 'Oswald', sans-serif; 
  font-size: 0.88rem; 
  border: none; 
  cursor: pointer; 
  display: inline-block; 
  transition: 0.2s ease;
}
.admin-btn-primary { background: var(--primary); color: #000; }
.admin-btn-primary:hover { opacity: 0.9; }
.admin-btn-danger { background: var(--accent); color: #fff; }
.admin-btn-danger:hover { opacity: 0.9; }
