/* Стили для start_menu.html */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    user-select: none;
    position: relative;
    overflow: hidden;
}

body::before, body::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6; pointer-events: none; z-index: 0; animation: float 15s infinite alternate ease-in-out;
}
body::before {
    width: 40vw; height: 40vw; background: rgba(245, 124, 0, 0.25); top: -10vw; left: -10vw;
}
body::after {
    width: 35vw; height: 35vw; background: rgba(0, 230, 118, 0.15); bottom: -10vw; right: -5vw; animation-delay: -7s;
}
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5vw, 5vw) scale(1.1); } }

.auth-container {
    background: rgba(30, 30, 35, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 10;
    text-align: center;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 5px;
}

.auth-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.auth-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 124, 0,0.2);
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(245, 124, 0,0.3);
}

.auth-btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0,0.5);
}

.auth-btn:disabled {
    background: var(--bg-input);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.switch-link {
    display: block;
    margin-top: 25px;
    color: var(--accent);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
}

.switch-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.security-badge {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #38ef7d;
    opacity: 0.8;
}

#login-form, #register-form {
    display: none;
    width: 100%;
}

#login-form.active, #register-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
