:root { --bg-primary: #0a0a0a; --bg-secondary: #1a1a1a; --text-primary: #e0e0e0; --header-bg: rgba(10, 10, 10, 0.95); --button-bg: #0a5cb3; --button-text: #101112; --link-hover: #0a5cb3; --border-color: #444444; --shadow-color: rgba(255, 255, 255, 0.1); } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; padding: 0; } body { font-family: 'Tajawal', sans-serif; background: var(--bg-primary); color: var(--text-primary); transition: background-color 0.3s, color 0.3s; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; line-height: 1.6; } main { flex: 1 0 auto; padding-top: 60px; } .boxed { max-width: 1000px; margin: 0 auto; padding: 0 20px; } /* Loader */ .loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(21, 21, 21, 0.95); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 1s ease-out; } .loader-overlay.hidden { opacity: 0; pointer-events: none; } .loader { display: flex; flex-direction: column; align-items: center; gap: 15px; } .loader-circle { width: 50px; height: 50px; border: 5px solid var(--button-bg); border-top: 5px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Header Styles */ header { position: fixed; top: 0; left: 0; width: 100%; padding: 15px 0; z-index: 1000; background: var(--header-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: all 0.3s ease; border-bottom: 1px solid rgba(0, 224, 221, 0.2); } .header-content { display: flex; justify-content: space-between; align-items: center; position: relative; } .logo { display: flex; align-items: center; gap: 10px; z-index: 1001; } .logo img { height: 40px; transition: transform 0.3s ease; } .logo:hover img { transform: scale(1.1); } .nav-menu { display: flex; align-items: center; gap: 30px; position: absolute; left: 50%; transform: translateX(-50%); } .nav-menu a { text-decoration: none; color: var(--text-primary); font-weight: 500; font-size: 16px; position: relative; padding: 8px 0; transition: all 0.3s ease; } .nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--button-bg); transition: width 0.3s ease; } .nav-menu a:hover::after { width: 100%; } .nav-menu a:hover { color: var(--button-bg); } /* Account Dropdown */ .header-actions { z-index: 1001; } .account-dropdown { position: relative; } .account-btn { display: flex; align-items: center; gap: 8px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 25px; padding: 8px 15px; color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; font-family: inherit; font-size: 14px; } .account-btn:hover { background: var(--button-bg); color: var(--button-text); border-color: var(--button-bg); } .profile-avatar { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; } .dropdown-arrow { font-size: 12px; transition: transform 0.3s ease; } .account-btn.active .dropdown-arrow { transform: rotate(180deg); } .dropdown-menu { position: absolute; top: calc(100% + 10px); right: 0; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 15px; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 9999 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); pointer-events: none; } .dropdown-menu.show { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; pointer-events: auto; } .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--text-primary); text-decoration: none; transition: all 0.3s ease; border-radius: 15px; margin: 5px; } .dropdown-item:hover { background: var(--button-bg); color: var(--button-text); } .dropdown-item i { width: 16px; text-align: center; } /* Mobile Menu Toggle */ .menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; } .menu-toggle span { width: 25px; height: 3px; background: var(--text-primary); transition: all 0.3s ease; border-radius: 2px; } .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } /* Footer Styles */ .footer { background: var(--bg-secondary); border-top: 1px solid rgba(0, 224, 221, 0.2); padding: 40px 0 20px; margin-top: 80px; } .footer-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; } .footer-text { text-align: right; order: 1; } .footer-social { display: flex; gap: 15px; order: 2; } .social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 50%; color: var(--text-primary); text-decoration: none; transition: all 0.3s ease; } .social-link:hover { background: var(--button-bg); color: var(--button-text); border-color: var(--button-bg); transform: translateY(-3px); } .footer-text { text-align: right; } .copyright { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-bottom: 5px; } /* Responsive Design */ @media (max-width: 968px) { .nav-menu { position: static; transform: none; background: none; flex-direction: row; gap: 20px; } .nav-menu a { font-size: 15px; } } @media (max-width: 768px) { .menu-toggle { display: flex; } .nav-menu { position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px); background: var(--bg-secondary); flex-direction: column; justify-content: flex-start; padding: 40px 20px; gap: 30px; transform: translateX(-100%); transition: transform 0.3s ease; border-top: 1px solid var(--border-color); z-index: 999; } .nav-menu.active { transform: translateX(0); } .nav-menu a { font-size: 18px; padding: 15px 0; width: 100%; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .header-actions { position: relative; } .dropdown-menu { right: auto; left: 0; } .footer-content { flex-direction: column; gap: 30px; text-align: center; } .footer-social { order: 1; } .footer-text { order: 2; text-align: center; } } @media (max-width: 480px) { .boxed { padding: 0 15px; } header { padding: 10px 0; } .account-btn { padding: 6px 12px; font-size: 13px; } .account-btn span { display: none; } .footer { padding: 30px 0 15px; } .footer-content { gap: 20px; } }