  :root {
    --bg: #050505; /* Deep Lukax Black */
    --surface: #0f0f0f;
    --surface2: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-bright: #ffffff;
    --accent: #3b82f6; /* Modern Electric Blue */
    --accent-red: #ef4444;
    --accent2: #f5a623;
    --accent3: #60a5fa;
    --green: #10b981;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --red: #ef4444;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --glass: blur(12px);
  }

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


  /* ── BRANDING HEADER ── */

  #logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -0.04em;
    color: #fff;
    display: block;
    line-height: 1;
  }
  #logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-top: 4px;
    display: block;
  }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: -0.01em;
  }

  a { color: var(--accent); text-decoration: none; transition: all 0.2s ease; }
  a:hover { color: #fff; text-decoration: none; opacity: 0.8; }

  /* ── BANNER & OVERLAY ── */
  .banner-container {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    overflow: hidden;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Ensure the whole image is visible without cropping */
  }

  .overlay-element {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 90%;
    max-width: 800px;
  }

  .overlay-element h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(20px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  .overlay-element p {
    font-size: clamp(12px, 1.5vw, 16px);
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  .overlay-element button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .overlay-element button:hover {
    background: var(--accent3);
    transform: scale(1.05);
  }

  /* ── SEARCH BAR POSITIONING ── */
  #search-wrap {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 22, 22, 0.85);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    padding: 3px 3px 3px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-bright);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }
  
  #search-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    background: var(--surface2);
  }
  #search-wrap.sticky { position: fixed !important; top: 12px; right: 16px; left: auto; width: auto; z-index: 1100; }
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 1100;
  }


  #search {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 6px 0;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    width: 200px;
    outline: none;
  }

  #clear-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
  }
  #clear-btn:hover { background: var(--accent-red); color: #fff; border-color: var(--accent-red); }

  /* ── NAV ── */
  #nav {
    background: rgba(15, 15, 15, 0.5);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    display: flex;
    gap: 4px;
    /* Removed overflow-x: auto to allow dropdowns to show */
    position: relative;
    z-index: 101;
  }

  #nav a, .dropbtn {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 10px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    display: block;
    transition: all 0.2s ease;
    text-decoration: none;
  }
  #nav a:hover, .dropdown:hover .dropbtn { color: #fff; border-bottom-color: var(--accent3); }
  #nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

  /* ── DROPDOWN ── */
  .dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
  }

  .dropdown-content {
    display: none;
    position: relative;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); /* Center under button */
    background: #0f0f0f;
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-md);
    padding: 12px;
    z-index: 9999;
    flex-direction: row;
    gap: 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.9);
    min-width: max-content;
    margin-top: 0;
  }

  /* Bridge to prevent menu closing when moving mouse to content */
  .dropdown-content::before {
    content: '';
    position: relative;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
  }

  /* Alignment helpers */
  .dropdown-content.align-left {
    left: 0;
    transform: none;
  }

  /* 5-Column Grid for Quick Hits */
  .dropdown-content.qh-grid {
    grid-template-columns: repeat(5, 1fr);
    min-width: 600px;
  }

  /* 10-Column Grid for Browse Categories */
  .dropdown-content.browse-grid {
    grid-template-columns: repeat(10, 1fr);
    min-width: 1100px;
    left: 0;
    transform: none;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
  }

  .dropdown:hover .dropdown-content.qh-grid,
  .dropdown:hover .dropdown-content.browse-grid {
    display: grid;
  }

  .dropdown-content a {
    padding: 12px 20px !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm);
    font-size: 13px !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
  }

  .dropdown-content a:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-2px);
  }

  .dropdown-content a {
    padding: 10px 16px !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm);
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent) !important;
  }

  .ad-banner {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
    text-align: center;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  /* ── TICKER ── */
  /* ── ROLLING TICKER ── */
  #news-ticker {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    height: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
  }
  #ticker-label {
    background: var(--accent);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
  }
  #ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
  }
  #ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
    will-change: transform;
  }
  #news-ticker:hover #ticker-track { animation-play-state: paused; }
  #ticker-track a {
    color: var(--text);
    font-size: 12px;
    text-decoration: none;
    padding: 0 28px 0 0;
    transition: color 0.15s;
  }
  #ticker-track a:hover { color: #fff; }
  #ticker-track .ticker-sep {
    color: var(--accent);
    padding-right: 28px;
    font-size: 10px;
    opacity: 0.6;
  }
  @keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ── STATUS TICKER (date bar) ── */
  #ticker {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    padding: 5px 16px;
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  #ticker strong { color: var(--accent2); font-weight: 600; }
  .ticker-item { display: flex; align-items: center; gap: 6px; }
  .live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

  /* ── QUICK HITS ── */
  #quick-hits {
    background: var(--surface);
    border-bottom: 2px solid var(--border-bright);
    padding: 10px 16px;
  }
  #quick-hits-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  #quick-hits-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  #qh-subtitle {
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    color: var(--text-dim);
    letter-spacing: 0;
  }
  #quick-hits-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0;
    margin-bottom: 4px;
  }
  #qh-defaults-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 8px 0 5px;
    border-top: 1px solid var(--border);
    padding-top: 8px;
  }
  #qh-defaults {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .quick-chip {
    background: var(--surface2);
    border: 1px solid var(--border-bright);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 3px;
    transition: all 0.15s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
  }
  .quick-chip:hover {
    background: var(--accent3);
    border-color: var(--accent3);
    color: #fff;
    text-decoration: none;
  }
  /* Pinned chip in My Quick Hits */
  .pinned-chip {
    background: rgba(232,52,26,0.15);
    border: 1px solid var(--accent);
    color: var(--text-bright);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px 5px 13px;
    border-radius: 3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .pinned-chip a {
    color: var(--text-bright);
    text-decoration: none;
  }
  .pinned-chip a:hover { color: var(--accent2); }
  .unpin-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 11px;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
  }
  .unpin-btn:hover { color: var(--accent); }
  /* Pin button on link items */
  .link-item { position: relative; }
  .pin-btn {
    display: none;
    position: relative;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-dim);
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.15s;
    line-height: 1;
  }
  .link-item:hover .pin-btn { display: inline-block; }
  .pin-btn:hover { color: var(--accent2); background: rgba(245,166,35,0.15); }
  .pin-btn.pinned { color: var(--accent2); display: inline-block; }

  /* ── FILTER CHIPS ── */
  #featured {
    padding: 8px 16px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }
  .feat-chip {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
  .feat-chip:hover, .feat-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  /* ── SECTION DIVIDER ── */
  .section-divider {
    padding: 16px 16px 6px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-divider-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
  }
  .section-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .section-divider.primary .section-divider-label { color: var(--text-bright); }
  .section-divider.primary .section-divider-line { background: var(--border-bright); }

  /* ── MOBILE OPTIMIZATIONS ── */
  @media (max-width: 768px) {
    #main-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
  }
    #logo-wrap { width: 100%; }
    #search-wrap { position: static; transform: none; width: 100%; margin: 12px 0 0; }
    #search-wrap.sticky { position: fixed !important; top: 12px; right: 16px; left: auto; width: auto; z-index: 1100;  position: fixed; top: 12px; left: 8px; right: 8px; width: auto; }
    #main-header { padding: 32px 16px 16px; }
    #logo-text { font-size: 26px; }
    #logo-sub { font-size: 10px; }
    #sticky-logo {
      width: 168px;
      height: 36px;
      top: 11px;
      left: 4px;
    }

    #search-wrap {
      position: fixed;
      top: 12px; /* Matched to desktop for consistency */
      right: 8px;
      left: 8px;
      width: auto;
      margin-left: 0;
      padding: 0 2px 0 8px;
      border-radius: var(--radius-sm);
      height: 34px;
      background: rgba(15, 15, 15, 0.95);
      z-index: 1100; /* Above everything */
      box-shadow: 0 4px 12px rgba(0,0,0,0.5);
      transition: left 0.3s ease;
    }
    /* When sticky logo is visible, push search bar right on mobile */
    body.sticky-active #search-wrap {
      left: 184px; /* Room for 168px logo + 4px left margin + 12px gap */
    }

    #search { width: 100%; font-size: 12px; }
    #clear-btn { padding: 4px 8px; font-size: 9px; }

    /* Fix Mobile Banner */
    .banner-container, .banner-image {
      height: auto !important;
      max-height: none !important;
      aspect-ratio: 640 / 272;
    }
    .banner-image {
      width: 100%;
      object-fit: contain;
    }


    #nav {
      padding: 0 16px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    #nav::-webkit-scrollbar { display: none; }

    .dropdown-content {
      position: fixed;
      top: auto;
      bottom: 0;
      left: 0;
      right: 0;
      transform: none;
      width: 100% !important;
      min-width: 100% !important;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      padding: 20px;
      grid-template-columns: repeat(2, 1fr) !important;
      max-height: 70vh;
      overflow-y: auto;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    }

    .dropdown-content.browse-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Prevent hover bridge issues on touch */
    .dropdown-content::before { display: none; }

    .grid { padding: 16px; gap: 16px; }
    
    .card-header { padding: 12px 14px; display: flex; align-items: center; gap: 8px; }
    .card-title { font-size: 13px; }
    
    .newsletter-signup { padding: 20px; }
    .newsletter-form { flex-direction: column; }
    
    #scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  }

  /* ── MAIN GRID ── */
  .grid {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
  }

  @media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 900px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .grid { grid-template-columns: 1fr; } }

  /* ── CARD ── */

  .card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
  }
  .card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }
  .card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-bright);
    margin: 0;
  }
  .card-links {
    padding: 12px 16px 20px;
    flex: 1;
  }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    /* Allow cards to span 1 row by default */
    grid-row: span 1;
  }
  
  /* Important or larger cards can span more rows if needed */
  .card:nth-child(even) { grid-row: span 1; } 

  /* ── ZONE DIVIDER ── */
  .zone-divider {
    grid-column: 1 / -1; /* Always take full width to group sections */
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0 8px;
    margin-top: 12px;
  }
  .zone-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-bright);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface2);
  }
  .zone-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border), transparent);
  }

  /* Card Colors */
  .card[data-color="red"]::before    { background: var(--accent-red); }
  .card[data-color="blue"]::before   { background: var(--accent); }
  .card[data-color="green"]::before  { background: var(--green); }
  .card[data-color="orange"]::before { background: var(--accent2); }
  .card[data-color="purple"]::before { background: var(--purple); }
  .card[data-color="teal"]::before   { background: var(--teal); }

  .icon-red    { color: var(--accent-red); }
  .icon-blue   { color: var(--accent); }
  .icon-green  { color: var(--green); }
  .icon-orange { color: var(--accent2); }
  .icon-purple { color: var(--purple); }
  .icon-teal   { color: var(--teal); }

  /* ── HIGHLIGHT ── */
  .highlight { background: rgba(248,166,35,.25); border-radius: 2px; padding: 0 1px; }

  /* ── NO RESULTS ── */
  #no-results {
    display: none;
    padding: 40px 16px;
    color: var(--text-dim);
    font-size: 14px;
    grid-column: 1/-1;
  }

  /* ── FOOTER ── */
  #footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    color: var(--text-dim);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    text-align: center;
    background: var(--surface);
  }

  .site-counter {
    margin-top: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .site-counter:hover {
    opacity: 1;
  }

  .newsletter-signup {
    padding: 32px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .newsletter-signup h4 {
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .newsletter-signup p {
    font-size: 14px;
    color: var(--text-dim);
  }
  .newsletter-form {
    display: flex;
    gap: 12px;
  }
  .newsletter-form input {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    font-size: 14px;
    border-radius: var(--radius-md);
    outline: none;
    flex: 1;
    transition: border-color 0.2s;
  }
  .newsletter-form input:focus { border-color: var(--accent); }
  .newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity 0.2s;
  }
  .newsletter-form button:hover { opacity: 0.9; }

  /* ── SCROLL TOP ── */
  #scroll-top {
    position: fixed;
    bottom: 32px; right: 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.2s;
  }
  #scroll-top:hover { transform: translateY(-4px); }
  #scroll-top.visible { display: flex; }

  /* ── ONBOARDING MODAL ── */
  #onboarding-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  #onboarding-overlay.visible { display: flex; }

  .onboarding-card {
    background: var(--surface2);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    padding: 32px;
    text-align: center;
    box-shadow: 0 32px 64px rgba(0,0,0,0.8);
  }

  .onboarding-card h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
  }

  .onboarding-card p {
    color: var(--text-dim);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
  }

  .interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .interest-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .interest-btn:hover { border-color: var(--accent); }
  .interest-btn.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  .save-prefs-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 0;
    width: 100%;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .save-prefs-btn:hover { transform: scale(1.02); background: var(--accent2); color: #fff; }

  /* ── SETTINGS BUTTON ── */
  #personalize-trigger {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.2s;
  }
  #personalize-trigger:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  /* ── STICKY LOGO ── */
#sticky-logo {
  position: fixed;
  top: 12px;
  left: 10px; /* Moved to 10px from left edge */
  height: 102px;
  width: 480px; /* Wider for full logo */
  z-index: 1001;
  background: transparent; /* Transparent background */
  border: none; /* No border for cleaner look */
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
#sticky-logo.visible {
  opacity: 1;
  pointer-events: auto;
}
#sticky-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure full logo is visible */
}
