/* ==================== GLOBAL STYLES ==================== */
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background-color: white;
  font-family: "Segoe UI", sans-serif;
}
:focus,
:active {
  box-shadow: none !important;
}
/*=============================TOP BAR STYLING============================*/
.top-bar-container {
  width: 100%;
  position: relative;
}

/* ========== PROFESSIONAL TOP BAR ========== */
.top-bar {
  background: linear-gradient(135deg, #003463 0%, #00264d 100%);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1002;
  border-bottom: 1px solid rgba(16, 156, 181, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #109cb5, #ffd966, #109cb5, #003463);
}

.top-bar::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 5%;
  width: 90%;
  height: 1px;
  background: radial-gradient(
    ellipse at center,
    rgba(16, 156, 181, 0.7) 0%,
    rgba(0, 52, 99, 0) 90%
  );
  pointer-events: none;
}

.top-bar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 28px;
}

/* Left side date & weather */
.info-date,
.info-weather {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.info-date {
  background: linear-gradient(
    135deg,
    rgba(16, 156, 181, 0.25),
    rgba(16, 156, 181, 0.1)
  );
  border-left: 2px solid #109cb5;
}

.info-date i,
.info-weather i {
  margin-right: 8px;
  color: #109cb5;
}

.weather-future {
  cursor: pointer;
}

.weather-future:hover {
  background: rgba(16, 156, 181, 0.35);
  transform: translateY(-1px);
}

/* BREAKING NEWS MARQUEE - LEFT TO RIGHT */
.breaking-news-container {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50px;
  padding: 5px 12px;
  max-width: 550px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(16, 156, 181, 0.7);
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
}

.breaking-label {
  background: #109cb5;
  padding: 3px 14px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulse 1.8s infinite;
  white-space: nowrap;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 156, 181, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 156, 181, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 156, 181, 0);
  }
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  margin-left: 12px;
}

.breaking-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeLeftToRight 20s linear infinite;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff9e6;
}

@keyframes marqueeLeftToRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.breaking-news-container:hover .breaking-marquee {
  animation-play-state: paused;
}

/* RIGHT SIDE: Language Button + Social Icons + Login */
.lang-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* LANGUAGE BUTTON - like india.gov.in style */
.lang-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #109cb5;
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn:hover {
  background: #109cb5;
  color: #003463;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 156, 181, 0.4);
}

/* Social Icons Circle */
.social-icons-circle {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.social-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(16, 156, 181, 0.6);
}

.social-icon-circle:hover {
  background: #109cb5;
  color: #003463;
  transform: translateY(-3px) scale(1.1);
}

.btn-auth {
  background: transparent;
  border: 1.5px solid #109cb5;
  border-radius: 40px;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-auth:hover {
  background: #109cb5;
  color: #003463;
}

.btn-auth-signup {
  background: linear-gradient(135deg, #109cb5, #0d7f94);
  border: none;
}

/* Language Modal Styles */
.language-modal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.language-modal .modal-header {
  background: linear-gradient(135deg, #003463, #00264d);
  color: white;
  border-bottom: 2px solid #109cb5;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
}

.lang-option {
  padding: 10px 12px;
  border-radius: 50px;
  background: #f8f9fa;
  border: 1px solid #e0e4e8;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.lang-option:hover {
  background: #109cb5;
  color: white;
  border-color: #109cb5;
  transform: translateY(-2px);
}

/* Hide Google Translate Banner */
.goog-te-banner-frame,
.skiptranslate,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

/* ========== RESPONSIVE DESIGN - SINGLE LINE ON DESKTOP ========== */

/* Large Desktop (1200px and above) - ONE LINE */
@media (min-width: 1200px) {
  .top-bar .container-fluid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
  }

  /* Left section - Date & Weather */
  .top-bar .container-fluid > div:first-child {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
  }

  /* Breaking News - Flexible middle */
  .breaking-news-container {
    flex: 1;
    min-width: 200px;
  }

  /* Right section - All buttons in one line */
  .lang-social-wrapper {
    flex-shrink: 0;
    gap: 16px;
  }
}

/* Desktop (992px to 1199px) - Still try to keep one line */
@media (min-width: 992px) and (max-width: 1199px) {
  .top-bar .container-fluid {
    padding: 0 20px;
    gap: 15px;
  }

  .info-date,
  .info-weather {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  .breaking-news-container {
    max-width: 400px;
    padding: 4px 10px;
  }

  .breaking-label {
    padding: 2px 10px;
    font-size: 0.65rem;
  }

  .breaking-marquee {
    font-size: 0.75rem;
  }

  .lang-social-wrapper {
    gap: 12px;
  }

  .lang-btn {
    padding: 4px 14px;
    font-size: 0.75rem;
  }

  .social-icon-circle {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .btn-auth {
    padding: 4px 12px;
    font-size: 0.7rem;
  }
}

/* Tablet (768px to 991px) - Now it can go to 2 lines */
@media (min-width: 768px) and (max-width: 991px) {
  .top-bar .container-fluid {
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 10px;
  }

  /* First row: Date and Weather */
  .top-bar .container-fluid > div:first-child {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    order: 1;
  }

  .info-date,
  .info-weather {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  /* Second row: Breaking News */
  .breaking-news-container {
    width: 100%;
    max-width: 100%;
    order: 2;
    padding: 4px 10px;
  }

  .breaking-label {
    padding: 2px 10px;
    font-size: 0.65rem;
  }

  .breaking-marquee {
    font-size: 0.75rem;
  }

  /* Third row: All buttons */
  .lang-social-wrapper {
    justify-content: center;
    width: 100%;
    order: 3;
    gap: 12px;
  }

  .lang-btn {
    padding: 4px 14px;
    font-size: 0.75rem;
  }

  .social-icon-circle {
    width: 32px;
    height: 32px;
  }

  .btn-auth {
    padding: 4px 14px;
    font-size: 0.7rem;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .top-bar {
    padding: 6px 0;
  }

  .top-bar .container-fluid {
    flex-wrap: wrap;
    padding: 0 15px;
    gap: 8px;
  }

  /* First row: Date and Weather */
  .top-bar .container-fluid > div:first-child {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    order: 1;
  }

  .info-date,
  .info-weather {
    padding: 3px 8px;
    font-size: 0.65rem;
  }

  .info-date i,
  .info-weather i {
    margin-right: 5px;
    font-size: 0.7rem;
  }

  /* Second row: Breaking News */
  .breaking-news-container {
    width: 100%;
    max-width: 100%;
    order: 2;
    padding: 4px 8px;
  }

  .breaking-label {
    padding: 2px 8px;
    font-size: 0.6rem;
  }

  .breaking-marquee {
    font-size: 0.7rem;
    animation-duration: 25s;
  }

  /* Third row: All buttons */
  .lang-social-wrapper {
    justify-content: center;
    width: 100%;
    order: 3;
    gap: 10px;
    flex-wrap: wrap;
  }

  .lang-btn {
    padding: 3px 12px;
    font-size: 0.7rem;
  }

  .social-icon-circle {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .btn-auth {
    padding: 3px 10px;
    font-size: 0.65rem;
  }

  .language-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .lang-option {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .top-bar {
    padding: 5px 0;
  }

  .top-bar .container-fluid {
    flex-wrap: wrap;
    padding: 0 12px;
    gap: 8px;
  }

  /* First row: Date and Weather */
  .top-bar .container-fluid > div:first-child {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    order: 1;
    flex-wrap: wrap;
  }

  .info-date,
  .info-weather {
    padding: 2px 8px;
    font-size: 0.6rem;
  }

  .info-date i,
  .info-weather i {
    margin-right: 4px;
    font-size: 0.65rem;
  }

  /* Second row: Breaking News */
  .breaking-news-container {
    width: 100%;
    max-width: 100%;
    order: 2;
    padding: 3px 8px;
    border-radius: 30px;
  }

  .breaking-label {
    padding: 2px 8px;
    font-size: 0.55rem;
    gap: 3px;
  }

  .breaking-label i {
    font-size: 0.6rem;
  }

  .marquee-wrapper {
    margin-left: 8px;
  }

  .breaking-marquee {
    font-size: 0.6rem;
    animation-duration: 30s;
  }

  /* Third row: All buttons */
  .lang-social-wrapper {
    justify-content: center;
    width: 100%;
    order: 3;
    gap: 8px;
    flex-wrap: wrap;
  }

  .lang-btn {
    padding: 2px 10px;
    font-size: 0.6rem;
    gap: 4px;
  }

  .lang-btn i {
    font-size: 0.65rem;
  }

  .social-icons-circle {
    gap: 6px;
  }

  .social-icon-circle {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .btn-auth {
    padding: 2px 8px;
    font-size: 0.55rem;
    gap: 3px;
  }

  .btn-auth i {
    font-size: 0.6rem;
  }

  /* Modal adjustments */
  .language-modal .modal-dialog {
    margin: 10px;
  }

  .language-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    max-height: 300px;
  }

  .lang-option {
    padding: 6px 8px;
    font-size: 0.75rem;
    border-radius: 30px;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .top-bar .container-fluid {
    padding: 0 8px;
    gap: 6px;
  }

  .info-date,
  .info-weather {
    padding: 2px 6px;
    font-size: 0.55rem;
  }

  .info-date i,
  .info-weather i {
    margin-right: 3px;
    font-size: 0.6rem;
  }

  .breaking-news-container {
    padding: 2px 6px;
  }

  .breaking-label {
    padding: 2px 6px;
    font-size: 0.5rem;
  }

  .breaking-marquee {
    font-size: 0.55rem;
  }

  .lang-social-wrapper {
    gap: 6px;
  }

  .lang-btn {
    padding: 2px 8px;
    font-size: 0.55rem;
  }

  .social-icon-circle {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .btn-auth {
    padding: 2px 6px;
    font-size: 0.5rem;
  }

  .language-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 6px;
  }

  .lang-option {
    padding: 5px 6px;
    font-size: 0.7rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .lang-btn,
  .social-icon-circle,
  .btn-auth,
  .weather-future,
  .lang-option {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .lang-btn:active,
  .social-icon-circle:active,
  .btn-auth:active,
  .lang-option:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

/* Print Styles */
@media print {
  .top-bar {
    background: #003463;
    color: white;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .lang-btn,
  .social-icons-circle,
  .btn-auth {
    display: none;
  }
}
@media (max-width: 768px) {
  .sample-content {
    margin: 20px 15px;
    padding: 20px;
  }

  .sample-content h2 {
    font-size: 1.5rem;
  }
}
/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --brand: #109cb5;
  --brand-dark: #003463;
  --brand-hover: #0d7f94;
  --red: #dc2626;
  --red-dark: #b91c1c;

  /* Backgrounds */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #eef2ff;

  /* Text colors */
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  /* Borders */
  --border: #e2e8f0;
  --border-2: #cbd5e1;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Inter", "Playfair Display", serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Container */
  --container-max: 1400px;
  --container-padding: 24px;
}

/* Dark Mode Variables */
body.dark-mode {
  --bg: #0a0a0f;
  --surface: #111120;
  --surface-2: #1a1a2e;
  --surface-3: #1e1e32;
  --text: #f0f0f0;
  --text-2: #a0a0b8;
  --text-3: #5a5a7a;
  --border: #2a2a3a;
  --border-2: #3a3a4a;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  max-width: 100%;
  padding: 0 28px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}

.text-center {
  text-align: center;
}
.text-brand {
  color: var(--brand);
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-dark);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  max-width: 90vw;
  white-space: nowrap;
}

@media (max-width: 640px) {
  #cookieBanner {
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    gap: 10px;
  }
}

#cookieBanner a {
  color: var(--brand);
  font-weight: 600;
}

.cookie-btn {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--brand);
  color: #fff;
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 7000;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  pointer-events: none;
  cursor: pointer;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#backToTop:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  z-index: 9500;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   TOP BAR STYLES
   ============================================================ */
.top-bar-container {
  width: 100%;
  position: relative;
}

.top-bar {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #00264d 100%);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1002;
  border-bottom: 1px solid rgba(16, 156, 181, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand),
    #ffd966,
    var(--brand),
    var(--brand-dark)
  );
}

.top-bar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.info-date,
.info-weather {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(2px);
  white-space: nowrap;
}

.info-date {
  background: linear-gradient(
    135deg,
    rgba(16, 156, 181, 0.25),
    rgba(16, 156, 181, 0.1)
  );
  border-left: 2px solid var(--brand);
}

.info-date i,
.info-weather i {
  margin-right: 8px;
  color: var(--brand);
}

/* Breaking News in Top Bar */
.breaking-news-container {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  max-width: 550px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(16, 156, 181, 0.7);
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
}

.breaking-label-top {
  background: var(--brand);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulseTop 1.8s infinite;
  white-space: nowrap;
}

@keyframes pulseTop {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 156, 181, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 156, 181, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 156, 181, 0);
  }
}

.marquee-wrapper-top {
  flex: 1;
  overflow: hidden;
  margin-left: 12px;
}

.breaking-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeLeftToRight 20s linear infinite;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff9e6;
}

@keyframes marqueeLeftToRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.breaking-news-container:hover .breaking-marquee {
  animation-play-state: paused;
}

.lang-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #109cb5;
  --brand-dark: #003463;
  --brand-hover: #0d7f94;
  --red: #dc2626;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-head: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --trans: 0.25s ease;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition:
    background var(--trans),
    color var(--trans);
}

body.dark-mode {
  --bg: #0a0a0f;
  --surface: #111120;
  --surface2: #1a1a2e;
  --text: #f0f0f0;
  --text2: #a0a0b8;
  --text3: #5a5a7a;
  --border: #2a2a3a;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-dark);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  max-width: 90vw;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #cookieBanner {
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }
}

#cookieBanner a {
  color: var(--brand);
  font-weight: 600;
}

.cookie-btn {
  padding: 7px 18px;
  border-radius: 40px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
}

.cookie-accept {
  background: var(--brand);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 7000;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--trans);
  pointer-events: none;
  cursor: pointer;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#backToTop:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand);
  color: #fff;
  padding: 10px 22px;
  border-radius: 40px;
  z-index: 9500;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   MIDDLE BAR
   ============================================================ */
.middle-bar {
  background: var(--surface);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 999;
}

.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.02);
}

.logo-text {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-head);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  line-height: 1;
}

.search-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.search-group {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 60px;
  transition: all var(--trans);
}

.search-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(16, 156, 181, 0.12);
  transform: translateY(-1px);
}

.search-input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
  border-radius: 60px 0 0 60px;
  color: var(--text);
}

.search-input::placeholder {
  color: var(--text3);
}

.search-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 60px;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--brand);
  color: #fff;
  border-radius: 60px;
}

.search-btn span {
  font-size: 0.85rem;
  font-weight: 600;
}

.action-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 156, 181, 0.08);
  color: var(--text);
  font-size: 1.1rem;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
}

.icon-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 156, 181, 0.3);
}

.icon-btn .badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--brand);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--trans);
  background: transparent;
}

.profile-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* Font size controls */
.font-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.font-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.15s;
  cursor: pointer;
}

.font-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Language buttons */
.lang-btn {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============================================================
   NOTIFICATION MODAL
   ============================================================ */
.notification-modal {
  position: fixed;
  top: 140px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: none;
  overflow: hidden;
  animation: slideDown 0.25s ease;
  border: 1px solid var(--border);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--brand-dark), #00264d);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-modal-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal-btn:hover {
  background: var(--brand);
}

.notif-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-track {
  background: var(--surface2);
  border-radius: 10px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.notif-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  background: var(--surface2);
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.notif-card:hover {
  transform: translateX(3px);
  border-color: var(--brand);
}

.notif-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.notif-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.notif-desc {
  font-size: 0.75rem;
  color: var(--text2);
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 0.65rem;
  color: var(--brand);
  font-weight: 500;
}
/* ============================================================
   MIDDLE BAR - FULLY RESPONSIVE
   ============================================================ */
.middle-bar {
  background: var(--surface);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 999;
}

.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Desktop - One Line (1200px and above) */
@media (min-width: 1200px) {
  .container-custom {
    flex-wrap: nowrap;
  }

  .logo-wrapper {
    flex-shrink: 0;
  }

  .search-wrapper {
    flex: 1;
    max-width: 520px;
    margin: 0;
  }

  .action-icons {
    flex-shrink: 0;
  }
}

/* Desktop Large (992px - 1199px) - Still One Line */
@media (min-width: 992px) and (max-width: 1199px) {
  .container-custom {
    padding: 0 24px;
    gap: 16px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .search-wrapper {
    max-width: 420px;
  }

  .search-input {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 8px 16px;
    font-size: 1rem;
  }

  .search-btn span {
    font-size: 0.8rem;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .profile-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .font-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .lang-btn {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
}

/* Tablet (768px - 991px) - Stack in 2-3 Lines */
@media (min-width: 768px) and (max-width: 991px) {
  .container-custom {
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .logo-wrapper {
    order: 1;
    flex-shrink: 0;
  }

  .search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 5px 0;
  }

  .action-icons {
    order: 2;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .search-input {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 8px 16px;
  }

  .search-btn span {
    display: inline;
    font-size: 0.8rem;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .profile-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .font-controls {
    gap: 3px;
  }

  .font-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .middle-bar {
    padding: 12px 0;
  }

  .container-custom {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-wrapper {
    order: 1;
    flex: 0 0 auto;
  }

  .action-icons {
    order: 2;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .search-input {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .search-btn {
    padding: 7px 14px;
  }

  .search-btn span {
    display: none;
  }

  .search-btn i {
    font-size: 1rem;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .profile-btn {
    padding: 5px 12px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .profile-btn span {
    display: inline;
  }

  .font-controls {
    gap: 3px;
  }

  .font-btn {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .middle-bar {
    padding: 10px 0;
  }

  .container-custom {
    padding: 0 12px;
    flex-direction: column;
    gap: 10px;
  }

  .logo-wrapper {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .action-icons {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .search-input {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .search-btn {
    padding: 6px 12px;
  }

  .search-btn span {
    display: none;
  }

  .search-btn i {
    font-size: 0.95rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .profile-btn {
    padding: 4px 10px;
    font-size: 0.7rem;
    gap: 5px;
  }

  .profile-btn span {
    display: inline;
  }

  .font-controls {
    gap: 2px;
  }

  .font-btn {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }

  .lang-btn {
    padding: 3px 8px;
    font-size: 0.6rem;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .container-custom {
    padding: 0 10px;
    gap: 8px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-img {
    width: 30px;
    height: 30px;
  }

  .search-input {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .search-btn {
    padding: 5px 10px;
  }

  .icon-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .profile-btn {
    padding: 3px 8px;
    font-size: 0.65rem;
    gap: 4px;
  }

  .font-btn {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }

  .lang-btn {
    padding: 2px 6px;
    font-size: 0.55rem;
  }
}

/* ============================================================
   NOTIFICATION MODAL - FULLY RESPONSIVE
   ============================================================ */
.notification-modal {
  position: fixed;
  top: 140px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: none;
  overflow: hidden;
  animation: slideDown 0.25s ease;
  border: 1px solid var(--border);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop (1200px and above) */
@media (min-width: 1200px) {
  .notification-modal {
    width: 400px;
    max-height: 550px;
    top: 145px;
    right: 30px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .notification-modal {
    width: 360px;
    max-height: 500px;
    top: 130px;
    right: 20px;
  }

  .notif-header {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  .notif-list {
    max-height: 400px;
    padding: 8px;
  }

  .notif-card {
    padding: 10px;
    gap: 10px;
  }

  .notif-img {
    width: 50px;
    height: 50px;
  }

  .notif-title {
    font-size: 0.85rem;
  }

  .notif-desc {
    font-size: 0.72rem;
  }

  .notif-time {
    font-size: 0.62rem;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .notification-modal {
    width: 340px;
    max-height: 480px;
    top: 115px;
    right: 15px;
  }

  .notif-header {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .close-modal-btn {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .notif-list {
    max-height: 380px;
    padding: 8px;
  }

  .notif-card {
    padding: 10px;
    gap: 10px;
    margin-bottom: 8px;
  }

  .notif-img {
    width: 48px;
    height: 48px;
  }

  .notif-title {
    font-size: 0.82rem;
  }

  .notif-desc {
    font-size: 0.7rem;
  }

  .notif-time {
    font-size: 0.6rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .notification-modal {
    width: calc(100% - 30px);
    max-width: 340px;
    max-height: 460px;
    top: 100px;
    right: 15px;
    left: auto;
  }

  .notif-header {
    padding: 12px 15px;
    font-size: 0.88rem;
  }

  .close-modal-btn {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .notif-list {
    max-height: 360px;
    padding: 8px;
  }

  .notif-card {
    padding: 10px;
    gap: 10px;
    margin-bottom: 8px;
  }

  .notif-img {
    width: 45px;
    height: 45px;
  }

  .notif-title {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }

  .notif-desc {
    font-size: 0.68rem;
    margin-bottom: 3px;
  }

  .notif-time {
    font-size: 0.58rem;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .notification-modal {
    width: calc(100% - 20px);
    max-width: 300px;
    max-height: 420px;
    top: 90px;
    right: 10px;
  }

  .notif-header {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .close-modal-btn {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .notif-list {
    max-height: 320px;
    padding: 6px;
  }

  .notif-card {
    padding: 8px;
    gap: 8px;
    margin-bottom: 6px;
  }

  .notif-img {
    width: 40px;
    height: 40px;
  }

  .notif-title {
    font-size: 0.75rem;
  }

  .notif-desc {
    font-size: 0.65rem;
  }

  .notif-time {
    font-size: 0.55rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .icon-btn,
  .profile-btn,
  .font-btn,
  .lang-btn,
  .search-btn,
  .close-modal-btn,
  .notif-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .icon-btn:active,
  .profile-btn:active,
  .font-btn:active,
  .lang-btn:active,
  .notif-card:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

/* High-DPI Screen Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .middle-bar,
  .notification-modal {
    display: none !important;
  }
}

/* Animation for Modal */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth transitions for responsive changes */
.middle-bar,
.container-custom,
.search-wrapper,
.action-icons,
.notification-modal {
  transition: all 0.3s ease;
}

/* Fix for very small devices */
@media (max-width: 320px) {
  .container-custom {
    padding: 0 8px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .icon-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .profile-btn {
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  .font-btn {
    width: 22px;
    height: 22px;
    font-size: 0.55rem;
  }

  .lang-btn {
    padding: 2px 5px;
    font-size: 0.5rem;
  }
}
/* ============================================================
   NAVBAR - FULLY RESPONSIVE
   ============================================================ */
.navbar {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--trans);
  height: 58px;
  overflow: visible;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  padding: 17px 0;
  display: inline-block;
  transition: all var(--trans);
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.nav-link.active {
  font-weight: 700;
}

/* MEGA MENU - Desktop */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -80px;
  width: 640px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s;
  border: 1px solid var(--border);
  z-index: 1000;
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}

body.dark-mode .mega-section h4 {
  color: var(--brand);
}

.mega-section a {
  display: block;
  color: var(--text2);
  font-size: 0.82rem;
  padding: 5px 0;
  transition: all 0.2s;
  text-decoration: none;
}

.mega-section a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.trending-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: #fff;
  padding: 7px 16px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all var(--trans);
  border: none;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.trending-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 156, 181, 0.4);
}

.menu-icon {
  display: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
}

/* Navbar inline search - Hidden by default, shows on scroll */
.navbar-search {
  flex: 0 0 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

.navbar-search .search-group {
  min-width: 280px;
  border-width: 1.5px;
}

.navbar-search .search-input {
  padding: 7px 14px;
  font-size: 0.88rem;
}

.navbar-search .search-btn {
  padding: 6px 14px;
  font-size: 0.95rem;
}

.navbar-search .search-btn span {
  display: none;
}

.navbar.scrolled .navbar-search {
  flex: 0 0 auto;
  width: auto;
  opacity: 1;
}

/* Hide navbar search on mobile - ONLY MOBILE */
@media (max-width: 768px) {
  .navbar-search {
    display: none !important;
  }
}

/* ============================================================
   MOBILE MENU - WITH MEGA DROPDOWN
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: var(--surface);
  z-index: 2000;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 22px 18px;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--brand);
}

.mobile-menu-header h3 {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 1.2rem;
}

body.dark-mode .mobile-menu-header h3 {
  color: var(--brand);
}

.close-menu {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--brand);
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
  display: block;
  padding: 13px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  transition: all 0.2s;
  text-decoration: none;
}

.mobile-nav-list a:hover {
  color: var(--brand);
  padding-left: 7px;
}

/* Mobile Mega Dropdown Styles */
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.mobile-dropdown-content {
  display: none;
  padding-left: 16px;
  background: var(--surface2);
  border-radius: 10px;
  margin-bottom: 6px;
}

.mobile-dropdown-content.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-dropdown-content a {
  padding: 10px 0 10px 12px;
  font-size: 0.88rem;
  display: block;
}

/* Nested Subcategory Styles */
.nested-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 10px 12px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text2);
  font-size: 0.88rem;
  transition: all 0.2s;
}

.nested-dropdown-toggle:hover {
  color: var(--brand);
}

.nested-dropdown-content {
  display: none;
  padding-left: 22px;
  margin-bottom: 8px;
}

.nested-dropdown-content.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.nested-dropdown-content a {
  padding: 8px 0 8px 12px;
  font-size: 0.82rem;
  color: var(--text3);
}

.nested-dropdown-content a:hover {
  color: var(--brand);
  padding-left: 18px;
}

/* Rotate Chevron Icons */
.mobile-dropdown-toggle i:last-child,
.nested-dropdown-toggle i:last-child {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.rotated i:last-child,
.nested-dropdown-toggle.rotated i:last-child {
  transform: rotate(180deg);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}

.overlay.show {
  display: block;
}

/* ============================================================
   RESPONSIVE NAVBAR BREAKPOINTS
   ============================================================ */

/* Desktop (1200px and above) */
@media (min-width: 1200px) {
  .navbar-container {
    padding: 0 32px;
    gap: 20px;
  }

  .nav-menu {
    gap: 28px;
    padding-top: 14px;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 18px 0;
  }

  .trending-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

/* Desktop Large (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-container {
    padding: 0 24px;
    gap: 15px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 16px 0;
  }

  .mega-menu {
    width: 580px;
    left: -60px;
  }

  .mega-grid {
    gap: 15px;
  }

  .trending-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .trending-btn span {
    display: inline;
  }
}

/* Tablet (768px - 991px) - Hide desktop menu, show mobile menu */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .navbar-container {
    padding: 0 20px;
  }

  .trending-btn span {
    display: inline;
  }

  .trending-btn {
    padding: 6px 14px;
  }

  /* Adjust mega menu for tablet if needed */
  .mega-menu {
    width: 520px;
    left: -100px;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .navbar {
    height: 52px;
  }

  .nav-menu {
    display: none;
  }

  .menu-icon {
    display: block;
    font-size: 1.3rem;
  }

  .navbar-container {
    padding: 0 16px;
  }

  .trending-btn {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .trending-btn span {
    display: none;
  }

  .trending-btn i {
    font-size: 0.9rem;
  }

  .navbar-search {
    display: none !important;
  }

  .mobile-menu {
    width: 85%;
    max-width: 300px;
    padding: 18px 15px;
  }

  .mobile-menu-header h3 {
    font-size: 1.1rem;
  }

  .mobile-nav-list a {
    padding: 11px 0;
    font-size: 0.9rem;
  }

  .mobile-dropdown-toggle {
    padding: 11px 0;
    font-size: 0.9rem;
  }

  .mobile-dropdown-content a {
    padding: 8px 0 8px 10px;
    font-size: 0.82rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .navbar {
    height: 50px;
  }

  .nav-menu {
    display: none;
  }

  .menu-icon {
    display: block;
    font-size: 1.2rem;
  }

  .navbar-container {
    padding: 0 12px;
    gap: 8px;
  }

  .trending-btn {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .trending-btn span {
    display: none;
  }

  .trending-btn i {
    font-size: 0.85rem;
  }

  .navbar-search {
    display: none !important;
  }

  .mobile-menu {
    width: 85%;
    max-width: 280px;
    padding: 16px 12px;
  }

  .mobile-menu-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .mobile-menu-header h3 {
    font-size: 1rem;
  }

  .close-menu {
    font-size: 1.2rem;
  }

  .mobile-nav-list a {
    padding: 10px 0;
    font-size: 0.88rem;
  }

  .mobile-dropdown-toggle {
    padding: 10px 0;
    font-size: 0.88rem;
  }

  .mobile-dropdown-content {
    padding-left: 12px;
  }

  .mobile-dropdown-content a {
    padding: 7px 0 7px 8px;
    font-size: 0.8rem;
  }

  .nested-dropdown-toggle {
    padding: 7px 0 7px 8px;
    font-size: 0.82rem;
  }

  .nested-dropdown-content {
    padding-left: 18px;
  }

  .nested-dropdown-content a {
    padding: 6px 0;
    font-size: 0.78rem;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .navbar {
    height: 48px;
  }

  .navbar-container {
    padding: 0 10px;
  }

  .trending-btn {
    padding: 3px 8px;
  }

  .menu-icon {
    font-size: 1.1rem;
  }

  .mobile-menu {
    width: 88%;
    max-width: 260px;
    padding: 14px 10px;
  }

  .mobile-nav-list a {
    padding: 8px 0;
    font-size: 0.85rem;
  }

  .mobile-dropdown-toggle {
    padding: 8px 0;
    font-size: 0.85rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .trending-btn,
  .menu-icon,
  .mobile-dropdown-toggle,
  .nested-dropdown-toggle,
  .mobile-nav-list a {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-link:active,
  .trending-btn:active,
  .menu-icon:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .mobile-dropdown-toggle:active,
  .nested-dropdown-toggle:active {
    opacity: 0.7;
  }
}

/* Scroll effect for navbar */
.navbar.scrolled {
  height: 52px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .navbar.scrolled {
    height: 50px;
  }
}

/* Animation for mobile menu items */
.mobile-nav-list > li {
  animation: slideInLeft 0.3s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu.open .mobile-nav-list > li {
  animation: slideInLeft 0.3s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered animation delay */
.mobile-nav-list > li:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-nav-list > li:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-nav-list > li:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-nav-list > li:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-nav-list > li:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-nav-list > li:nth-child(6) {
  animation-delay: 0.3s;
}
.mobile-nav-list > li:nth-child(7) {
  animation-delay: 0.35s;
}

/* Ensure mega menu doesn't overflow on smaller desktops */
@media (max-width: 1100px) {
  .mega-menu {
    width: 560px;
    left: -100px;
  }
}

@media (max-width: 1000px) {
  .mega-menu {
    width: 520px;
    left: -120px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .mobile-menu,
  .overlay {
    display: none !important;
  }
}
/* ============================================================
        READING PROGRESS BAR
        ============================================================ */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
        BACK TO TOP
        ============================================================ */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 7000;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--trans);
  pointer-events: none;
  cursor: pointer;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#backToTop:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}
/* ============================================================
           SOCIAL FLOAT BAR - MAIN STYLES
           ============================================================ */

.social-float {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 9999;
}

/* Button Container */
.social-float-btn {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

/* Inner Button Background */
.social-float-btn .btn-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
  font-size: 12px;
  color: white;
}

/* Outer Ring - Blinking Effect */
.social-float-btn .outer-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* WhatsApp Button */
.whatsapp-btn .btn-inner {
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn .outer-ring {
  background: rgba(37, 211, 102, 0.2);
  border: 2px solid #25d366;
  animation: blinkWhatsApp 1.2s ease-in-out infinite;
}

/* Call Button */
.call-btn .btn-inner {
  background: linear-gradient(145deg, #ff4757, #c0392b);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.call-btn .outer-ring {
  background: rgba(255, 71, 87, 0.2);
  border: 2px solid #ff4757;
  animation: blinkCall 1.2s ease-in-out infinite 0.2s;
}

/* Share Button */
.share-btn .btn-inner {
  background: linear-gradient(145deg, #6c5ce7, #4834d4);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.share-btn .outer-ring {
  background: rgba(108, 92, 231, 0.2);
  border: 2px solid #6c5ce7;
  animation: blinkShare 1.2s ease-in-out infinite 0.4s;
}

/* Blinking Animations */
@keyframes blinkWhatsApp {
  0% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #25d366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    border-color: #25d366;
    box-shadow: 0 0 20px 5px rgba(37, 211, 102, 0.6);
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #25d366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
}

@keyframes blinkCall {
  0% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #ff4757;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    border-color: #ff4757;
    box-shadow: 0 0 20px 5px rgba(255, 71, 87, 0.6);
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #ff4757;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
  }
}

@keyframes blinkShare {
  0% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    border-color: #6c5ce7;
    box-shadow: 0 0 20px 5px rgba(108, 92, 231, 0.6);
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
  }
}

/* Hover Effects */
.social-float-btn:hover {
  transform: scale(1.1);
}

.social-float-btn:hover .outer-ring {
  animation-play-state: paused;
  transform: scale(1.2);
  opacity: 1;
  box-shadow: 0 0 30px 8px rgba(255, 255, 255, 0.4);
}

.social-float-btn:hover .btn-inner {
  transform: scale(0.96);
}

/* Click Effect */
.social-float-btn:active {
  transform: scale(0.95);
}

/* Tooltip Styles */
.social-float-btn .tooltip {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 100;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-float-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  left: 78px;
}

/* Tooltip Arrow */
.social-float-btn .tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 6px 5px 0;
  border-color: transparent rgba(0, 0, 0, 0.85) transparent transparent;
}

/* Pop-in Animation on Load */
.social-float-btn {
  animation: popInScale 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
  opacity: 0;
}

@keyframes popInScale {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(30px);
  }
  80% {
    transform: scale(1.05) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.social-float-btn:nth-child(1) {
  animation-delay: 0s;
}
.social-float-btn:nth-child(2) {
  animation-delay: 0.08s;
}
.social-float-btn:nth-child(3) {
  animation-delay: 0.16s;
}

/* Toast Notification */
.toast-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 10000;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toast-message.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .social-float {
    left: 16px;
    gap: 15px;
  }

  .social-float-btn {
    width: 48px;
    height: 48px;
  }

  .social-float-btn .btn-inner {
    font-size: 1.2rem;
  }

  .social-float-btn .tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .social-float {
    left: 12px;
    gap: 25px;
  }

  .social-float-btn {
    width: 20px;
    height: 20px;
  }

  .social-float-btn .btn-inner {
    font-size: 10px;
  }
}

/* ============================================================
        SHARE MODAL
============================================================ */
.share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-modal.show {
  display: flex;
  opacity: 1;
}

.share-modal-content {
  background: var(--surface);
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  animation: modalSlideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-modal-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--brand-dark), #00264d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.share-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.share-modal-close:hover {
  background: var(--brand);
  transform: rotate(90deg);
}

.share-modal-body {
  padding: 24px;
}

.share-url-container {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.share-url-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 40px;
  font-size: 0.85rem;
  background: var(--surface2);
  color: var(--text);
  outline: none;
}

.share-url-input:focus {
  border-color: var(--brand);
}

.copy-link-btn {
  padding: 8px 18px;
  border-radius: 40px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-link-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.share-platform {
  padding: 12px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-platform:hover {
  transform: translateY(-2px);
}

.share-platform[data-platform="whatsapp"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.share-platform[data-platform="twitter"]:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: #fff;
}

.share-platform[data-platform="facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.share-platform[data-platform="linkedin"]:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.share-platform[data-platform="telegram"]:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: #fff;
}

.share-platform[data-platform="email"]:hover {
  background: #6c5ce7;
  border-color: #6c5ce7;
  color: #fff;
}

/* ============================================================
        TOAST
        ============================================================ */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand);
  color: #fff;
  padding: 10px 22px;
  border-radius: 40px;
  z-index: 9500;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
        MAIN CONTAINER
        ============================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 24px;
}

/* ============================================================
        HERO SLIDER
        ============================================================ */
.hero-ad-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  margin-bottom: 28px;
}

.hero-slider-section {
  position: relative;
}

.slider-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.7s ease;
}

.slide.active .slide-image {
  transform: scale(1.04);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92),
    rgba(0, 0, 0, 0.45),
    transparent
  );
  padding: 36px 44px 30px;
  color: #fff;
}

.slide-category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.slide-title {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1.25;
  margin-bottom: 10px;
  max-width: 68%;
}

.slide-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
  max-width: 58%;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.slide-meta i {
  margin-right: 4px;
}

.slide-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.slide-share-btn,
.slide-bookmark-btn {
  padding: 7px 16px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-share-btn:hover,
.slide-bookmark-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slide-bookmark-btn.saved {
  background: var(--brand);
  border-color: var(--brand);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 20;
  color: #fff;
  font-size: 1.1rem;
}

.slider-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 22px;
}

.next-btn {
  right: 22px;
}

.live-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--red);
  color: #fff;
  padding: 5px 13px;
  border-radius: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 15;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.15);
  }
}

.slide-counter {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 15;
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 20;
}

.slide-progress-fill {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 0.1s linear;
}

.slider-dots {
  position: absolute;
  bottom: 22px;
  right: 36px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 26px;
  background: var(--brand);
  border-radius: 20px;
}

.thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-strip::-webkit-scrollbar {
  height: 3px;
}

.thumb-strip::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 3px;
}

.thumb-item {
  flex-shrink: 0;
  width: 80px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumb-item.active {
  border-color: var(--brand);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
        AD SIDEBAR
        ============================================================ */
.ad-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ad-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--border);
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ad-badge {
  background: var(--surface2);
  padding: 7px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text3);
  text-align: center;
  letter-spacing: 0.7px;
  border-bottom: 1px solid var(--border);
}

.ad-content {
  padding: 20px;
  text-align: center;
}

.ad-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.ad-title {
  font-weight: 700;
  color: var(--brand-dark);
  margin: 10px 0 5px;
  font-size: 0.95rem;
}

body.dark-mode .ad-title {
  color: var(--brand);
}

.ad-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.ad-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Weather Widget */
.weather-widget {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: #fff;
  margin-top: 20px;
}

.weather-city {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 4px;
}

.weather-temp {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1;
}

.weather-desc {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 4px;
}

.weather-extra {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ============================================================
        BREAKING NEWS MARQUEE
        ============================================================ */
.breaking-news-section {
  margin-bottom: 36px;
}

.breaking-container {
  background: linear-gradient(135deg, var(--brand-dark), #00264d);
  border-radius: 60px;
  padding: 0 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 156, 181, 0.3);
}

.breaking-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
}

.breaking-label {
  background: var(--red);
  color: #fff;
  padding: 5px 16px;
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  animation: labelPulse 1.2s infinite;
}

@keyframes labelPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
  }
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.marquee-content span {
  display: inline-block;
  padding-right: 45px;
  cursor: pointer;
  transition: color 0.2s;
}

.marquee-content span:hover {
  color: var(--brand);
}

.marquee-content i {
  color: var(--brand);
  margin: 0 10px;
  font-size: 0.65rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.breaking-wrapper.paused .marquee-content {
  animation-play-state: paused;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-dark), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-dark), transparent);
}

.marquee-pause-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.marquee-pause-btn:hover {
  background: var(--brand);
}

/* ============================================================
        CATEGORY FILTER TABS
        ============================================================ */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-tab {
  padding: 7px 18px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
}

.filter-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ============================================================
        SECTION HEADER
        ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text);
  position: relative;
}

.section-header h2::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--brand);
  border-radius: 3px;
}

.view-all {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.view-all:hover {
  color: var(--brand-dark);
}

.layout-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.layout-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.layout-btn.active,
.layout-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============================================================
        MAIN LAYOUT (Cards + Sidebar)
        ============================================================ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* News Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: all 0.3s;
}

.cards-grid.list-view {
  grid-template-columns: 1fr;
}

.cards-grid.list-view .news-card {
  display: flex;
  flex-direction: row;
}

.cards-grid.list-view .card-img {
  width: 220px;
  height: 140px;
  flex-shrink: 0;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: var(--shadow);
  cursor: pointer;
  border: 1px solid var(--border);
  position: relative;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.news-card[data-cat].hidden {
  display: none;
}

.card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  padding: 18px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-category {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 25px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--surface2);
  color: var(--text2);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.card-action-btn:hover {
  background: var(--brand);
  color: #fff;
}

.card-action-btn.bookmarked {
  background: var(--brand);
  color: #fff;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  font-family: var(--font-head);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  font-size: 0.7rem;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-meta i {
  margin-right: 3px;
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--brand);
  font-weight: 500;
  background: rgba(16, 156, 181, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
}

.trending-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.view-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--text3);
}

/* Reaction Bar */
.reaction-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--surface2);
  border: none;
  border-radius: 30px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.reaction-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.reaction-btn.active {
  background: var(--brand);
  color: #fff;
}

.reaction-btn.liked {
  background: #10b981;
  color: #fff;
}

.reaction-btn.disliked {
  background: #ef4444;
  color: #fff;
}

.reaction-btn i {
  font-size: 0.85rem;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface2) 25%,
    var(--border) 50%,
    var(--surface2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.skeleton-img {
  height: 195px;
  width: 100%;
}

.skeleton-content {
  padding: 18px;
}

.skeleton-line {
  height: 14px;
  border-radius: 7px;
  margin-bottom: 10px;
}

/* ============================================================
        TRENDING SIDEBAR
        ============================================================ */
.trending-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand-dark), #00264d);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trending-list {
  padding: 12px;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.trending-item:hover {
  background: var(--surface2);
}

.trending-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.3;
  min-width: 28px;
  line-height: 1;
  font-family: var(--font-head);
}

.trending-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.trending-cat {
  font-size: 0.68rem;
  color: var(--brand);
  font-weight: 500;
  margin-top: 3px;
}

/* Most Read */
.most-read {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 20px;
}

.most-read-list {
  padding: 12px;
}

.most-read-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  align-items: flex-start;
  text-decoration: none;
}

.most-read-item:hover {
  background: var(--surface2);
}

.most-read-img {
  width: 62px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.most-read-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.most-read-meta {
  font-size: 0.65rem;
  color: var(--text3);
  margin-top: 3px;
}

/* Poll Widget */
.poll-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 20px;
}

.poll-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.poll-body {
  padding: 14px 16px;
}

.poll-question {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.poll-option input[type="radio"] {
  accent-color: var(--brand);
}

.poll-option-label {
  font-size: 0.82rem;
  color: var(--text2);
}

.poll-submit {
  width: 100%;
  padding: 8px;
  border-radius: 30px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.poll-submit:hover {
  background: var(--brand-dark);
}

.poll-result-bar {
  height: 7px;
  border-radius: 4px;
  background: var(--surface2);
  overflow: hidden;
  margin: 3px 0 6px;
}

.poll-result-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--brand);
  transition: width 0.6s ease;
}

.poll-result-label {
  font-size: 0.75rem;
  color: var(--text2);
  display: flex;
  justify-content: space-between;
}

/* ============================================================
           NEWSLETTER POPUP
           ============================================================ */
#newsletterPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8500;
  align-items: center;
  justify-content: center;
}

#newsletterPopup.show {
  display: flex;
}

.newsletter-modal {
  background: var(--surface);
  border-radius: 24px;
  padding: 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.newsletter-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--surface2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text2);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.newsletter-close:hover {
  background: var(--brand);
  color: white;
}

.newsletter-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.newsletter-title {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--text);
  margin-bottom: 8px;
}

.newsletter-sub {
  font-size: 0.88rem;
  color: var(--text2);
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-input {
  width: 100%;
  padding: 11px 16px;
  border-radius: 40px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 10px;
}

.newsletter-input:focus {
  border-color: var(--brand);
}

.newsletter-btn {
  width: 100%;
  padding: 11px;
  border-radius: 40px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: var(--brand-dark);
}

.newsletter-skip {
  font-size: 0.78rem;
  color: var(--text3);
  cursor: pointer;
  margin-top: 10px;
  display: block;
  transition: color 0.2s;
}

.newsletter-skip:hover {
  color: var(--brand);
}

/* ============================================================
           COOKIE BANNER
           ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-dark);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  z-index: 8000;
  display: none;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  max-width: 90vw;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #cookieBanner {
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }
}

#cookieBanner a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.cookie-btn {
  padding: 7px 18px;
  border-radius: 40px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-accept {
  background: var(--brand);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 10000;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
/* ============================================================
        RESPONSIVE DESIGN
        ============================================================ */
@media (max-width: 1200px) {
  .slide-title {
    font-size: 1.8rem;
    max-width: 75%;
  }
  .slide-desc {
    max-width: 70%;
  }
}

@media (max-width: 1100px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .trending-sidebar,
  .most-read,
  .poll-widget,
  .weather-widget {
    display: none;
  }
}

@media (max-width: 968px) {
  .hero-ad-grid {
    grid-template-columns: 1fr;
  }
  .ad-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ad-card {
    flex: 1;
    min-width: 240px;
  }
  .slider-wrapper {
    height: 460px;
  }
  .slide-title {
    font-size: 1.6rem;
    max-width: 100%;
  }
  .slide-desc {
    max-width: 100%;
    font-size: 0.83rem;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cards-grid.list-view .news-card {
    flex-direction: column;
  }
  .cards-grid.list-view .card-img {
    width: 100%;
    height: 195px;
  }
  .slider-wrapper {
    height: 400px;
  }
  .slide-content {
    padding: 20px 18px;
  }
  .slide-title {
    font-size: 1.2rem;
  }
  .slide-desc {
    display: none;
  }
  .slide-meta {
    font-size: 0.7rem;
    gap: 12px;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .prev-btn {
    left: 12px;
  }
  .next-btn {
    right: 12px;
  }
  .breaking-wrapper {
    gap: 12px;
  }
  .breaking-label {
    padding: 4px 12px;
    font-size: 0.65rem;
  }
  .marquee-content {
    font-size: 0.78rem;
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 14px 14px;
  }
  .filter-tab {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
  .section-header h2 {
    font-size: 1.2rem;
  }
  .card-title {
    font-size: 0.95rem;
  }
}
@media (max-width: 380px) {
  .hero-slider-section {
    width: 300px;
  }
}

/* Dark Mode Overrides */
body.dark-mode .breaking-container {
  border-color: rgba(16, 156, 181, 0.5);
}

body.dark-mode .marquee-wrapper::before {
  background: linear-gradient(to right, var(--brand-dark), transparent);
}

body.dark-mode .marquee-wrapper::after {
  background: linear-gradient(to left, var(--brand-dark), transparent);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* ============================================================
           DARK MODE STYLES (Will be activated by existing toggle)
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

/* Dark Mode - Section Header */
body.dark-mode .nvw-section-header {
  border-bottom-color: #00d8ff;
}

body.dark-mode .nvw-section-header::after {
  background: #003463;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-link {
  color: #00d8ff;
  background: rgba(0, 216, 255, 0.1);
}

body.dark-mode .nvw-section-link:hover {
  background: #00d8ff;
  color: #003463;
}

/* Dark Mode - Feature Card */
body.dark-mode .nvw-feature-card {
  background: #111120;
}

/* Dark Mode - Sub Cards */
body.dark-mode .nvw-sub-card {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-sub-card:hover {
  border-color: #00d8ff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nvw-sub-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-sub-meta {
  color: #8a8a9a;
}

/* Dark Mode - Regular Cards */
body.dark-mode .nvw-news-card {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-news-card:hover {
  border-color: #00d8ff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nvw-card-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-card-meta {
  color: #8a8a9a;
}

/* Dark Mode - Opinion Cards */
body.dark-mode .nvw-opinion-card {
  background: linear-gradient(135deg, #111120, #0a0a0f);
  border-left-color: #00d8ff;
}

body.dark-mode .nvw-opinion-icon {
  background: #00d8ff;
  color: #003463;
}

/* Dark Mode - Badges */
body.dark-mode .nvw-feature-badge {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-sub-badge {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-card-badge {
  background: #003463;
  color: #00d8ff;
}

/* Dark Mode - Trending Badge */
body.dark-mode .nvw-trending-badge {
  background: #ff4444;
  color: white;
}

/* Dark Mode - Meta Icons */
body.dark-mode .nvw-feature-meta i,
body.dark-mode .nvw-sub-meta i,
body.dark-mode .nvw-card-meta i {
  color: #00d8ff;
}

/* ============================================================
           MAIN CONTAINER
           ============================================================ */
.nvw-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ============================================================
           SECTION HEADER STYLES
           ============================================================ */
.nvw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid #003463;
  position: relative;
}

.nvw-section-header::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: #00d8ff;
}

.nvw-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-title-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #003463, #00d8ff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  letter-spacing: -0.5px;
}

.nvw-section-link {
  color: #003463;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(0, 52, 99, 0.05);
}

.nvw-section-link:hover {
  background: #003463;
  color: white;
  gap: 12px;
}

/* ============================================================
           FEATURE CARD (MAIN STORY)
           ============================================================ */
.nvw-feature-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 450px;
  background: #111111;
  transition: all 0.4s ease;
  cursor: pointer;
}

.nvw-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nvw-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nvw-feature-card:hover .nvw-feature-img {
  transform: scale(1.05);
}

.nvw-feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.6),
    transparent
  );
  padding: 32px;
  color: white;
}

.nvw-feature-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.nvw-feature-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nvw-feature-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.nvw-feature-meta i {
  margin-right: 5px;
  color: #00d8ff;
}

/* ============================================================
           SUB CARDS (SIDEBAR STYLE)
           ============================================================ */
.nvw-sub-card {
  display: flex;
  gap: 18px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 18px;
  border: 1px solid #eef2f6;
}

.nvw-sub-card:hover {
  transform: translateX(8px);
  border-color: #00d8ff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.nvw-sub-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.nvw-sub-content {
  padding: 14px 14px 14px 0;
  flex: 1;
}

.nvw-sub-badge {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.nvw-sub-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nvw-sub-meta {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  gap: 12px;
}

.nvw-sub-meta i {
  margin-right: 4px;
  color: #00d8ff;
}

/* ============================================================
           REGULAR CARDS GRID
           ============================================================ */
.nvw-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.nvw-news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #eef2f6;
}

.nvw-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nvw-news-card:hover .nvw-card-img {
  transform: scale(1.03);
}

.nvw-card-content {
  padding: 20px;
}

.nvw-card-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.nvw-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.nvw-card-meta {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  gap: 15px;
}

.nvw-card-meta i {
  margin-right: 4px;
  color: #00d8ff;
}

/* ============================================================
           TRENDING BADGE
           ============================================================ */
.nvw-trending-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================
           OPINION CARD SPECIAL STYLE
           ============================================================ */
.nvw-opinion-card {
  background: linear-gradient(135deg, #f8f9fa, white);
  border-left: 4px solid #00d8ff;
}

.nvw-opinion-icon {
  width: 45px;
  height: 45px;
  background: #003463;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 1200px) {
  .nvw-main-container {
    padding: 30px 20px;
  }
  .nvw-feature-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 992px) {
  .nvw-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-feature-card {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nvw-main-container {
    padding: 20px 16px;
  }
  .nvw-section-header {
    flex-wrap: wrap;
    gap: 15px;
  }
  .nvw-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nvw-feature-card {
    height: 350px;
    margin-bottom: 20px;
  }
  .nvw-feature-title {
    font-size: 1.2rem;
  }
  .nvw-feature-overlay {
    padding: 20px;
  }
  .nvw-sub-card {
    margin-bottom: 15px;
  }
  .nvw-sub-img {
    width: 100px;
    height: 100px;
  }
  .nvw-sub-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .nvw-feature-card {
    height: 300px;
  }
  .nvw-feature-meta {
    font-size: 0.7rem;
    gap: 12px;
  }
  .nvw-sub-card {
    flex-direction: column;
  }
  .nvw-sub-img {
    width: 100%;
    height: 160px;
  }
  .nvw-sub-content {
    padding: 15px;
  }
  .nvw-title-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
}

/* Hover Effects */
.nvw-news-card,
.nvw-sub-card,
.nvw-feature-card {
  will-change: transform;
}
/*=============================GENARAL NEWS MIX CONTENT SECTION STYLING====================================*/
/* ============================================================
           DARK MODE STYLES (Works with existing middle bar toggle)
 ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

/* Dark Mode - Main Section */
body.dark-mode .nvw-latest-section {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-title i {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-section-subtitle {
  color: #8a8a9a;
}

/* Dark Mode - Big News Card */
body.dark-mode .nvw-big-news-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-big-news-card:hover {
  border-color: #00d8ff;
}

body.dark-mode .nvw-big-news-category {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-big-news-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-big-news-desc {
  color: #a0a0b0;
}

body.dark-mode .nvw-big-news-meta {
  color: #8a8a9a;
}

body.dark-mode .nvw-big-news-meta i {
  color: #00d8ff;
}

/* Dark Mode - Small Cards Container */
body.dark-mode .nvw-small-cards-container {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-small-news-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-small-news-card:hover {
  border-color: #00d8ff;
}

body.dark-mode .nvw-small-news-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-small-news-meta {
  color: #8a8a9a;
}

body.dark-mode .nvw-small-news-category {
  background: #003463;
  color: #00d8ff;
}

/* Dark Mode - Advertisement */
body.dark-mode .nvw-ad-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-ad-badge {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-ad-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-ad-text {
  color: #8a8a9a;
}

body.dark-mode .nvw-ad-btn {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-ad-btn:hover {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-view-all-btn {
  background: rgba(0, 216, 255, 0.1);
  color: #00d8ff;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-view-all-btn:hover {
  background: #00d8ff;
  color: #003463;
}

/* ============================================================
           LATEST NEWS SECTION - MIXED LAYOUT
============================================================ */
.nvw-latest-section {
  max-width: 1400px;
  margin: 40px auto;
  border-radius: 32px;
  overflow: hidden;

  transition: all 0.3s ease;
}

/* Section Header */
.nvw-section-header {
  padding: 28px 32px 20px 32px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-section-title i {
  width: 48px;
  height: 48px;
  background: #003463;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-subtitle {
  color: #6c757d;
  margin-top: 8px;
  margin-left: 60px;
  font-size: 0.85rem;
}

/* ============================================================
           BIG NEWS CARD
           ============================================================ */
.nvw-big-news-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  cursor: pointer;
  height: 100%;
}

.nvw-big-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-big-news-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nvw-big-news-card:hover .nvw-big-news-img {
  transform: scale(1.03);
}

.nvw-big-news-content {
  padding: 24px;
}

.nvw-big-news-category {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 25px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.nvw-big-news-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nvw-big-news-desc {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nvw-big-news-meta {
  display: flex;
  gap: 20px;
  font-size: 0.75rem;
  color: #6c757d;
}

.nvw-big-news-meta i {
  margin-right: 5px;
  color: #00d8ff;
}

/* ============================================================
           SMALL CARDS CONTAINER WITH VERTICAL SCROLL
           ============================================================ */
.nvw-small-cards-container {
  background: #f8fafc;
  border-radius: 24px;
  padding: 8px;
  height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Custom Scrollbar */
.nvw-small-cards-container::-webkit-scrollbar {
  width: 5px;
}

.nvw-small-cards-container::-webkit-scrollbar-track {
  background: #eef2f6;
  border-radius: 10px;
}

.nvw-small-cards-container::-webkit-scrollbar-thumb {
  background: #00d8ff;
  border-radius: 10px;
}

.nvw-small-cards-container::-webkit-scrollbar-thumb:hover {
  background: #003463;
}

/* Dark Mode Scrollbar */
body.dark-mode .nvw-small-cards-container::-webkit-scrollbar-track {
  background: #2a2a3a;
}

body.dark-mode .nvw-small-cards-container::-webkit-scrollbar-thumb {
  background: #00d8ff;
}

.nvw-small-news-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  cursor: pointer;
  margin-bottom: 16px;
}

.nvw-small-news-card:last-child {
  margin-bottom: 0;
}

.nvw-small-news-card:hover {
  transform: translateX(5px);
  border-color: #00d8ff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nvw-small-news-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.nvw-small-news-content {
  flex: 1;
}

.nvw-small-news-category {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.nvw-small-news-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nvw-small-news-meta {
  font-size: 0.65rem;
  color: #6c757d;
  display: flex;
  gap: 12px;
}

.nvw-small-news-meta i {
  margin-right: 3px;
  color: #00d8ff;
}

/* ============================================================
           ADVERTISEMENT CARD
           ============================================================ */
.nvw-ad-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #eef2f6;
  text-align: center;
}

.nvw-ad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-ad-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 25px;
  margin: 20px 0 10px;
  letter-spacing: 0.5px;
}

.nvw-ad-image-link {
  display: block;
  text-decoration: none;
  margin: 0 20px;
}

.nvw-ad-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.nvw-ad-image:hover {
  transform: scale(1.02);
}

.nvw-ad-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #003463;
  margin: 15px 20px 8px;
}

.nvw-ad-text {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0 20px 15px;
  line-height: 1.4;
}

.nvw-ad-btn {
  display: inline-block;
  background: #003463;
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.nvw-ad-btn:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-2px);
}

/* ============================================================
           VIEW ALL BUTTON
           ============================================================ */
.nvw-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #003463;
  color: #003463;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 16px;
}

.nvw-view-all-btn:hover {
  background: #003463;
  color: white;
  gap: 15px;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nvw-section-header {
    padding: 24px 24px 20px 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-section-subtitle {
    margin-left: 48px;
  }
  .nvw-big-news-title {
    font-size: 1.2rem;
  }
  .nvw-small-cards-container {
    height: auto;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .nvw-latest-section {
    margin: 20px 16px;
  }
  .nvw-section-header {
    padding: 20px 20px 16px 20px;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
  .nvw-section-title i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-subtitle {
    margin-left: 52px;
    font-size: 0.75rem;
  }
  .nvw-big-news-img {
    height: 200px;
  }
  .nvw-big-news-content {
    padding: 20px;
  }
  .nvw-big-news-title {
    font-size: 1.1rem;
  }
  .nvw-small-news-card {
    padding: 12px;
  }
  .nvw-small-news-img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 576px) {
  .nvw-small-news-card {
    flex-direction: column;
  }
  .nvw-small-news-img {
    width: 100%;
    height: 140px;
  }
  .nvw-ad-image {
    max-width: 100%;
  }
}
/*==========================GALLERY AND VIDEO SECTION STYLING==========================*/
/* ============================================================
           DARK MODE STYLES
 ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

/* Dark Mode - Main Section */
body.dark-mode .nvw-media-section {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-title i {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-section-subtitle {
  color: #8a8a9a;
}

/* Dark Mode - Gallery Cards */
body.dark-mode .nvw-gallery-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-gallery-card:hover {
  border-color: #00d8ff;
}

body.dark-mode .nvw-gallery-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-gallery-meta {
  color: #8a8a9a;
}

/* Dark Mode - Video Cards */
body.dark-mode .nvw-video-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-video-card:hover {
  border-color: #00d8ff;
}

body.dark-mode .nvw-video-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-video-meta {
  color: #8a8a9a;
}

body.dark-mode .nvw-play-icon {
  background: rgba(0, 216, 255, 0.9);
  color: #003463;
}

/* Dark Mode - Slider Buttons */
body.dark-mode .nvw-slider-btn {
  background: #2a2a3a;
  color: #00d8ff;
  border-color: #3a3a4a;
}

body.dark-mode .nvw-slider-btn:hover {
  background: #00d8ff;
  color: #003463;
}

/* Dark Mode - Progress Bar */
body.dark-mode .nvw-progress-bar {
  background: #2a2a3a;
}

body.dark-mode .nvw-progress-fill {
  background: #00d8ff;
}

/* ============================================================
           MEDIA SECTION (Photo Gallery + Video News)
============================================================ */
.nvw-media-section {
  max-width: 1400px;
  margin: 40px auto;

  border-radius: 32px;
  overflow: hidden;

  transition: all 0.3s ease;
}

/* Section Header */
.nvw-section-header {
  padding: 28px 32px 20px 32px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-section-title i {
  width: 48px;
  height: 48px;
  background: #003463;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-subtitle {
  color: #6c757d;
  margin-top: 8px;
  margin-left: 60px;
  font-size: 0.85rem;
}

/* ============================================================
           SLIDER CONTAINER (Common Styles)
           ============================================================ */
.nvw-slider-container {
  position: relative;
  padding: 0 40px;
}

.nvw-slider-wrapper {
  overflow: hidden;
  margin: 0 -12px;
}

.nvw-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 24px;
}

/* ============================================================
           PROGRESS BAR (Auto-slide indicator)
           ============================================================ */
.nvw-progress-container {
  padding: 0 40px;
  margin-top: 20px;
}

.nvw-progress-bar {
  height: 3px;
  background: #eef2f6;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.nvw-progress-fill {
  height: 100%;
  width: 0%;
  background: #003463;
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* ============================================================
           GALLERY CARD (Photo Gallery)
           ============================================================ */
.nvw-gallery-card {
  flex: 0 0 calc(50% - 12px);
  min-width: calc(50% - 12px);
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  cursor: pointer;
}

.nvw-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-gallery-link {
  text-decoration: none;
  display: block;
}

.nvw-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nvw-gallery-card:hover .nvw-gallery-img {
  transform: scale(1.05);
}

.nvw-gallery-content {
  padding: 18px;
}

.nvw-gallery-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.nvw-gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.4;
}

.nvw-gallery-meta {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  gap: 12px;
}

.nvw-gallery-meta i {
  color: #00d8ff;
  margin-right: 3px;
}

/* ============================================================
           VIDEO CARD
           ============================================================ */
.nvw-video-card {
  flex: 0 0 calc(50% - 12px);
  min-width: calc(50% - 12px);
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  cursor: pointer;
  position: relative;
}

.nvw-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-video-link {
  text-decoration: none;
  display: block;
}

.nvw-video-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.nvw-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nvw-video-card:hover .nvw-video-img {
  transform: scale(1.05);
}

.nvw-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: rgba(0, 52, 99, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.nvw-video-card:hover .nvw-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: #00d8ff;
  color: #003463;
}

.nvw-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
}

.nvw-video-content {
  padding: 18px;
}

.nvw-video-badge {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.nvw-video-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.4;
}

.nvw-video-meta {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  gap: 12px;
}

.nvw-video-meta i {
  color: #00d8ff;
  margin-right: 3px;
}

/* ============================================================
           SLIDER BUTTONS
           ============================================================ */
.nvw-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 2px solid #eef2f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #003463;
  font-size: 1rem;
}

.nvw-slider-btn:hover {
  background: #003463;
  border-color: #003463;
  color: white;
}

.nvw-slider-prev {
  left: 0;
}

.nvw-slider-next {
  right: 0;
}

/* ============================================================
           VIEW ALL BUTTON
           ============================================================ */
.nvw-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #003463;
  color: #003463;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 20px;
}

.nvw-view-all-btn:hover {
  background: #003463;
  color: white;
  gap: 15px;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nvw-section-header {
    padding: 24px 24px 20px 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-section-subtitle {
    margin-left: 48px;
  }
  .nvw-gallery-card,
  .nvw-video-card {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
  }
  .nvw-slider-container {
    padding: 0 35px;
  }
}

@media (max-width: 768px) {
  .nvw-media-section {
    margin: 20px 16px;
  }
  .nvw-section-header {
    padding: 20px 20px 16px 20px;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
  .nvw-section-title i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-subtitle {
    margin-left: 52px;
    font-size: 0.75rem;
  }
  .nvw-slider-container {
    padding: 0 30px;
  }
  .nvw-gallery-img,
  .nvw-video-thumb {
    height: 200px;
  }
  .nvw-slider-btn {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }
  .nvw-play-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .nvw-gallery-img,
  .nvw-video-thumb {
    height: 180px;
  }
  .nvw-gallery-content,
  .nvw-video-content {
    padding: 14px;
  }
  .nvw-gallery-title,
  .nvw-video-title {
    font-size: 0.9rem;
  }
}
/* ============================================================
           DARK MODE STYLES (Works with existing middle bar toggle)
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

/* Dark Mode - Main Section */
body.dark-mode .nvw-premium-section {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-title i {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-section-subtitle {
  color: #8a8a9a;
}

/* Dark Mode - Newsletter Card */
body.dark-mode .nvw-newsletter-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-newsletter-text {
  color: #a0a0b0;
}

body.dark-mode .nvw-newsletter-input {
  background: #2a2a3a;
  border-color: #3a3a4a;
  color: #f0f0f0;
}

body.dark-mode .nvw-newsletter-input::placeholder {
  color: #8a8a9a;
}

body.dark-mode .nvw-newsletter-input:focus {
  border-color: #00d8ff;
}

body.dark-mode .nvw-stat-number {
  color: #00d8ff;
}

body.dark-mode .nvw-stat-label {
  color: #8a8a9a;
}

/* Dark Mode - Trending Topics Grid */
body.dark-mode .nvw-trending-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-trending-grid-item {
  background: #2a2a3a;
  border-color: #3a3a4a;
}

body.dark-mode .nvw-trending-grid-item:hover {
  background: #00d8ff;
  border-color: #00d8ff;
}

body.dark-mode .nvw-trending-grid-item:hover .nvw-trending-hashtag {
  color: #003463;
}

body.dark-mode .nvw-trending-hashtag {
  color: #f0f0f0;
}

body.dark-mode .nvw-trending-count {
  color: #00d8ff;
}

body.dark-mode .nvw-trending-grid-item:hover .nvw-trending-count {
  color: #003463;
}

/* Dark Mode - Editor's Pick */
body.dark-mode .nvw-editor-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-editor-pick-item {
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-editor-pick-item:hover {
  background: #2a2a3a;
}

body.dark-mode .nvw-editor-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-editor-meta {
  color: #8a8a9a;
}

body.dark-mode .nvw-editor-badge {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-read-more {
  color: #00d8ff;
}

body.dark-mode .nvw-read-more:hover {
  color: #fff;
}

body.dark-mode .nvw-view-all-btn {
  background: rgba(0, 216, 255, 0.1);
  color: #00d8ff;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-view-all-btn:hover {
  background: #00d8ff;
  color: #003463;
}

/* ============================================================
           PREMIUM SECTION (Newsletter + Trending Topics + Editor's Pick)
============================================================ */
.nvw-premium-section {
  max-width: 1400px;
  margin: 40px auto;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Section Header */
.nvw-section-header {
  padding: 28px 32px 20px 32px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-section-title i {
  width: 48px;
  height: 48px;
  background: #003463;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-subtitle {
  color: #6c757d;
  margin-top: 8px;
  margin-left: 60px;
  font-size: 0.85rem;
}

/* ============================================================
           NEWSLETTER CARD
           ============================================================ */
.nvw-newsletter-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nvw-newsletter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-newsletter-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #003463, #00d8ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.nvw-newsletter-icon i {
  font-size: 2rem;
  color: white;
}

.nvw-newsletter-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #003463;
  margin-bottom: 12px;
}

.nvw-newsletter-text {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.nvw-newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.nvw-newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #eef2f6;
  border-radius: 50px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.nvw-newsletter-input:focus {
  border-color: #00d8ff;
  box-shadow: 0 0 0 3px rgba(0, 216, 255, 0.1);
}

.nvw-subscribe-btn {
  background: #003463;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nvw-subscribe-btn:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-2px);
}

.nvw-newsletter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #eef2f6;
  margin-top: auto;
}

.nvw-stat-item {
  text-align: center;
}

.nvw-stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #003463;
}

.nvw-stat-label {
  font-size: 0.7rem;
  color: #6c757d;
}

.nvw-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: #6c757d;
}

.nvw-guarantee i {
  color: #00d8ff;
}

/* ============================================================
           TRENDING TOPICS - GRID LAYOUT (3 per row)
           ============================================================ */
.nvw-trending-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nvw-trending-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-trending-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-trending-header i {
  width: 45px;
  height: 45px;
  background: #ff4444;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nvw-trending-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
}

.nvw-trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
}

.nvw-trending-grid-item {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid #eef2f6;
}

.nvw-trending-grid-item:hover {
  background: #003463;
  transform: translateY(-3px);
  border-color: #003463;
}

.nvw-trending-grid-item:hover .nvw-trending-hashtag {
  color: white;
}

.nvw-trending-grid-item:hover .nvw-trending-count {
  color: rgba(255, 255, 255, 0.8);
}

.nvw-trending-hashtag {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  word-break: break-word;
}

.nvw-trending-count {
  font-size: 0.7rem;
  color: #00d8ff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nvw-trending-count i {
  font-size: 0.65rem;
}

/* ============================================================
           EDITOR'S PICK CARD
           ============================================================ */
.nvw-editor-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nvw-editor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-editor-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 2px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvw-editor-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-editor-header-left i {
  width: 45px;
  height: 45px;
  background: #f59e0b;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nvw-editor-header-left h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
}

.nvw-view-all-btn {
  background: transparent;
  border: 2px solid #003463;
  color: #003463;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nvw-view-all-btn:hover {
  background: #003463;
  color: white;
  gap: 12px;
}

.nvw-editor-list {
  padding: 8px 0;
  flex: 1;
}

.nvw-editor-pick-item {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.nvw-editor-pick-item:hover {
  background: #f8fafc;
  padding-left: 28px;
}

.nvw-editor-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.nvw-editor-content {
  flex: 1;
}

.nvw-editor-badge {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.nvw-editor-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.nvw-editor-meta {
  font-size: 0.65rem;
  color: #6c757d;
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.nvw-editor-meta i {
  margin-right: 3px;
  color: #00d8ff;
}

.nvw-read-more {
  font-size: 0.7rem;
  font-weight: 600;
  color: #003463;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.nvw-read-more:hover {
  gap: 8px;
  color: #00d8ff;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nvw-section-header {
    padding: 24px 24px 20px 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-section-subtitle {
    margin-left: 48px;
  }
  .nvw-newsletter-form {
    flex-direction: column;
  }
  .nvw-subscribe-btn {
    width: 100%;
  }
  .nvw-trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nvw-premium-section {
    margin: 20px 16px;
  }
  .nvw-section-header {
    padding: 20px 20px 16px 20px;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
  .nvw-section-title i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-subtitle {
    margin-left: 52px;
    font-size: 0.75rem;
  }
  .nvw-newsletter-card {
    padding: 24px;
  }
  .nvw-newsletter-title {
    font-size: 1.3rem;
  }
  .nvw-trending-grid {
    grid-template-columns: 1fr;
  }
  .nvw-editor-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .nvw-editor-pick-item {
    padding: 12px 16px;
  }
  .nvw-editor-img {
    width: 60px;
    height: 60px;
  }
  .nvw-editor-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .nvw-newsletter-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .nvw-editor-img {
    width: 55px;
    height: 55px;
  }
  .nvw-view-all-btn {
    padding: 6px 16px;
    font-size: 0.75rem;
  }
}

/* Equal Height Columns */
.row-equal-height {
  display: flex;
  flex-wrap: wrap;
}

.row-equal-height > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* ============================================================
           DARK MODE STYLES (Works with existing middle bar toggle)
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

/* Dark Mode - Main Section */
body.dark-mode .nvw-features-section {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-title i {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-section-subtitle {
  color: #8a8a9a;
}

/* Dark Mode - Local News Card */
body.dark-mode .nvw-local-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-city-tab {
  background: #2a2a3a;
  color: #f0f0f0;
}

body.dark-mode .nvw-city-tab.active {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-local-news-item {
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-local-news-item:hover {
  background: #2a2a3a;
}

body.dark-mode .nvw-local-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-local-time {
  color: #8a8a9a;
}

/* Dark Mode - Events Card */
body.dark-mode .nvw-events-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-event-item {
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-event-item:hover {
  background: #2a2a3a;
}

body.dark-mode .nvw-event-date {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-event-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-event-location {
  color: #8a8a9a;
}

/* Dark Mode - Awards Card */
body.dark-mode .nvw-awards-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-award-item {
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-award-item:hover {
  background: #2a2a3a;
}

body.dark-mode .nvw-award-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-award-org {
  color: #8a8a9a;
}

/* Dark Mode - Festival Card */
body.dark-mode .nvw-festival-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-festival-item {
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-festival-item:hover {
  background: #2a2a3a;
}

body.dark-mode .nvw-festival-name {
  color: #f0f0f0;
}

body.dark-mode .nvw-festival-date {
  color: #00d8ff;
}

body.dark-mode .nvw-view-all-btn {
  background: rgba(0, 216, 255, 0.1);
  color: #00d8ff;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-view-all-btn:hover {
  background: #00d8ff;
  color: #003463;
}

/* ============================================================
           MAIN SECTION
           ============================================================ */
.nvw-features-section {
  max-width: 1400px;
  margin: 40px auto;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Section Header */
.nvw-section-header {
  padding: 28px 32px 20px 32px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-section-title i {
  width: 48px;
  height: 48px;
  background: #003463;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-subtitle {
  color: #6c757d;
  margin-top: 8px;
  margin-left: 60px;
  font-size: 0.85rem;
}

/* ============================================================
           LOCAL NEWS CARD
           ============================================================ */
.nvw-local-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nvw-local-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-local-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #003463, #00264d);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-local-header i {
  font-size: 1.5rem;
}

.nvw-local-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.nvw-city-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  flex-wrap: wrap;
}

.nvw-city-tab {
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
  color: #003463;
  border: 1px solid #eef2f6;
}

.nvw-city-tab.active {
  background: #003463;
  color: white;
  border-color: #003463;
}

.nvw-city-tab:hover:not(.active) {
  background: #00d8ff;
  color: #003463;
}

.nvw-local-news-list {
  padding: 8px 0;
  flex: 1;
}

.nvw-local-news-item {
  display: flex;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.nvw-local-news-item:hover {
  background: #f8fafc;
  padding-left: 24px;
}

.nvw-local-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 52, 99, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003463;
  flex-shrink: 0;
}

.nvw-local-content {
  flex: 1;
}

.nvw-local-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.4;
}

.nvw-local-time {
  font-size: 0.65rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nvw-local-time i {
  font-size: 0.6rem;
  color: #00d8ff;
}

/* ============================================================
           EVENTS CARD
           ============================================================ */
.nvw-events-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nvw-events-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-events-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvw-events-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-events-header-left i {
  font-size: 1.5rem;
}

.nvw-events-header-left h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.nvw-events-list {
  padding: 8px 0;
  flex: 1;
}

.nvw-event-item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.nvw-event-item:hover {
  background: #f8fafc;
  padding-left: 24px;
}

.nvw-event-date {
  min-width: 60px;
  text-align: center;
  background: #003463;
  color: white;
  border-radius: 12px;
  padding: 8px;
}

.nvw-event-day {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.nvw-event-month {
  font-size: 0.65rem;
  text-transform: uppercase;
}

.nvw-event-content {
  flex: 1;
}

.nvw-event-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.nvw-event-location {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nvw-event-location i {
  color: #00d8ff;
}

/* ============================================================
           AWARDS CARD
           ============================================================ */
.nvw-awards-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nvw-awards-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-awards-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-awards-header i {
  font-size: 1.5rem;
}

.nvw-awards-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.nvw-awards-list {
  padding: 8px 0;
  flex: 1;
}

.nvw-award-item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nvw-award-item:hover {
  background: #f8fafc;
  padding-left: 24px;
}

.nvw-award-icon {
  width: 45px;
  height: 45px;
  /* background: linear-gradient(135deg, #f59e0b, #d97706); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.nvw-award-icon img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.nvw-award-content {
  flex: 1;
}

.nvw-award-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.nvw-award-org {
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 4px;
}

.nvw-award-year {
  font-size: 0.65rem;
  color: #00d8ff;
  font-weight: 600;
}

/* ============================================================
           FESTIVAL CALENDAR CARD
           ============================================================ */
.nvw-festival-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nvw-festival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-festival-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvw-festival-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-festival-header-left i {
  font-size: 1.5rem;
}

.nvw-festival-header-left h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.nvw-festival-list {
  padding: 8px 0;
  flex: 1;
}

.nvw-festival-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nvw-festival-item:hover {
  background: #f8fafc;
  padding-left: 24px;
}

.nvw-festival-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ec489a, #db2777);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nvw-festival-content {
  flex: 1;
}

.nvw-festival-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.nvw-festival-date {
  font-size: 0.7rem;
  color: #00d8ff;
  font-weight: 600;
}

.nvw-festival-desc {
  font-size: 0.65rem;
  color: #6c757d;
  margin-top: 2px;
}

/* ============================================================
           VIEW ALL BUTTON
           ============================================================ */
.nvw-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid #003463;
  color: #003463;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 16px auto;
  width: fit-content;
}

.nvw-view-all-btn:hover {
  background: #003463;
  color: white;
  gap: 12px;
}

.nvw-card-footer {
  padding: 12px 20px 20px;
  text-align: center;
  border-top: 1px solid #eef2f6;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nvw-section-header {
    padding: 24px 24px 20px 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-section-subtitle {
    margin-left: 48px;
  }
  .nvw-city-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

@media (max-width: 768px) {
  .nvw-features-section {
    margin: 20px 16px;
  }
  .nvw-section-header {
    padding: 20px 20px 16px 20px;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
  .nvw-section-title i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-subtitle {
    margin-left: 52px;
    font-size: 0.75rem;
  }
  .nvw-local-header h3,
  .nvw-events-header-left h3,
  .nvw-awards-header h3,
  .nvw-festival-header-left h3 {
    font-size: 1.1rem;
  }
  .nvw-event-date {
    min-width: 50px;
    padding: 5px;
  }
  .nvw-event-day {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .nvw-event-item {
    flex-direction: column;
    gap: 10px;
  }
  .nvw-event-date {
    display: inline-flex;
    width: fit-content;
    gap: 5px;
    padding: 5px 12px;
  }
  .nvw-award-item {
    flex-direction: column;
    text-align: center;
  }
  .nvw-award-icon {
    margin: 0 auto;
  }
  .nvw-festival-item {
    flex-direction: column;
    text-align: center;
  }
  .nvw-festival-icon {
    margin: 0 auto;
  }
}

/* ============================================================
           DARK MODE STYLES
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

body.dark-mode .nvw-app-section {
  background: #111120;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-section-title {
  color: #00d8ff;
}

body.dark-mode .nvw-section-title i {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-section-subtitle {
  color: #8a8a9a;
}

body.dark-mode .nvw-app-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-app-feature {
  background: #2a2a3a;
}

body.dark-mode .nvw-feature-text {
  color: #a0a0b0;
}

body.dark-mode .nvw-rating-star {
  color: #fbbf24;
}

body.dark-mode .nvw-rating-text {
  color: #8a8a9a;
}

body.dark-mode .nvw-app-btn {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-app-btn:hover {
  background: #003463;
  color: #00d8ff;
  border-color: #00d8ff;
}

body.dark-mode .nvw-qr-code {
  background: #ffffff;
  padding: 10px;
  border-radius: 20px;
}

/* ============================================================
           DOWNLOAD APP SECTION
           ============================================================ */
.nvw-app-section {
  max-width: 1400px;
  margin: 40px auto;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Section Header */
.nvw-section-header {
  padding: 28px 32px 20px 32px;
  border-bottom: 2px solid #eef2f6;
}

.nvw-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #003463;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nvw-section-title i {
  width: 48px;
  height: 48px;
  background: #003463;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.nvw-section-subtitle {
  color: #6c757d;
  margin-top: 8px;
  margin-left: 60px;
  font-size: 0.85rem;
}

/* App Card */
.nvw-app-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  margin: 24px;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nvw-app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

/* Background Decoration */
.nvw-bg-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(0, 52, 99, 0.03),
    rgba(0, 216, 255, 0.03)
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Left Content */
.nvw-app-content {
  position: relative;
  z-index: 2;
}

.nvw-app-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.nvw-app-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #003463;
  margin-bottom: 16px;
  line-height: 1.2;
}

.nvw-app-desc {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 90%;
}

/* Features Grid */
.nvw-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.nvw-app-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.nvw-app-feature:hover {
  transform: translateX(5px);
  background: #f1f5f9;
}

.nvw-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 52, 99, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003463;
  font-size: 1.1rem;
}

.nvw-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
}

/* Rating Section */
.nvw-rating-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 16px 0;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.nvw-rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nvw-rating-star {
  color: #fbbf24;
  font-size: 1.1rem;
}

.nvw-rating-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #003463;
}

.nvw-rating-text {
  font-size: 0.75rem;
  color: #6c757d;
}

.nvw-download-count {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nvw-download-count i {
  font-size: 1.2rem;
  color: #00d8ff;
}

.nvw-download-count span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #003463;
}

/* App Buttons */
.nvw-buttons-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.nvw-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #003463;
  color: white;
  padding: 14px 28px;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nvw-app-btn:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 52, 99, 0.2);
}

.nvw-app-btn i {
  font-size: 1.8rem;
}

.nvw-btn-text {
  text-align: left;
}

.nvw-btn-small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
}

.nvw-btn-large {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Right Content - QR Code & Phone Mockup */
.nvw-qr-section {
  text-align: center;
  position: relative;
  z-index: 2;
}

.nvw-qr-code {
  background: #ffffff;
  padding: 20px;
  border-radius: 24px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.nvw-qr-code img {
  width: 100%;
  height: 200px;
  display: block;
}

.nvw-scan-text {
  font-size: 1.75rem;
  color: #6c757d;
  margin-top: 12px;
}

.nvw-scan-text i {
  color: #00d8ff;
  margin-right: 5px;
}

.nvw-phone-mockup {
  position: relative;
  margin-top: 20px;
}

.nvw-phone-mockup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Trust Badges */
.nvw-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eef2f6;
}

.nvw-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #6c757d;
}

.nvw-trust-badge i {
  font-size: 1rem;
  color: #00d8ff;
}

/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nvw-section-header {
    padding: 24px 24px 20px 24px;
  }
  .nvw-section-title {
    font-size: 1.5rem;
  }
  .nvw-section-subtitle {
    margin-left: 48px;
  }
  .nvw-app-title {
    font-size: 1.8rem;
  }
  .nvw-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nvw-app-section {
    margin: 20px 16px;
  }
  .nvw-section-header {
    padding: 20px 20px 16px 20px;
  }
  .nvw-section-title {
    font-size: 1.3rem;
  }
  .nvw-section-title i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .nvw-section-subtitle {
    margin-left: 52px;
    font-size: 0.75rem;
  }
  .nvw-app-card {
    margin: 16px;
    padding: 24px;
  }
  .nvw-app-title {
    font-size: 1.5rem;
  }
  .nvw-app-desc {
    font-size: 0.9rem;
    max-width: 100%;
  }
  .nvw-buttons-group {
    flex-direction: column;
  }
  .nvw-app-btn {
    justify-content: center;
  }
  .nvw-rating-section {
    flex-direction: column;
    text-align: center;
  }
  .nvw-qr-code img {
    width: 100%;
    height: 150px;
  }
  .nvw-phone-mockup img {
    max-width: 220px;
  }
}

@media (max-width: 576px) {
  .nvw-app-card {
    padding: 20px;
  }
  .nvw-app-title {
    font-size: 1.3rem;
  }
  .nvw-feature-text {
    font-size: 0.8rem;
  }
  .nvw-app-btn {
    padding: 12px 20px;
  }
  .nvw-app-btn i {
    font-size: 1.5rem;
  }
  .nvw-btn-large {
    font-size: 0.9rem;
  }
}

/* ============================================================
           DARK MODE STYLES
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

body.dark-mode .nvw-footer {
  background: #0a0a0f;
  border-top-color: #2a2a3a;
}

body.dark-mode .nvw-footer-top {
  background: #111120;
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-footer-logo-text {
  color: #00d8ff;
}

body.dark-mode .nvw-footer-desc {
  color: #8a8a9a;
}

body.dark-mode .nvw-footer-title {
  color: #00d8ff;
}

body.dark-mode .nvw-footer-title::after {
  background: #00d8ff;
}

body.dark-mode .nvw-footer-link {
  color: #a0a0b0;
}

body.dark-mode .nvw-footer-link:hover {
  color: #00d8ff;
}

body.dark-mode .nvw-social-icon {
  background: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-social-icon:hover {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-contact-icon {
  background: #2a2a3a;
  color: #00d8ff;
}

body.dark-mode .nvw-contact-text {
  color: #a0a0b0;
}

body.dark-mode .nvw-newsletter-input {
  background: #2a2a3a;
  border-color: #3a3a4a;
  color: #f0f0f0;
}

body.dark-mode .nvw-newsletter-input::placeholder {
  color: #8a8a9a;
}

body.dark-mode .nvw-newsletter-btn {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-newsletter-btn:hover {
  background: #003463;
  color: #00d8ff;
}

body.dark-mode .nvw-app-badge {
  background: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-app-badge:hover {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-footer-bottom {
  background: #0a0a0f;
  border-top-color: #2a2a3a;
}

body.dark-mode .nvw-copyright {
  color: #8a8a9a;
}

body.dark-mode .nvw-bottom-link {
  color: #a0a0b0;
}

body.dark-mode .nvw-bottom-link:hover {
  color: #00d8ff;
}

body.dark-mode .nvw-payment-methods i {
  color: #8a8a9a;
}

/* ============================================================
           FOOTER STYLES
           ============================================================ */
.nvw-footer {
  background: #ffffff;
  margin-top: 60px;
  border-top: 1px solid #eef2f6;
}

/* Footer Top */
.nvw-footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
}

.nvw-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo Section */
.nvw-footer-logo {
  margin-bottom: 20px;
}

.nvw-footer-logo-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 15px;
}

.nvw-footer-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #003463, #109cb5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 15px;
}

.nvw-footer-desc {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Social Icons */
.nvw-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nvw-social-icon {
  width: 38px;
  height: 38px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003463;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nvw-social-icon:hover {
  background: #003463;
  color: white;
  transform: translateY(-3px);
}

/* Footer Links */
.nvw-footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.nvw-footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #00d8ff;
}

.nvw-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nvw-footer-link {
  display: block;
  padding: 8px 0;
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.nvw-footer-link:hover {
  color: #003463;
  transform: translateX(5px);
}

.nvw-footer-link i {
  width: 20px;
  margin-right: 8px;
  font-size: 0.8rem;
}

/* Contact Info - Fixed Alignment */
.nvw-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nvw-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.nvw-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 52, 99, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003463;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.nvw-contact-text {
  flex: 1;
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Newsletter Section */
.nvw-newsletter-text {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.nvw-newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.nvw-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #eef2f6;
  border-radius: 50px;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.nvw-newsletter-input:focus {
  border-color: #00d8ff;
  box-shadow: 0 0 0 3px rgba(0, 216, 255, 0.1);
}

.nvw-newsletter-btn {
  background: #003463;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nvw-newsletter-btn:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-2px);
}

/* App Badges */
.nvw-app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.nvw-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #003463;
  color: white;
  padding: 8px 16px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvw-app-badge i {
  font-size: 1.2rem;
}

.nvw-app-badge:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-2px);
}

/* Footer Bottom */
.nvw-footer-bottom {
  padding: 20px 0;
  background: #ffffff;
}

.nvw-footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.nvw-copyright {
  color: #6c757d;
  font-size: 0.8rem;
}

.nvw-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nvw-bottom-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.nvw-bottom-link:hover {
  color: #003463;
}

.nvw-payment-methods {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nvw-payment-methods i {
  font-size: 1.2rem;
  color: #6c757d;
}

/* Back to Top Button */
.nvw-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #003463;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nvw-back-to-top:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .nvw-footer-top {
    padding: 40px 0 30px;
  }
  .nvw-footer-title {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .nvw-footer-container {
    padding: 0 16px;
  }
  .nvw-footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .nvw-newsletter-form {
    flex-direction: column;
  }
  .nvw-newsletter-btn {
    width: 100%;
  }
  .nvw-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .nvw-bottom-links {
    justify-content: center;
  }
  .nvw-contact-item {
    align-items: flex-start;
  }
}

/*======================OTHER PAGES CSS START=========================================*/

/* ============================================================
           DARK MODE STYLES
============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

body.dark-mode .nvw-cover-section {
  background: #111120;
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-cover-title {
  color: #00d8ff;
}

body.dark-mode .nvw-home-btn {
  background: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-home-btn:hover {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-left-card,
body.dark-mode .nvw-center-card,
body.dark-mode .nvw-trending-card,
body.dark-mode .nvw-ad-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-left-title,
body.dark-mode .nvw-center-title,
body.dark-mode .nvw-trending-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-left-meta,
body.dark-mode .nvw-center-meta,
body.dark-mode .nvw-trending-count {
  color: #8a8a9a;
}

body.dark-mode .nvw-tab-btn {
  background: #2a2a3a;
  color: #a0a0b0;
  border-color: #3a3a4a;
}

body.dark-mode .nvw-tab-btn.active {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

body.dark-mode .nvw-photo-card,
body.dark-mode .nvw-video-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-photo-title,
body.dark-mode .nvw-video-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-view-all-btn {
  background: rgba(0, 216, 255, 0.1);
  color: #00d8ff;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-view-all-btn:hover {
  background: #00d8ff;
  color: #003463;
}

/* Share Modal Styles */
.share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-modal.show {
  display: flex;
  opacity: 1;
}

.share-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  animation: modalSlideUp 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

body.dark-mode .share-modal-content {
  background: #1a1a2a;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-modal-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #003463, #00264d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.share-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.share-modal-close:hover {
  background: #00d8ff;
  transform: rotate(90deg);
}

.share-modal-body {
  padding: 24px;
}

.share-url-container {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.share-url-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #eef2f6;
  border-radius: 40px;
  font-size: 0.85rem;
  background: #f8fafc;
  color: #111111;
  outline: none;
}

body.dark-mode .share-url-input {
  background: #2a2a3a;
  border-color: #3a3a4a;
  color: #f0f0f0;
}

.copy-link-btn {
  padding: 8px 18px;
  border-radius: 40px;
  background: #003463;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-link-btn:hover {
  background: #00d8ff;
  color: #003463;
  transform: translateY(-2px);
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.share-platform {
  padding: 12px;
  border-radius: 40px;
  border: 1.5px solid #eef2f6;
  background: #ffffff;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.dark-mode .share-platform {
  background: #2a2a3a;
  border-color: #3a3a4a;
  color: #f0f0f0;
}

.share-platform:hover {
  transform: translateY(-2px);
}

.share-platform[data-platform="whatsapp"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.share-platform[data-platform="twitter"]:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: #fff;
}

.share-platform[data-platform="facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.share-platform[data-platform="linkedin"]:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.share-platform[data-platform="telegram"]:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: #fff;
}

.share-platform[data-platform="email"]:hover {
  background: #6c5ce7;
  border-color: #6c5ce7;
  color: #fff;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #109cb5;
  color: #fff;
  padding: 10px 22px;
  border-radius: 40px;
  z-index: 9500;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
           COVER SECTION (Page Header)
           ============================================================ */
.nvw-cover-section {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 16px 0;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nvw-cover-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nvw-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: #003463;
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvw-home-btn:hover {
  background: #003463;
  color: white;
}

.nvw-cover-divider {
  color: #00d8ff;
  font-size: 1.2rem;
}

.nvw-cover-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003463;
  margin: 0;
}

.nvw-cover-badge {
  background: #00d8ff;
  color: #003463;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ============================================================
           MAIN CONTENT - STICKY LEFT/RIGHT + SCROLLABLE CENTER
           ============================================================ */
.nvw-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Left Column - Sticky */
.nvw-left-col {
  position: sticky;
  top: 90px;
  align-self: start;
}

/* Right Column - Sticky */
.nvw-right-col {
  position: sticky;
  top: 90px;
  align-self: start;
}

/* Center Column - Scrollable */
.nvw-center-col {
  /* height: 100vh; */
  height: 1200px;
  overflow-y: auto;
  padding-right: 10px;
}

.nvw-center-col::-webkit-scrollbar {
  width: 5px;
}

.nvw-center-col::-webkit-scrollbar-track {
  background: #eef2f6;
  border-radius: 10px;
}

.nvw-center-col::-webkit-scrollbar-thumb {
  background: #00d8ff;
  border-radius: 10px;
}

body.dark-mode .nvw-center-col::-webkit-scrollbar-track {
  background: #2a2a3a;
}

.nvw-left-title {
  font-size: 1rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00d8ff;
  display: inline-block;
}

.nvw-left-card {
  display: flex;
  gap: 12px;
  background: white;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #eef2f6;
}

.nvw-left-card:hover {
  transform: translateX(5px);
  border-color: #00d8ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nvw-left-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.nvw-left-content {
  flex: 1;
}

.nvw-left-category {
  font-size: 0.6rem;
  font-weight: 700;
  color: #00d8ff;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.nvw-left-headline {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 6px;
}

.nvw-left-meta {
  font-size: 0.6rem;
  color: #6c757d;
}

/* Center Column Cards */
.nvw-center-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #eef2f6;
}

.nvw-center-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-center-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.nvw-center-content {
  padding: 22px;
}

.nvw-center-badge {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.nvw-center-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.35;
}

.nvw-center-desc {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
}

.nvw-center-meta {
  display: flex;
  gap: 20px;
  font-size: 0.75rem;
  color: #6c757d;
  align-items: center;
  flex-wrap: wrap;
}

.nvw-center-meta i {
  color: #00d8ff;
  margin-right: 5px;
}

/* Share Button */
.nvw-share-btn {
  background: transparent;
  border: 1px solid #eef2f6;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.nvw-share-btn:hover {
  background: #003463;
  color: white;
  border-color: #003463;
}

/* View All Button */
.nvw-view-latest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #003463;
  color: #003463;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}

.nvw-view-latest-btn:hover {
  background: #003463;
  color: white;
  gap: 15px;
}

/* Right Column */
.nvw-ad-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
}

.nvw-ad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nvw-ad-badge {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.nvw-ad-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.nvw-ad-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 8px;
}

.nvw-ad-btn {
  display: inline-block;
  background: #003463;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s;
}

.nvw-ad-btn:hover {
  background: #00d8ff;
  color: #003463;
}

.nvw-trending-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #eef2f6;
}

.nvw-trending-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00d8ff;
}

.nvw-trending-header i {
  font-size: 1.2rem;
  color: #ff4444;
}

.nvw-trending-header h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #003463;
}

.nvw-trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
  cursor: pointer;
  transition: all 0.2s;
}

.nvw-trending-item:hover {
  padding-left: 8px;
  background: #f8fafc;
  border-radius: 12px;
}

.nvw-trending-num {
  width: 28px;
  height: 28px;
  background: #003463;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.nvw-trending-text {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111111;
}

.nvw-trending-count {
  font-size: 0.65rem;
  color: #00d8ff;
  font-weight: 600;
}

/* Tabs Section */
.nvw-tabs-section {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 2px solid #eef2f6;
  clear: both;
}

.nvw-tabs-header {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.nvw-tab-btn {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  padding: 10px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s;
}

.nvw-tab-btn.active {
  background: #003463;
  color: white;
  border-color: #003463;
}

.nvw-tab-btn:hover:not(.active) {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

.nvw-tab-content {
  display: none;
}

.nvw-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Photo Grid */
.nvw-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nvw-photo-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #eef2f6;
}

.nvw-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-photo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.nvw-photo-card:hover .nvw-photo-img {
  transform: scale(1.03);
}

.nvw-photo-content {
  padding: 16px;
}

.nvw-photo-category {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.nvw-photo-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.nvw-photo-meta {
  font-size: 0.65rem;
  color: #6c757d;
}

/* Video Grid */
.nvw-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nvw-video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #eef2f6;
}

.nvw-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-video-iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.nvw-video-content {
  padding: 16px;
}

.nvw-video-category {
  display: inline-block;
  background: #003463;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.nvw-video-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 8px;
}

.nvw-video-meta {
  font-size: 0.65rem;
  color: #6c757d;
}

/* Responsive - Remove sticky and scroll on mobile */
@media (max-width: 992px) {
  .nvw-left-col,
  .nvw-right-col {
    position: relative;
    top: 0;
  }
  .nvw-center-col {
    height: auto;
    overflow-y: visible;
  }
  .nvw-photo-grid,
  .nvw-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nvw-cover-container {
    padding: 0 16px;
  }
  .nvw-main-container {
    padding: 0 16px 40px;
  }
  .nvw-photo-grid,
  .nvw-video-grid {
    grid-template-columns: 1fr;
  }
  .nvw-tab-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  .nvw-center-img {
    height: 200px;
  }
  .nvw-center-title {
    font-size: 1.1rem;
  }
  .nvw-video-iframe {
    height: 200px;
  }
  .nvw-center-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nvw-share-btn {
    margin-left: 0;
  }
}

/* ============================================================
           DARK MODE STYLES
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

body.dark-mode .nvw-all-cover-section {
  background: #111120;
  border-bottom-color: #2a2a3a;
}

body.dark-mode .nvw-all-cover-title {
  color: #00d8ff;
}

body.dark-mode .nvw-all-home-btn {
  background: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-all-home-btn:hover {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-all-news-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-all-news-card:hover {
  border-color: #00d8ff;
}

body.dark-mode .nvw-all-card-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-all-card-meta,
body.dark-mode .nvw-all-card-desc {
  color: #8a8a9a;
}

body.dark-mode .nvw-all-pagination .nvw-all-page-link {
  background: #1a1a2a;
  border-color: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-all-pagination .nvw-all-page-link:hover {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

body.dark-mode .nvw-all-pagination .nvw-all-active .nvw-all-page-link {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

body.dark-mode .nvw-all-filter-btn {
  background: #2a2a3a;
  color: #a0a0b0;
  border-color: #3a3a4a;
}

body.dark-mode .nvw-all-filter-btn:hover {
  border-color: #00d8ff;
  color: #00d8ff;
}

body.dark-mode .nvw-all-filter-btn.nvw-all-active {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

body.dark-mode .nvw-all-result-count {
  color: #8a8a9a;
}

body.dark-mode .nvw-all-result-count span {
  color: #00d8ff;
}

body.dark-mode .nvw-all-no-results {
  background: #1a1a2a;
}

body.dark-mode .nvw-all-no-results h3 {
  color: #00d8ff;
}

body.dark-mode .nvw-all-skeleton-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-all-skeleton-img,
body.dark-mode .nvw-all-skeleton-line {
  background: linear-gradient(90deg, #2a2a3a 25%, #3a3a4a 50%, #2a2a3a 75%);
  background-size: 200% 100%;
}

/* ============================================================
           COVER SECTION (Page Header)
           ============================================================ */
.nvw-all-cover-section {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 16px 0;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nvw-all-cover-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nvw-all-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: #003463;
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvw-all-home-btn:hover {
  background: #003463;
  color: white;
}

.nvw-all-cover-divider {
  color: #00d8ff;
  font-size: 1.2rem;
}

.nvw-all-cover-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003463;
  margin: 0;
}

.nvw-all-cover-badge {
  background: #00d8ff;
  color: #003463;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ============================================================
           FILTER SECTION
           ============================================================ */
.nvw-all-filter-section {
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 24px;
}

.nvw-all-filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.nvw-all-filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nvw-all-filter-btn {
  background: transparent;
  border: 1.5px solid #eef2f6;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s;
}

.nvw-all-filter-btn:hover {
  border-color: #00d8ff;
  color: #00d8ff;
}

.nvw-all-filter-btn.nvw-all-active {
  background: #003463;
  color: white;
  border-color: #003463;
}

.nvw-all-result-count {
  font-size: 0.85rem;
  color: #6c757d;
}

.nvw-all-result-count span {
  font-weight: 700;
  color: #003463;
}

/* ============================================================
           NEWS GRID SECTION
           ============================================================ */
.nvw-all-news-grid-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.nvw-all-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nvw-all-news-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  text-decoration: none;
  display: block;
  position: relative;
}

.nvw-all-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-all-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nvw-all-news-card:hover .nvw-all-card-img {
  transform: scale(1.03);
}

.nvw-all-card-content {
  padding: 20px;
}

.nvw-all-card-category {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.nvw-all-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
  line-height: 1.4;
}

.nvw-all-card-desc {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 12px;
}

.nvw-all-card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.7rem;
  color: #6c757d;
}

.nvw-all-card-meta i {
  color: #00d8ff;
  margin-right: 4px;
}

.nvw-all-trending-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

/* ============================================================
           PAGINATION
           ============================================================ */
.nvw-all-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.nvw-all-page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  border: 1px solid #eef2f6;
  color: #003463;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.nvw-all-page-link:hover {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

.nvw-all-active .nvw-all-page-link {
  background: #003463;
  color: white;
  border-color: #003463;
}

.nvw-all-page-prev,
.nvw-all-page-next {
  width: auto;
  padding: 0 16px;
  gap: 8px;
  display: flex;
  align-items: center;
}

/* ============================================================
           NO RESULTS
           ============================================================ */
.nvw-all-no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
}

.nvw-all-no-results i {
  font-size: 3rem;
  color: #00d8ff;
  margin-bottom: 16px;
}

.nvw-all-no-results h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 8px;
}

/* ============================================================
           LOADING SKELETON
           ============================================================ */
.nvw-all-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nvw-all-skeleton-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #eef2f6;
}

.nvw-all-skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: nvw-all-shimmer 1.5s infinite;
}

.nvw-all-skeleton-content {
  padding: 20px;
}

.nvw-all-skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: nvw-all-shimmer 1.5s infinite;
  border-radius: 7px;
  margin-bottom: 12px;
}

.nvw-all-skeleton-line.nvw-all-short {
  width: 40%;
}

@keyframes nvw-all-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
           RESPONSIVE
           ============================================================ */
@media (max-width: 992px) {
  .nvw-all-news-grid,
  .nvw-all-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nvw-all-cover-container {
    padding: 0 16px;
  }
  .nvw-all-filter-section {
    padding: 0 16px;
  }
  .nvw-all-news-grid-section {
    padding: 0 16px 40px;
  }
  .nvw-all-news-grid,
  .nvw-all-skeleton-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nvw-all-filter-tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nvw-all-page-link {
    width: 35px;
    height: 35px;
  }
}
/* ============================================================
           DARK MODE STYLES
           ============================================================ */
body.dark-mode {
  background: #0a0a0f;
  color: #f0f0f0;
}

body.dark-mode .nvw-detail-cover-section,
body.dark-mode .nvw-detail-article-card,
body.dark-mode .nvw-detail-sidebar-card,
body.dark-mode .nvw-detail-comment-card,
body.dark-mode .nvw-detail-related-card,
body.dark-mode .nvw-detail-trending-card {
  background: #1a1a2a;
  border-color: #2a2a3a;
}

body.dark-mode .nvw-detail-cover-title,
body.dark-mode .nvw-detail-article-title,
body.dark-mode .nvw-detail-sidebar-title,
body.dark-mode .nvw-detail-comment-title,
body.dark-mode .nvw-detail-related-title,
body.dark-mode .nvw-detail-author-name,
body.dark-mode .nvw-detail-trending-title {
  color: #f0f0f0;
}

body.dark-mode .nvw-detail-home-btn,
body.dark-mode .nvw-detail-action-btn,
body.dark-mode .nvw-detail-share-icon,
body.dark-mode .nvw-detail-tag,
body.dark-mode .nvw-detail-trending-item {
  background: #2a2a3a;
  color: #a0a0b0;
}

body.dark-mode .nvw-detail-home-btn:hover,
body.dark-mode .nvw-detail-action-btn:hover,
body.dark-mode .nvw-detail-share-icon:hover,
body.dark-mode .nvw-detail-tag:hover,
body.dark-mode .nvw-detail-trending-item:hover {
  background: #00d8ff;
  color: #003463;
}

body.dark-mode .nvw-detail-article-meta,
body.dark-mode .nvw-detail-article-text,
body.dark-mode .nvw-detail-comment-text,
body.dark-mode .nvw-detail-comment-time,
body.dark-mode .nvw-detail-author-bio,
body.dark-mode .nvw-detail-trending-count {
  color: #8a8a9a;
}

body.dark-mode .nvw-detail-comment-input {
  background: #2a2a3a;
  border-color: #3a3a4a;
  color: #f0f0f0;
}

body.dark-mode .nvw-detail-quote {
  background: #1a1a2a;
}

/* Reading Progress Bar */
.nvw-detail-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00d8ff, #003463);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ============================================================
           COVER SECTION
           ============================================================ */
.nvw-detail-cover-section {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 16px 0;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nvw-detail-cover-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.nvw-detail-cover-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nvw-detail-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: #003463;
  padding: 8px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvw-detail-home-btn:hover {
  background: #003463;
  color: white;
}

.nvw-detail-cover-divider {
  color: #00d8ff;
  font-size: 1.2rem;
}

.nvw-detail-cover-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003463;
  margin: 0;
}

.nvw-detail-cover-actions {
  display: flex;
  gap: 12px;
}

.nvw-detail-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #003463;
  cursor: pointer;
  transition: all 0.3s;
}

.nvw-detail-action-btn:hover {
  background: #00d8ff;
  color: #003463;
  border-color: #00d8ff;
}

.nvw-detail-action-btn.saved {
  background: #00d8ff;
  color: #003463;
}

.nvw-detail-action-btn.liked {
  background: #10b981;
  color: white;
}

.nvw-detail-action-btn.disliked {
  background: #ef4444;
  color: white;
}

/* ============================================================
           MAIN CONTENT
           ============================================================ */
.nvw-detail-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Article Card */
.nvw-detail-article-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #eef2f6;
  padding: 32px;
}

.nvw-detail-article-category {
  display: inline-block;
  background: #00d8ff;
  color: #003463;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 25px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.nvw-detail-article-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 20px;
  line-height: 1.3;
}

.nvw-detail-article-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 24px;
  color: #6c757d;
  font-size: 0.85rem;
}

.nvw-detail-article-meta i {
  color: #00d8ff;
  margin-right: 6px;
}

.nvw-detail-article-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
}

.nvw-detail-article-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
}

.nvw-detail-article-text p {
  margin-bottom: 20px;
}

.nvw-detail-article-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003463;
  margin: 25px 0 15px;
}

.nvw-detail-quote {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 30px;
  border-radius: 20px;
  margin: 30px 0;
  border-left: 4px solid #00d8ff;
}

.nvw-detail-quote i {
  font-size: 2rem;
  color: #00d8ff;
  margin-bottom: 15px;
}

/* Article Actions Bar */
.nvw-detail-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  margin: 30px 0;
}

.nvw-detail-reactions {
  display: flex;
  gap: 12px;
}

.nvw-detail-reaction-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s;
}

.nvw-detail-reaction-btn:hover {
  background: #00d8ff;
  color: white;
}

.nvw-detail-reaction-btn.active {
  background: #003463;
  color: white;
}

.nvw-detail-share-buttons {
  display: flex;
  gap: 10px;
}

.nvw-detail-share-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.nvw-detail-share-icon:hover {
  background: #00d8ff;
  color: white;
}

/* Sidebar */
.nvw-detail-sidebar-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  padding: 24px;
  margin-bottom: 24px;
}

.nvw-detail-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00d8ff;
  display: inline-block;
}

/* Trending News */
.nvw-detail-trending-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  padding: 24px;
  margin-bottom: 24px;
}

.nvw-detail-trending-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nvw-detail-trending-item:last-child {
  border-bottom: none;
}

.nvw-detail-trending-item:hover {
  transform: translateX(5px);
}

.nvw-detail-trending-number {
  width: 32px;
  height: 32px;
  background: #003463;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.nvw-detail-trending-content {
  flex: 1;
}

.nvw-detail-trending-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
  line-height: 1.4;
}

.nvw-detail-trending-count {
  font-size: 0.65rem;
  color: #00d8ff;
}

/* Author Section */
.nvw-detail-author-info {
  text-align: center;
}

.nvw-detail-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.nvw-detail-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 5px;
}

.nvw-detail-author-bio {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 12px;
}

.nvw-detail-author-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.nvw-detail-author-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003463;
  transition: all 0.2s;
}

.nvw-detail-author-social a:hover {
  background: #00d8ff;
  color: white;
}

/* Tags */
.nvw-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nvw-detail-tag {
  background: #f8fafc;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #003463;
  text-decoration: none;
  transition: all 0.2s;
}

.nvw-detail-tag:hover {
  background: #00d8ff;
  color: white;
}

/* Stats Card */
.nvw-detail-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.nvw-detail-stat-item {
  text-align: center;
}

.nvw-detail-stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #003463;
}

.nvw-detail-stat-label {
  font-size: 0.7rem;
  color: #6c757d;
}

/* Comments */
.nvw-detail-comments-section {
  margin-top: 40px;
}

.nvw-detail-comment-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  padding: 24px;
}

.nvw-detail-comment-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #003463;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00d8ff;
  display: inline-block;
}

.nvw-detail-comment-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eef2f6;
}

.nvw-detail-comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.nvw-detail-comment-content {
  flex: 1;
}

.nvw-detail-comment-author {
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.nvw-detail-comment-time {
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.nvw-detail-comment-text {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.nvw-detail-comment-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.nvw-detail-comment-like {
  font-size: 0.7rem;
  font-weight: 600;
  color: #00d8ff;
  cursor: pointer;
}

.nvw-detail-comment-form {
  margin-top: 25px;
}

.nvw-detail-comment-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eef2f6;
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
  resize: vertical;
  font-family: "Inter", sans-serif;
}

.nvw-detail-comment-input:focus {
  border-color: #00d8ff;
}

.nvw-detail-comment-submit {
  background: #003463;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

/* Related News */
.nvw-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.nvw-detail-related-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #eef2f6;
  transition: all 0.3s;
}

.nvw-detail-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #00d8ff;
}

.nvw-detail-related-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.nvw-detail-related-content {
  padding: 15px;
}

.nvw-detail-related-category {
  font-size: 0.6rem;
  font-weight: 700;
  color: #00d8ff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.nvw-detail-related-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
}

/* Back to Top */
.nvw-detail-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #003463;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.nvw-detail-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.nvw-detail-back-to-top:hover {
  background: #00d8ff;
  color: #003463;
}

/* Share Modal */
.nvw-detail-share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nvw-detail-share-modal.show {
  display: flex;
  opacity: 1;
}

.nvw-detail-share-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  animation: modalSlideUp 0.3s ease;
  overflow: hidden;
}

body.dark-mode .nvw-detail-share-modal-content {
  background: #1a1a2a;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nvw-detail-share-modal-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #003463, #00264d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvw-detail-share-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.nvw-detail-share-url-container {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0 24px;
}

.nvw-detail-share-url-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #eef2f6;
  border-radius: 40px;
  font-size: 0.85rem;
}

.nvw-detail-copy-link-btn {
  padding: 8px 18px;
  border-radius: 40px;
  background: #003463;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.nvw-detail-share-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 24px 24px;
}

.nvw-detail-share-platform {
  padding: 12px;
  border-radius: 40px;
  border: 1.5px solid #eef2f6;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nvw-detail-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #109cb5;
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.nvw-detail-toast.show {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .nvw-detail-article-title {
    font-size: 1.6rem;
  }
  .nvw-detail-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nvw-detail-cover-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nvw-detail-main-container {
    padding: 0 16px 40px;
  }
  .nvw-detail-article-card {
    padding: 20px;
  }
  .nvw-detail-article-title {
    font-size: 1.3rem;
  }
  .nvw-detail-related-grid {
    grid-template-columns: 1fr;
  }
  .nvw-detail-actions-bar {
    flex-direction: column;
  }
  .nvw-detail-back-to-top {
    bottom: 20px;
    right: 20px;
  }
}
