body {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.auth-container {
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    gap: 20px;
}

.auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.auth-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    right: -150px;
}

.auth-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

.auth-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 450px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

[data-theme="light"] .auth-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 248, 255, 0.75) 100%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.auth-register-side {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px 15px;
    width: 100px;
    backdrop-filter: blur(20px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 540px;
    align-self: center;
}

[data-theme="light"] .auth-register-side {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 248, 255, 0.7) 100%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.auth-register-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    writing-mode: vertical-rl;
    color: var(--text);
    text-align: center;
    line-height: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 48px;
}

.auth-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.error-message {
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.success-message {
    background: rgba(0, 255, 100, 0.08);
    border: 1px solid rgba(0, 255, 100, 0.2);
    color: #00ff64;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.info-message {
    background: rgba(100, 200, 255, 0.08);
    border: 1px solid rgba(100, 200, 255, 0.2);
    color: #64c8ff;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-btn {
    padding: 14px 24px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.discord-char {
    display: inline-block;
    animation: waterShimmer 1s ease-in-out infinite;
}

.discord-char:nth-child(1) { animation-delay: 0s; }
.discord-char:nth-child(2) { animation-delay: 0.1s; }
.discord-char:nth-child(3) { animation-delay: 0.2s; }
.discord-char:nth-child(4) { animation-delay: 0.3s; }
.discord-char:nth-child(5) { animation-delay: 0.4s; }
.discord-char:nth-child(6) { animation-delay: 0.5s; }
.discord-char:nth-child(7) { animation-delay: 0.6s; }
.discord-char:nth-child(8) { animation-delay: 0.7s; }
.discord-char:nth-child(9) { animation-delay: 0.8s; }
.discord-char:nth-child(10) { animation-delay: 0.9s; }
.discord-char:nth-child(11) { animation-delay: 1s; }
.discord-char:nth-child(12) { animation-delay: 1.1s; }
.discord-char:nth-child(13) { animation-delay: 1.2s; }
.discord-char:nth-child(14) { animation-delay: 1.3s; }
.discord-char:nth-child(15) { animation-delay: 1.4s; }
.discord-char:nth-child(16) { animation-delay: 1.5s; }
.discord-char:nth-child(17) { animation-delay: 1.6s; }
.discord-char:nth-child(18) { animation-delay: 1.7s; }
.discord-char:nth-child(19) { animation-delay: 1.8s; }
.discord-char:nth-child(20) { animation-delay: 1.9s; }

@keyframes waterShimmer {
    0% {
        color: var(--text-muted);
        text-shadow: 0 0 0 transparent;
    }
    50% {
        color: var(--accent);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px var(--accent);
    }
    100% {
        color: var(--text-muted);
        text-shadow: 0 0 0 transparent;
    }
}

#projector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 0;
}

[data-theme="light"] #projector {
    display: block;
}

@media (max-width: 1024px) {
    .auth-register-side {
        display: none;
    }
}

.auth-switch-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font-size: inherit;
}

.auth-switch-btn:hover {
    text-decoration: underline;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-400px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@media (max-width: 560px) {
    .auth-card {
        padding: 40px 24px;
    }

    .auth-header h1 {
        font-size: 28px;
    }

    .auth-register-side {
        display: none;
    }
}
