:root {
    --bg-dark: #0a0a0a;
    --gold: #F4D03F;
    --gold-dim: rgba(244, 208, 63, 0.4);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5A;
}

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

body {
    background-color: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Blobs and Animations */
#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Allows mouse events to pass through to the document but the script still gets them from window */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    animation: float 15s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--gold-dim);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(40, 40, 40, 0.8);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(244, 208, 63, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Container Glassmorphism */
.container {
    position: relative;
    z-index: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out forwards;
}

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

/* Logo */
.logo-wrapper {
    margin-bottom: 2rem;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    /* Optional: blend mode to remove black bg if the logo is a jpg with black bg */
    mix-blend-mode: screen; 
    filter: drop-shadow(0 0 10px rgba(244, 208, 63, 0.2));
}

/* Typography */
.messages {
    margin-bottom: 2.5rem;
}

.message h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.message p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.arabic {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.arabic h1 {
    font-size: 2.2rem; /* Arabic fonts usually need to be slightly larger */
}

.arabic p {
    font-size: 1.1rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 2rem 0;
}

/* WhatsApp Button */
.support-action {
    display: flex;
    justify-content: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.5);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

.btn-text span {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .message h1 {
        font-size: 1.5rem;
    }
    
    .arabic h1 {
        font-size: 1.8rem;
    }
    
    .whatsapp-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}
