:root { --bg: #0d0d0f; --surface: #141417; --card: #1a1a1f; --border: #2a2a32; --accent: #c8a96e; --accent2: #7c6fcd; --text: #e8e6e1; --muted: #6b6a72; --success: #4ead85; --danger: #e06c6c; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 300; min-height: 100vh; overflow-x: hidden; } /* ── Grain overlay ── */ body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; opacity: .4; } header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid var(--border); background: rgba(13,13,15,.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; } .logo { display: flex; align-items: baseline; gap: .5rem; flex: 1; /* Pushes middle content */ } .logo-name { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--accent); } .logo-tag { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--border); padding: .15rem .45rem; border-radius: 3px; } .header-center { display: flex; justify-content: center; flex: 2; } .header-right-placeholder { flex: 1; } /* ── Tab Switcher with Arrow ── */ .lib-switcher-wrap { position: relative; display: flex; align-items: center; max-width: 100%; } .lib-switcher { display: flex; gap: .5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .35rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; } .lib-switcher::-webkit-scrollbar { display: none; } .lib-btn { background: none; border: none; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 0.85rem; /* Bigger */ color: var(--text); /* Changed from muted to light text */ padding: 0.5rem 1.2rem; /* Bigger */ border-radius: 8px; transition: all .2s; white-space: nowrap; opacity: 0.7; } .lib-btn.active { background: var(--card); color: var(--accent); box-shadow: 0 0 0 1px var(--border); opacity: 1; } .lib-btn:hover { opacity: 1; } .scroll-arrow { position: absolute; right: -10px; background: linear-gradient(to left, var(--bg) 40%, transparent); height: 100%; width: 50px; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; color: var(--accent); padding-right: 10px; animation: arrow-slide 2s infinite; z-index: 5; } @keyframes arrow-slide { 0%, 100% { opacity: 0.2; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } } main { max-width: 820px; margin: 0 auto; padding: 3.5rem 2rem 6rem; } .hero { text-align: center; margin-bottom: 3rem; } .hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; } .hero h1 em { font-style: italic; color: var(--accent); } .hero p { margin-top: .9rem; font-size: .9rem; color: var(--muted); } .search-wrap { position: relative; } .search-box { width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.4rem 1.1rem 3.4rem; font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text); outline: none; line-height: 1.55; } .search-icon { position: absolute; left: 1.1rem; top: 1.15rem; color: var(--muted); } .search-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; } .hint { font-family: 'DM Mono', monospace; font-size: .68rem; color: var(--muted); } .search-btn { background: var(--accent); color: #1a1409; border: none; cursor: pointer; font-weight: 500; padding: .6rem 1.3rem; border-radius: 9px; transition: all .2s; } .result-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; position: relative; overflow: hidden; } .result-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent2)); } .card-title { font-family: 'DM Serif Display', serif; font-size: 1.12rem; color: var(--text); } .card-author { font-size: .78rem; color: var(--muted); margin-top: .2rem; } .location-badge { display: inline-flex; padding: .28rem .7rem; border-radius: 20px; font-family: 'DM Mono', monospace; font-size: .68rem; background: rgba(200,169,110,.1); color: var(--accent); margin-right: 0.5rem; } .location-badge.mba { background: rgba(124,111,205,.1); color: var(--accent2); } .filter-chip { background: var(--surface); border: 1px solid var(--border); color: var(--muted); padding: 0.4rem 0.8rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; margin-top: 10px; } .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.8rem; margin-top: 15px; padding-top: 15px; border-top: 1px dashed var(--border); } .ai-reply { background: rgba(200,169,110,0.05); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; margin-bottom: 2rem; font-style: italic; color: var(--accent); } footer { text-align: center; padding: 2rem; font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--muted); border-top: 1px solid var(--border); opacity: .5; } @media (max-width: 1024px) { header { flex-direction: column; gap: 1.5rem; } .logo, .header-center, .header-right-placeholder { flex: none; width: 100%; justify-content: center; } .header-right-placeholder { display: none; } } .thinking { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 3rem 0; position: relative; } .thinking::after { content: 'System is working...'; position: absolute; top: 2rem; font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--accent); opacity: 0.8; letter-spacing: 0.05em; } .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: bounce 0.6s infinite alternate; } @keyframes bounce { from { transform: translateY(0); opacity: 0.3; } to { transform: translateY(-8px); opacity: 1; } }