* {margin:0; padding:0; box-sizing:border-box;}

:root {
    /* Dark mode colors */
    --dark-bg: linear-gradient(135deg, #0d0d12 0%, #1a0b2e 50%, #0d1b2a 100%);
    --dark-container: rgba(26, 26, 34, 0.95);
    --dark-text: #eee;
    --dark-text-secondary: #ccc;
    --dark-accent: #9b5cff;
    --dark-accent-light: #b88bff;
    --dark-shadow: rgba(140, 80, 255, 0.25);
    
    /* Light mode colors */
    --light-bg: linear-gradient(135deg, #7838a3 0%, #a9bedd 50%, #95a8ce 100%);
    --light-container: rgba(255, 255, 255, 0.95);
    --light-text: #333;
    --light-text-secondary: #666;
    --light-accent: #7c3aed;
    --light-accent-light: #9d6bff;
    --light-shadow: rgba(124, 58, 237, 0.15);
    
    /* Common colors */
    --white: #ffffff;
    --black: #000000;
    --gray: #999;
    
    /* New color for description */
    --warning-red: #ff4757;
    --warning-red-dark: #ff3838;
    --warning-red-light: #ff6b81;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    padding: 60px; /* Jarak dari tepi layar */
    overflow: hidden;
}

/* Background gradasi */
body.dark-mode {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.light-mode {
    background: var(--light-bg);
    color: var(--light-text);
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
}

.theme-checkbox {
    display: none;
}

.theme-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.theme-label:hover {
    transform: scale(1.05);
}

.theme-label i {
    font-size: 14px;
    color: white;
    z-index: 1;
    transition: all 0.3s ease;
}

.theme-label .fa-moon {
    margin-left: 5px;
}

.theme-label .fa-sun {
    margin-right: 5px;
}

.theme-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    left: 4px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-checkbox:checked + .theme-label .theme-ball {
    transform: translateX(30px);
}

.theme-checkbox:checked + .theme-label {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Container - disesuaikan untuk 1024x768 */
.container {
    text-align: center;
    width: calc(100% - 70px);
    height: calc(100vh - 50px);
    padding: 30px 20px 50px 20px; /* Ditambahkan padding-bottom 50px untuk footer */
    border-radius: 25px;
    transition: all 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Mengatur space between untuk logo di atas dan footer di bawah */
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.dark-mode .container {
    background: var(--dark-container);
    border: 1px solid rgba(155, 92, 255, 0.2);
    backdrop-filter: blur(10px);
}

.light-mode .container {
    background: var(--light-container);
    border: 1px solid rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
}

/* Logo - Dinaikkan ke atas */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px; /* Dikurangi margin-bottom */
    flex-shrink: 0;
    margin-top: 10px; /* Ditambahkan margin-top */
}
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-img {
    width: 220px; /* Diperbesar sedikit */
    height: auto;
    object-fit: contain;
    transition: all 0.5s ease;
    margin-bottom: 5px;
}


.logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px; /* Dikurangi margin-bottom */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: color 0.5s ease;
    flex-shrink: 0;
}

.dark-mode .logo {
    color: var(--dark-text);
}

.light-mode .logo {
    color: var(--light-text);
}

.logo-icon {
    font-size: 2.2rem;
    transition: all 0.5s ease;
}

.dark-mode .logo-icon {
    color: var(--dark-accent);
    text-shadow: 0 0 10px var(--dark-shadow);
}

.light-mode .logo-icon {
    color: var(--light-accent);
    text-shadow: 0 0 10px var(--light-shadow);
}

/* Heading */
h1 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.5s ease;
    line-height: 1.3;
    flex-shrink: 0;
}

.dark-mode h1 {
    color: var(--dark-accent-light);
    text-shadow: 0 2px 5px rgba(155, 92, 255, 0.3);
}

.light-mode h1 {
    color: var(--light-accent);
    text-shadow: 0 2px 5px rgba(124, 58, 237, 0.1);
}

/* Description - Warna merah tanpa garis dekoratif */
.description {
    font-size: 1.7rem; /* Diperbesar */
    margin-bottom: 40px; /* Ditambahkan margin-bottom */
    line-height: 1.5;
    padding: 0 20px;
    transition: all 0.5s ease;
    flex-shrink: 0;
    color: var(--warning-red);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark-mode .description {
    color: var(--warning-red-light);
    text-shadow: 0 2px 8px rgba(255, 107, 129, 0.3);
}

.light-mode .description {
    color: var(--warning-red);
    text-shadow: 0 2px 6px rgba(255, 71, 87, 0.2);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 20px; /* Diperbesar gap */
    justify-content: center;
    margin-bottom: 60px; /* Ditambahkan margin-bottom */
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: 20px; /* Ditambahkan margin-top */
}

.countdown-item {
    padding: 20px 15px; /* Diperbesar padding */
    border-radius: 15px;
    min-width: 100px; /* Diperbesar min-width */
    transition: all 0.3s ease;
}

.dark-mode .countdown-item {
    background: rgba(30, 30, 40, 0.8);
    box-shadow: 0 8px 20px var(--dark-shadow);
    border: 1px solid rgba(155, 92, 255, 0.15);
}

.light-mode .countdown-item {
    background: linear-gradient(145deg, #ffffff, #f5f0ff);
    box-shadow: 0 8px 20px var(--light-shadow);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-value {
    font-size: 2.5rem; /* Diperbesar */
    font-weight: 800;
    margin-bottom: 5px;
    transition: color 0.5s ease;
}

.dark-mode .countdown-value {
    color: var(--dark-accent-light);
}

.light-mode .countdown-value {
    color: var(--light-accent);
}

.countdown-label {
    font-size: 0.9rem; /* Diperbesar sedikit */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.5s ease;
}

.dark-mode .countdown-label {
    color: var(--gray);
}

.light-mode .countdown-label {
    color: var(--light-text-secondary);
}

/* Image - SVG Maintenance */
/* .image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex: 1;
    min-height: 200px;
    max-height: 250px;
} */

.maintenance-svg {
    width: 200px;
    height: 200px;
    transition: all 0.5s ease;
}

.maintenance-svg:hover {
    transform: scale(1.05);
}

.dark-mode .maintenance-svg {
    filter: drop-shadow(0 10px 20px rgba(155, 92, 255, 0.3));
}

.light-mode .maintenance-svg {
    filter: drop-shadow(0 10px 20px rgba(124, 58, 237, 0.2));
}

/* Footer - Diberi jarak dari bawah container */
.footer {
    margin-top: auto; /* Push footer ke bawah */
    padding-top: 15px;
    padding-bottom: 20px; /* Ditambahkan padding-bottom */
    transition: border-color 0.5s ease;
    flex-shrink: 0;
}

.dark-mode .footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.light-mode .footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-mode .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.light-mode .social-icon {
    background: rgba(124, 58, 237, 0.1);
    color: var(--light-accent);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px);
}

.dark-mode .social-icon:hover {
    background: var(--dark-accent);
    color: white;
    box-shadow: 0 8px 15px var(--dark-shadow);
}

.light-mode .social-icon:hover {
    background: var(--light-accent);
    color: white;
    box-shadow: 0 8px 15px var(--light-shadow);
}

.copyright {
    font-size: 1rem; /* Diperbesar */
    transition: color 0.5s ease;
    text-align: center;
}

.dark-mode .copyright {
    color: var(--gray);
}

.light-mode .copyright {
    color: var(--light-text-secondary);
}

/* Responsif untuk layar lebih kecil */
@media (max-width: 1024px) {
    body {
        padding: 40px;
    }
    
    .container {
        width: calc(100% - 80px);
        height: calc(100vh - 80px);
        padding: 25px 30px 40px 30px; /* Adjusted bottom padding */
    }
    
    .countdown-item {
        min-width: 90px; /* Adjusted */
        padding: 15px 12px; /* Adjusted */
    }
    
    .countdown-value {
        font-size: 2.2rem; /* Adjusted */
    }
    
    .logo-img {
        width: 200px; /* Adjusted */
    }
    
    .description {
        font-size: 1.7rem; /* Adjusted */
        font-weight: 700;
        margin-bottom: 30px; /* Adjusted */
    }
    
    .countdown {
        margin-bottom: 50px; /* Adjusted */
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px;
        overflow: auto;
        min-height: 100vh;
        height: auto;
    }
    
    .container {
        width: 100%;
        height: auto;
        max-height: none;
        padding: 30px 25px 40px 25px; /* Adjusted bottom padding */
        margin: 0;
        justify-content: flex-start; /* Changed for mobile */
    }
    
    h1 {
        font-size: 1.8rem; /* Adjusted */
        margin-bottom: 15px; /* Adjusted */
    }
    
    .description {
        font-size: 1.7rem; /* Adjusted */
        padding: 0 15px; /* Adjusted */
        font-weight: 700;
        margin-bottom: 30px; /* Adjusted */
    }
    
    .countdown {
        gap: 15px; /* Adjusted */
        margin-bottom: 40px; /* Adjusted */
        margin-top: 15px; /* Adjusted */
    }
    
    .countdown-item {
        min-width: 80px; /* Adjusted */
        padding: 15px 12px; /* Adjusted */
    }
    
    .countdown-value {
        font-size: 2rem; /* Adjusted */
    }
    
    .logo {
        font-size: 2.2rem; /* Adjusted */
        margin-bottom: 10px; /* Adjusted */
    }
    
    .logo-img {
        width: 180px; /* Adjusted */
    }
    
    .maintenance-svg {
        width: 180px;
        height: 180px;
    }
    
    .theme-toggle {
        top: 20px;
        right: 20px;
    }
    
    .footer {
        margin-top: 30px; /* Added for mobile */
        padding-bottom: 10px; /* Adjusted */
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 25px 20px 35px 20px; /* Adjusted bottom padding */
    }
    
    h1 {
        font-size: 1.6rem; /* Adjusted */
    }
    
    .description {
        font-size: 1.5rem; /* Adjusted untuk mobile kecil */
        font-weight: 700;
        margin-bottom: 25px; /* Adjusted */
        padding: 0 10px; /* Adjusted */
    }
    
    .countdown {
        gap: 10px; /* Adjusted */
        margin-bottom: 35px; /* Adjusted */
    }
    
    .countdown-item {
        min-width: 75px; /* Adjusted */
        padding: 12px 10px; /* Adjusted */
    }
    
    .countdown-value {
        font-size: 1.8rem; /* Adjusted */
    }
    
    .logo {
        font-size: 1.9rem; /* Adjusted */
    }
    
    .logo-img {
        width: 160px; /* Adjusted */
    }
    
    .maintenance-svg {
        width: 150px;
        height: 150px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.9rem; /* Adjusted */
    }
}