:root {
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
    height: 100vh;
    overflow: hidden;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('images/background.jpg') no-repeat center center/cover;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 134, 244, 0.4), rgba(55, 59, 68, 0.4));
    backdrop-filter: blur(3px);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.greeting-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(520px, 90vw);
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cat-static {
    width: 120px;
    height: auto;
    margin: 0 auto 1rem;
}

.cat-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.time-container {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 2rem;
    width: 100%;
    text-align: center;
}

#time {
    font-size: 4rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-block;
    min-width: 8ch;
}

#date {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .greeting-box {
        padding: 1.75rem 1.5rem;
        width: 92vw;
    }

    h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cat-static {
        width: 90px;
    }

    #time {
        font-size: 2.5rem;
    }

    #date {
        font-size: 1rem;
    }
}
