body {
    font-family: 'Noto Sans KR', 'Roboto Mono', monospace, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #e0e5ec 0%, #c8d0d8 50%, #e0e5ec 100%);
    background-size: 1200% 1200%;
    animation: gradientFlow 10s ease infinite alternate;
    color: #333;
    text-align: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 1s ease-in-out, color 1s ease-in-out;
    position: relative;
    z-index: 1;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 1100px;
    width: 90%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color 1s ease-in-out, box-shadow 1s ease-in-out;
    z-index: 2;
    position: relative;
}

h1 {
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 1s ease-in-out;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 6.5em;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: -3px;
    line-height: 1;
    font-family: 'Roboto Mono', monospace, sans-serif;
    transition: color 1s ease-in-out;
}

.countdown-display .time-value {
    padding: 0 2px;
    font-feature-settings: normal;
    font-variant-numeric: normal;
}

.countdown-display .time-label-small {
    font-size: 26px;
    color: #6c757d;
    margin-right: 20px;
    font-weight: normal;
    padding-bottom: 0.2em;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1;
    white-space: nowrap;
    font-feature-settings: normal;
    font-variant-numeric: normal;
}

.countdown-display .time-separator {
    font-size: 0.9em; /* 메인 숫자보다 약간 작게 조정 */
    color: #6c757d;
    margin: 0 5px;
    padding-bottom: 0.1em;
    line-height: 1;
    transition: color 1s ease-in-out;
    font-family: 'Roboto Mono', monospace, sans-serif;
    font-feature-settings: normal;
    font-variant-numeric: normal;
}

.countdown-display .milliseconds-dot {
    font-size: 0.3em; /* 밀리초 숫자와 비슷하게 작게 조정 */
    color: #6c757d; /* 이미지와 유사한 회색 */
    margin-left: 5px;
    margin-right: 5px; /* 점과 숫자 사이 간격 추가 */
    padding-bottom: 0.2em;
    line-height: 1;
    transition: color 1s ease-in-out;
    font-family: 'Roboto Mono', monospace, sans-serif;
    font-feature-settings: normal;
    font-variant-numeric: normal;
}

.countdown-display .milliseconds-two-digits {
    font-size: 0.4em; /* 이미지와 유사하게 메인 숫자보다 훨씬 작게 설정 */
    color: #888888;
    padding-bottom: 0.2em;
    font-family: 'Roboto Mono', monospace, sans-serif;
    line-height: 1;
    transition: color 1s ease-in-out;
    white-space: nowrap;
    font-feature-settings: normal;
    font-variant-numeric: normal;
}

.message {
    font-size: 1.1em;
    color: #6c757d;
    margin-top: 50px;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 1s ease-in-out;
}

body.weekend-club-mode {
    background: #000;
    color: #f0f0f0;
    animation: none;
    position: relative;
    overflow: hidden;
}

body.weekend-club-mode .container {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.weekend-club-mode h1,
body.weekend-club-mode .countdown-display,
body.weekend-club-mode .countdown-display .time-label-small,
body.weekend-club-mode .countdown-display .time-separator,
body.weekend-club-mode .countdown-display .milliseconds-dot,
body.weekend-club-mode .countdown-display .milliseconds-two-digits,
body.weekend-club-mode .message {
    color: #f0f0f0;
}

.light-beam {
    position: absolute;
    top: -100vh;
    width: 50px;
    height: 300vh;
    filter: blur(1px);
    mix-blend-mode: screen;
    opacity: 0;
    animation: none;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

body.weekend-club-mode .light-beam {
    opacity: 0.8;
}

@keyframes beamMove1 { 0% { transform: translateX(-50vw) rotate(-60deg); } 100% { transform: translateX(50vw) rotate(60deg); } }
@keyframes beamMove2 { 0% { transform: translateX(50vw) rotate(60deg); } 100% { transform: translateX(-50vw) rotate(-60deg); } }
@keyframes beamMove3 { 0% { transform: translateX(-70vw) rotate(-75deg); } 100% { transform: translateX(30vw) rotate(45deg); } }
@keyframes beamMove4 { 0% { transform: translateX(30vw) rotate(45deg); } 100% { transform: translateX(-70vw) rotate(-75deg); } }
@keyframes beamMove5 { 0% { transform: translateX(-30vw) rotate(-40deg); } 100% { transform: translateX(70vw) rotate(70deg); } }
@keyframes beamMove6 { 0% { transform: translateX(70vw) rotate(70deg); } 100% { transform: translateX(-30vw) rotate(-40deg); } }
@keyframes beamMove7 { 0% { transform: translateX(-60vw) rotate(-80deg); } 100% { transform: translateX(40vw) rotate(50deg); } }
@keyframes beamMove8 { 0% { transform: translateX(40vw) rotate(50deg); } 100% { transform: translateX(-60vw) rotate(-80deg); } }
@keyframes beamMove9 { 0% { transform: translateX(-80vw) rotate(-90deg); } 100% { transform: translateX(20vw) rotate(30deg); } }
@keyframes beamMove10 { 0% { transform: translateX(20vw) rotate(30deg); } 100% { transform: translateX(-80vw) rotate(-90deg); } }
@keyframes beamMove11 { 0% { transform: translateX(-40vw) rotate(-55deg); } 100% { transform: translateX(60vw) rotate(65deg); } }
@keyframes beamMove12 { 0% { transform: translateX(60vw) rotate(65deg); } 100% { transform: translateX(-40vw) rotate(-55deg); } }
@keyframes beamMove13 { 0% { transform: translateX(-90vw) rotate(-85deg); } 100% { transform: translateX(10vw) rotate(25deg); } }
@keyframes beamMove14 { 0% { transform: translateX(10vw) rotate(25deg); } 100% { transform: translateX(-90vw) rotate(-85deg); } }
@keyframes beamMove15 { 0% { transform: translateX(-20vw) rotate(-35deg); } 100% { transform: translateX(80vw) rotate(75deg); } }
@keyframes beamMove16 { 0% { transform: translateX(80vw) rotate(75deg); } 100% { transform: translateX(-20vw) rotate(-35deg); } }
@keyframes beamMove17 { 0% { transform: translateX(-55vw) rotate(-70deg); } 100% { transform: translateX(45vw) rotate(50deg); } }
@keyframes beamMove18 { 0% { transform: translateX(45vw) rotate(50deg); } 100% { transform: translateX(-55vw) rotate(-70deg); } }
@keyframes beamMove19 { 0% { transform: translateX(-75vw) rotate(-95deg); } 100% { transform: translateX(25vw) rotate(35deg); } }
@keyframes beamMove20 { 0% { transform: translateX(25vw) rotate(35deg); } 100% { transform: translateX(-75vw) rotate(-95deg); } }

@media (max-width: 1200px) {
    .countdown-display { font-size: 5.5em; }
    .countdown-display .time-label-small { font-size: 22px; }
    .countdown-display .time-separator { font-size: 0.9em; }
    .countdown-display .milliseconds-dot { font-size: 0.3em; }
    .countdown-display .milliseconds-two-digits { font-size: 0.4em; }
}
@media (max-width: 1024px) {
    .container { padding: 50px 60px; }
    h1 { font-size: 2em; }
    .countdown-display { font-size: 4.5em; }
    .countdown-display .time-label-small {
        font-size: 19px;
        margin-right: 15px;
        padding-bottom: 10px;
        line-height: 1;
    }
    .countdown-display .time-separator {
        font-size: 0.9em;
        padding-bottom: 10px;
        line-height: 1;
    }
    .countdown-display .milliseconds-dot { font-size: 0.3em; }
    .countdown-display .milliseconds-two-digits {
        font-size: 0.4em;
        padding-bottom: 10px;
        line-height: 1;
    }
    .message { font-size: 1em; margin-top: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 40px 40px; }
    h1 { font-size: 1.8em; margin-bottom: 30px; }
    .countdown-display { font-size: 3.5em; flex-wrap: wrap; justify-content: center; line-height: 1.2; }
    .countdown-display .time-label-small {
        font-size: 16px;
        margin-right: 10px;
        padding-bottom: 6px;
        line-height: 1;
    }
    .countdown-display .time-separator {
        font-size: 0.9em;
        margin: 0 3px;
        padding-bottom: 6px;
        line-height: 1;
    }
    .countdown-display .milliseconds-dot { font-size: 0.3em; }
    .countdown-display .milliseconds-two-digits {
        font-size: 0.4em;
        padding-bottom: 6px;
        line-height: 1;
    }
    .message { font-size: 1em; margin-top: 30px; }
}
@media (max-width: 480px) {
    .container { padding: 30px 25px; }
    h1 { font-size: 1.5em; margin-bottom: 20px; }
    .countdown-display { font-size: 2.5em; gap: 2px; }
    .countdown-display .time-value { padding: 0 1px; }
    .countdown-display .time-label-small {
        font-size: 13px;
        margin-right: 5px;
        padding-bottom: 4px;
        line-height: 1;
    }
    .countdown-display .time-separator {
        font-size: 0.9em;
        margin: 0 2px;
        padding-bottom: 4px;
        line-height: 1;
    }
    .countdown-display .milliseconds-dot { font-size: 0.3em; }
    .countdown-display .milliseconds-two-digits {
        font-size: 0.4em;
        padding-bottom: 4px;
        line-height: 1;
    }
    .message { font-size: 0.9em; margin-top: 25px; }
}
