:root {
    --primary-color: #4facfe;
    --accent-color: #00f2fe;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
    --input-bg: rgba(0, 0, 0, 0.3);
    --error-color: #ff4757;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 20px;
}

#star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.2; transform: scale(0.8); }
}

.register-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(79, 172, 254, 0.6);
}

.title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    transition: 0.3s;
}

.form-control {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.form-control:focus + .input-icon {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.btn-register {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

.footer-links {
    margin-top: 25px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: 0.2s;
}

.footer-links a:hover {
    text-shadow: 0 0 8px var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .register-container {
        padding: 30px 20px;
    }
    .title { font-size: 20px; }
}

