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

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #202124;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #ffffff;
}

a {
    color: #70757a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left a, .header-right a {
    margin-right: 15px;
    color: rgba(0,0,0,0.87);
}

.header-left a:hover, .header-right a:hover {
    text-decoration: underline;
}

.header-right {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-right: 15px;
    border-radius: 50%;
    fill: #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    background-color: rgba(60,64,67,0.08);
}

.sign-in-btn {
    background-color: #1a73e8;
    color: white;
    border: 1px solid transparent;
    padding: 9px 23px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sign-in-btn:hover {
    background-color: #1b66c9;
    box-shadow: 0 1px 2px 0 rgba(66,133,244,0.3), 0 1px 3px 1px rgba(66,133,244,0.15);
}

/* Main / Search Section */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.logo-container {
    font-size: 90px;
    font-weight: 500;
    letter-spacing: -2.5px;
    margin-bottom: 30px;
    user-select: none;
}

.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.search-form {
    width: 100%;
    max-width: 584px;
    padding: 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 0 14px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.search-box:hover, .search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: rgba(223,225,229,0);
}

.search-icon {
    fill: #9aa0a6;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #000;
}

.mic-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.button-container {
    padding-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.btn {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

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

.language-offer {
    font-size: 13px;
    color: #4d5156;
}

.language-offer a {
    color: #1a0dab;
    margin-left: 5px;
}

/* Footer */
footer {
    background-color: #f2f2f2;
    color: #70757a;
    width: 100%;
}

footer a {
    color: #70757a;
    padding: 15px;
    display: inline-block;
}

.footer-top {
    padding: 15px 30px;
    border-bottom: 1px solid #dadce0;
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-bottom-left, .footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 670px) {
    .footer-bottom {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}
