/* CSS variables will be populated from config.js */
:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --accent: #f43f5e;
    --bg-dark: #030712;
    --card-bg: rgba(17, 24, 39, 0.6);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    background-image: url('assets/background.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Redesigned Glassmorphism Container */
.container {
    width: 90%;
    max-width: 550px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.datetime-container {
    display: inline-flex;
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.05);
}

.datetime-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.datetime-item svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
}

/* Warning Section */
.warning {
    margin-bottom: 1.5rem;
}

.warning-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(244, 63, 94, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
    border: 2px solid rgba(244, 63, 94, 0.2);
}

.warning-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-main);
}

.warning-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 1rem;
}

/* Footer */
.footer {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    .warning-title {
        font-size: 1.4rem;
    }
    .datetime-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        border-radius: 16px;
    }
}
