:root {
    --primary-color: #e50914;
    --primary-hover: #e50914;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #999;
    --error-color: #e50914;
    --success-color: #2ecc71;
    --border-color: #2a2a2a;
    --input-bg: #1a1a1a;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: var(--darker-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(231, 76, 60, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 30%);
}

.signup-container {
    width: 100%;
    max-width: 420px;
    background: var(--dark-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px var(--shadow-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(20px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: var(--primary-color);
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    background: #3498db;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2ecc71;
}

.signup-content {
    position: relative;
    z-index: 1;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo a {
    color: var(--text-light);
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 2px 4px var(--shadow-color);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo a:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.welcome-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.welcome-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
    background: linear-gradient(45deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    background: #222;
    border-radius: 22px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(34,34,34);
}

.form-group input.error {
    border-color: var(--error-color);
    background: rgba(231, 76, 60, 0.05);
}

.field-error {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 5px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-error::before {
    content: '⚠';
    font-size: 14px;
}

.error-message {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    background: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(231, 76, 60, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message::before {
    content: '⚠';
    font-size: 16px;
}

.captcha-container {
    margin-bottom: 20px;
}

.captcha {
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.captcha-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.refresh-captcha {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: rotate(180deg);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.signup-button {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    border: none;
    border-radius: 22px;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

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

.signup-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.signup-button:hover::before {
    left: 100%;
}

.signup-button i {
    transition: transform 0.3s ease;
}

.signup-button:hover i {
    transform: translateX(5px);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 14px;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .signup-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .logo a {
        font-size: 32px;
    }

    .welcome-text h2 {
        font-size: 24px;
    }

    .form-group input {
        padding: 12px;
        font-size: 14px;
    }

.error {
    text-align: center;
    color: #ff00dd;
    font-size: larger;
}
    } 