        @font-face {
            font-family: 'IRANSansFa';
            src: url('IRANSansWeb(FaNum)_Bold.woff2') format('woff2');
            font-weight: normal;
            font-style: normal;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IRANSansFA', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
        }
        
        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            width: 100%;
            max-width: 500px;
            overflow: hidden;
            animation: slideUp 0.8s ease-out;
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .header {
            background: linear-gradient(to right, #4f46e5, #7c3aed);
            color: white;
            padding: 15px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            animation: float 20s linear infinite;
        }
        
        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-20px, -20px) rotate(360deg); }
        }
        
        .header h1 {
            font-size: 20px;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }
        
        .domain-name {
            font-size: 24px;
            font-weight: bold;
            background: rgba(255,255,255,0.2);
            padding: 10px 20px;
            border-radius: 10px;
            display: inline-block;
            margin-top: 10px;
            position: relative;
            z-index: 1;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
            70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
            100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
        }
        
        .form-container {
            padding: 30px;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #4b5563;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 15px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s;
            background-color: #f9fafb;
        }
        
        .form-control:focus {
            outline: none;
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
            background-color: white;
        }
        #domain {
            text-align:left;
        }
        .amount-input {
            position: relative;
        }
        
        .amount-input input {
            padding-left: 40px;
        }
        
        .amount-input::after {
            content: 'تومان';
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #6b7280;
            font-size: 14px;
        }
        
        .btn {
            display: block;
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 10px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }
        
        .btn-primary {
            background: linear-gradient(to right, #4f46e5, #7c3aed);
            color: white;
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
        }
        
        .btn-success {
            background: linear-gradient(to right, #10b981, #34d399);
            color: white;
        }
        
        .btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
        }
        
        .alert {
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            animation: fadeIn 0.5s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .alert-success {
            background-color: #d1fae5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }
        
        .alert-danger {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }
        
        .verification-container {
            text-align: center;
            padding: 10px 0;
        }
        
        .verification-code {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 10px 0;
        }
        
        .verification-code input {
            width:auto;
            height: 60px;
            text-align: center;
            font-size: 24px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            transition: all 0.3s;
        }
        
        .verification-code input:focus {
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }
        
        .success-message {
            text-align: center;
            padding: 40px 20px;
            animation: zoomIn 0.8s;
        }
        
        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .success-icon {
            font-size: 80px;
            color: #10b981;
            margin-bottom: 20px;
            animation: bounce 1s;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-20px);}
            60% {transform: translateY(-10px);}
        }
        
        @media (max-width: 576px) {
            .container {
                border-radius: 15px;
            }
            
            .header, .form-container {
                padding: 20px;
            }
            
            .header h1 {
                font-size: 20px;
            }
            
            .domain-name {
                font-size: 22px;
            }
            
            .form-control {
                padding: 12px;
            }
        }
/* استایل کپچا */
.captcha-container {
    margin: 10px 0;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.captcha-display {
    font-family: 'IRANSansFA', sans-serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 5px;
    padding: 5px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border-radius: 6px;
    margin-bottom: 5px;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    user-select: none;
    direction: rtl;
}

.captcha-input {
    width: 100%;
    padding: 5px;
    font-family: 'IRANSansFA', sans-serif;
    font-size: 18px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: all 0.3s;
    direction: rtl;
}

.captcha-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.captcha-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
    display: none;
}

.captcha-error.show {
    display: block;
    animation: shake 0.5s;
}

.captcha-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

.captcha-btn {
    padding: 5px 20px;
    font-family: 'IRANSansFA', sans-serif;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.captcha-refresh {
    background: #3498db;
    color: white;
}

.captcha-refresh:hover {
    background: #2980b9;
    transform: rotate(30deg);
}

.captcha-audio {
    background: #2ecc71;
    color: white;
}

.captcha-audio:hover {
    background: #27ae60;
}

/* انیمیشن کپچا */
@keyframes captchaAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.captcha-display.animated {
    animation: captchaAnimation 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
