/* Games hub page — games.pug */

/* ── Hub Layout ── */
.games-hub { padding: 2rem 0 4rem; }

/* ── Hero ── */
.games-hero { text-align: center; padding: 3rem 0 2.5rem; }
.games-hero h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; color: #f0eeff; margin-bottom: 0.5rem; }
.games-hero h1 em { font-style: normal; color: #ff3afd; }
.games-hero h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; color: white; }
.games-hero p { font-size: 1.05rem; color: var(--g-light-75); max-width: 580px; margin: 0 auto 2rem; }
.hero-stats { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.75rem; padding: 0.9rem 1.5rem; text-align: center; min-width: 120px; }
.hero-stat-value { font-size: 1.6rem; font-weight: 800; display: block; color: #ff3afd; }
.hero-stat-label { font-size: 0.8rem; color: var(--g-light-50, rgba(255,255,255,0.5)); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Search Box ── */
.hero-search-wrap { position: relative; max-width: 560px; margin: 0 auto; }
.hero-search-input { width: 100%; padding: 0.85rem 1.1rem 0.85rem 3rem; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: white; font-size: 1rem; outline: none; transition: border-color 0.18s, background 0.18s; }
.hero-search-input::placeholder { color: rgba(255,255,255,0.35); }
.hero-search-input:focus { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.09); }
.hero-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1rem; pointer-events: none; opacity: 0.45; }

/* ── Search Dropdown ── */
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #1a1a2e; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.75rem; overflow: hidden; z-index: 999; box-shadow: 0 12px 40px rgba(0,0,0,0.6); display: none; }
.search-dropdown.visible { display: block; }
.search-result { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.85rem; text-decoration: none; color: white; transition: background 0.15s; border-bottom: 1px solid rgba(255,255,255,0.05); }
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.active { background: rgba(255,255,255,0.07); }
.search-result-img { width: 64px; height: 30px; object-fit: cover; border-radius: 0.3rem; background: rgba(255,255,255,0.05); flex-shrink: 0; }
.search-result-img-ph { width: 64px; height: 30px; border-radius: 0.3rem; background: rgba(255,255,255,0.05); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.search-result-info { flex: 1; min-width: 0; text-align: left; }
.search-result-title { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-price { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.search-result-vri { font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 0.25rem; flex-shrink: 0; }
.search-no-results { padding: 1rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.88rem; }
.search-loading { padding: 1rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.88rem; }

/* ── Sections ── */
.games-section { margin-bottom: 3rem; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-header-left { display: flex; align-items: center; gap: 0.6rem; }
.section-accent { width: 4px; border-radius: 2px; height: 1.5rem; flex-shrink: 0; }
.section-title { font-size: 1.35rem; font-weight: 800; margin: 0; color: #f0eeff; letter-spacing: -0.02em; }
.section-subtitle { font-size: 0.85rem; color: var(--g-light-50, rgba(255,255,255,0.5)); margin: 0 0 0 0.5rem; }
.section-see-all { color: var(--g-light-75); text-decoration: none; white-space: nowrap; opacity: 0.7; transition: opacity 0.2s; float: right; font-weight: 500; }
.section-see-all:hover { opacity: 1; color: white; }

/* ── Nav Pills ── */
.filter-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-pill { padding: 0.4rem 1rem; border-radius: 2rem; font-size: 0.825rem; font-weight: 500; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--g-light-75); text-decoration: none; transition: all 0.18s; white-space: nowrap; }
.filter-pill:hover { background: rgba(255,58,253,0.08); border-color: rgba(255,58,253,0.4); color: #ff3afd; }
