:root {
    --bg: #0a0a0c;
    --card: #121215;
    --text: #ffffff;
    --text-light: #b3b3b3;
    --border: #2d2d30;
    --primary: #ff5f7e;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --glow: 0 0 15px rgba(255, 95, 126, 0.4);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg) 0%, #0a0a0c 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--text);
}
.register-container {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
h1 {
    font-weight: 700;
    font-size: 32px;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}
.subheader {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}
input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 26, 31, 0.6);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}
input:hover {
    border-color: rgba(255, 95, 126, 0.3);
}
input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 95, 126, 0.1), var(--glow);
    background: rgba(26, 26, 31, 0.8);
}
input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}
.btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', sans-serif;
}
.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.btn-success:active {
    transform: translateY(0);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-1px);
}
#registerStatus {
    margin-top: 20px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 13px;
    min-height: 20px;
    text-align: center;
    background: rgba(26, 26, 31, 0.4);
    border: 1px solid var(--border);
}
#registerStatus code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}
.back-link {
    text-align: center;
    margin-top: 20px;
}
.back-link a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.back-link a:hover {
    color: var(--text);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.register-container {
    animation: fadeInUp 0.5s ease;
}
.captcha-container {
    margin: 20px 0;
    padding: 16px;
    background: rgba(26, 26, 31, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.captcha-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}
.captcha-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 26, 31, 0.6);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    outline: none;
}
.captcha-input:hover {
    border-color: rgba(255, 95, 126, 0.3);
}
.captcha-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 95, 126, 0.1), var(--glow);
    background: rgba(26, 26, 31, 0.8);
}
.captcha-refresh {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
}
.captcha-refresh:hover {
    color: var(--text);
}
