* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff7b00;
    --orange-light: #ffb35c;
    --discord: #5865f2;
    --bg: #050505;
    --card: rgba(15, 15, 15, 0.86);
    --border: rgba(255, 255, 255, 0.10);
    --text: #ffffff;
    --muted: #9a9a9a;
}

body {
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

.login-background {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 15%, rgba(255, 123, 0, 0.18), transparent 28%),
        radial-gradient(circle at 20% 90%, rgba(255, 179, 92, 0.10), transparent 25%),
        linear-gradient(135deg, #040404, #0b0b0b);
    z-index: -3;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    z-index: -2;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(95px);
    opacity: 0.65;
    animation: float 8s ease-in-out infinite;
}

.orb-one {
    width: 360px;
    height: 360px;
    background: rgba(255, 123, 0, 0.32);
    top: -120px;
    right: 12%;
}

.orb-two {
    width: 300px;
    height: 300px;
    background: rgba(255, 179, 92, 0.18);
    bottom: -110px;
    left: 12%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(25px) scale(1.05);
    }
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-panel {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    border-radius: 34px;
    background: var(--card);
    border: 1px solid rgba(255, 123, 0, 0.20);
    backdrop-filter: blur(26px);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.60),
        0 0 70px rgba(255, 123, 0, 0.08);
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 42px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(255, 123, 0, 0.35);
}

.brand-box h1 {
    font-size: 24px;
    line-height: 1;
}

.brand-box p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.login-content {
    text-align: center;
}

.badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 123, 0, 0.12);
    border: 1px solid rgba(255, 123, 0, 0.25);
    color: var(--orange-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.login-content h2 {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.description {
    max-width: 390px;
    margin: 0 auto 28px;
    color: var(--muted);
    line-height: 1.7;
}

.discord-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 17px;
    border-radius: 17px;
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: 0.22s ease;
}

.discord-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(88, 101, 242, 0.35);
}

.discord-login svg {
    flex-shrink: 0;
}

.security-note {
    margin-top: 18px;
    color: #777;
    font-size: 13px;
}

.login-error {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 15px;
    background: rgba(255, 60, 60, 0.12);
    border: 1px solid rgba(255, 60, 60, 0.25);
    color: #ff9696;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: #666;
    font-size: 13px;
}

@media (max-width: 560px) {
    body {
        overflow: auto;
    }

    .login-wrapper {
        align-items: flex-start;
        padding: 18px;
    }

    .login-panel {
        margin-top: 20px;
        padding: 24px;
        border-radius: 26px;
    }

    .brand-box {
        margin-bottom: 34px;
    }

    .login-content h2 {
        font-size: 29px;
    }

    .description {
        font-size: 14px;
    }

    .login-footer {
        flex-direction: column;
        gap: 8px;
    }
}