:root {
    --bg-dark: #060913; --bg-card: #0b1325; --bg-card-hover: #121d36;
    --text-main: #f8fafc; --text-muted: #64748b; --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.12); --border: #1e293b;
    --danger: #f43f5e; --success: #10b981; --radius-md: 16px; --radius-sm: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, sans-serif; }
body { background: var(--bg-dark) radial-gradient(circle at 15% 20%, rgba(56,189,248,0.04) 0%, transparent 40%); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
header { background: rgba(6,9,19,0.7); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; }
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--accent); text-shadow: 0 0 15px rgba(56,189,248,0.3); }
.btn-admin { background: transparent; border: 1px solid var(--border); color: var(--text-main); padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; transition: all 0.25s; }
.btn-admin:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.5rem 5rem 1.5rem; }
.hero { text-align: center; }
.hero h1 { font-weight: 900; background: linear-gradient(135deg, #fff 30%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 0.5rem 1rem; border-radius: 99px; font-size: 0.825rem; color: var(--accent); font-weight: 600; margin-bottom: 2rem; text-transform: uppercase; animation: pulseGlow 3s infinite alternate; }
.pulse-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block; box-shadow: 0 0 10px var(--success); }
.search-hub-container { max-width: 680px; margin: 0 auto; position: relative; }
.search-wrapper { background: rgba(19,28,46,0.6); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.08); padding: 0.25rem 0.5rem; border-radius: 20px; box-shadow: 0 4px 30px rgba(0,0,0,0.4); display: flex; align-items: center; transition: all 0.4s; }
.search-wrapper:focus-within { border-color: var(--accent); background: rgba(19,28,46,0.8); box-shadow: 0 0 0 4px rgba(56,189,248,0.15), 0 20px 40px rgba(0,0,0,0.6); transform: scale(1.01); }
.search-wrapper input { background: transparent!important; border: none!important; padding: 1.25rem 1rem!important; font-size: 1.2rem!important; color: #fff; flex-grow: 1; font-weight: 500; }
.search-wrapper input::placeholder { color: #475569; }
.search-stats { position: absolute; right: 1.5rem; font-size: 0.85rem; color: var(--text-muted); background: rgba(6,9,19,0.6); padding: 0.25rem 0.75rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); opacity: 0; transition: opacity 0.3s; }
.search-stats.visible { opacity: 1; }
.trending-searches { margin-top: 1.75rem; font-size: 0.875rem; color: var(--text-muted); }
.trending-link { color: #e2e8f0; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 0.25rem 0.6rem; border-radius: 8px; cursor: pointer; margin-left: 0.35rem; display: inline-block; transition: all 0.2s; }
.trending-link:hover { color: var(--accent); border-color: var(--accent); background: rgba(56,189,248,0.05); }
.section-header-flex { display: flex; justify-content: space-between; align-items: center; margin: 4rem 0 2rem 0; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.section-title { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: #e2e8f0; }
.categories { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.tag { background: var(--bg-card); border: 1px solid var(--border); padding: 0.5rem 1.1rem; border-radius: 99px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.tag:hover, .tag.active { border-color: var(--accent); color: var(--text-main); background: rgba(56,189,248,0.05); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: linear-gradient(135px, rgba(19,28,46,0.7), rgba(11,19,37,0.9)); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.04); border-radius: var(--radius-md); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: all 0.35s; }
.card:hover { border-color: rgba(56,189,248,0.3); background: var(--bg-card-hover); transform: translateY(-6px) scale(1.01); box-shadow: 0 0 0 1px rgba(56,189,248,0.2), 0 20px 40px rgba(0,0,0,0.4); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-100%); transition: transform 0.5s; }
.card:hover::before { transform: translateX(100%); }
.card-meta { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 0.6rem; }
.card h2 { font-size: 1.35rem; font-weight: 700; color: #ffffff; margin-bottom: 0.75rem; line-height: 1.3; }
.card p { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1.75rem; flex-grow: 1; }
.card-footer { font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1rem; display: flex; justify-content: space-between; font-weight: 500; }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 4rem 1rem; display: none; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3,5,11,0.85); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 1.5rem; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: rgba(13,23,45,0.95); backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.1); width: 100%; max-width: 680px; max-height: 85vh; border-radius: var(--radius-md); padding: 2.5rem; position: relative; overflow-y: auto; transform: translateY(20px) scale(0.98); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8); }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.btn-close { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 1.35rem; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.btn-close:hover { color: white; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.modal-meta { font-size: 0.85rem; color: var(--accent); font-weight: 700; letter-spacing: 1px; margin-bottom: 0.75rem; }
.modal-title { font-size: 1.85rem; font-weight: 800; color: #fff; margin-bottom: 1.5rem; line-height: 1.3; }
.modal-body { color: #cbd5e1; font-size: 1.05rem; line-height: 1.7; }
.modal-body p { margin-bottom: 1.25rem; }
@keyframes pulseGlow { 0% { box-shadow: 0 0 5px rgba(56,189,248,0.1); } 100% { box-shadow: 0 0 15px rgba(56,189,248,0.3); border-color: rgba(56,189,248,0.4); } }

footer {
    background-color: #03050b;
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem 1.5rem;
    margin-top: 6rem;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}
.footer-links h3, .footer-info h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
    width: fit-content;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.linq-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(56, 189, 248, 0.3);
}
.linq-link:hover {
    text-decoration-color: var(--accent);
}
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    color: #475569;
    font-size: 0.85rem;
}

