/* Google Search Page Mockup */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-color: #dfe1e5;
    --bg-color: #fff;
    --hover-bg: #f8f9fa;
    --font-family: 'Roboto', arial, sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.58;
}

/* Main Search Container */
.search-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: -100px;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
}

.google-logo {
    font-size: 90px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    font-family: 'Roboto', arial, sans-serif;
}

.logo-letter {
    display: inline-block;
}

.logo-space {
    width: 8px;
    display: inline-block;
}

/* Search Wrapper */
.search-wrapper {
    width: 100%;
    max-width: 584px;
    position: relative;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 584px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0 16px;
    background: var(--bg-color);
    box-shadow: none;
    transition: box-shadow 0.2s;
    cursor: text;
}

.search-box:hover {
    box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
}

.search-box:focus-within {
    box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
    border-color: transparent;
}

.search-icon {
    color: #9aa0a6;
    margin-right: 13px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: transparent;
    padding: 0;
}

.search-input::placeholder {
    color: #9aa0a6;
}

.search-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.keyboard-icon,
.mic-icon {
    color: #9aa0a6;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.keyboard-icon:hover,
.mic-icon:hover {
    color: var(--text-primary);
}

/* Search Results Dropdown */
.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28);
    margin-top: -1px;
    z-index: 100;
    overflow: hidden;
}

.result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.1s;
    border-bottom: 1px solid #f1f3f4;
}

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

.result-item:hover {
    background-color: var(--hover-bg);
}

.result-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.result-link {
    text-decoration: none;
    flex: 1;
    color: inherit;
}

.result-url {
    font-size: 14px;
    color: #202124;
    line-height: 1.3;
    margin-bottom: 2px;
}

.result-title {
    font-size: 20px;
    color: #1a0dab;
    line-height: 1.3;
    margin-bottom: 3px;
    font-weight: normal;
}

.result-item:hover .result-title {
    text-decoration: underline;
}

.result-snippet {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
}

/* Search Buttons */
.search-buttons {
    display: flex;
    gap: 11px;
    justify-content: center;
}

.google-btn {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: var(--font-family);
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.1s, box-shadow 0.1s;
}

.google-btn:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    color: #202124;
}

.google-btn:active {
    border: 1px solid #4285f4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .google-logo {
        font-size: 70px;
    }

    .search-container {
        margin-top: -50px;
        padding: 20px 16px;
    }

    .search-box {
        height: 40px;
        padding: 0 14px;
    }

    .search-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 584px;
        gap: 0;
    }

    .google-btn {
        width: 100%;
        margin: 6px 0;
    }
}

@media (max-width: 480px) {
    .google-logo {
        font-size: 56px;
    }

    .search-container {
        margin-top: -30px;
    }

    .search-box {
        height: 38px;
        padding: 0 12px;
    }

    .search-input {
        font-size: 16px;
    }

    .result-title {
        font-size: 16px;
    }
}