﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* --- Base Styles --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Orbitron', sans-serif;
    background: #000 url('https://www.transparenttextures.com/patterns/dark-mosaic.png') repeat;
    background-size: 200px;
    color: #e0e0e0;
    box-sizing: border-box;
}

/* --- Header --- */
header {
    text-align: center;
    margin-bottom: 2rem;
    color: #f5f5f5;
    text-shadow: 0 0 10px #00ffc8;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.0em;
}

    h1:focus {
        outline: none;
    }

/* --- Terminal Headers --- */
h2.terminal {
    color: #00ff00;
    font-size: 1.6rem;
    white-space: nowrap; /* Required for typing effect */
    overflow: hidden; /* Clip as text types */
    display: inline-block; /* Needed for JS animation */
    max-width: 100%;
    margin-bottom: 1em;
    text-shadow: 0 0 5px #00ff00, 0 0 15px #00ff00;
}

.terminal .text {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cursor {
    display: inline-block;
    width: 1ch;
    animation: blink 0.8s step-end infinite;
    color: #00ff00;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- Glassmorphism Container --- */
.glass {
    background: rgba(40, 40, 40, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.15);
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow-wrap: break-word;
}

    .glass:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Typography & Layout --- */
ul {
    padding-left: 1.2em;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    color: #888;
}

    footer a {
        display: inline-block;
        margin: 0.5em;
        text-decoration: none;
        font-weight: bold;
    }

.facebook {
    color: #3b5998;
}

.discord {
    color: #7289da;
}

.email {
    color: #ff8800;
}

/* --- Buttons and Forms --- */
a, .btn-link {
    color: #00ffc8;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* --- Validation --- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* --- Blazor Error UI --- */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,...svg...) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* --- Responsive Tweaks --- */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .glass {
