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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-image 0.6s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.date {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.message {
    font-size: 2rem;
    color: white;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 80%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.message.new {
    animation: fadeIn 0.6s ease-out;
}

@media (max-width: 600px) {
    .overlay {
        padding: 1rem;
    }
    
    .date {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .message {
        font-size: 1.4rem;
        padding: 1.5rem 2rem;
        max-width: 95%;
        line-height: 1.5;
    }
}