/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #020302;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================= */
/*       RESPONSIVE BACKGROUND LAYERS        */
/* ========================================= */

.background-base,
.background-glow,
.background-waves,
.background-bottom {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.background-base {
    background: radial-gradient(circle at center, #06250a 0%, #020302 70%);
    opacity: 0.35;
    z-index: -4;
}

.background-glow {
    background: radial-gradient(circle at 50% 50%, rgba(1, 212, 74, 0.12) 0%, transparent 60%);
    z-index: -3;
    filter: blur(30px);
}

.background-waves {
    width: 180%;
    height: 180%;
    top: -40%;
    left: -40%;
    background: linear-gradient(
        115deg,
        transparent,
        rgba(1, 212, 74, 0.05) 45%,
        rgba(1, 212, 74, 0.08) 50%,
        rgba(1, 212, 74, 0.05) 55%,
        transparent
    );
    animation: waves 12s linear infinite;
    transform: rotate(-10deg);
    z-index: -2;
    opacity: 0.22;
}

@keyframes waves {
    from { transform: translateX(-6%) rotate(-10deg); }
    to   { transform: translateX(6%) rotate(-10deg); }
}

.background-bottom {
    background: linear-gradient(to bottom, transparent 0%, #020302 100%);
    opacity: 0.9;
    z-index: -1;
}

/* ========================================= */
/*                 HEADER                     */
/* ========================================= */

.topbar {
    width: 100%;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0008;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(1, 212, 74, 0.22);
}

.logo {
    height: 40px;
}

.login-btn {
    background: #01D44A;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 0 14px #01d44a66;
    transition: 0.25s;
}

.login-btn:hover {
    box-shadow: 0 0 22px #01d44a99;
    transform: translateY(-2px);
}

/* ========================================= */
/*                 MAIN CARD                 */
/* ========================================= */

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.uc-card {
    background: rgba(15, 18, 20, 0.88);
    border-radius: 16px;
    border: 1px solid rgba(1, 212, 74, 0.25);
    padding: 40px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;

    box-shadow:
        0 0 40px rgba(1, 212, 74, 0.12),
        0 0 80px rgba(1, 212, 74, 0.07);

    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.uc-card h1 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(1, 212, 74, 0.25);
}

.subtext {
    font-size: 15px;
    opacity: .85;
    line-height: 1.5;
    margin-bottom: 25px;
}

.card-glow {
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 200px;
    height: 6px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #01d44a, transparent);
    filter: blur(10px);
    opacity: .5;
}

/* ========================================= */
/*             STATUS PILL                   */
/* ========================================= */

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 8px;
    background: #0c0c0c;
    border: 1px solid rgba(1, 212, 74, 0.28);
    color: #01d44a;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 14px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #01d44a;
    border-radius: 50%;
    box-shadow: 0 0 8px #01d44a;
    margin-right: 6px;
}

/* ========================================= */
/*                  BUTTONS                  */
/* ========================================= */

.button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-primary {
    background: #01D44A;
    color: black;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 0 18px #01d44a55;
    transition: 0.25s;
}

.btn-primary:hover {
    box-shadow: 0 0 24px #01d44a99;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #01D44A;
    color: #01D44A;
    padding: 10px 23px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s;
}

.btn-secondary:hover {
    background: rgba(1, 212, 74, 0.15);
    box-shadow: 0 0 20px #01d44a55;
    transform: translateY(-2px);
}

/* ========================================= */
/*            STATUS PAGE LINK               */
/* ========================================= */

.status-link {
    margin-top: 6px;
}

.status-link a {
    text-decoration: none;
    color: #01D44A;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    transition: 0.25s;
    text-shadow: 0 0 6px rgba(1, 212, 74, 0.35);
}

.status-link a:hover {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(1, 212, 74, 0.55);
}

/* ========================================= */
/*             RESPONSIVE FIXES               */
/* ========================================= */

@media (max-width: 700px) {
    .topbar {
        padding: 16px 22px;
    }
    .logo {
        height: 32px;
    }
}

@media (max-width: 500px) {
    .uc-card {
        padding: 30px 25px;
    }
    .uc-card h1 {
        font-size: 26px;
    }
    .subtext {
        font-size: 14px;
    }
}
