:root {
    --primary-color: #ffd700;
    --accent-color: #ff6633;
    --success-color: #00ff00;
    --bg-dark: #000000;
    --bg-panel: #111111;
    --bg-card: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #999999;
    --border-color: #333333;
    --border-glow: rgba(255, 215, 0, 0.3);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 1) 70%);
    animation: bgPulse 4s ease-in-out infinite;
}

@keyframes bgPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.floating-keywords {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.keyword {
    position: absolute;
    color: rgba(255, 215, 0, 0.3);
    font-weight: 700;
    font-size: 14px;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 40px 20px;
}

.auth-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 60px;
    align-items: flex-start;
}

.auth-card {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 80px 60px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 100px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.risk-warning {
    background: var(--bg-card);
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    padding: 60px 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 80px rgba(255, 102, 51, 0.2);
    position: relative;
    margin-top: 40px;
}

.risk-warning h2 {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.risk-list {
    list-style: none;
    margin-bottom: 40px;
}

.risk-item {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.risk-item::before {
    content: '●';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 12px;
}

.risk-item p {
    line-height: 1.6;
    color: var(--text-light);
    font-size: 14px;
}

.risk-source {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.risk-source p {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.auth-card:hover {
    box-shadow: 0 0 150px rgba(255, 215, 0, 0.3);
    transform: translateY(-10px);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

.auth-logo {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

.auth-logo small {
    font-size: 18px;
    font-weight: 400;
    margin-left: 10px;
    color: var(--text-muted);
}

.auth-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.auth-highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 40px;
    display: block;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-light);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 20px 25px;
    background: var(--bg-panel);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
    font-family: var(--font-mono);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.error {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 16px;
    display: none;
    padding: 15px;
    background: rgba(255, 102, 51, 0.1);
    border: 1px solid rgba(255, 102, 51, 0.3);
    border-radius: 8px;
    text-align: center;
}

.btn {
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
    background: #ffed4e;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

.auth-footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 102, 51, 0.5);
}

@media (max-width: 1200px) {
    .auth-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .risk-warning {
        max-width: 600px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .auth-card {
        padding: 60px 40px;
        max-width: 100%;
    }
    
    .risk-warning {
        padding: 40px 30px;
        max-width: 100%;
    }
    
    .auth-logo {
        font-size: 36px;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .risk-warning h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 40px 30px;
    }
    
    .risk-warning {
        padding: 30px 20px;
    }
    
    .auth-logo {
        font-size: 28px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 16px 20px;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .risk-item p {
        font-size: 13px;
    }
}