:root {
    --bg-dark: #111111;
    --bg-secondary: #1a1a1a;
    --accent-purple: #a855f7;
    --accent-purple-light: #c084fc;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a2a;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
}

body::before,
.animated-bg {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
            radial-gradient(circle 800px at 20% 50%, rgba(168, 85, 247, .08) 0%, transparent 50%),
            radial-gradient(circle 600px at 80% 80%, rgba(168, 85, 247, .06) 0%, transparent 50%);
    animation: backgroundShift 30s ease-in-out infinite;
}

.noise {
    display: none;
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.login-card {
    width: min(430px, 100%);
    padding: 38px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .10), transparent);
    transition: left .5s ease;
}

.login-card:hover {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, .03);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, .10);
}

.login-card:hover::before {
    left: 100%;
}

.logo {
    width: 54px;
    height: 54px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-purple);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(168, 85, 247, .24);
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

h1 span {
    color: inherit;
}

.dashboard-text {
    display: inline-flex;
    color: var(--accent-purple);
    background: rgba(168, 85, 247, .12);
    border: 1px solid rgba(168, 85, 247, .30);
    border-radius: 99px;
    padding: 4px 10px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.divider {
    display: none;
}

h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

p {
    color: var(--text-secondary);
    font-size: 14.5px;
    font-weight: 300;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.discord-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    background: var(--accent-purple);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all .3s ease;
    position: relative;
    z-index: 1;
}

.discord-button:hover {
    background: var(--accent-purple-light);
    box-shadow: 0 0 20px rgba(168, 85, 247, .28);
    transform: translateY(-2px);
}

.discord-button svg {
    width: 24px;
    height: 24px;
}

@keyframes backgroundShift {
    0%, 100% {
        background:
                radial-gradient(circle 800px at 20% 50%, rgba(168, 85, 247, .08) 0%, transparent 50%),
                radial-gradient(circle 600px at 80% 80%, rgba(168, 85, 247, .06) 0%, transparent 50%);
    }
    50% {
        background:
                radial-gradient(circle 800px at 80% 50%, rgba(168, 85, 247, .08) 0%, transparent 50%),
                radial-gradient(circle 600px at 20% 80%, rgba(168, 85, 247, .06) 0%, transparent 50%);
    }
}
