:root {
    /* Dark Theme (Default) */
    --bg-color: #0d0f1e;
    --text-color: #e0e0e0;
    --accent-color: #a4359e;
    /* Magenta */
    --accent-glow: rgba(164, 53, 158, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --particle-color: rgba(164, 53, 158, 0.4);
    --logo-start: #ffffff;
    --contact-bg: rgba(255, 255, 255, 0.02);
    --contact-hover: rgba(255, 255, 255, 0.05);
    --contact-text: #a0a0a0;
    --contact-text-hover: #fff;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f3f4f6;
        /* Slate-100 */
        --text-color: #1f2937;
        /* Gray-800 */
        --accent-color: #a4359e;
        /* Magenta */
        --accent-glow: rgba(164, 53, 158, 0.2);
        --glass-bg: rgba(255, 255, 255, 0.75);
        --glass-border: rgba(0, 0, 0, 0.05);
        --particle-color: rgba(164, 53, 158, 0.3);
        --logo-start: #1f2937;
        --contact-bg: rgba(0, 0, 0, 0.03);
        --contact-hover: rgba(0, 0, 0, 0.06);
        --contact-text: #4b5563;
        --contact-text-hover: #111827;
    }
}

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

.gradient-start {
    stop-color: var(--logo-start);
    transition: stop-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Outfit', sans-serif;
    /* Fallback will be handled in HTML import */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 1rem 0;
    /* Add padding to prevent cut-off on small screens */
}

/* Background Animation Elements */
/* Scrollbar Hiding */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Background Animation Elements */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 600px;
    width: 90%;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: inline-block;
    animation: pulse 3s infinite ease-in-out;
}



h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.subtext {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.divider {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 2rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(164, 53, 158, 0.1);
    border: 1px solid rgba(164, 53, 158, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #e879f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.loader {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #e879f9;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

/* Contact Section */
.contact-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--contact-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--contact-bg);
}

.contact-link:hover {
    color: var(--contact-text-hover);
    background: var(--contact-hover);
    transform: translateY(-2px);
}

.contact-link i {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2.5rem;
        width: 85%;
    }

    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
        width: 95%;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .brand-name {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtext {
        font-size: 1rem;
    }
}