:root {
    --primary-color: #00d4ff;
    --primary-hover: #00b8e6;
    --accent-color: #8b5cf6;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #2a2a2a;
    --error-color: #ff5555;
    --success-color: #00c853;
}

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top right, #1a1a2e, #16213e, #0f0f23);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.register-card {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    transform: scale(1.1);
}


.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.xeno {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    letter-spacing: 2px;
}

.ware {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    letter-spacing: 2px;
    margin-top: -10px;
}

h2 {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 15px auto 0;
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(42, 42, 42, 0.8);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    outline: none;
    background-color: rgba(42, 42, 42, 0.9);
}

.password-requirements {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

button {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transition: all 0.5s;
    z-index: -1;
}

button:hover::before {
    left: 0;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.error {
    color: var(--error-color);
    margin-top: 20px;
    text-align: center;
    background-color: rgba(255, 85, 85, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 85, 85, 0.3);
}

.success {
    color: var(--success-color);
    margin-top: 20px;
    text-align: center;
    background-color: rgba(0, 200, 83, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.links {
    margin-top: 30px;
    text-align: center;
}

.links p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

.links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
    z-index: 100;
}

.back-home:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Glow Effects */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 255, 0.15);
    top: 10%;
    right: 10%;
    animation: pulse 8s infinite alternate;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.15);
    bottom: 10%;
    left: 10%;
    animation: pulse 10s infinite alternate-reverse;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .register-card {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo {
        gap: 0;
    }
    
    .back-home {
        top: 20px;
        left: 20px;
        font-size: 0.9rem;
    }
}
