    * { box-sizing: border-box; margin: 0; padding: 0; }
    :root{
      --bg:#141414; --muted:#bdbdbd; --accent:#e50914; --card:#2f3140;
      --glass: rgba(255,255,255,0.04);
    }

    body{
      font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background: linear-gradient(180deg, #0f0f0f 0%, #141414 60%);
      color:#fff;
      min-height:100vh;
      line-height:1.4;
      -webkit-font-smoothing:antialiased;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    /* Header */
    .site-header{
      position:fixed; top:0; left:0; right:0;
      background: rgba(0,0,0,0.45);
      border-bottom: 1px solid rgba(255,255,255,0.03);
      z-index:1000;
      backdrop-filter: blur(6px);
    }
    .header-inner{
      max-width:1400px; margin:0 auto; padding:12px 20px;
      display:flex; align-items:center; justify-content:space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .logo {
      background: #fff;
      border-radius: 8px;
      padding: 4px 12px;
      display: inline-block;
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    .logo img { height: 36px; display: block; }
    
    .primary-nav ul{ 
      list-style:none; 
      display:flex; 
      gap:22px; 
      align-items: center;
      flex-wrap: wrap;
    }
    .primary-nav a{
      text-decoration:none; 
      color:#fff; 
      font-weight:600; 
      opacity:0.95;
      transition: color .18s, transform .18s;
    }
    .primary-nav a:hover{ color:var(--accent); transform:translateY(-2px); }
    .primary-nav a.active { color: var(--accent); }

    /* Page Header */
    .page-header {
      margin-top: 72px;
      padding: 60px 50px 40px;
      background: linear-gradient(rgba(0,0,0,0.6), rgba(20,20,20,0.95));
    }

    .header-content {
      max-width: 1400px;
      margin: 0 auto;
    }

    .page-header h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 800;
      margin-bottom: 12px;
    }

    .page-header p {
      font-size: 18px;
      color: var(--muted);
      margin-bottom: 24px;
    }

    .list-stats {
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
    }

    .stat-item {
      display: flex;
      flex-direction: column;
    }

    .stat-number {
      font-size: 32px;
      font-weight: 800;
      color: var(--accent);
    }

    .stat-label {
      font-size: 14px;
      color: var(--muted);
    }

    /* Filter Bar */
    .filter-bar {
      padding: 24px 50px;
      background: rgba(0,0,0,0.3);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      position: sticky;
      top: 72px;
      z-index: 100;
      backdrop-filter: blur(10px);
    }

    .filter-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .filter-group {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .filter-btn {
      background: var(--glass);
      border: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      padding: 9px 18px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
      font-size: 14px;
      font-weight: 600;
    }

    .filter-btn:hover, .filter-btn.active {
      background: rgba(255,255,255,0.15);
      border-color: rgba(255,255,255,0.3);
      transform: translateY(-2px);
    }

    .filter-btn.active {
      background: var(--accent);
      border-color: var(--accent);
    }

    .sort-dropdown {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .sort-dropdown select {
      background: var(--glass);
      border: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      padding: 9px 14px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
    }

    .sort-dropdown select:hover {
      background: rgba(255,255,255,0.15);
    }

    /* Content Section */
    .content-section {
      padding: 40px 50px 80px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .view-toggle {
      display: flex;
      gap: 8px;
      margin-bottom: 24px;
    }

    .view-btn {
      background: var(--glass);
      border: 1px solid rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      padding: 10px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      transition: all 0.2s;
    }

    .view-btn.active {
      background: rgba(255,255,255,0.15);
      color: #fff;
      border-color: rgba(255,255,255,0.3);
    }

    /* Grid View */
    .list-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px;
    }

    .list-item {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s, box-shadow 0.3s;
      background: rgba(255,255,255,0.03);
    }

    .list-item:hover {
      transform: scale(1.05);
      box-shadow: 0 12px 32px rgba(0,0,0,0.7);
      z-index: 10;
    }

    .list-item img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
    }

    .item-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(transparent 50%, rgba(0,0,0,0.95));
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .list-item:hover .item-overlay {
      opacity: 1;
    }

    .item-actions {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      gap: 8px;
    }

    .action-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0,0,0,0.8);
      border: 2px solid rgba(255,255,255,0.5);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      font-size: 16px;
    }

    .action-btn:hover {
      background: rgba(255,255,255,0.2);
      border-color: #fff;
      transform: scale(1.1);
    }

    .action-btn.remove {
      background: var(--accent);
      border-color: var(--accent);
    }

    .action-btn.remove:hover {
      background: #c40812;
    }

    .item-info h3 {
      font-size: 18px;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .item-meta {
      display: flex;
      gap: 10px;
      align-items: center;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .match-score {
      color: #46d369;
      font-weight: 700;
    }

    .item-genres {
      font-size: 12px;
      color: rgba(255,255,255,0.7);
    }

    .added-date {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(0,0,0,0.8);
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 11px;
      color: var(--muted);
    }

    /* List View */
    .list-detailed {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .list-detailed .list-item {
      display: grid;
      grid-template-columns: 200px 1fr auto;
      gap: 20px;
      padding: 20px;
      background: rgba(255,255,255,0.05);
      border-radius: 10px;
      transition: all 0.3s;
    }

    .list-detailed .list-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    }

    .list-detailed .list-item img {
      width: 200px;
      height: 280px;
      border-radius: 6px;
    }

    .list-detailed .item-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .list-detailed .item-info h3 {
      font-size: 24px;
      margin-bottom: 12px;
    }

    .list-detailed .item-description {
      font-size: 15px;
      line-height: 1.6;
      color: rgba(255,255,255,0.85);
      margin-bottom: 16px;
    }

    .list-detailed .item-actions {
      position: static;
      display: flex;
      flex-direction: column;
      gap: 12px;
      justify-content: center;
    }

    .list-detailed .action-btn {
      width: 44px;
      height: 44px;
    }

    /* Empty State */
    .empty-state {
      text-align: center;
      padding: 80px 20px;
    }

    .empty-icon {
      font-size: 80px;
      margin-bottom: 24px;
      opacity: 0.3;
    }

    .empty-state h2 {
      font-size: 28px;
      margin-bottom: 12px;
    }

    .empty-state p {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 0;
      cursor: pointer;
      border-radius: 6px;
      padding: 14px 32px;
      font-weight: 700;
      font-size: 16px;
      transition: all 0.2s;
    }

    .btn.primary {
      background: var(--accent);
      color: #fff;
    }

    .btn.primary:hover {
      background: #c40812;
      transform: scale(1.05);
    }

    /* Modal */
    .content-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.92);
      z-index: 2000;
      overflow-y: auto;
      padding: 40px 20px;
    }

    .content-modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      background: #181818;
      border-radius: 10px;
      max-width: 920px;
      width: 100%;
      position: relative;
      animation: slideUp 0.4s ease-out;
      box-shadow: 0 8px 32px rgba(0,0,0,0.8);
    }

    @keyframes slideUp {
      from { transform: translateY(60px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .close-modal {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(24,24,24,0.9);
      border: none;
      font-size: 32px;
      color: #fff;
      cursor: pointer;
      z-index: 10;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .close-modal:hover {
      background: rgba(42,42,42,0.95);
    }

    .modal-hero {
      position: relative;
      height: 450px;
      overflow: hidden;
    }

    .modal-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 65%;
      background: linear-gradient(to top, #181818, transparent);
    }

    .modal-hero-content {
      position: absolute;
      bottom: 50px;
      left: 48px;
      right: 48px;
      z-index: 2;
    }

    .modal-title {
      font-size: 42px;
      font-weight: 800;
      margin-bottom: 18px;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
    }

    .modal-buttons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn.secondary {
      background: rgba(109,109,110,0.7);
      color: #fff;
    }

    .btn.secondary:hover {
      background: rgba(109,109,110,0.9);
    }

    .modal-body {
      padding: 36px 48px 48px;
    }

    .modal-info-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .modal-description {
      font-size: 16px;
      line-height: 1.6;
      color: rgba(255,255,255,0.9);
      margin-bottom: 20px;
    }

    .modal-meta-info {
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 14px;
    }

    .meta-row {
      display: flex;
      gap: 8px;
    }

    .meta-label {
      color: #777;
      min-width: 80px;
    }

    .meta-value {
      color: #fff;
    }

    .modal-genres {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 16px;
    }

    .genre-tag {
      background: rgba(255,255,255,0.1);
      padding: 6px 14px;
      border-radius: 16px;
      font-size: 13px;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: rgba(0,0,0,0.95);
      color: #fff;
      padding: 16px 24px;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
      z-index: 3000;
      opacity: 0;
      transition: all 0.3s;
      font-size: 15px;
      font-weight: 600;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .list-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    }

    @media (max-width: 768px) {
      .page-header { padding: 50px 20px 30px; }
      .filter-bar { padding: 16px 20px; top: 60px; }
      .content-section { padding: 24px 20px 60px; }
      .list-grid { 
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
        gap: 16px;
      }
      .list-item img { height: 240px; }
      .list-detailed .list-item {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .list-detailed .list-item img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }
      .list-detailed .item-actions {
        flex-direction: row;
        justify-content: center;
      }
      .modal-body { padding: 24px; }
      .modal-hero { height: 350px; }
      .modal-hero-content { left: 24px; right: 24px; }
      .modal-title { font-size: 28px; }
      .modal-info-grid { grid-template-columns: 1fr; gap: 24px; }
    }

    @media (max-width: 480px) {
      .page-header h1 { font-size: 2rem; }
      .list-stats { gap: 20px; }
      .stat-number { font-size: 24px; }
      .list-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .list-item img { height: 200px; }
      .filter-group { width: 100%; }
      .filter-btn { flex: 1; padding: 8px 12px; font-size: 13px; }
    }
