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

body {
    font-family: 'Arial', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #ff4757, #ff3838, #ff6b7a);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maintenance-icon {
    margin-bottom: 30px;
}

.gear {
    font-size: 60px;
    animation: rotate 3s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.title {
    color: #ff4757;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.message-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 5px solid #ff4757;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.apology-message {
    color: #2d3436;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

.countdown-section {
    margin-bottom: 30px;
}

.countdown-title {
    color: #2d3436;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.countdown-display {
    color: #636e72;
    font-size: 1.2rem;
    padding: 20px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.time-unit {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    box-shadow: 0 10px 20px rgba(0, 184, 148, 0.3);
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.time-unit span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.time-unit label {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

.footer {
    color: #636e72;
    font-size: 1rem;
    opacity: 0.8;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.footer .organization {
    margin-top: 10px;
    font-weight: bold;
    color: #2d3436;
    opacity: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .apology-message {
        font-size: 1rem;
    }
    
    .countdown-timer {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 15px;
    }
    
    .time-unit span {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gear {
        font-size: 40px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
}