
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Inter', 'Segoe UI', sans-serif;
            background: #0a0a0a;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow-x: hidden;
        }
        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        .gradient-sphere {
            position: absolute;
            width: 80vmax;
            height: 80vmax;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(0, 102, 204, 0.15) 0%, rgba(0, 170, 255, 0.05) 50%, transparent 70%);
            animation: floatSphere 20s ease-in-out infinite;
        }
        .sphere-1 {
            top: -20%;
            right: -10%;
            animation-delay: 0s;
        }
        .sphere-2 {
            bottom: -30%;
            left: -10%;
            width: 60vmax;
            height: 60vmax;
            background: radial-gradient(circle at 70% 70%, rgba(0, 170, 255, 0.1) 0%, rgba(0, 102, 204, 0.05) 50%, transparent 70%);
            animation: floatSphere 25s ease-in-out infinite reverse;
        }
        .grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 1;
        }
        @keyframes floatSphere {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(5%, 5%) scale(1.1); }
            66% { transform: translate(-5%, -5%) scale(0.9); }
        }
        .register-wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 520px;
            margin: 20px;
            animation: containerAppear 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }
        @keyframes containerAppear {
            0% { opacity: 0; transform: translateY(30px) scale(0.95); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        .register-card {
            background: rgba(20, 20, 20, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 32px;
            padding: 40px 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 102, 204, 0.1) inset, 0 0 30px rgba(0, 102, 204, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .register-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 60px -12px rgba(0, 102, 204, 0.3), 0 0 0 1px rgba(0, 102, 204, 0.2) inset, 0 0 40px rgba(0, 102, 204, 0.3);
        }
        .logo-section {
            text-align: center;
            margin-bottom: 30px;
        }
        .logo-circle {
            width: 70px;
            height: 70px;
            margin: 0 auto 15px;
            background: linear-gradient(135deg, #0066cc, #00aaff);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3px;
            animation: logoFloat 3s ease-in-out infinite;
            box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        }
        .logo-inner {
            width: 100%;
            height: 100%;
            background: #0a0a0a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff, #0066cc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .logo-section h1 {
            font-size: 28px;
            font-weight: 600;
            background: linear-gradient(135deg, #ffffff, #cccccc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }
        .logo-section p {
            color: #888;
            font-size: 15px;
        }
        @keyframes logoFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        .referral-banner {
            background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 170, 255, 0.05));
            border: 1px solid rgba(0, 102, 204, 0.3);
            border-radius: 40px;
            padding: 12px 20px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            animation: pulse 2s infinite;
        }
        .referral-banner i {
            color: #ffd700;
            font-size: 18px;
        }
        .referral-banner span {
            color: #fff;
            font-size: 14px;
            font-weight: 500;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(0, 102, 204, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
        }
        .progress-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            position: relative;
        }
        .progress-steps::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            width: 100%;
            height: 2px;
            background: rgba(255, 255, 255, 0.05);
            z-index: 1;
        }
        .step {
            position: relative;
            z-index: 2;
            background: #1a1a1a;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255, 255, 255, 0.1);
            color: #666;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        .step.active {
            background: #0066cc;
            border-color: #0066cc;
            color: white;
            box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
        }
        .step.completed {
            background: #00cc66;
            border-color: #00cc66;
            color: white;
        }
        .step-label {
            position: absolute;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 11px;
            color: #888;
            white-space: nowrap;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-icon {
            position: absolute;
            left: 16px;
            color: #666;
            font-size: 16px;
            transition: all 0.3s ease;
            z-index: 1;
        }
        .input-wrapper input, .input-wrapper select {
            width: 100%;
            padding: 14px 16px 14px 48px;
            background: rgba(255, 255, 255, 0.03);
            border: 1.5px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            color: #fff;
            font-size: 14px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
        }
        .input-wrapper input.invalid {
            border-color: #ff4444;
        }
        .input-wrapper select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 16px;
            cursor: pointer;
        }
        .input-wrapper select option {
            background: #1a1a1a;
            color: white;
        }
        .input-wrapper input:hover, .input-wrapper select:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(0, 102, 204, 0.3);
        }
        .input-wrapper input:focus, .input-wrapper select:focus {
            background: rgba(0, 102, 204, 0.05);
            border-color: #0066cc;
            box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
        }
        .input-wrapper input:focus + .input-icon, .input-wrapper select:focus + .input-icon {
            color: #0066cc;
            transform: scale(1.1);
        }
        .validation-message {
            color: #ff8a8a;
            font-size: 12px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .password-strength {
            margin-top: 12px;
            padding: 0 4px;
        }
        .strength-bars {
            display: flex;
            gap: 4px;
            height: 4px;
            margin-bottom: 8px;
        }
        .strength-bar {
            flex: 1;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .strength-bar.active:nth-child(1) { background: #ff4444; }
        .strength-bar.active:nth-child(2) { background: #ffaa00; }
        .strength-bar.active:nth-child(3) { background: #ffdd00; }
        .strength-bar.active:nth-child(4) { background: #00cc66; }
        .strength-text {
            font-size: 12px;
            color: #888;
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .strength-text span:last-child {
            font-weight: 500;
            transition: color 0.3s ease;
        }
        .password-requirements {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 11px;
            color: #888;
            margin-top: 8px;
        }
        .requirement {
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.3s ease;
        }
        .requirement i {
            font-size: 8px;
            transition: all 0.3s ease;
        }
        .requirement.valid {
            color: #00cc66;
        }
        .requirement.valid i {
            color: #00cc66;
            font-size: 12px;
        }
        .requirement.invalid i {
            color: #888;
            font-size: 8px;
        }
        .phone-input {
            display: flex;
            gap: 10px;
        }
        .country-code {
            width: 80px;
            padding: 14px;
            background: rgba(255, 255, 255, 0.03);
            border: 1.5px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            color: white;
            font-size: 14px;
            text-align: center;
            outline: none;
        }
        .phone-number {
            flex: 1;
        }
        .account-type {
            margin: 25px 0;
        }
        .account-type label {
            display: block;
            color: #b0b0b0;
            font-size: 13px;
            margin-bottom: 12px;
        }
        .type-selector {
            display: flex;
            gap: 15px;
        }
        .type-option {
            flex: 1;
            position: relative;
        }
        .type-option input {
            display: none;
        }
        .type-card {
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1.5px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .type-option input:checked + .type-card {
            background: rgba(0, 102, 204, 0.1);
            border-color: #0066cc;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
        }
        .type-card i {
            font-size: 28px;
            color: #0066cc;
            margin-bottom: 10px;
            display: block;
        }
        .type-card span {
            display: block;
            color: white;
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 5px;
        }
        .type-card small {
            color: #888;
            font-size: 11px;
        }
        .terms-checkbox {
            margin: 20px 0;
        }
        .checkbox-wrapper {
            display: flex;
            align-items: center;
            cursor: pointer;
            user-select: none;
        }
        .checkbox-wrapper input {
            display: none;
        }
        .checkmark {
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .checkbox-wrapper:hover .checkmark {
            border-color: #0066cc;
            background: rgba(0, 102, 204, 0.1);
        }
        .checkbox-wrapper input:checked + .checkmark {
            background: #0066cc;
            border-color: #0066cc;
            animation: checkPop 0.3s ease;
        }
        .checkmark i {
            color: white;
            font-size: 12px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.2s ease;
        }
        .checkbox-wrapper input:checked + .checkmark i {
            opacity: 1;
            transform: scale(1);
        }
        .checkbox-wrapper span {
            color: #b0b0b0;
            font-size: 13px;
            line-height: 1.4;
        }
        .checkbox-wrapper a {
            color: #0066cc;
            text-decoration: none;
            font-weight: 500;
        }
        .checkbox-wrapper a:hover {
            text-decoration: underline;
        }
        @keyframes checkPop {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        .btn-register {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #0066cc, #00aaff);
            border: none;
            border-radius: 20px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
            margin: 10px 0 20px;
        }
        .btn-register::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
        }
        .btn-register:hover::before {
            width: 300px;
            height: 300px;
        }
        .btn-register:active {
            transform: translateY(0);
        }
        .btn-register i {
            margin-right: 8px;
            transition: transform 0.3s ease;
        }
        .btn-register:hover i {
            transform: translateX(5px);
        }
        .btn-register.loading {
            pointer-events: none;
            opacity: 0.7;
        }
        .btn-register.loading i {
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .login-link {
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        .login-link p {
            color: #888;
            font-size: 14px;
        }
        .login-link a {
            color: #0066cc;
            text-decoration: none;
            font-weight: 600;
            margin-left: 8px;
            position: relative;
        }
        .login-link a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: #0066cc;
            transition: width 0.3s ease;
        }
        .login-link a:hover::after {
            width: 100%;
        }
        .alert {
            padding: 16px 20px;
            border-radius: 16px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideDown 0.3s ease;
            border: 1px solid transparent;
        }
        .alert i {
            font-size: 20px;
        }
        .alert-error {
            background: rgba(220, 53, 69, 0.1);
            border-color: rgba(220, 53, 69, 0.3);
            color: #ff6b6b;
        }
        .alert-success {
            background: rgba(40, 167, 69, 0.1);
            border-color: rgba(40, 167, 69, 0.3);
            color: #6fcf97;
        }
        .alert-info {
            background: rgba(0, 102, 204, 0.1);
            border-color: rgba(0, 102, 204, 0.3);
            color: #4da3ff;
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .tooltip-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            cursor: help;
            font-size: 14px;
            transition: color 0.3s ease;
        }
        .tooltip-icon:hover {
            color: #0066cc;
        }
        .tooltip-text {
            position: absolute;
            right: 0;
            top: 100%;
            background: #1a1a1a;
            color: white;
            padding: 8px 12px;
            border-radius: 12px;
            font-size: 12px;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 10;
        }
        .tooltip-icon:hover + .tooltip-text {
            opacity: 1;
            visibility: visible;
            transform: translateY(5px);
        }
        @media (max-width: 480px) {
            .register-wrapper { margin: 10px; }
            .register-card { padding: 25px 20px; }
            .form-row { grid-template-columns: 1fr; gap: 10px; }
            .type-selector { flex-direction: column; gap: 10px; }
            .phone-input { flex-direction: column; }
            .country-code { width: 100%; }
            .logo-circle { width: 60px; height: 60px; }
            .logo-inner { font-size: 24px; }
            .logo-section h1 { font-size: 24px; }
            .step-label { font-size: 10px; }
            .password-requirements { gap: 8px; }
        }
        @media (prefers-reduced-motion: reduce) {
            * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
        }
        .debug-console { display: none; }
   