:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --border: #334155;
    --hover: #2dd4bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    min-height: 100vh;
}

.text-primary { color: var(--primary); }

.container {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-right: 1rem;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    padding: 0.8rem 0;
    outline: none;
}

input::placeholder {
    color: var(--border);
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.suggestions-box.hidden {
    display: none;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.suggestion-item .highlight {
    background-color: transparent;
    color: var(--primary);
    font-weight: 700;
}

.stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.stat-card div {
    display: flex;
    flex-direction: column;
}

.stat-card span {
    font-size: 1.2rem;
    font-weight: 600;
}

.stat-card label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
