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

body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #fff;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('sg-3.jpg') center/cover;
    opacity: 0.35;
    filter: grayscale(0.3) brightness(0.55);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(220, 20, 60, 0.1) 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
}

.squid-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float-symbols 8s ease-in-out infinite;
    color: #dc143c;
    font-weight: bold;
}

.symbol.triangle {
    color: #dc143c;
}

.symbol.circle {
    color: #f4d03f;
}

.symbol.square {
    color: #48c9b0;
}

.symbol:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.symbol:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 2s;
}

.symbol:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

.symbol:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.symbol:nth-child(5) {
    top: 20%;
    left: 60%;
    animation-delay: 3s;
}

.symbol:nth-child(6) {
    top: 70%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes float-symbols {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.3;
    }
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.squid-game-logo {
    position: relative;
    margin-bottom: 20px;
}

.game-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #dc143c;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.5),
        0 0 40px rgba(220, 20, 60, 0.3),
        2px 2px 0px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    letter-spacing: 3px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.season-info {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #f4d03f;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
}

.subtitle {
    font-size: 1.4rem;
    color: #dc143c;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(220, 20, 60, 0.3);
}

.release-date {
    font-size: 1.1rem;
    color: #bbb;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(220, 20, 60, 0.5),
            0 0 40px rgba(220, 20, 60, 0.3),
            2px 2px 0px rgba(0, 0, 0, 0.8);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(220, 20, 60, 0.8),
            0 0 60px rgba(220, 20, 60, 0.5),
            2px 2px 0px rgba(0, 0, 0, 0.8);
    }
}

.countdown-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.8));
    padding: 30px 25px;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(220, 20, 60, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 
        0 12px 40px rgba(220, 20, 60, 0.3),
        inset 0 0 30px rgba(220, 20, 60, 0.2);
}

.countdown-number {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(220, 20, 60, 0.5),
        0 0 20px rgba(220, 20, 60, 0.3);
    margin-bottom: 10px;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    color: #f4d03f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(244, 208, 63, 0.3);
}

.countdown-separator {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: #dc143c;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    animation: blink-red 1.5s infinite;
}

@keyframes blink-red {
    0%, 50% { 
        opacity: 1; 
        text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    }
    51%, 100% { 
        opacity: 0.3; 
        text-shadow: 0 0 5px rgba(220, 20, 60, 0.2);
    }
}

.survival-stats {
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.stat-item {
    text-align: center;
    background: linear-gradient(145deg, rgba(244, 208, 63, 0.1), rgba(0, 0, 0, 0.8));
    padding: 20px 40px;
    border-radius: 10px;
    border: 1px solid rgba(244, 208, 63, 0.3);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #f4d03f;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.progress-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.progress-label {
    text-align: center;
    font-size: 0.9rem;
    color: #f4d03f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(244, 208, 63, 0.3);
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc143c, #f4d03f, #48c9b0);
    border-radius: 6px;
    transition: width 1s ease;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6);
    animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(220, 20, 60, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(220, 20, 60, 0.9);
    }
}

.progress-text {
    text-align: center;
    margin-top: 15px;
    color: #bbb;
    font-size: 1.1rem;
    font-weight: 400;
}

.message {
    text-align: center;
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.9));
    padding: 25px 40px;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(220, 20, 60, 0.1);
    max-width: 500px;
    backdrop-filter: blur(10px);
    z-index: 10;
    position: relative;
}

.warning-icon {
    font-size: 2rem;
    color: #f4d03f;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
    animation: warning-pulse 2s ease-in-out infinite;
}

@keyframes warning-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.message p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.game-symbols-footer {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    z-index: 10;
    position: relative;
}

.symbol-large {
    font-size: 2.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.symbol-large.triangle {
    color: #dc143c;
}

.symbol-large.circle {
    color: #f4d03f;
}

.symbol-large.square {
    color: #48c9b0;
}

.symbol-large:hover {
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 20px currentColor;
}

.celebration {
    animation: game-celebration 1s ease-in-out;
}

@keyframes game-celebration {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.02); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.02); }
}

.finished .countdown-number {
    color: #48c9b0;
    animation: victory-pulse 1s infinite;
}

@keyframes victory-pulse {
    0%, 100% { 
        transform: scale(1); 
        text-shadow: 0 0 20px rgba(72, 201, 176, 0.5);
    }
    50% { 
        transform: scale(1.1); 
        text-shadow: 0 0 30px rgba(72, 201, 176, 0.8);
    }
}

/* Password Entry Screen */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    transition: all 1s ease-in-out;
    opacity: 1;
    visibility: visible;
}

.password-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.password-header {
    text-align: center;
    margin-bottom: 50px;
}

.password-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #dc143c;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.5),
        0 0 40px rgba(220, 20, 60, 0.3);
    margin: 20px 0;
    letter-spacing: 3px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.password-subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    color: #f4d03f;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
}

.password-instruction {
    font-size: 1rem;
    color: #bbb;
    font-weight: 300;
    letter-spacing: 1px;
}

.password-display {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.password-slot {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.8));
    border: 3px solid rgba(220, 20, 60, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(220, 20, 60, 0.1);
}

.password-slot.filled {
    border-color: rgba(244, 208, 63, 0.6);
    background: linear-gradient(145deg, rgba(244, 208, 63, 0.2), rgba(0, 0, 0, 0.8));
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(244, 208, 63, 0.3),
        inset 0 0 30px rgba(244, 208, 63, 0.2);
}

.password-slot.error {
    border-color: rgba(220, 20, 60, 0.8);
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.3), rgba(0, 0, 0, 0.8));
    animation: shake 0.5s ease-in-out;
}

.slot-placeholder {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

.slot-symbol {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 15px currentColor;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.symbol-input {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.symbol-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.symbol-btn:hover:not(.disabled) {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.symbol-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.95);
}

.symbol-btn.circle-btn {
    border-color: rgba(244, 208, 63, 0.3);
}

.symbol-btn.circle-btn:hover:not(.disabled) {
    border-color: rgba(244, 208, 63, 0.6);
    box-shadow: 0 12px 40px rgba(244, 208, 63, 0.3);
}

.symbol-btn.triangle-btn {
    border-color: rgba(220, 20, 60, 0.3);
}

.symbol-btn.triangle-btn:hover:not(.disabled) {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.3);
}

.symbol-btn.square-btn {
    border-color: rgba(72, 201, 176, 0.3);
}

.symbol-btn.square-btn:hover:not(.disabled) {
    border-color: rgba(72, 201, 176, 0.6);
    box-shadow: 0 12px 40px rgba(72, 201, 176, 0.3);
}

.symbol-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.symbol-btn.circle-btn .symbol-icon {
    color: #f4d03f;
    text-shadow: 0 0 15px rgba(244, 208, 63, 0.5);
}

.symbol-btn.triangle-btn .symbol-icon {
    color: #dc143c;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

.symbol-btn.square-btn .symbol-icon {
    color: #48c9b0;
    text-shadow: 0 0 15px rgba(72, 201, 176, 0.5);
}

.symbol-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.password-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.reset-btn {
    padding: 12px 30px;
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.2), rgba(0, 0, 0, 0.8));
    border: 2px solid rgba(220, 20, 60, 0.4);
    border-radius: 10px;
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reset-btn:hover {
    border-color: rgba(220, 20, 60, 0.6);
    background: linear-gradient(145deg, rgba(220, 20, 60, 0.3), rgba(0, 0, 0, 0.8));
    transform: translateY(-2px);
}

.access-status {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    min-height: 25px;
    color: #f4d03f;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
}

.access-status.success {
    color: #48c9b0;
    text-shadow: 0 0 10px rgba(72, 201, 176, 0.5);
    animation: success-pulse 1s ease-in-out;
}

.access-status.error {
    color: #dc143c;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    animation: error-flash 0.5s ease-in-out;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes error-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Welcome Screen */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
}

.welcome-screen.active {
    opacity: 1;
    visibility: visible;
}

.welcome-screen.fadeout {
    opacity: 0;
    transform: scale(1.1);
}

.welcome-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    animation: welcome-bounce 2s ease-in-out infinite;
}

.welcome-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #48c9b0;
    text-shadow: 
        0 0 20px rgba(72, 201, 176, 0.5),
        0 0 40px rgba(72, 201, 176, 0.3);
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: welcome-glow 2s ease-in-out infinite;
}

.welcome-message {
    font-size: 1.5rem;
    color: #f4d03f;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.5);
}

.loading-symbols {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.loading-symbol {
    font-size: 2rem;
    font-weight: bold;
    animation: loading-bounce 1.5s ease-in-out infinite;
}

.loading-symbol:nth-child(1) {
    color: #f4d03f;
    animation-delay: 0s;
}

.loading-symbol:nth-child(2) {
    color: #dc143c;
    animation-delay: 0.3s;
}

.loading-symbol:nth-child(3) {
    color: #48c9b0;
    animation-delay: 0.6s;
}

@keyframes welcome-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes welcome-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(72, 201, 176, 0.5),
            0 0 40px rgba(72, 201, 176, 0.3);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(72, 201, 176, 0.8),
            0 0 60px rgba(72, 201, 176, 0.5);
    }
}

@keyframes loading-bounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) scale(1.2); 
        opacity: 1;
        text-shadow: 0 0 20px currentColor;
    }
}

/* Hide main container initially */
.container {
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
}

.container.active {
    opacity: 1;
    visibility: visible;
}

/* Footer Styles */
.site-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #dc143c;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: #ccc;
    margin: 10px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #f4d03f;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc143c;
    text-shadow: 0 0 5px rgba(220, 20, 60, 0.5);
}

.footer-links span {
    color: #666;
    margin: 0 5px;
}

.disclaimer {
    font-size: 0.8rem !important;
    color: #888 !important;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    margin: 5% auto;
    padding: 30px;
    border: 2px solid #dc143c;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    color: #f4d03f;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-align: center;
    border-bottom: 2px solid #dc143c;
    padding-bottom: 10px;
}

.modal-content h3 {
    color: #dc143c;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.modal-text {
    color: #ccc;
    line-height: 1.6;
}

.modal-text p {
    margin: 15px 0;
}

.close {
    color: #dc143c;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #f4d03f;
    text-decoration: none;
    transform: scale(1.1);
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px 15px;
    }
    
    .footer-links a {
        display: inline-block;
        margin: 5px 8px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        gap: 8px;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .countdown-item {
        padding: 12px 8px;
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .countdown-separator {
        font-size: 1.3rem;
        margin: 0 2px;
    }
}

/* Responsive Design for Password Screen */
@media (max-width: 768px) {
    .password-title {
        font-size: 2.5rem;
    }
    
    .password-subtitle {
        font-size: 1rem;
    }
    
    .password-instruction {
        font-size: 0.9rem;
    }
    
    .password-container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .password-header {
        margin-bottom: 40px;
    }
    
    .password-display {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .password-slot {
        width: 80px;
        height: 80px;
    }
    
    .slot-symbol {
        font-size: 2rem;
    }
    
    .symbol-input {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .symbol-btn {
        padding: 20px 15px;
        min-width: 100px;
        flex: 1;
        max-width: 150px;
    }
    
    .symbol-icon {
        font-size: 2rem;
    }
    
    .symbol-name {
        font-size: 0.7rem;
    }
    
    .welcome-title {
        font-size: 3rem;
    }
    
    .welcome-message {
        font-size: 1.2rem;
    }
    
    .welcome-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .password-screen {
        padding: 20px 10px;
        min-height: 100vh;
        overflow-y: auto;
    }
    
    .password-container {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .password-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .password-subtitle {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .password-instruction {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .password-header {
        margin-bottom: 30px;
    }
    
    .password-display {
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 5px;
    }
    
    .password-slot {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .slot-symbol {
        font-size: 1.8rem;
    }
    
    .slot-placeholder {
        font-size: 1.5rem;
    }
    
    .symbol-input {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .symbol-btn {
        width: 100%;
        max-width: none;
        padding: 15px 20px;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .symbol-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    .symbol-name {
        font-size: 0.8rem;
        margin-top: 0;
    }
    
    .reset-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .access-status {
        font-size: 0.9rem;
        padding: 0 10px;
        text-align: center;
    }
    
    .welcome-screen {
        padding: 20px 10px;
    }
    
    .welcome-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .welcome-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .welcome-title {
        font-size: 2.2rem;
        line-height: 1.2;
        word-break: break-word;
    }
    
    .welcome-message {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }
    
    .loading-symbols {
        gap: 15px;
    }
    
    .loading-symbol {
        font-size: 1.5rem;
    }
}

@media (max-width: 320px) {
    .password-title {
        font-size: 1.8rem;
    }
    
    .password-display {
        gap: 10px;
    }
    
    .password-slot {
        width: 60px;
        height: 60px;
    }
    
    .slot-symbol {
        font-size: 1.5rem;
    }
    
    .slot-placeholder {
        font-size: 1.2rem;
    }
    
    .symbol-btn {
        padding: 12px 15px;
    }
    
    .symbol-icon {
        font-size: 1.5rem;
    }
    
    .symbol-name {
        font-size: 0.7rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-message {
        font-size: 0.9rem;
    }
}