
@font-face {
    font-family: 'Minecraftia';
    src: url('https://cdnfonts.com') format('woff');
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Minecraftia', sans-serif;
    background: black;
    color: white;
    margin: 0;
    padding: 25px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.moving-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    --grid-size: 100px;
    --color-1: rgb(51, 51, 51);
    --color-2: rgb(26, 26, 26);
    background-color: var(--color-2);
}

.moving-grid::before {
    content: "";
    position: absolute;
    inset: -200%;
    width: 400%;
    height: 400%;
    background-image: conic-gradient(
        from 90deg,
        var(--color-1) 25%,
        var(--color-2) 0 50%,
        var(--color-1) 0 75%,
        var(--color-2) 0
    );
    background-size: calc(var(--grid-size) * 2) calc(var(--grid-size) * 2);
    animation: grid-slide 5s linear infinite;
}

@keyframes grid-slide {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, -100px); }
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: #202020;
    padding: 30px;
    border: 2px solid #383838;
}

.auth-container h1 {
    text-align: center;
    font-size: 27px;
    margin: 0 0 10px;
}

.auth-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 25px;
}

.auth-passrequirements {
    color: #aaa;
    font-size: 12px;
}

.info-banner {
    background: #555;
    padding: 12px;
    font-size: 11px;
    margin-bottom: 20px;
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    font-size: 12px;
}

.auth-form input {
    width: 100%;
    padding: 13px;
    background: #111;
    color: white;
    border: 1px solid #555;
    font-family: inherit;
    font-size: 12px;
    outline: none;
}

.auth-form input:focus {
    border-color: #2e8bff;
}

.auth-button {
    width: 100%;
    padding: 13px;
    background: #0d9b4d;
    color: white;
    border: none;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    font-size: 13px;
    transition: opacity 120ms, transform 120ms;
}

.auth-button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.auth-button:disabled {
    opacity: 0.5;
    cursor: wait;
}

.auth-message {
    font-size: 11px;
    text-align: center;
    color: #ff7777;
    overflow-wrap: anywhere;
}

.auth-footer {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 22px;
}

.auth-footer a, .auth-link {
    color: #2e8bff;
    text-decoration: none;
}

.auth-footer a:hover, .auth-link:hover {
    text-decoration: underline;
}

.dashboard-info {
    background: #2b2b2b;
    padding: 18px;
    margin: 20px 0;
    font-size: 12px;
    overflow-wrap: anywhere;
}
