* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.85) 0%, rgba(34, 139, 34, 0.85) 25%, rgba(218, 165, 32, 0.75) 50%, rgba(184, 134, 11, 0.85) 75%, rgba(22, 101, 52, 0.85) 100%),
                url('https://images.unsplash.com/photo-1564501049412-61c2a3083791?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
    background-size: 400% 400%, cover;
    background-blend-mode: overlay;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('masjid-bg.jpg') center center / cover no-repeat;
    opacity: 0.4;
    z-index: 0;
}

/* Fallback jika gambar masjid tidak ada, gunakan gradient hijau */
@supports not (background: url('masjid-bg.jpg')) {
    body::before {
        background: linear-gradient(135deg, rgba(22, 101, 52, 0.9) 0%, rgba(34, 139, 34, 0.9) 50%, rgba(218, 165, 32, 0.8) 100%);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.maintenance-content {
    text-align: center;
    color: white;
    padding: 40px;
    background: rgba(22, 101, 52, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 50px rgba(218, 165, 32, 0.3);
    border: 2px solid rgba(218, 165, 32, 0.4);
    max-width: 800px;
    width: 90%;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apology-section {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.disconnect-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    color: #ff6b6b;
    filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.apology-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-family: 'Amiri', serif;
    letter-spacing: 2px;
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    margin-bottom: 15px;
    direction: rtl;
}

.icon-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.gear {
    position: absolute;
    color: white;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.gear-1 {
    animation: rotate 8s linear infinite;
    opacity: 0.9;
}

.gear-2 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: rotateReverse 6s linear infinite;
    opacity: 0.8;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #fff, #ffd700, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.progress-container {
    margin: 40px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd700, #fff, #ffd700, #fff);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressAnimation 3s ease-in-out infinite, shimmerProgress 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 75%;
    }
    100% {
        width: 100%;
    }
}

@keyframes shimmerProgress {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.info-card {
    background: rgba(22, 101, 52, 0.3);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.info-card:nth-child(1) {
    animation-delay: 0.2s;
}

.info-card:nth-child(2) {
    animation-delay: 0.4s;
}

.info-card:nth-child(3) {
    animation-delay: 0.6s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.6);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-section p {
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 300;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 30px;
    display: inline-block;
    background: rgba(22, 101, 52, 0.4);
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.8);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.15);
    backdrop-filter: blur(10px);
    animation: float 20s infinite ease-in-out;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -75px;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: -125px;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(30px, 50px) rotate(270deg);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .arabic-text {
        font-size: 1.1rem;
    }
    
    .apology-text {
        font-size: 2rem;
    }
    
    .disconnect-icon {
        width: 100px;
        height: 100px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .icon-container {
        width: 150px;
        height: 150px;
    }
    
    .maintenance-content {
        padding: 30px 20px;
    }
}

