:root {
    --bg-color: #0a0505;
    --accent-color: #ff3333;
    --secondary-color: #e63946;
    --text-color: #ffffff;
    --glass-bg: rgba(20, 10, 10, 0.7);
    --glass-border: rgba(255, 51, 51, 0.3);
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
    transition: transform 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden; /* Prevent scroll bars for canvas */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.glass-container {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 4rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.15);
    animation: fadeIn 1.5s ease-out;
    max-width: 90%;
    width: 600px;
}

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

header h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.glow-text {
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--secondary-color);
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin-bottom: 2rem;
    width: 100%;
}

.status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.status-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.sub-text {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* Loader Animation */
.loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.scanner {
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    position: absolute;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { left: -50%; }
    100% { left: 100%; }
}

footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
    border-bottom-color: var(--accent-color);
}

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

    header h1 {
        font-size: 1.5rem;
    }

    .status-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .loader {
        width: 150px;
    }
}
