body {
    height: 100vh;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    background-color: #303030;
}

h1 {
    font-family: sans-serif;
    font-size: 48px;
}

h2 {
    font-family: sans-serif;
    font-size: 36px;
}

label {
    font-family: sans-serif;
    font-size: 20px;
}

p {
    font-family: sans-serif;
    font-size: 20px;
}

.bg {
    position: fixed;
    top: 0;
    left: -45px;
    width: 150vw;
    height: 100vh;
    z-index: -1;

    background: repeating-linear-gradient(
        45deg,
        #2a2a2a 0,
        #2a2a2a 16px,
        #303030 16px,
        #303030 32px
    );
    background-size: 45.2548px 45.2548px;
    animation: slide 0.25s linear infinite;
}

.box {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 36px;
    background: rgba(15, 15, 15, 0.68);
    border: 2px solid rgba(240, 240, 240, 0.12);
    border-radius: 24px;
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.6)
}

#msg-box {
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 12px;
    font-size: 18px;
    border: 2px solid rgba(60, 60, 60, 0.6);
    animation: fadeIn 0.4s ease;
}

#msg-box.error {
    background: rgba(255, 60, 60, 0.15);
    border: 2px solid rgba(255, 60, 60, 0.6);
    color: #ff4d4d;
}

#msg-box.message {
    background: rgba(60, 255, 60, 0.15);
    border: 2px solid rgba(60, 255, 60, 0.6);
    color: #40ff40;
}

.xptext {
    color: #38f540;

    text-shadow:
        0 0 6px rgba(30, 240, 40, 0.9),
        0 0 12px rgba(30, 240, 40, 0.7),
        0 0 20px rgba(30, 240, 40, 0.5);

    font-weight: bold;
}

.home-container {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 15vh;
    color: white;
}

.title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-family: sans-serif;
    text-decoration: none;
    background: #4f7cff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

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

@keyframes slide {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(45.25px, 0, 0);
    }
}
