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

:root {
    --bg-color: #435466;
    --accent-color: #8CE3EC;
    --font-primary: 'Roboto Slab', serif;
    --font-secondary: 'Merriweather', 'Times New Roman', serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--accent-color);
    overflow-x: hidden;
    width: 100vw;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-primary);
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    margin-bottom: 2rem;
    width: 180px;
    height: 180px;
    /* Ensure svg doesn't overflow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
    max-width: 180px;
    max-height: 180px;
}

.title {
    font-family: var(--font-primary);
    font-size: 4rem; 
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-align: center;
}

/* Dictionary Styling */
.definition {
    text-align: left;
    max-width: 600px;
    width: 100%;
    border-top: 1px solid rgba(140, 227, 236, 0.4);
    padding-top: 2rem;
    font-family: var(--font-secondary);
}

.dict-entry {
    margin-bottom: 1.5rem;
}

.dict-word {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-right: 1rem;
}

.dict-phonetic {
    font-family: 'Arial', sans-serif;
    font-style: normal;
    font-weight: 400;
    opacity: 0.8;
    margin-right: 1rem;
}

.dict-type {
    font-style: italic;
    font-weight: 700;
    opacity: 0.9;
}

.dict-def {
    margin-top: 0.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-left: 1.5rem;
    display: block;
}

.dict-num {
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .title {
        font-size: 2.5rem;
    }
    
    .logo-wrapper {
        width: 140px;
        height: 140px;
    }

    .dict-word {
        font-size: 1.5rem;
    }
}

