@charset "UTF-8";

.dynamic-greeting {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1), -5px -5px 15px rgba(255,255,255,0.8);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.dynamic-greeting:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 20px rgba(0,0,0,0.12), -7px -7px 20px rgba(255,255,255,0.9);
}

.time-section {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.time-display {
    font-size: 2.5em;
    font-weight: 700;
    color: rgba(255, 24, 86, 0.8); /*#007AFF*/
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transition: color 0.3s;
}

.time-display .colon {
    animation: blink 1s infinite;
    opacity: 1;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.date-display {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
    transition: color 0.3s;
}

.greeting-section {
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
}

.greeting-text {
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.greeting-tip {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s;
}

body.dark-theme .dynamic-greeting {
    background: linear-gradient(145deg, #323335, #323335);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3), -5px -5px 15px rgba(255,255,255,0.05);
}

body.dark-theme .time-display {
    color: rgba(255, 24, 86, 1.0); /*#0A84FF*/
}

body.dark-theme .greeting-section {
    background: rgb(82 82 82 / 20%);
}

body.dark-theme .greeting-text {
    color: #fff;
}

body.dark-theme .greeting-tip, body.dark-theme .date-display {
    color: #999;
}