:root { --primary: #FF4655; --secondary: #0F1923; --accent: #1E90FF; --text: #FFFFFF; --bg: #1A1A1A; --card-bg: rgba(15, 25, 35, 0.7); --input-bg: rgba(255, 255, 255, 0.1); --error: #FF4655; --success: #4CAF50; } /* صفحة الكود */ .code-page { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--card-bg); z-index: 1000; padding: 20px; overflow-y: auto; } .code-container { background: var(--secondary); padding: 20px; border-radius: 10px; max-width: 800px; margin: 50px auto; position: relative; } .code-content { background: #1e1e1e; padding: 15px; border-radius: 5px; font-family: 'Courier New', monospace; color: #d4d4d4; overflow-x: auto; direction: ltr; } .close-code { position: absolute; top: 10px; left: 10px; background: var(--primary); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; } /* أيقونة الكود في الميزات */ #codeFeature .feature-icon { color: #4CAF50; } .verified-badge { color: red; margin-left: 5px; font-size: 18px; } body.light-theme { --primary: #FF4655; --secondary: #F5F5F5; --text: #333333; --bg: #FFFFFF; --card-bg: rgba(245, 245, 245, 0.9); --input-bg: rgba(0, 0, 0, 0.05); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Tajawal', sans-serif; user-select: none; } body { background-color: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; background-image: radial-gradient(circle at center, #2a2a2a 0%, var(--bg) 70%); overflow-x: hidden; transition: background-color 0.3s ease, color 0.3s ease; } .container { width: 100%; max-width: 500px; margin: 0 auto; padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; } .header { text-align: center; margin-bottom: 30px; } .logo { width: 80px; height: 80px; margin: 0 auto 15px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(255, 70, 85, 0.3); animation: pulse 2s infinite; } .title { font-size: 24px; font-weight: 700; margin-bottom: 10px; background: linear-gradient(to right, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subtitle { font-size: 14px; opacity: 0.8; margin-bottom: 20px; } .card { background: var(--card-bg); backdrop-filter: blur(10px); border-radius: 15px; padding: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; } .input-group { margin-bottom: 25px; } .input-field { width: 100%; padding: 15px 20px 15px 50px; background: var(--input-bg); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; color: var(--text); font-size: 16px; transition: all 0.3s ease; } .input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255, 70, 85, 0.3); } .btn { width: 100%; padding: 15px; background: linear-gradient(135deg, var(--primary), #FF5E6D); border: none; border-radius: 10px; color: white; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 70, 85, 0.6); } .result-container { margin-top: 20px; display: none; animation: fadeIn 0.5s ease; } .result-card { background: rgba(30, 144, 255, 0.1); border-radius: 10px; padding: 15px; border: 1px solid rgba(30, 144, 255, 0.3); display: flex; align-items: center; gap: 15px; position: relative; } .copy-btn { position: absolute; left: 15px; background: transparent; border: none; color: var(--text); cursor: pointer; opacity: 0.7; transition: all 0.3s ease; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; } .copy-btn:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); } .username { font-weight: 700; font-size: 18px; margin-bottom: 5px; } .error-message { color: var(--error); font-size: 14px; margin-top: 10px; text-align: center; display: none; } .loading { display: none; text-align: center; margin: 20px 0; } .spinner { width: 40px; height: 40px; margin: 0 auto; border: 4px solid rgba(255, 255, 255, 0.1); border-left-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; } .theme-switcher { position: fixed; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.1); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100; transition: all 0.3s ease; } .theme-switcher:hover { background: rgba(255, 255, 255, 0.2); } .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 12px 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); z-index: 1000; display: none; animation: fadeInUp 0.3s ease; } /* Animations */ @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes spin { to { transform: rotate(360deg); } } @keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } /* Responsive */ @media (max-width: 480px) { .container { padding: 15px; } .title { font-size: 20px; } .card { padding: 20px; } }