/* CSS Part 1 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      /* Dark Theme (Default) */
      --bg-color: #0a0e27;
      --sidebar-bg: #151937;
      --card-bg: rgba(255, 255, 255, 0.03);
      --card-hover: rgba(255, 255, 255, 0.06);
      --text-color: #ffffff;
      --text-muted: rgba(255, 255, 255, 0.6);
      --border-color: rgba(255, 255, 255, 0.15);
      --accent-color: #667eea;
      --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --header-bg: rgba(15, 20, 35, 0.7);
      --popup-bg: rgba(15, 20, 35, 0.95);
      --hero-bg: radial-gradient(circle at 10% 20%, rgba(100, 100, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(100, 100, 255, 0.05) 0%, transparent 20%);
    }

    [data-theme="summer"] {
      /* Summer Theme (Beach vibes) */
      --bg-color: #0a1628;
      --sidebar-bg: #1a2942;
      --card-bg: rgba(100, 200, 255, 0.05);
      --card-hover: rgba(100, 200, 255, 0.1);
      --text-color: #e8f4f8;
      --text-muted: rgba(232, 244, 248, 0.7);
      --border-color: rgba(100, 200, 255, 0.2);
      --accent-color: #00BFFF;
      --accent-gradient: linear-gradient(135deg, #00BFFF 0%, #1E90FF 100%);
      --header-bg: rgba(10, 22, 40, 0.9);
      --popup-bg: rgba(10, 22, 40, 0.95);
      --hero-bg: linear-gradient(135deg, #1E90FF 0%, #00CED1 50%, #FFD700 100%);
    }

    [data-theme="tet"] {
      /* Tet Theme (Red/Gold) */
      --bg-color: #3e0000;
      --sidebar-bg: #5a0000;
      --card-bg: rgba(255, 215, 0, 0.05);
      --card-hover: rgba(255, 215, 0, 0.1);
      --text-color: #fff8e1;
      --text-muted: rgba(255, 248, 225, 0.7);
      --border-color: rgba(255, 215, 0, 0.3);
      --accent-color: #FFD700;
      --accent-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
      --header-bg: rgba(62, 0, 0, 0.9);
      --popup-bg: rgba(62, 0, 0, 0.95);
      --hero-bg: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 60%), linear-gradient(135deg, #5a0000 0%, #3e0000 100%);
    }

    [data-theme="spring"] {
      /* Spring Theme (Pink/Green) */
      --bg-color: #1a0f1f;
      --sidebar-bg: #2d1b36;
      --card-bg: rgba(255, 182, 193, 0.05);
      --card-hover: rgba(255, 182, 193, 0.1);
      --text-color: #fff0f5;
      --text-muted: rgba(255, 240, 245, 0.7);
      --border-color: rgba(255, 105, 180, 0.3);
      --accent-color: #FF69B4;
      --accent-gradient: linear-gradient(135deg, #FF69B4 0%, #00FF7F 100%);
      --header-bg: rgba(26, 15, 31, 0.9);
      --popup-bg: rgba(26, 15, 31, 0.95);
      --hero-bg: radial-gradient(circle at 50% 50%, rgba(255, 105, 180, 0.2) 0%, transparent 50%), linear-gradient(to right, #2d1b36, #1a0f1f);
    }

    [data-theme="autumn"] {
      /* Autumn Theme (Orange/Brown) */
      --bg-color: #2b1100;
      --sidebar-bg: #3e1b00;
      --card-bg: rgba(255, 165, 0, 0.05);
      --card-hover: rgba(255, 165, 0, 0.1);
      --text-color: #fff3e0;
      --text-muted: rgba(255, 243, 224, 0.7);
      --border-color: rgba(255, 140, 0, 0.3);
      --accent-color: #FF8C00;
      --accent-gradient: linear-gradient(135deg, #FF8C00 0%, #D2691E 100%);
      --header-bg: rgba(43, 17, 0, 0.9);
      --popup-bg: rgba(43, 17, 0, 0.95);
      --hero-bg: linear-gradient(to right, #3e1b00, #2b1100);
    }

    [data-theme="winter"] {
      /* Winter Theme (White/Ice Blue) */
      --bg-color: #0d1b2a;
      --sidebar-bg: #1b263b;
      --card-bg: rgba(0, 255, 255, 0.05);
      --card-hover: rgba(0, 255, 255, 0.1);
      --text-color: #e0faff;
      --text-muted: rgba(224, 250, 255, 0.7);
      --border-color: rgba(0, 255, 255, 0.3);
      --accent-color: #00FFFF;
      --accent-gradient: linear-gradient(135deg, #00FFFF 0%, #7FFFD4 100%);
      --header-bg: rgba(13, 27, 42, 0.9);
      --popup-bg: rgba(13, 27, 42, 0.95);
      --hero-bg: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent), linear-gradient(to bottom, #1b263b, #0d1b2a);
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-color);
      color: var(--text-color);
      overflow-x: hidden;
      min-height: 100vh;
      transition: background 0.3s, color 0.3s;
    }

    /* Header (Title Block) - Now in Sidebar */
    .header {
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border-color);
    }

    /* Global Layout Borders */
    #home-section,
    #report-section {
      max-width: 1400px;
      margin: 0 auto;
      border-right: 1px solid var(--border-color);
      border-left: 1px solid var(--border-color);
    }

    .header-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .header h1 {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
    }

    .header-subtitle {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.6);
      margin-top: -2px;
    }

    /* Sidebar */
    .sidebar {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 280px;
      background: var(--sidebar-bg);
      z-index: 999;
      overflow-y: auto;
      padding: 20px;
      padding-top: 150px;
      border-right: 1px solid var(--border-color);
      transition: background 0.3s;
    }

    .sidebar-section {
      margin-bottom: 28px;
    }

    .sidebar-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--text-muted);
      margin-bottom: 12px;
      text-transform: uppercase;
    }

    .filter-option {
      padding: 10px 14px;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 8px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-color);
    }

    .filter-option:hover {
      background: var(--card-hover);
      border-color: var(--accent-color);
    }

    .filter-option.active {
      background: rgba(102, 126, 234, 0.15);
      border-color: #667eea;
    }

    .filter-radio {
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      position: relative;
    }

    .filter-option.active .filter-radio::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 8px;
      height: 8px;
      background: #667eea;
      border-radius: 50%;
    }

    .filter-label {
      font-size: 13px;
      font-weight: 500;
    }

    /* Stats Cards */
    .stat-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 14px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .stat-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .stat-icon.stores {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .stat-icon.violations {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .stat-icon.rewards {
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .stat-content {
      flex: 1;
    }

    .stat-value {
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 4px;
    }

    .stat-label {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.6);
      text-transform: uppercase;
    }

    /* Risk Gradient */
    .risk-gradient {
      height: 8px;
      background: linear-gradient(90deg, #00ff88 0%, #ffeb3b 25%, #ff9800 50%, #f44336 100%);
      border-radius: 4px;
      margin-top: 8px;
    }

    .risk-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 6px;
      font-size: 10px;
      color: rgba(255, 255, 255, 0.5);
    }

    /* Map */
    #map {
      position: absolute;
      left: 280px;
      top: 0;
      right: 0;
      bottom: 0;
      background: var(--bg-color);
    }

    .leaflet-container {
      background: var(--bg-color) !important;
    }

    /* Numbered Markers */
    .marker-circle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 3px solid #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 13px;
      color: #000;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .marker-green {
      background: #00ff88;
    }

    .marker-yellow {
      background: #ffeb3b;
    }

    .marker-orange {
      background: #ff9800;
    }

    .marker-red {
      background: #f44336;
      color: #fff;
    }

    /* Loading */
    #loading {
      position: fixed;
      inset: 0;
      background: #0a0e27;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      flex-direction: column;
      gap: 16px;
    }

    .spinner {
      width: 40px;
      height: 40px;
      border: 3px solid rgba(102, 126, 234, 0.2);
      border-top-color: #667eea;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      100% {
        transform: rotate(360deg);
      }
    }

    /* Login Screen */
    #login-screen {
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
    }

    .login-box {
      background: #fff;
      padding: 40px;
      border-radius: 16px;
      width: 100%;
      max-width: 400px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .login-box h2 {
      color: #667eea;
      margin-bottom: 8px;
      font-size: 24px;
    }

    .login-box p {
      color: #666;
      margin-bottom: 24px;
      font-size: 14px;
    }

    .login-input {
      width: 100%;
      padding: 14px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-size: 15px;
      margin-bottom: 16px;
      outline: none;
      transition: border-color 0.2s;
    }

    .login-input:focus {
      border-color: #667eea;
    }

    .login-btn {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border: none;
      border-radius: 10px;
      color: #fff;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .login-btn:hover {
      transform: translateY(-2px);
    }

    .login-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .login-error {
      color: #f44336;
      font-size: 13px;
      margin-top: 12px;
      display: none;
    }

    /* Map Sovereignty Labels */
    .map-label {
      font-size: 14px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.5);
      text-transform: uppercase;
      letter-spacing: 1px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
      white-space: nowrap;
      pointer-events: none !important;
    }

    /* Store Names on Zoom */
    .store-label-tooltip {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      color: #fff !important;
      font-weight: 600;
      font-size: 12px;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
      margin-top: -45px !important;
      opacity: 0 !important;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
    }

    .show-names .store-label-tooltip {
      opacity: 1 !important;
      visibility: visible;
    }

    /* Custom Popup -> Right Sidebar */
    .popup-overlay {
      display: none !important;
    }

    #custom-popup {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 400px;
      max-width: 100%;
      background: var(--popup-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-left: 1px solid var(--border-color);
      z-index: 9999;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
      box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      color: var(--text-color);
    }

    #custom-popup.open {
      transform: translateX(0);
    }

    /* View Container for Sliding */
    #popup-views {
      position: relative;
      flex: 1;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .view-section {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
      background: transparent;
    }

    /* List View (Default) */
    #view-list {
      z-index: 1;
      transform: translateX(0);
    }

    /* Detail View (Slides in) */
    #view-detail {
      z-index: 2;
      transform: translateX(100%);
      background: rgba(15, 20, 35, 0.95);
    }

    /* Animation State: Showing Details */
    #custom-popup.show-detail #view-list {
      transform: translateX(-30%);
      opacity: 0;
    }

    #custom-popup.show-detail #view-detail {
      transform: translateX(0);
    }

    /* Headers */
    .popup-header {
      padding: 24px;
      border-bottom: 1px solid var(--border-color);
      position: relative;
      flex-shrink: 0;
    }

    .popup-header h3 {
      font-size: 18px;
      margin-bottom: 6px;
      line-height: 1.4;
    }

    .popup-header .address {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.6);
      line-height: 1.5;
    }

    .popup-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 32px;
      height: 32px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: rgba(255, 255, 255, 0.8);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .popup-close:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    /* Back Button */
    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      margin-bottom: 12px;
      transition: color 0.2s;
      background: none;
      border: none;
      padding: 0;
    }

    .back-btn:hover {
      color: #fff;
    }

    .popup-tabs {
      display: flex;
      gap: 12px;
      padding: 0 24px;
      margin-top: 16px;
    }

    .popup-tab {
      padding: 10px 16px;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      transition: all 0.2s;
      flex: 1;
      text-align: center;
      white-space: nowrap;
      color: var(--text-color);
    }

    .popup-tab.active {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .popup-tab.violations.active {
      background: rgba(244, 67, 54, 0.15);
      border-color: rgba(244, 67, 54, 0.4);
      color: #ffa4a2;
    }

    .popup-tab.rewards.active {
      background: rgba(0, 255, 136, 0.15);
      border-color: rgba(0, 255, 136, 0.4);
      color: #69f0ae;
    }

    .popup-body {
      flex: 1;
      overflow-y: auto;
      padding: 24px;
    }

    .item-card {
      padding: 16px;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      margin-bottom: 12px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .item-card:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    .item-card .item-title {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .item-card .item-date {
      font-weight: 400;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.4);
    }

        /* Search Box */
    .sidebar-search {
      margin-bottom: 24px;
      position: relative;
    }

    .search-input {
      width: 100%;
      padding: 12px 16px;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      color: var(--text-color);
      font-size: 13px;
      outline: none;
      transition: all 0.2s;
    }

    .search-input:focus {
      background: rgba(255, 255, 255, 0.1);
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(15, 20, 35, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      margin-top: 8px;
      max-height: 250px;
      overflow-y: auto;
      z-index: 1001;
      display: none;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .search-results.active {
      display: block;
    }
/* CSS Part 2 */
.search-item {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-item .sub-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* News Ticker */
#news-ticker {
    position: absolute;
    top: 0;
    left: 280px;
    right: 240px;
    height: 40px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 998;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 60s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.ticker-item .highlight {
    color: #f44336;
    font-weight: 700;
    margin-right: 5px;
}

.ticker-item .date {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 5px;
    font-size: 11px;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* OM Stats Sidebar (Right) */
#om-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 220px;
    background: rgba(15, 20, 35, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.om-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.om-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.om-item:last-child {
    border-bottom: none;
}

.om-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.om-count {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* --- PORTAL STYLES --- */
/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-logo {
    height: 40px;
    margin-right: 40px;
}

.nav-items {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    color: #fcb900;
}

/* View Container (Reset) */
.view-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block !important;
    opacity: 1 !important;
}

.view-container.active {
    display: block;
    opacity: 1;
}

/* Home Section Styles */
#home-section {
    background: #0f1423;
    padding-top: 60px;
    min-height: 100vh;
}

.hero-section {
    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: var(--hero-bg, linear-gradient(135deg, rgba(29, 39, 85, 0.8) 0%, rgba(15, 20, 35, 0.95) 100%));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: background 0.5s ease;
}

/* ... Hero Decorations (Truncated for brevity, reusing vars) ... */
/* Assume Theme decorations logic handled by vars or minimal extra CSS */

.hero-logo {
    height: 80px;
    margin-bottom: 24px;
}

.hero-text {
    max-width: 800px;
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
    font-style: italic;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.hero-btn {
    background: #fcb900;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.hero-btn:hover {
    transform: scale(1.05);
}

.wall-grid {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 24px;
    position: relative;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #2a2a2a;
}

.news-content {
    padding: 20px;
}

.news-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fcb900;
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.5;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

/* Map Section Styles */
#map-section {
    width: 100%;
    height: 120vh;
    position: relative;
    border-top: 1px solid var(--border-color);
    max-width: 1400px;
    margin: 0 auto;
    border-right: 2px solid var(--border-color);
    border-left: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    box-sizing: border-box;

    /* FORCE DARK THEME VARIABLES WITHIN MAP */
    --bg-color: #0a0e27;
    --sidebar-bg: #151937;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.06);
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.15);
    --accent-color: #667eea;
    --header-bg: rgba(15, 20, 35, 0.7);
    --popup-bg: rgba(15, 20, 35, 0.95);
}

#report-section {
    background: var(--bg-color);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.report-box {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    background: #0a0e1a;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-bar {
        padding: 0 16px;
        height: 54px;
    }

    .nav-logo {
        height: 28px;
        margin-right: 16px;
    }

    .nav-items {
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 0;
        mask-image: linear-gradient(90deg, #000 90%, transparent);
    }

    .nav-item {
        font-size: 13px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    #home-section {
        padding-top: 54px;
    }

    .hero-section {
        padding: 40px 20px;
        text-align: left;
    }

    .wall-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .sidebar {
        transform: translateX(-100%);
        top: 0;
        bottom: 0;
        width: 85%;
        box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
        z-index: 10001;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    #map {
        left: 0 !important;
    }

    #news-ticker {
        left: 0 !important;
        right: 0 !important;
        top: 0;
    }

    #om-stats {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        top: 55px;
        left: 16px;
        z-index: 1002;
        background: #0f1423;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 8px 12px;
        border-radius: 8px;
        align-items: center;
        gap: 6px;
    }

    #custom-popup {
        width: 100%;
        top: 40%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        transform: translateY(100%);
    }

    #custom-popup.open {
        transform: translateY(0);
    }
}

.mobile-menu-btn {
    display: none;
}

#global-news-modal.active {
    display: flex !important;
    opacity: 1 !important;
}
