/* =============================================
   維護頁面樣式
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Microsoft JhengHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.maintenance-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.maintenance-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.maintenance-logo {
    margin-bottom: 30px;
}

.maintenance-logo img {
    max-width: 200px;
    height: auto;
}

/* 圖示 */
.maintenance-icon {
    font-size: 80px;
    color: #667eea;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 標題 */
.maintenance-title {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

/* 訊息 */
.maintenance-message {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.maintenance-message p {
    margin-bottom: 10px;
}

/* 聯絡資訊 */
.maintenance-contact {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-title {
    font-size: 14px;
    color: #718096;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 18px;
    color: #667eea;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #667eea;
}

/* 社群媒體連結 */
.maintenance-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 重新整理按鈕 */
.maintenance-refresh {
    margin-top: 20px;
}

.btn-refresh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-refresh:active {
    transform: translateY(0);
}

.btn-refresh i {
    margin-right: 8px;
}

/* 版權資訊 */
.maintenance-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .maintenance-content {
        padding: 40px 30px;
    }

    .maintenance-title {
        font-size: 28px;
    }

    .maintenance-icon {
        font-size: 60px;
    }

    .maintenance-message {
        font-size: 15px;
    }

    .maintenance-logo img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .maintenance-container {
        padding: 15px;
    }

    .maintenance-content {
        padding: 30px 20px;
    }

    .maintenance-title {
        font-size: 24px;
    }

    .maintenance-icon {
        font-size: 50px;
    }

    .maintenance-message {
        font-size: 14px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .btn-refresh {
        padding: 10px 25px;
        font-size: 14px;
    }
}
