
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F0E8;
    color: #55483D;
    font-family: Georgia, serif;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 450px;
    text-align: center;
    padding: 40px 20px;
}

.subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #9B8875;
    margin-bottom: 35px;
}

h1 {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 15px;
}

.english {
    font-size: 15px;
    color: #8B7A69;
}

.divider {
    width: 45px;
    height: 1px;
    background-color: #C5B49F;
    margin: 35px auto;
}

.chinese {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
}

.gift-button {
    background-color: #766351;
    color: white;
    border: none;
    padding: 17px 35px;
    letter-spacing: 2px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.gift-button:hover {
    background-color: #55483D;
}

.footer {
    margin-top: 50px;
    font-size: 11px;
    color: #A99A89;
    letter-spacing: 1px;
}


#passwordForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

#passwordInput {
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 1px solid #C5B49F;
    outline: none;
    text-align: center;
    font-size: 15px;
    color: #55483D;
}

#passwordInput:focus {
    border-color: #766351;
}

#passwordForm .gift-button {
    width: 100%;
}

.hint {
    margin-top: 25px;
    color: #A99A89;
    font-size: 12px;
}

#errorMessage {
    margin-top: 15px;
    color: #A65D54;
    font-size: 13px;
}

/* Penny welcome page */

.welcome-container {
    width: 90%;
    max-width: 480px;
    margin: 0 auto;
    padding: 65px 0 35px;
    text-align: center;
}

.welcome-container h1 {
    font-size: 35px;
    margin-bottom: 15px;
}

.welcome-description {
    font-family: sans-serif;
    color: #8B7A69;
    font-size: 14px;
    margin-bottom: 35px;
}

.gift-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.gift-card {
    display: block;
    position: relative;
    background: #E9DFD2;
    padding: 25px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #55483D;
    transition: 0.3s;
}

.gift-card:hover {
    transform: translateY(-4px);
    background: #E2D5C5;
}

.gift-number {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: #A08D78;
    margin-bottom: 12px;
}

.gift-icon {
    font-size: 27px;
}

.gift-card h2 {
    font-size: 20px;
    font-weight: normal;
    margin: 12px 0;
}

.gift-card p {
    font-family: sans-serif;
    font-size: 13px;
    color: #8B7A69;
    margin-bottom: 18px;
}

.gift-link {
    font-size: 10px;
    letter-spacing: 2px;
    color: #806A53;
}

.welcome-footer {
    margin-top: 40px;
    font-size: 11px;
    color: #A99A89;
}
