  
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

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

    :root {
      --purple-950: #0a0012;
      --purple-900: #0d0015;
      --purple-800: #1a0028;
      --purple-700: #2d0040;
      --purple-600: #4a0066;
      --purple-500: #7b00a8;
      --purple-400: #a855f7;
      --purple-300: #c084fc;
      --purple-200: #d8b4fe;
      --accent: #f59e0b;
      --accent-hover: #fbbf24;
      --text: #f1f5f9;
      --text-light: #cbd5e1;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --green: #22c55e;
      --blue: #3b82f6;
      --orange: #f97316;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--purple-950);
      color: var(--text);
      min-height: 100vh;
    }

    header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(10, 0, 18, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    }

    nav {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
      display: flex;
      align-items: center;
      height: 64px;
      gap: 1rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      color: var(--text);
      font-weight: 800;
      font-size: 1.25rem;
      letter-spacing: 1px;
    }

    .logo img {
      width: 36px;
      height: 36px;
      border-radius: 6px;
      filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
    }

    .nav-links { display: flex; gap: 0.25rem; margin-left: 2rem; }

    .nav-links a {
      color: var(--text-light);
      text-decoration: none;
      padding: 0.5rem 0.75rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      transition: all 0.2s;
    }

    .nav-links a:hover { color: white; background: rgba(168, 85, 247, 0.1); }

    .nav-right {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .nav-right input {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(168, 85, 247, 0.2);
      border-radius: 6px;
      padding: 0.4rem 0.75rem;
      color: var(--text);
      font-size: 0.8rem;
      outline: none;
      width: 180px;
    }

    .nav-right input:focus { border-color: var(--purple-500); }
    .nav-right input::placeholder { color: var(--text-dim); }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 1.25rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.85rem;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: all 0.2s;
    }

    .btn-primary { background: var(--purple-600); color: white; }
    .btn-primary:hover {
      background: var(--purple-500);
      transform: translateY(-1px);
      box-shadow: 0 4px 20px rgba(122, 0, 168, 0.4);
    }

    .btn-accent { background: var(--accent); color: #0a0012; }
    .btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

    .btn-outline {
      background: transparent;
      border: 1px solid rgba(168, 85, 247, 0.4);
      color: var(--purple-200);
    }
    .btn-outline:hover { border-color: var(--purple-400); background: rgba(168, 85, 247, 0.1); color: white; }

    .btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
    .btn-sm { padding: 0.35rem 0.9rem; font-size: 0.8rem; }
    .btn-block { width: 100%; justify-content: center; }

    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: url('../background.jpg') no-repeat center center/cover;
      filter: brightness(0.2) saturate(1.3);
      z-index: 0;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        rgba(10,0,18,0.3) 0%,
        rgba(26,0,40,0.6) 50%,
        rgba(10,0,18,0.95) 100%
      );
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
      text-align: center;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--purple-200), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1rem;
    }

    .hero-content .subtitle {
      font-size: 1.2rem;
      color: var(--text-light);
      font-weight: 400;
      max-width: 720px;
      margin: 0 auto 2rem;
      line-height: 1.7;
    }

    .hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

    .section-dark {
      background: rgba(168, 85, 247, 0.02);
      border-top: 1px solid rgba(168, 85, 247, 0.06);
      border-bottom: 1px solid rgba(168, 85, 247, 0.06);
    }

    .section-flame {
      background: linear-gradient(180deg, rgba(245,158,11,0.03), rgba(168,85,247,0.03));
      border-top: 1px solid rgba(245,158,11,0.1);
      border-bottom: 1px solid rgba(245,158,11,0.1);
    }

    section { padding: 5rem 2rem; }
    .section-inner { max-width: 1200px; margin: 0 auto; }

    .section-title { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
    .section-title span {
      background: linear-gradient(135deg, var(--purple-200), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .section-sub {
      text-align: center;
      color: var(--text-light);
      font-size: 1rem;
      margin-bottom: 3rem;
      font-weight: 400;
    }

    .divider {
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, var(--purple-500), var(--accent));
      margin: 0.5rem auto 2rem;
      border-radius: 2px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(168, 85, 247, 0.1);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: all 0.3s;
    }

    .card:hover {
      border-color: var(--purple-500);
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(122, 0, 168, 0.2);
    }

    .card-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
    .card h3 { margin-bottom: 0.75rem; color: var(--purple-200); }
    .card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

    .distro-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .distro-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(168, 85, 247, 0.1);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: all 0.3s;
    }

    .distro-card:hover { border-color: var(--accent); transform: translateY(-4px); }

    .distro-card .distro-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 0.5rem;
    }
    .distro-card .distro-head svg { width: 40px; height: 40px; }
    .distro-card h3 { margin-bottom: 0.25rem; }
    .distro-card .pkg-info { color: var(--text-light); font-size: 0.85rem; margin-bottom: 1.25rem; }

    .code-block {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
      background: rgba(0,0,0,0.4);
      border: 1px solid rgba(168,85,247,0.15);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      margin-bottom: 1.25rem;
      text-align: left;
      color: var(--purple-200);
      user-select: all;
      overflow-x: auto;
    }

    .proton-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }

    .proton-item {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(168, 85, 247, 0.08);
      border-radius: 10px;
      padding: 1.25rem;
      text-align: center;
      transition: all 0.2s;
    }

    .proton-item:hover { border-color: rgba(168, 85, 247, 0.3); }

    .proton-item .tier {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.5rem;
    }

    .tier-gold { color: #fbbf24; }
    .tier-silver { color: #cbd5e1; }
    .tier-bronze { color: #d97706; }
    .tier-exp { color: var(--purple-400); }

    .proton-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--text); }
    .proton-item p { font-size: 0.75rem; color: var(--text-light); }

    .update-list { display: flex; flex-direction: column; gap: 0.75rem; }

    .update-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.5rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(168, 85, 247, 0.08);
      border-radius: 10px;
      transition: all 0.2s;
    }

    .update-item:hover { border-color: rgba(168, 85, 247, 0.3); }

    .update-date {
      color: var(--purple-400);
      font-weight: 600;
      font-size: 0.85rem;
      min-width: 90px;
    }

    .update-info { flex: 1; }
    .update-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--text); }
    .update-info p { font-size: 0.8rem; color: var(--text-light); }

    .update-tag {
      background: var(--purple-700);
      color: var(--purple-200);
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .about-content { max-width: 800px; margin: 0 auto; text-align: center; }
    .about-content p { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }

    .about-stats {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin-top: 3rem;
      flex-wrap: wrap;
    }

    .stat { text-align: center; }
    .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
    .stat-label { color: var(--text-light); font-size: 0.85rem; }

    .install-script {
      max-width: 650px;
      margin: 2rem auto 0;
    }

    .install-script .code-block {
      font-size: 0.9rem;
      padding: 1rem 1.25rem;
      text-align: center;
      background: rgba(0,0,0,0.5);
      border-color: var(--accent);
    }

    .methodology {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .method-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(168,85,247,0.08);
      border-radius: 10px;
      padding: 1.5rem;
      text-align: center;
    }

    .method-card .pct { font-size: 2rem; font-weight: 800; color: var(--accent); }
    .method-card .label { font-size: 0.85rem; color: var(--text-light); }
    .method-card .desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

    .mod-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.5rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(168, 85, 247, 0.08);
      border-radius: 10px;
      transition: all 0.2s;
    }

    .mod-item:hover { border-color: rgba(168, 85, 247, 0.3); }
    .mod-item .game-icon { font-size: 1.5rem; }
    .mod-item .mod-info { flex: 1; }
    .mod-item .mod-info h4 { font-size: 0.95rem; color: var(--text); }
    .mod-item .mod-info p { font-size: 0.8rem; color: var(--text-light); }
    .mod-item .extender {
      background: var(--purple-700);
      color: var(--purple-200);
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    footer {
      border-top: 1px solid rgba(168, 85, 247, 0.1);
      padding: 3rem 2rem;
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }

    .footer-links a { color: var(--text-light); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
    .footer-links a:hover { color: var(--purple-200); }
    .footer-copy { color: var(--text-dim); font-size: 0.8rem; }

    .games-page {
      padding-top: 80px;
      min-height: 100vh;
    }

    .games-page section {
      padding: 2rem 2rem 5rem;
    }

    .games-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .games-toolbar .search-wrap {
      flex: 1;
      min-width: 200px;
      position: relative;
    }

    .games-toolbar .search-wrap input {
      width: 100%;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(168,85,247,0.2);
      border-radius: 8px;
      padding: 0.6rem 1rem 0.6rem 2.5rem;
      color: var(--text);
      font-size: 0.9rem;
      outline: none;
    }

    .games-toolbar .search-wrap input:focus {
      border-color: var(--purple-500);
    }

    .games-toolbar .search-wrap .search-icon {
      position: absolute;
      left: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-dim);
      font-size: 1rem;
    }

    .games-toolbar select {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(168,85,247,0.2);
      border-radius: 8px;
      padding: 0.55rem 0.75rem;
      color: var(--text-light);
      font-size: 0.85rem;
      outline: none;
      cursor: pointer;
    }

    .games-toolbar select:focus {
      border-color: var(--purple-500);
    }

    .games-toolbar .game-count {
      color: var(--text-muted);
      font-size: 0.85rem;
      white-space: nowrap;
    }

    .letter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 2px;
      margin-bottom: 1.5rem;
    }

    .letter-bar button {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(168,85,247,0.08);
      border-radius: 4px;
      padding: 0.3rem 0.5rem;
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
      min-width: 28px;
      text-align: center;
    }

    .letter-bar button:hover {
      background: rgba(168,85,247,0.1);
      color: var(--text-light);
    }

    .letter-bar button.active {
      background: var(--purple-600);
      border-color: var(--purple-500);
      color: white;
    }

    .letter-bar button.loading {
      opacity: 0.5;
      pointer-events: none;
    }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 1rem;
    }

    .game-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(168,85,247,0.08);
      border-radius: 10px;
      overflow: hidden;
      transition: all 0.25s;
      cursor: pointer;
      position: relative;
    }

    .game-card:hover {
      border-color: var(--purple-500);
      transform: translateY(-3px);
      box-shadow: 0 6px 24px rgba(122,0,168,0.2);
    }

    .game-card .cover {
      width: 100%;
      aspect-ratio: 460/215;
      object-fit: cover;
      display: block;
      background: linear-gradient(135deg, var(--purple-900), var(--purple-800));
    }

    .game-card .cover-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 460/215;
      overflow: hidden;
    }

    .game-card .cover-wrap .cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .game-card .cover-wrap .cover-badges {
      position: absolute;
      right: 6px;
      bottom: 6px;
      display: flex;
      gap: 4px;
      pointer-events: none;
    }

    .game-card .cover-wrap .cover-tier {
      font-size: 0.55rem;
      font-weight: 700;
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    }

    .game-card .cover-wrap .cover-proton {
      font-size: 0.55rem;
      font-weight: 700;
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      background: rgba(0,0,0,0.6);
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    }

    .game-card .cover-placeholder {
      width: 100%;
      aspect-ratio: 460/215;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--purple-900), var(--purple-800));
      color: var(--purple-400);
      font-size: 2rem;
      font-weight: 700;
    }

    .game-card .card-body {
      padding: 0.75rem;
    }

    .game-card .card-title {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.25rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.3;
    }

    .game-card .card-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .game-card .card-meta .year {
      color: var(--text-dim);
    }

    .game-card .card-meta .badge-steam {
      background: rgba(59,130,246,0.15);
      color: var(--blue);
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      font-size: 0.65rem;
      font-weight: 700;
    }

    .game-card .card-meta .badge-custom {
      background: rgba(168,85,247,0.15);
      color: var(--purple-300);
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      font-size: 0.65rem;
      font-weight: 700;
    }

    .game-card .card-genres {
      display: flex;
      flex-wrap: wrap;
      gap: 0.25rem;
      margin-top: 0.35rem;
    }

    .game-card .card-genres span {
      font-size: 0.65rem;
      color: var(--text-dim);
      background: rgba(255,255,255,0.04);
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
    }

    .game-card .proton-dot {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid rgba(0,0,0,0.4);
    }

    .proton-high { background: var(--green); }
    .proton-medium { background: var(--accent); }
    .proton-low { background: var(--orange); }

    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    .pagination button {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(168,85,247,0.1);
      border-radius: 6px;
      padding: 0.4rem 0.75rem;
      color: var(--text-light);
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.15s;
    }

    .pagination button:hover {
      background: rgba(168,85,247,0.1);
      border-color: var(--purple-400);
    }

    .pagination button:disabled {
      opacity: 0.3;
      cursor: default;
    }

    .pagination button.active {
      background: var(--purple-600);
      border-color: var(--purple-500);
      color: white;
    }

    .pagination .page-info {
      color: var(--text-muted);
      font-size: 0.8rem;
      padding: 0 0.5rem;
    }

    .games-loading {
      text-align: center;
      padding: 3rem;
      color: var(--text-muted);
    }

    .games-loading .spinner {
      width: 32px;
      height: 32px;
      border: 3px solid rgba(168,85,247,0.1);
      border-top-color: var(--purple-400);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 1rem;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .game-detail-modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(0,0,0,0.8);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .game-detail-modal .modal-content {
      background: var(--purple-900);
      border: 1px solid rgba(168,85,247,0.15);
      border-radius: 16px;
      max-width: 720px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 2rem;
      position: relative;
    }

    .game-detail-modal .modal-close {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background: rgba(255,255,255,0.05);
      border: none;
      color: var(--text-muted);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .game-detail-modal .modal-close:hover {
      background: rgba(255,255,255,0.1);
      color: white;
    }

    .game-detail-modal .detail-cover {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 1rem;
    }

    .game-detail-modal .detail-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .game-detail-modal .detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      color: var(--text-light);
      font-size: 0.85rem;
      margin-bottom: 1rem;
    }

    .game-detail-modal .detail-desc {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.7;
      margin-bottom: 1rem;
    }

    .game-detail-modal .detail-section {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(168,85,247,0.1);
    }

    .game-detail-modal .detail-section h4 {
      color: var(--purple-200);
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
    }

    .game-detail-modal .detail-section p {
      color: var(--text-light);
      font-size: 0.8rem;
    }

    .shop-toggle {
      display: flex;
      gap: 0.25rem;
      background: rgba(255,255,255,0.03);
      border-radius: 8px;
      padding: 2px;
    }

    .shop-toggle button {
      background: transparent;
      border: none;
      padding: 0.4rem 0.65rem;
      border-radius: 6px;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
    }

    .shop-toggle button:hover { color: var(--text-light); }

    .shop-toggle button.active {
      background: rgba(168,85,247,0.15);
      color: var(--purple-200);
    }

    .game-card .card-developer {
      font-size: 0.7rem;
      color: var(--text-dim);
      margin-top: 0.2rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .game-card .card-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-top: 0.4rem;
    }

    .game-card .tier-badge {
      font-size: 0.6rem;
      font-weight: 700;
      padding: 0.08rem 0.35rem;
      border-radius: 3px;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }

    .game-card .proton-tag {
      font-size: 0.6rem;
      font-weight: 700;
      padding: 0.08rem 0.35rem;
      border-radius: 3px;
      color: #fff;
    }

    .game-card .proton-tag.proton-high { background: var(--green); }
    .game-card .proton-tag.proton-medium { background: var(--accent); }
    .game-card .proton-tag.proton-low { background: var(--orange); }

    .game-card .card-sources {
      display: flex;
      flex-wrap: wrap;
      gap: 0.2rem;
      margin-top: 0.35rem;
    }

    .game-card .source-badge {
      font-size: 0.55rem;
      color: var(--text-dim);
      background: rgba(168,85,247,0.08);
      border: 1px solid rgba(168,85,247,0.1);
      padding: 0.05rem 0.3rem;
      border-radius: 3px;
      font-weight: 600;
    }

    .game-card .source-badge.source-more {
      background: rgba(255,255,255,0.03);
      border-color: rgba(255,255,255,0.05);
    }

    .detail-sources {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.25rem;
    }

    .detail-sources .source-badge {
      font-size: 0.75rem;
      color: var(--text-light);
      background: rgba(168,85,247,0.1);
      border: 1px solid rgba(168,85,247,0.15);
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
    }

    .game-detail-modal .detail-meta .tier-badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 0.1rem 0.45rem;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      align-self: center;
    }

    /* Game Detail Page */
    .game-detail-page {
      min-height: 100vh;
    }

    .detail-hero {
      position: relative;
      overflow: hidden;
      min-height: 320px;
      display: flex;
      align-items: flex-end;
    }

    .detail-hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: blur(20px) brightness(0.3);
      transform: scale(1.1);
    }

    .detail-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(13,0,21,0.3) 0%, var(--purple-900) 100%);
    }

    .detail-hero-content {
      position: relative;
      z-index: 1;
      display: flex;
      gap: 2rem;
      padding: 2rem 0;
      align-items: flex-end;
    }

    .detail-hero-cover {
      width: 200px;
      flex-shrink: 0;
    }

    .detail-hero-cover img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.5);
      display: block;
    }

    .detail-hero-cover .cover-placeholder {
      width: 200px;
      height: 94px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--purple-800), var(--purple-700));
      color: var(--purple-400);
      font-size: 2rem;
      font-weight: 700;
      border-radius: 10px;
    }

    .detail-hero-title {
      font-size: 1.8rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      line-height: 1.2;
    }

    .detail-hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .meta-chip {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.08);
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      font-size: 0.78rem;
      color: var(--text-light);
    }

    .detail-hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
    }

    .tier-badge-lg {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .proton-tag-lg {
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
      color: #fff;
    }

    .proton-tag-lg.proton-high { background: var(--green); }
    .proton-tag-lg.proton-medium { background: var(--accent); }
    .proton-tag-lg.proton-low { background: var(--orange); }

    .detail-body {
      padding-top: 0;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 2rem;
      align-items: start;
    }

    .detail-section-block {
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 12px;
    }

    .detail-section-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--purple-200);
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid rgba(168,85,247,0.1);
    }

    .detail-desc-text {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.7;
    }

    .detail-screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 0.75rem;
    }

    .ss-item {
      border-radius: 8px;
      overflow: hidden;
      aspect-ratio: 16/9;
      background: rgba(255,255,255,0.03);
    }

    .ss-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.2s;
    }

    .ss-item img:hover { transform: scale(1.05); }

    .ss-item.ss-more {
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 1.2rem;
      font-weight: 700;
      background: rgba(168,85,247,0.05);
      border: 1px dashed rgba(168,85,247,0.15);
    }

    .detail-download-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .dl-item {
      padding: 0.5rem 1rem;
      background: rgba(168,85,247,0.08);
      border: 1px solid rgba(168,85,247,0.12);
      border-radius: 8px;
      font-size: 0.85rem;
      color: var(--text-light);
      cursor: pointer;
      transition: all 0.15s;
    }

    .dl-item:hover {
      background: rgba(168,85,247,0.15);
      border-color: var(--purple-400);
    }

    .detail-req-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .req-card {
      padding: 1rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 8px;
    }

    .req-card h4 {
      color: var(--purple-200);
      font-size: 0.8rem;
      margin-bottom: 0.5rem;
    }

    .req-card p {
      color: var(--text-light);
      font-size: 0.78rem;
      line-height: 1.6;
      white-space: pre-line;
    }

    .detail-sidebar {
      position: sticky;
      top: 100px;
    }

    .sidebar-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 12px;
      padding: 1.25rem;
      margin-bottom: 1rem;
    }

    .sidebar-card h4 {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--purple-200);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .sidebar-card dl {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.35rem 0.75rem;
      font-size: 0.78rem;
    }

    .sidebar-card dt {
      color: var(--text-dim);
      font-weight: 600;
    }

    .sidebar-card dd {
      color: var(--text-light);
      text-align: right;
    }

    .sidebar-card .source-badge {
      display: inline-block;
      font-size: 0.7rem;
      padding: 0.15rem 0.4rem;
      margin: 0.15rem;
    }

    .detail-loading {
      text-align: center;
      padding: 4rem 2rem;
    }

    .detail-loading .spinner {
      width: 32px;
      height: 32px;
      border: 3px solid rgba(168,85,247,0.1);
      border-top-color: var(--purple-400);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 1rem;
    }

    .detail-error {
      text-align: center;
      padding: 4rem 2rem;
    }

    .detail-error p {
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 1rem;
    }

    .detail-install-bottom {
      text-align: center;
      padding: 1.5rem 0;
    }

    .detail-install-bottom .install-desc {
      color: var(--purple-300);
      font-size: 0.9rem;
      margin-bottom: 1.2rem;
      line-height: 1.5;
    }

    .install-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    .install-btn {
      font-size: 1rem;
      padding: 0.75rem 2rem;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      display: inline-block;
      transition: all 0.2s;
    }

    .install-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 20px rgba(168,85,247,0.3);
    }

    .carousel {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      background: rgba(0,0,0,0.3);
    }

    .carousel-inner {
      display: flex;
      transition: transform 0.5s ease;
    }

    .carousel-slide {
      min-width: 100%;
      aspect-ratio: 16/9;
    }

    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      border: none;
      color: #fff;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
      z-index: 2;
    }

    .carousel-btn:hover { background: rgba(0,0,0,0.8); }

    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }

    .carousel-dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
      z-index: 2;
    }

    .carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: background 0.2s;
    }

    .carousel-dot.active {
      background: #fff;
    }

    /* === Catalogue (App-style list + filters) === */
    .catalogue {
      padding: 2rem max(1rem, calc((100vw - 1200px) / 2));
    }
    .catalogue__header {
      margin-bottom: 1.5rem;
    }
    .catalogue__content {
      display: grid;
      grid-template-columns: minmax(0, 1fr) clamp(280px, 22vw, 360px);
      gap: 1.5rem;
      align-items: start;
    }
    .catalogue__games-container {
      min-height: 400px;
    }
    .catalogue__filters-container {
      position: sticky;
      top: 80px;
    }

    /* Active filter pills */
    .catalogue__active-filters {
      margin-bottom: 0.75rem;
    }
    .active-filters-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      align-items: center;
    }
    .active-filter-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 999px;
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      color: var(--text);
    }
    .pill-orb {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }
    .pill-remove {
      cursor: pointer;
      opacity: 0.5;
      font-size: 0.65rem;
      line-height: 1;
    }
    .pill-remove:hover { opacity: 1; }
    .clear-filters-btn {
      background: none;
      border: none;
      color: var(--accent);
      font-size: 0.75rem;
      cursor: pointer;
      padding: 0.2rem 0.5rem;
    }
    .clear-filters-btn:hover { text-decoration: underline; }

    /* Game list (vertical items) */
    .game-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .game-item {
      display: flex;
      align-items: center;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
      min-height: 103px;
    }
    .game-item:hover {
      border-color: rgba(255,255,255,0.15);
      box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
    .game-item__cover-wrapper {
      width: 200px;
      min-width: 200px;
      height: 103px;
      overflow: hidden;
      flex-shrink: 0;
      border-right: 1px solid rgba(255,255,255,0.06);
      background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .game-item__cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .game-item__cover-wrapper.cover-failed .game-item__cover { display: none; }
    .game-item__cover-placeholder {
      font-size: 1.5rem;
      color: var(--text-muted);
      opacity: 0.4;
    }
    .game-item__details {
      flex: 1;
      padding: 0.75rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      min-width: 0;
    }
    .game-item__title {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .game-item__meta {
      display: flex;
      gap: 0.75rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .game-item__genres {
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .game-item__developer {
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .game-item__badges {
      display: flex;
      gap: 0.4rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .game-item__sources {
      display: flex;
      gap: 0.25rem;
      flex-wrap: wrap;
    }
    .game-item__plus {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: none;
      background: rgba(0,0,0,0.4);
      backdrop-filter: blur(8px);
      color: #fff;
      font-size: 1.1rem;
      cursor: pointer;
      opacity: 0;
      transition: opacity 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      z-index: 2;
    }
    .game-item:hover .game-item__plus { opacity: 1; }
    .game-item__plus:hover {
      background: var(--accent);
      color: #fff;
    }

    /* Source badges */
    .source-badge {
      display: inline-block;
      font-size: 0.65rem;
      padding: 1px 5px;
      border-radius: 3px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      color: var(--text-muted);
    }
    .source-badge.source-more {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
    }

    /* Filter sidebar */
    .filter-section {
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 10px;
      background: rgba(255,255,255,0.02);
      margin-bottom: 0.75rem;
      overflow: hidden;
    }
    .filter-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.65rem 0.75rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      user-select: none;
    }
    .filter-header:hover { background: rgba(255,255,255,0.03); }
    .filter-orb {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .filter-chevron {
      margin-left: auto;
      font-size: 0.6rem;
      opacity: 0.5;
      transition: transform 0.2s;
    }
    .filter-header.collapsed .filter-chevron { transform: rotate(-90deg); }
    .filter-body {
      padding: 0 0.75rem 0.75rem;
      max-height: 300px;
      overflow-y: auto;
    }
    .filter-search-input {
      width: 100%;
      padding: 0.5rem 0.65rem;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      color: var(--text);
      font-size: 0.8rem;
      outline: none;
      box-sizing: border-box;
    }
    .filter-search-input:focus { border-color: var(--accent); }
    .filter-search-input::placeholder { color: var(--text-muted); }

    .filter-checkbox, .filter-radio {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0;
      font-size: 0.75rem;
      color: var(--text);
      cursor: pointer;
    }
    .filter-checkbox input, .filter-radio input {
      accent-color: var(--accent);
    }
    .filter-checkbox span, .filter-radio span { flex: 1; }
    .filter-count {
      color: var(--text-muted);
      font-size: 0.65rem;
      flex-shrink: 0;
    }

    /* Year range */
    .year-range {
      padding: 0.5rem 0;
    }
    .year-slider {
      width: 100%;
      accent-color: var(--accent);
    }
    .year-labels {
      display: flex;
      justify-content: space-between;
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-top: 0.25rem;
    }

    /* Pagination (app-style) */
    .catalogue__pagination {
      margin-top: 1.5rem;
    }
    .pagination-inner {
      display: flex;
      align-items: center;
      gap: 0.25rem;
      flex-wrap: wrap;
    }
    .page-btn {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      background: rgba(255,255,255,0.03);
      color: var(--text);
      font-size: 0.8rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s;
    }
    .page-btn:hover { background: rgba(255,255,255,0.08); }
    .page-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .page-btn:disabled { opacity: 0.3; cursor: default; }
    .page-ellipsis {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: var(--text-muted);
      cursor: pointer;
      border-radius: 8px;
    }
    .page-ellipsis:hover { background: rgba(255,255,255,0.05); }
    .page-jump-input {
      width: 48px;
      height: 36px;
      border: 1px solid var(--accent);
      border-radius: 8px;
      background: rgba(0,0,0,0.3);
      color: var(--text);
      text-align: center;
      font-size: 0.8rem;
      outline: none;
    }
    .page-info {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-left: 0.5rem;
      white-space: nowrap;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .catalogue__content {
        grid-template-columns: 1fr;
      }
      .catalogue__filters-container {
        position: static;
        order: -1;
      }
      .game-item__cover-wrapper {
        width: 140px;
        min-width: 140px;
        height: 78px;
      }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-right input { width: 120px; }
      .hero-content h1 { font-size: 2rem; }
      section { padding: 3rem 1rem; }
      .about-stats { gap: 1.5rem; }
      .update-date { min-width: 70px; font-size: 0.75rem; }
      .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
      }
      .games-toolbar {
        flex-direction: column;
        align-items: stretch;
      }
      .letter-bar button {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
        min-width: 24px;
      }
      .game-detail-modal {
        padding: 1rem;
      }
      .game-detail-modal .modal-content {
        padding: 1.25rem;
      }
      .detail-layout {
        grid-template-columns: 1fr;
      }
      .detail-hero-content {
        flex-direction: column;
        align-items: flex-start;
      }
      .detail-hero-cover {
        width: 140px;
      }
      .detail-hero-title {
        font-size: 1.3rem;
      }
      .detail-req-grid {
        grid-template-columns: 1fr;
      }
      .detail-screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      }
    }
  
