/* Cấu hình cơ bản */
body,
html {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background-color: #111a3c;
}

/* Container màn hình chính */
.maintenance-screen {
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(circle at center, #3a1c12, #111a3c);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* --- Thanh Trên Hệ Điều Hành (Mờ) --- */
.screen-header {
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) {
    background: #ff5f56;
    opacity: 0.6;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
    opacity: 0.6;
}

.window-controls span:nth-child(3) {
    background: #27c93f;
    opacity: 0.6;
}

.system-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

/* --- Nội Dung Trung Tâm --- */
.screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 5;
}

/* Tùy chỉnh Logo Ảnh */
.custom-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.4));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Văn bản chính */
.screen-content h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.screen-content p {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    max-width: 700px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Thanh tiến trình phát sáng */
.progress-container {
    width: 90%;
    max-width: 600px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.progress-bar {
    width: 85%;
    height: 100%;
    background: #4facfe;
    border-radius: 4px;
    box-shadow: 0 0 10px #4facfe, 0 0 20px #4facfe;
    animation: progress-load 3s ease-in-out;
}

@keyframes progress-load {
    0% { width: 0%; }
    100% { width: 85%; }
}

/* --- Mục Liên Hệ Hỗ Trợ --- */
.contact-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    font-size: 1rem;
}

.contact-section a {
    color: #4facfe;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.contact-section a:hover {
    color: #ff4d4d;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.5);
}

/* --- Các Hình Khối Abstract Nổi (Nền) --- */
.abstract-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.08;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: #4facfe;
    top: -150px;
    left: -150px;
    transform: rotate(45deg);
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #ff4d4d;
    bottom: -80px;
    right: -80px;
    transform: rotate(30deg);
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: #f0a300;
    top: 55%;
    right: 8%;
    transform: translateY(-50%) rotate(60deg);
}

/* Tối ưu hóa cho màn hình nhỏ */
@media (max-width: 768px) {
    .screen-content h1 {
        font-size: 2rem;
    }
    .screen-content p {
        font-size: 1rem;
    }
    .custom-logo {
        max-width: 150px;
    }
}