:root {
    --primary-color: #557535; /* Logo Green */
    --secondary-color: #d4a017; /* Logo Gold */
    --bg-color: #0b0f12; /* Very dark rich background */
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(20, 25, 30, 0.6);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

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

/* Dynamic Background Overlay */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(85, 117, 53, 0.1) 0%, rgba(11, 15, 18, 1) 60%);
    z-index: -2;
}

/* Subtle Animated Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(212, 160, 23, 0.3); /* Gold particles */
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-duration: 20s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-duration: 25s; }
.particle:nth-child(3) { top: 40%; left: 40%; animation-duration: 18s; }
.particle:nth-child(4) { top: 80%; left: 30%; animation-duration: 22s; }
.particle:nth-child(5) { top: 10%; left: 70%; animation-duration: 19s; }

@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

/* Dark Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

/* Architectural top border */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

/* Logo */
.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); /* Helps the solid logo sit better on dark */
}

.logo:hover {
    transform: scale(1.03);
}

/* Typography */
.title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Loader */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.05); 
    border-radius: 50%;
    border-top-color: var(--secondary-color); /* Gold spinner */
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Contact Info */
.contact-info {
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    margin-top: 20px;
}

.contact-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.email-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03); 
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(85, 117, 53, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 50px 30px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 130px;
    }
}
