body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    padding: 1rem 0;
    text-align: center;
}

header img {
    max-width: 300px;
}

main {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.mascot {
    width: 350px;
    
}

h1 {
    font-size: 2rem;
    margin: 0;
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

#email-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

#email {
    width: 60%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 0.8rem 1.2rem;
    border: none;
    background: #333;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #555;
}

footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: #666;
}

.hats-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 2rem;
    height: 100px;
}

.hat {
    width: 50px;
    height: 80px;
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.hat::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -5px;
    right: -5px;
    height: 20px;
    background: inherit;
    border-radius: 50%;
}

.hat.purple { background-color: purple; }
.hat.orange { background-color: orange; }
.hat.green { background-color: green; }
.hat.black { background-color: black; }
.hat.red { background-color: red; }
.hat.blue { background-color: blue; }
.hat.teal { background-color: teal; }

@media (max-width: 600px) {
    main {
        margin: 1rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    #email-form {
        flex-direction: column;
    }
    #email {
        width: 100%;
        box-sizing: border-box;
    }
}
}
