:root {
    --admin-red: #d32f2f;
    --glass-bg: rgba(12, 12, 12, 0.85); /* Semi-transparent */
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.4);
}

* {
    box-sizing: border-box;
}

/* 1. Ensure the background of the page is transparent so the canvas shows */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent; /* Changed from black */
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* 2. Fix the Canvas to the viewport */
#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Sits behind everything */
    background-color: #000; /* The actual black background goes here */
}

/* 3. The centering container MUST be transparent */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: transparent;
    position: relative;
    z-index: 1;
}

.login-card {
    width: 380px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--admin-red);
    border-radius: 4px;
    backdrop-filter: blur(15px); /* Frosty glass effect */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.header h1 {
    color: var(--text-main);
    font-size: 1.4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.header p {
    color: var(--admin-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.status-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-notice {
    margin-top: 30px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.site-footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    pointer-events: none; /* Let clicks pass through to background if needed */
}

.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0.1; } }

/* body {
    background-color: #2c2f33;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

header, footer {
    text-align: center;
    padding: 1em;
    opacity: 0.7;
    font-size: 0.9em;
}

.sr-only {
    position: absolute;
    width: 1em;
    height: 1em;
    padding: 0;
    margin: -1em;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

.card {
    background-color: rgb(31,34,40);
    padding: 3em 4em;
    border-radius: 2em;
    width: 22em;
    backdrop-filter: blur(0.5em);
    box-shadow: 0 0.5em 2em rgba(0,0,0,0.25);
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    width: 10em;
    margin-bottom: 1.25em;
    clip-path: circle();
}

h2 {
    font-size: 1.8em;
    margin-bottom: 0.4em;
    font-weight: 600;
}

.subtitle {
    opacity: 0.8;
    margin-bottom: 2em;
    line-height: 1.4;
    font-size: 0.95em;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-top: 1.5em;
}

.login-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    padding: 0.5em 1em;
    background-color: #5865f2;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5em;
    font-size: 1.05em;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 0.3em 1em rgba(0,0,0,0.25);
}

.login-btn:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
}



.add-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4em;
    padding: 0.5em 1.0em;
    color: #5865f2;
    background-color: #fff;
    text-decoration: none;
    border-radius: 0.5em;
    font-size: 1.05em;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 0.3em 1em rgba(0,0,0,0.25);
}

.add-btn:hover {
    background-color: #343b8d;
    transform: translateY(-2px);
}


.discord-icon {
    width: 1.4em;
    filter: invert(1);
    opacity: 0.9;
}
nav {
    gap: 1em;
}

footer {
    margin-top: auto;
    opacity: 0.65;
}




 */
