:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #f8f9fa;
    --bg-color: #0f172a; /* Slate dark */
    --text-color: #e2e8f0;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 100%);
}

/* Dynamic animated background */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: pulse 10s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.05);
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logo {
    max-height: 350px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.08) translateY(-5px);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(to left, #facc15, #d4af37, #fef08a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #cbd5e1;
    max-width: 600px;
}

.progress-container {
    width: 100%;
    max-width: 450px;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, var(--primary-color), #fef08a, var(--primary-color), transparent);
    background-size: 200% 100%;
    animation: progressLoading 2.5s infinite linear;
    border-radius: 10px;
}

@keyframes progressLoading {
    0% { background-position: 100% 0; width: 40%; margin-right: -40%; }
    100% { background-position: -100% 0; width: 40%; margin-right: 100%; }
}

.contact-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    padding: 12px 24px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a:hover {
    color: #fef08a;
    text-shadow: 0 0 8px rgba(254, 240, 138, 0.4);
}

.footer {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #64748b;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 2.5rem 1.5rem;
        width: 95%;
    }
    .title {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.05rem;
    }
    .logo {
        max-height: 250px;
    }
    .header {
        flex-direction: column;
    }
}
