/* ===== ROOT ===== */
:root {
  --bg: #050a0f;
  --bg2: #0a1520;
  --card: #0d1a26;
  --card2: #111f2e;
  --cyan: #00d4ff;
  --cyan2: #00ff88;
  --text: #e0eaf5;
  --muted: #6b8aaa;
  --border: #1a2f45;
  --glow: 0 0 20px rgba(0,212,255,0.3);
  --glow2: 0 0 40px rgba(0,212,255,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== PARTICLES ===== */
#particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--cyan); border-radius: 50%; opacity: 0;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; } 90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) translateX(var(--dx,0px)); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(5,10,15,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.nav-logo {
  font-family: 'Orbitron', monospace; font-weight: 900; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2px; white-space: nowrap;
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.nav-icons { display: flex; gap: 0.8rem; font-size: 1.2rem; }
.nav-icons a { text-decoration: none; transition: transform 0.2s; }
.nav-icons a:hover { transform: scale(1.2); }

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
  display: flex; align-items: center;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  gap: 0.2rem;
  cursor: pointer;
}
.lang-btn {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  background: transparent;
  color: var(--muted);
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #050a0f;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem; z-index: 1;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,212,255,0.07) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.25);
  border-radius: 999px; padding: 0.4rem 1.2rem; font-size: 0.85rem; color: var(--cyan);
  margin-bottom: 2rem; animation: fadeDown 0.8s ease both;
}
.dot {
  width: 8px; height: 8px; background: #00ff88; border-radius: 50%;
  box-shadow: 0 0 8px #00ff88; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title {
  font-family: 'Orbitron', monospace; font-size: clamp(3rem, 10vw, 7rem); font-weight: 900;
  background: linear-gradient(135deg, var(--cyan) 0%, #ffffff 50%, var(--cyan2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1; margin-bottom: 1.5rem;
  animation: fadeDown 0.9s ease 0.1s both;
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.4));
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--muted);
  max-width: 600px; line-height: 1.8; margin-bottom: 2.5rem;
  animation: fadeDown 1s ease 0.2s both;
}
.hero-btns {
  display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 4rem; animation: fadeDown 1.1s ease 0.3s both;
}
.btn-outline {
  padding: 0.8rem 2rem; border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; text-decoration: none; font-size: 1rem; transition: all 0.3s;
  background: rgba(255,255,255,0.03);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.07); }
.btn-primary {
  padding: 0.8rem 2.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #050a0f; border-radius: 999px; text-decoration: none; font-size: 1rem;
  font-weight: 700; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.5); }
.hero-stats { display: flex; gap: 4rem; flex-wrap: wrap; justify-content: center; animation: fadeDown 1.2s ease 0.4s both; }
.stat { text-align: center; }
.stat-num {
  font-family: 'Orbitron', monospace; font-size: 2.2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }

/* ===== FEATURES ===== */
.features {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; padding: 4rem 3rem; max-width: 1300px; margin: 0 auto;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem 2rem; text-align: center; transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); box-shadow: var(--glow2); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; color: #fff; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== TOOLS SECTION ===== */
.tools-section {
  position: relative; z-index: 1; max-width: 1300px;
  margin: 0 auto; padding: 2rem 3rem 6rem;
}
.tools-search { margin-bottom: 2rem; }
.tools-search input {
  width: 100%; padding: 1rem 1.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text);
  font-size: 1rem; font-family: 'Tajawal', sans-serif;
  transition: border-color 0.3s;
}
.tools-search input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow); }
.tools-search input::placeholder { color: var(--muted); }
.tools-tabs { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.5rem; }
.tab {
  padding: 0.6rem 1.3rem; background: var(--card);
  border: 1px solid var(--border); border-radius: 8px; color: var(--muted);
  cursor: pointer; font-family: 'Tajawal', sans-serif; font-size: 0.9rem; transition: all 0.25s;
}
.tab:hover { border-color: var(--cyan); color: var(--cyan); }
.tab.active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border-color: transparent; color: #050a0f; font-weight: 700;
}
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem;
}

/* ===== TOOL CARD ===== */
.tool-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: all 0.3s; position: relative;
  animation: fadeUp 0.5s ease both;
}
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,212,255,0.12); }
.tool-card:hover::before { opacity: 1; }

/* Cover image */
.tool-cover {
  width: 100%; height: 160px; object-fit: cover;
  display: block; background: var(--bg2);
}
.tool-cover-placeholder {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--bg2), var(--card2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}

.tool-body { padding: 1.5rem; }
.tool-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.8rem; }
.tool-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge { padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; }
.badge-free { background: rgba(0,255,136,0.15); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); }
.badge-paid { background: rgba(255,170,0,0.15); color: #ffaa00; border: 1px solid rgba(255,170,0,0.3); }
.badge-cat { background: rgba(0,212,255,0.1); color: var(--cyan); border: 1px solid rgba(0,212,255,0.25); }
.tool-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.tool-desc {
  color: var(--muted); font-size: 0.86rem; line-height: 1.6; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; }
.tool-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.tool-price { font-weight: 700; color: var(--cyan); font-size: 1rem; }
.tool-views { font-size: 0.75rem; color: var(--muted); }
.tool-views span { color: var(--cyan2); }
.tool-btn {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #050a0f; border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  font-family: 'Tajawal', sans-serif; border: none; cursor: pointer; transition: all 0.2s;
}
.tool-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,212,255,0.4); }

/* ===== NO RESULTS ===== */
.no-results { text-align: center; padding: 5rem 2rem; color: var(--muted); }
.no-results-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.no-results p { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: fadeIn 0.2s ease;
}
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; max-width: 780px; width: 100%;
  max-height: 92vh; overflow-y: auto; position: relative;
  animation: scaleIn 0.3s ease;
}
.modal-cover {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: 20px 20px 0 0; display: block;
}
.modal-cover-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, #0a1a2e, #0d2040);
  border-radius: 20px 20px 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.modal-header {
  padding: 1.5rem 2rem 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-title-area h2 { font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.modal-close {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 8px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); font-size: 1.2rem;
  transition: all 0.2s; flex-shrink: 0;
}
.modal-close:hover { color: #fff; border-color: var(--cyan); }
.modal-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.modal-stats { display: flex; gap: 1rem; align-items: center; margin-top: 0.3rem; }
.modal-views { font-size: 0.82rem; color: var(--muted); }
.modal-views b { color: var(--cyan2); }
.modal-body { padding: 1.5rem 2rem 0; }
.modal-desc { color: var(--muted); line-height: 1.9; font-size: 1rem; margin-bottom: 1.5rem; }

/* Video embed */
.modal-video { margin-bottom: 1.5rem; }
.modal-video h3 { color: var(--cyan); font-size: 0.95rem; margin-bottom: 0.8rem; }
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--border);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.modal-features { margin-bottom: 1.5rem; }
.modal-features h3 { color: var(--cyan); font-size: 0.95rem; margin-bottom: 1rem; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.feature-list li { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-size: 0.9rem; }
.feature-list li::before { content: '✓'; color: var(--cyan2); font-weight: 700; flex-shrink: 0; }

.modal-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 20px 20px;
  flex-wrap: wrap; gap: 1rem;
  margin-top: 1.5rem;
}
.modal-price { font-size: 1.8rem; font-weight: 900; background: linear-gradient(135deg,var(--cyan),var(--cyan2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modal-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.modal-buy {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #050a0f; border-radius: 999px; border: none;
  font-size: 0.95rem; font-weight: 700; font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.25s; text-decoration: none; display: inline-flex; align-items: center;
}
.modal-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,212,255,0.4); }
.modal-video-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan); border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.25s; display: inline-flex; align-items: center;
}
.modal-video-btn:hover { background: rgba(0,212,255,0.2); }

.modal-packages-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,170,0,0.15), rgba(255,200,0,0.1));
  border: 1px solid rgba(255,170,0,0.4);
  color: #ffaa00;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
}
.modal-packages-btn:hover {
  background: linear-gradient(135deg, rgba(255,170,0,0.25), rgba(255,200,0,0.2));
  border-color: #ffaa00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,170,0,0.25);
}

/* ===== CONTACT ===== */
.contact-section {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Two-block layout */
.contact-block {
  width: 100%;
  max-width: 860px;
  text-align: center;
  padding: 3.5rem 2rem;
}
.contact-block-icon {
  font-size: 2.2rem;
  margin-bottom: .8rem;
  filter: drop-shadow(0 0 12px rgba(0,212,255,.35));
}
.contact-block h2 { font-size: 1.9rem; margin-bottom: .6rem; color: #fff; }
.contact-block p  { color: var(--muted); margin-bottom: 1.8rem; font-size: .97rem; }

.contact-divider {
  width: 100%;
  max-width: 680px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
}

/* Our sites grid */
.our-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.site-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
}
.site-card:hover {
  border-color: rgba(0,212,255,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,212,255,.1);
}
.site-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.site-card-info { flex: 1; min-width: 0; }
.site-card-name { font-weight: 700; color: #fff; font-size: .97rem; margin-bottom: .15rem; }
.site-card-desc { color: var(--muted); font-size: .8rem; }
.site-card-arrow { color: var(--muted); font-size: 1.1rem; transition: transform .2s; }
.site-card:hover .site-card-arrow { color: var(--cyan); transform: translateX(4px); }

/* ── Contact buttons ── */
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0.85rem 2.2rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; transition: all 0.3s;
  font-size: 1rem;
}
.telegram { background: #0088cc; color: #fff; }
.telegram:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,136,204,0.4); }

/* ===== FOOTER ===== */
footer {
  text-align: center; padding: 2rem; color: var(--muted);
  font-size: 0.85rem; border-top: 1px solid var(--border);
  position: relative; z-index: 1; line-height: 1.8;
}
footer strong { color: var(--cyan); }

/* ===== ADMIN ===== */
.admin-page { padding: 5rem 2rem 3rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.admin-title {
  font-family: 'Orbitron', monospace; font-size: 2rem; margin-bottom: 2rem;
  background: linear-gradient(135deg,var(--cyan),var(--cyan2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.admin-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; margin-bottom: 3rem;
}
.admin-form h3 { color: var(--cyan); margin-bottom: 1.5rem; font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.7rem 1rem;
  color: var(--text); font-family: 'Tajawal', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg2); }
.form-group textarea { min-height: 90px; resize: vertical; }

/* Image upload area */
.image-upload-area {
  border: 2px dashed var(--border); border-radius: 10px;
  padding: 1.5rem; text-align: center; cursor: pointer;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.image-upload-area:hover { border-color: var(--cyan); background: rgba(0,212,255,0.04); }
.image-upload-area input[type=file] { display: none; }
.image-upload-area .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.image-upload-area p { color: var(--muted); font-size: 0.85rem; }
.image-upload-area .or { margin: 0.5rem 0; color: var(--muted); font-size: 0.8rem; }
.image-preview {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 8px; display: none; margin-top: 0.8rem;
}

.submit-btn {
  margin-top: 1.5rem; width: 100%; padding: 0.9rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #050a0f; border: none; border-radius: 10px;
  font-size: 1.05rem; font-weight: 700; font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.25s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.4); }

.admin-tools-list h3 { color: #fff; margin-bottom: 1.2rem; font-size: 1.2rem; }
.admin-tool-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.5rem;
  margin-bottom: 0.8rem; transition: border-color 0.2s; gap: 1rem;
}
.admin-tool-row:hover { border-color: rgba(0,212,255,0.3); }
.admin-tool-info { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
.admin-tool-thumb {
  width: 52px; height: 40px; border-radius: 6px; object-fit: cover;
  background: var(--bg2); flex-shrink: 0;
}
.admin-tool-thumb-placeholder {
  width: 52px; height: 40px; border-radius: 6px;
  background: var(--bg2); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.admin-tool-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.admin-tool-meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }
.delete-btn {
  padding: 0.5rem 1.2rem;
  background: rgba(255,60,60,0.12); border: 1px solid rgba(255,60,60,0.3);
  color: #ff6060; border-radius: 8px; cursor: pointer;
  font-family: 'Tajawal', sans-serif; font-size: 0.88rem; transition: all 0.2s; flex-shrink: 0;
}
.delete-btn:hover { background: rgba(255,60,60,0.25); border-color: #ff4040; }
.logout-btn {
  padding: 0.5rem 1.5rem;
  background: rgba(255,60,60,0.1); border: 1px solid rgba(255,60,60,0.25);
  color: #ff6060; border-radius: 8px; cursor: pointer;
  font-family: 'Tajawal', sans-serif; transition: all 0.2s; text-decoration: none;
}

/* ===== LOGIN ===== */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem; position: relative; z-index: 1;
}
.login-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 3rem; width: 100%; max-width: 420px; text-align: center;
}
.login-logo {
  font-family: 'Orbitron', monospace; font-size: 1.8rem; font-weight: 900;
  background: linear-gradient(135deg,var(--cyan),var(--cyan2)); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 0.5rem;
}
.login-box p { color: var(--muted); margin-bottom: 2rem; font-size: 0.9rem; }
.login-box input {
  width: 100%; padding: 0.8rem 1rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-family: 'Tajawal', sans-serif; font-size: 1rem; margin-bottom: 1rem;
  transition: border-color 0.2s; text-align: center;
}
.login-box input:focus { outline: none; border-color: var(--cyan); }
.login-btn {
  width: 100%; padding: 0.9rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border: none; border-radius: 10px; color: #050a0f;
  font-size: 1rem; font-weight: 700; font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.25s;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.4); }
.login-error { color: #ff6060; font-size: 0.88rem; margin-top: 0.5rem; display: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .hero-stats { gap: 2rem; }
  .features { padding: 3rem 1.2rem; }
  .tools-section { padding: 2rem 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 1.2rem 1.5rem 0; }
  .modal-header { padding: 1.2rem 1.5rem 0; }
  .modal-footer { padding: 1rem 1.5rem; }
  .feature-list { grid-template-columns: 1fr; }
  .modal-cover, .modal-cover-placeholder { height: 160px; }
}

/* ===== SITE LINK BUTTON ===== */
.modal-site-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.35);
  color: #00ff88;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.modal-site-btn:hover {
  background: rgba(0,255,136,0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,136,0.25);
}
