* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}

/* Logo */
.logo {
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 60px;
    font-weight: 400;
    color: #4285f4;
    letter-spacing: -2px;
}

/* Search Box */
.search-container {
    width: 100%;
    max-width: 584px;
    margin-bottom: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 10px 20px;
    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 {
    width: 20px;
    height: 20px;
    fill: #9aa0a6;
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 12px;
}

.buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    padding: 10px 16px;
    cursor: pointer;
}

.buttons button:hover {
    border: 1px solid #dadce0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Tagline */
.tagline {
    color: #70757a;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

/* Results */
.results-container {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
    padding: 0 20px;
}

.result-card {
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-word {
    font-size: 32px;
    color: #4285f4;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.result-type {
    font-size: 14px;
    color: #70757a;
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.result-section {
    margin-bottom: 18px;
}

.result-section h3 {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
    font-weight: 600;
}

.result-section p {
    font-size: 15px;
    color: #3c4043;
    line-height: 1.6;
}

.result-section .example {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #4285f4;
    font-style: italic;
    color: #5f6368;
}

/* No Results */
.no-results {
    text-align: center;
    margin-top: 40px;
    color: #5f6368;
}

.no-results p:first-child {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results span {
    font-weight: 600;
    color: #4285f4;
}

/* Hidden */
.hidden {
    display: none;
}

/* Footer */
footer {
    background-color: #f2f2f2;
    border-top: 1px solid #dadce0;
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
    color: #70757a;
}

/* Responsive */
@media (max-width: 600px) {
    .logo h1 {
        font-size: 36px;
    }

    .search-container {
        padding: 0 20px;
    }

    .buttons {
        flex-direction: column;
    }
}
