@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Sora:wght@400;600;700&display=swap');

:root {
    --nexus-body-bg: #111022;
    --nexus-surface: rgba(21, 20, 44, 0.78);
    --nexus-surface-strong: rgba(21, 20, 44, 0.92);
    --nexus-card-bg: rgba(21, 20, 44, 0.82);
    --nexus-card-border: rgba(143, 121, 255, 0.25);
    --nexus-border: rgba(255, 255, 255, 0.08);
    --nexus-shadow: 0 18px 48px rgba(5, 0, 15, 0.45);
    --nexus-primary: #8f79ff;
    --nexus-primary-strong: #426bff;
    --nexus-secondary: #00cb88;
    --nexus-accent: #0dcaf0;
    --nexus-text: #d7d6e7;
    --nexus-muted: #9ea0b9;
    --nexus-success: #4ade80;
    --nexus-danger: #ef4444;
}

* {
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

html,
body {
    height: 100%;
    font-family: 'Sora', 'Inter', sans-serif;
    background: var(--nexus-body-bg);
    margin: 0;
    color: var(--nexus-text);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -25% -20%;
    background:
        radial-gradient(520px circle at 15% 18%, rgba(143, 121, 255, 0.34), transparent 65%),
        radial-gradient(640px circle at 82% 18%, rgba(236, 72, 153, 0.26), transparent 72%),
        radial-gradient(720px circle at 55% 88%, rgba(66, 107, 255, 0.3), transparent 78%);
    opacity: 0.9;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(66, 107, 255, 0.12), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
    z-index: -3;
}


.container {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 16, 34, 0.74);
    border-bottom: 1px solid var(--nexus-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(5, 0, 15, 0.35);
    z-index: 2;
}

.logo img {
    width: 130px;
    padding: 6px;
    border: 1px solid rgba(143, 121, 255, 0.35);
    border-radius: 14px;
    background: rgba(143, 121, 255, 0.08);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: var(--nexus-text);
    text-decoration: none;
    font-size: 20px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--nexus-accent);
    color: var(--nexus-accent);
}

#logincontent {
    width: min(90vw, 520px);
    padding: 40px;
    background: var(--nexus-card-bg);
    border-radius: 24px;
    box-shadow: var(--nexus-shadow);
    text-align: center;
    color: var(--nexus-text);
    border: 1px solid var(--nexus-card-border);
    backdrop-filter: blur(14px);
}

#logincontent center {
    font-size: 30px;
}

.steamButton,
.discordButton,
.steamGroupButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    width: 80%;
    margin: 10px;
    color: #ffffff;
    background: linear-gradient(120deg, rgba(143, 121, 255, 0.95) 0%, rgba(66, 107, 255, 0.9) 100%);
    border: 1px solid rgba(143, 121, 255, 0.4);
    border-radius: 999px;
    text-decoration: none;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(66, 107, 255, 0.35);
}

.steamInfo {
    background: var(--nexus-surface);
    padding: 20px;
    border-radius: 16px;
    text-align: left;
    border: 1px solid var(--nexus-border);
    color: var(--nexus-text);
}

.steamInfo .label {
    font-weight: bold;
}

.steamInfo .value {
    font-size: 20px;
    color: #fff;
}


.steamButton:disabled,
.discordButton:disabled,
.steamGroupButton:disabled {
    background: rgba(37, 36, 60, 0.7);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--nexus-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.steamButton:hover:enabled,
.discordButton:hover:enabled,
.steamGroupButton:hover:enabled {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(66, 107, 255, 0.45);
}

.steamButton:active:enabled,
.discordButton:active:enabled,
.steamGroupButton:active:enabled {
    transform: translateY(0);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step span {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--nexus-text);
}

.avatars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.avatar {
    border-radius: 4px;
    border: 1px solid var(--nexus-accent);
    height: 125px;
}


@media only screen and (max-device-width: 480px) {
    .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    #logincontent {
        padding: 30px;
    }

    #logincontent center {
        font-size: 20px;
    }

    .steamButton,
    .discordButton,
    .steamGroupButton {
        padding: 10px 20px;
        font-size: 18px;
    }
}
