/* home.css */
:root {
    --bg-dark: #090c10;
    --bg-card: #161b22;
    --accent: #58a6ff;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --border: #30363d;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 10%, #1f2937 0%, #090c10 60%);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-container {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

/* --- LOGO STYLING --- */
h1 {
    font-size: 4rem;
    margin: 0 0 40px 0;
    color: white;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(88, 166, 255, 0.3);

    /* Flexbox for Image Alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Adjust size of the logo image */
.home-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(88, 166, 255, 0.4)); /* Optional Glow */
}
/* -------------------- */

.search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 18px 55px 18px 25px;
    font-size: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.15), 0 10px 30px rgba(0,0,0,0.5);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover { background: #79c0ff; transform: scale(1.05); }

.syntax-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.chip {
    background: rgba(48, 54, 61, 0.5);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: monospace;
    cursor: pointer;
    transition: 0.2s;
}

.chip:hover { background: var(--accent); color: white; border-color: var(--accent); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; flex-direction: column; gap: 10px; }
    .home-logo { height: 60px; }
    .search-input { font-size: 1rem; padding: 15px 50px 15px 20px; }
    .search-btn { height: 40px; width: 40px; top: 6px; right: 6px; }
}
