/* ==========================================================================
   LEO_BLOX 🥷 - Ultra-Lightweight Cyberpunk Design System (Optimized)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;900&family=Outfit:wght@400;700;800&display=swap');

/* ─── Global Scrollbar: Hidden + Perfect Center ─── */
html {
  direction: rtl;
  overflow-y: scroll;
}

/* Firefox: hidden scrollbar */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* WebKit: hidden scrollbar */
html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
}

:root {
  --bg-dark: #05050a;
  --bg-card: rgba(16, 16, 28, 0.85);
  --border-neon-cyan: #00f3ff;
  --border-neon-purple: #b026ff;
  --border-neon-green: #00ff66;
  --border-neon-pink: #ff0055;
  --text-main: #f0f3ff;
  --text-muted: #8e96b0;
  --glow-cyan: 0 0 15px rgba(0, 243, 255, 0.4), 0 0 30px rgba(0, 243, 255, 0.2);
  --glow-purple: 0 0 15px rgba(176, 38, 255, 0.4), 0 0 30px rgba(176, 38, 255, 0.2);
  --glow-green: 0 0 15px rgba(0, 255, 102, 0.5), 0 0 30px rgba(0, 255, 102, 0.3);
  --glow-pink: 0 0 15px rgba(255, 0, 85, 0.5), 0 0 30px rgba(255, 0, 85, 0.3);
  --font-arabic: 'Tajawal', sans-serif;
  --font-cyber: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  direction: rtl;
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 10% 15%, rgba(176, 38, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(0, 243, 255, 0.12) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-arabic);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Lightweight Cyber Grid — single gradient, no fixed pseudo-element repaint */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
  background-size: 45px 45px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Custom SVG Icon */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ─── Header & Logo ─── */
header {
  padding: 45px 0 25px;
  text-align: center;
}

.logo-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.logo-text {
  font-size: 3.8rem;
  font-weight: 900;
  font-family: var(--font-cyber), var(--font-arabic);
  letter-spacing: 2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  text-shadow:
    0 0 10px var(--border-neon-cyan),
    0 0 20px var(--border-neon-cyan),
    0 0 40px var(--border-neon-purple),
    0 0 80px var(--border-neon-purple);
  animation: neonGlowPulse 3s infinite alternate;
}

.logo-ninja-icon {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 0 12px var(--border-neon-cyan));
}

.logo-tagline {
  font-size: 1.1rem;
  color: var(--border-neon-cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
  font-weight: 500;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes neonGlowPulse {
  0% {
    text-shadow:
      0 0 10px var(--border-neon-cyan),
      0 0 20px var(--border-neon-cyan),
      0 0 35px var(--border-neon-purple);
  }
  100% {
    text-shadow:
      0 0 18px var(--border-neon-cyan),
      0 0 35px var(--border-neon-cyan),
      0 0 55px var(--border-neon-purple),
      0 0 100px var(--border-neon-purple);
  }
}

/* ─── Stats Bar ─── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0 40px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(18, 18, 32, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stat-pill:hover {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.stat-pill span {
  color: var(--border-neon-green);
  font-weight: 700;
}

/* ─── Search Bar ─── */
.search-box-container {
  max-width: 520px;
  margin: 0 auto 35px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 15px 26px 15px 54px;
  background: rgba(15, 15, 26, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.search-input:focus {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
}

.search-icon-inside {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border-neon-cyan);
  pointer-events: none;
}

/* ─── Accounts Grid ─── */
.accounts-section {
  margin-bottom: 60px;
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 20px;
  justify-content: center;
  justify-items: center;
  align-items: start;
  width: 100%;
}

.accounts-grid.centered-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.accounts-grid.centered-results .card-container {
  width: 380px;
  max-width: 100%;
}

/* ─── 3D Flip Card ─── */
.card-container {
  perspective: 1200px;
  height: 420px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  border-radius: 30px;
}

.card-container.flipped .card-inner {
  transform: rotateY(180deg);
}

/* ─── Card Focus Center Screen Overlay ─── */
.card-focus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 30px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-focus-backdrop::-webkit-scrollbar {
  display: none;
}

.card-focus-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.focused-card-wrapper {
  width: 440px;
  max-width: 92vw;
  height: auto;
  min-height: 420px;
  max-height: 90vh;
  transform: scale(0.65);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: auto;
  position: relative;
}

.card-focus-backdrop.active .focused-card-wrapper {
  transform: scale(1);
}

/* ─── Card Front & Back ─── */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 30px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 243, 255, 0.25);
  background: linear-gradient(135deg, rgba(20, 20, 36, 0.85) 0%, rgba(10, 10, 22, 0.95) 100%);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.card-container:hover .card-front {
  border-color: var(--border-neon-cyan);
  box-shadow:
    0 0 25px rgba(0, 243, 255, 0.4),
    0 0 50px rgba(176, 38, 255, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(-4px);
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(16, 14, 32, 0.95) 0%, rgba(8, 8, 18, 0.98) 100%);
  border-color: rgba(176, 38, 255, 0.35);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-back::-webkit-scrollbar {
  display: none;
}

/* Close Button */
.focus-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 0, 85, 0.25);
  border: 1px solid var(--border-neon-pink);
  color: #ff6b98;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.35);
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
}

.focus-close-btn:hover {
  background: var(--border-neon-pink);
  color: #fff;
  box-shadow: var(--glow-pink);
  transform: scale(1.12) rotate(90deg);
}

.focus-close-btn .svg-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.card-close-btn:hover {
  background: var(--border-neon-pink);
  color: #fff;
  box-shadow: var(--glow-pink);
  transform: scale(1.15) rotate(90deg);
}

.back-header-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--border-neon-purple);
  text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
  margin-bottom: 15px;
  text-align: right;
  padding-right: 5px;
}

/* Card Header Badges */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.account-status-tag {
  background: rgba(0, 255, 102, 0.12);
  color: var(--border-neon-green);
  border: 1px solid var(--border-neon-green);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-status-tag.sold-tag {
  background: rgba(255, 0, 85, 0.15);
  color: var(--border-neon-pink);
  border-color: var(--border-neon-pink);
}

/* Card Hero & Avatar */
.card-hero {
  margin: 6px 0;
}

.avatar-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.35) 0%, rgba(0, 243, 255, 0.15) 100%);
  border: 2px solid var(--border-neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
  transition: transform 0.3s ease;
}

.card-container:hover .avatar-icon {
  transform: scale(1.08);
}

.avatar-icon svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 8px var(--border-neon-cyan));
}

.avatar-disclaimer {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: 3px;
  font-weight: 500;
}

.account-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  word-break: break-all;
}

.price-tag {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--border-neon-green);
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
  margin-top: 2px;
}

.price-currency {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Limited-Time Offer Badge */
.limited-time-badge {
  background: linear-gradient(135deg, rgba(255, 100, 0, 0.25) 0%, rgba(255, 0, 85, 0.25) 100%);
  color: #ffaa00;
  border: 1px solid #ff7700;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px rgba(255, 120, 0, 0.4);
  animation: pulseFire 2s infinite alternate;
}

@keyframes pulseFire {
  0% { box-shadow: 0 0 8px rgba(255, 120, 0, 0.3); transform: scale(1); }
  100% { box-shadow: 0 0 16px rgba(255, 120, 0, 0.7); transform: scale(1.03); }
}

.table-badge.limited {
  background: rgba(255, 120, 0, 0.2);
  color: #ffaa00;
  border: 1px solid #ffaa00;
}

/* Quick Feature Badges & Hover Micro-Animations */
.quick-features {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.feature-pill {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.feature-pill:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.feature-pill.active {
  color: var(--border-neon-cyan);
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.25);
}

.feature-pill.active:hover {
  background: rgba(0, 243, 255, 0.25);
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.5);
  color: #fff;
}

.feature-pill.disabled-pill {
  color: #ff4d73;
  background: rgba(255, 0, 85, 0.15);
  border: 1px dashed #ff0055;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.feature-pill.disabled-pill svg {
  fill: #ff0055;
  filter: drop-shadow(0 0 6px rgba(255, 0, 85, 0.8));
}

.feature-pill.disabled-pill:hover {
  background: rgba(255, 0, 85, 0.3);
  box-shadow: 0 0 18px rgba(255, 0, 85, 0.6);
  color: #fff;
  border-style: solid;
  transform: translateY(-3px) scale(1.06);
}

/* ─── Pill Buttons ─── */
.btn-neon {
  width: 100%;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-neon-cyan);
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.12) 0%, rgba(176, 38, 255, 0.08) 100%);
  color: var(--border-neon-cyan);
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.btn-neon:hover {
  background: var(--border-neon-cyan);
  color: #05050a;
  box-shadow: var(--glow-cyan), 0 8px 25px rgba(0, 243, 255, 0.4);
  transform: translateY(-3px);
}

.btn-neon-buy {
  border-color: var(--border-neon-green);
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.2) 0%, rgba(0, 243, 255, 0.1) 100%);
  color: var(--border-neon-green);
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
  gap: 10px;
}

.btn-neon-buy:hover {
  background: var(--border-neon-green);
  color: #05050a;
  box-shadow: var(--glow-green), 0 8px 25px rgba(0, 255, 102, 0.5);
}

/* ─── Card Back Details & Hover Micro-Animations ─── */
.details-list {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0 20px;
  font-size: 0.98rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, padding 0.25s ease;
  border-radius: 12px;
}

.detail-item.hoverable:hover {
  transform: translateX(-6px);
  background: rgba(0, 243, 255, 0.06);
  padding-left: 10px;
  padding-right: 10px;
}

.detail-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.detail-item.hoverable:hover .detail-label {
  color: var(--border-neon-cyan);
}

.detail-value {
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease;
}

.detail-item.hoverable:hover .detail-value {
  transform: scale(1.05);
}

.detail-value.enabled { color: var(--border-neon-green); }
.detail-value.disabled { color: var(--border-neon-pink); }

/* Price Row on Back */
.detail-item.price-row {
  border-bottom: none;
  background: rgba(0, 255, 102, 0.08);
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 255, 102, 0.25);
  margin-top: 5px;
}

.detail-item.price-row:hover {
  transform: scale(1.03);
  background: rgba(0, 255, 102, 0.18);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.detail-item.price-row .detail-value {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--border-neon-green);
}

/* ─── SOLD Banner ─── */
.card-container.sold .card-front::before,
.card-container.sold .card-back::before {
  content: 'مُباع SOLD';
  position: absolute;
  top: 40px;
  left: -40px;
  width: 250px;
  background: var(--border-neon-pink);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  text-align: center;
  padding: 8px 0;
  transform: rotate(-30deg);
  z-index: 10;
  box-shadow: var(--glow-pink);
}

.card-container.sold {
  opacity: 0.75;
  filter: grayscale(0.2);
}

.card-container.sold .btn-neon-buy {
  background: rgba(255, 0, 85, 0.2);
  border-color: var(--border-neon-pink);
  color: #ff6b98;
  cursor: not-allowed;
}

.card-container.sold .btn-neon-buy:hover {
  background: rgba(255, 0, 85, 0.2);
  color: #ff6b98;
  box-shadow: none;
  transform: none;
}

/* ─── WhatsApp Modal — Ultra Luxurious ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  padding: 30px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal-overlay::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: linear-gradient(145deg, rgba(20, 20, 36, 0.96) 0%, rgba(8, 8, 18, 0.98) 100%);
  border: 1px solid var(--border-neon-cyan);
  box-shadow:
    0 0 30px rgba(0, 243, 255, 0.35),
    0 0 60px rgba(0, 255, 102, 0.15),
    0 25px 60px rgba(0,0,0,0.9),
    inset 0 0 20px rgba(0, 243, 255, 0.08);
  border-radius: 32px;
  padding: 32px 28px;
  max-width: 440px;
  width: 92%;
  text-align: center;
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  margin: auto;
}

.modal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon-header {
  margin-bottom: 12px;
  color: var(--border-neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-header svg {
  width: 52px;
  height: 52px;
  fill: var(--border-neon-green);
  filter: drop-shadow(0 0 15px var(--border-neon-green));
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.modal-body-text {
  font-size: 1.02rem;
  color: var(--text-main);
  background: rgba(0, 243, 255, 0.04);
  border: 1px dashed rgba(0, 243, 255, 0.25);
  padding: 14px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-confirm {
  flex: 1;
  background: linear-gradient(135deg, var(--border-neon-green) 0%, #00cc55 100%);
  color: #04040a;
  border: none;
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: var(--font-arabic);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.85);
  background: var(--border-neon-green);
}

.btn-cancel {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-arabic);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-cancel:hover {
  background: rgba(255, 0, 85, 0.18);
  border-color: var(--border-neon-pink);
  color: #fff;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  background: rgba(18, 18, 30, 0.5);
  border: 1px dashed rgba(0, 243, 255, 0.2);
  border-radius: 30px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 243, 255, 0.1);
  font-size: 0.9rem;
}

footer a {
  color: var(--border-neon-cyan);
  text-decoration: none;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(176, 38, 255, 0.25);
  margin-bottom: 30px;
}

.admin-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-title span {
  color: var(--border-neon-purple);
  text-shadow: 0 0 15px var(--border-neon-purple);
}

/* Auth Overlay */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: #05050a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  background: rgba(18, 18, 32, 0.95);
  border: 2px solid var(--border-neon-purple);
  box-shadow: var(--glow-purple), 0 20px 50px rgba(0,0,0,0.8);
  border-radius: 26px;
  padding: 36px 28px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-icon {
  margin-bottom: 16px;
  color: var(--border-neon-purple);
}

.auth-icon svg {
  width: 58px;
  height: 58px;
  fill: var(--border-neon-purple);
  filter: drop-shadow(0 0 15px var(--border-neon-purple));
}

.input-neon {
  width: 100%;
  padding: 13px 18px;
  background: rgba(10, 10, 20, 0.85);
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 0.92rem;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  direction: ltr;
  text-align: center;
}

.input-neon:focus {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* Admin Grid */
.admin-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  max-width: 1140px;
  margin: 0 auto;
}

.admin-card-box {
  background: linear-gradient(135deg, rgba(20, 20, 36, 0.85) 0%, rgba(10, 10, 22, 0.95) 100%);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--border-neon-cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

/* Form */
.form-group {
  margin-bottom: 15px;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(10, 10, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* Toggle Switch */
.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(10, 10, 20, 0.6);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1a1a2b;
  transition: background-color 0.4s ease;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: transform 0.4s ease;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--border-neon-green);
  box-shadow: var(--glow-green);
}

input:checked + .slider:before {
  transform: translateX(21px);
  background-color: #05050a;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.admin-table th {
  text-align: right;
  padding: 12px 10px;
  color: var(--border-neon-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  border-bottom: 2px solid rgba(0, 243, 255, 0.2);
}

.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  vertical-align: middle;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.table-badge.sold {
  background: rgba(255, 0, 85, 0.2);
  color: var(--border-neon-pink);
  border: 1px solid var(--border-neon-pink);
}

.table-badge.available {
  background: rgba(0, 255, 102, 0.2);
  color: var(--border-neon-green);
  border: 1px solid var(--border-neon-green);
}

.action-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.btn-action {
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sold-toggle {
  background: rgba(255, 0, 85, 0.15);
  color: var(--border-neon-pink);
  border: 1px solid var(--border-neon-pink);
}

.btn-sold-toggle:hover {
  background: var(--border-neon-pink);
  color: #fff;
  box-shadow: var(--glow-pink);
}

.btn-edit {
  background: rgba(0, 243, 255, 0.15);
  color: var(--border-neon-cyan);
  border: 1px solid var(--border-neon-cyan);
}

.btn-edit:hover {
  background: var(--border-neon-cyan);
  color: #05050a;
  box-shadow: var(--glow-cyan);
}

.btn-delete {
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-delete:hover {
  background: #ff2222;
  color: #fff;
}

/* ─── Site Confirm & Toast ─── */
.site-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-confirm-overlay.active {
  opacity: 1;
  visibility: visible;
}

.site-confirm-box {
  background: rgba(18, 18, 32, 0.96);
  border: 2px solid var(--border-neon-pink);
  box-shadow: var(--glow-pink), 0 25px 60px rgba(0,0,0,0.85);
  border-radius: 30px;
  padding: 35px 30px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-confirm-overlay.active .site-confirm-box {
  transform: scale(1);
}

.site-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(18, 18, 32, 0.95);
  border: 1px solid var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
  color: #fff;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.site-toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* Country Select */
.country-select-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-search-field {
  width: 100%;
  padding: 12px 20px;
  background: rgba(10, 10, 18, 0.9);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 50px;
  color: var(--border-neon-cyan);
  font-family: var(--font-arabic);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.country-search-field:focus {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
}

.country-dropdown-select {
  width: 100%;
  padding: 12px 20px;
  background: rgba(15, 15, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}

.country-dropdown-select option {
  background: #0d0e17;
  color: #fff;
  padding: 10px;
}

/* ═══════════════════════════════════════════════
   LUXURY MOBILE RESPONSIVE - Ultra Premium
   ═══════════════════════════════════════════════ */

/* ─── Tablet (768px - 1024px) ─── */
@media (max-width: 1024px) {
  .accounts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .logo-text {
    font-size: 3rem;
  }
  .stats-bar {
    gap: 12px;
  }
  .stat-pill {
    padding: 8px 18px;
    font-size: 0.88rem;
  }
}

/* ─── Large Phone (481px - 767px) ─── */
@media (max-width: 767px) {
  .container {
    width: 95%;
  }

  .logo-text {
    font-size: 2.4rem;
    gap: 10px;
  }
  .logo-ninja-icon {
    width: 42px;
    height: 42px;
  }
  .logo-tagline {
    font-size: 0.95rem;
  }

  .stats-bar {
    gap: 10px;
    margin: 18px 0 30px;
  }
  .stat-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: 40px;
  }

  .search-box-container {
    max-width: 100%;
  }
  .search-input {
    padding: 13px 22px 13px 48px;
    font-size: 0.95rem;
  }

  .accounts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .card-container {
    height: 380px;
    perspective: 1000px;
  }
  .card-front, .card-back {
    padding: 20px 16px;
    border-radius: 24px;
  }
  .avatar-icon {
    width: 60px;
    height: 60px;
  }
  .avatar-icon svg {
    width: 34px;
    height: 34px;
  }
  .account-title {
    font-size: 1.15rem;
  }
  .price-tag {
    font-size: 1.35rem;
  }
  .feature-pill {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .btn-neon {
    padding: 11px 18px;
    font-size: 0.92rem;
  }
  .btn-neon-buy {
    font-size: 0.98rem;
  }

  .modal-card {
    padding: 24px 20px;
    border-radius: 26px;
  }
  .modal-title {
    font-size: 1.25rem;
  }

  .admin-header {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 20px 0;
  }
  .admin-title {
    font-size: 1.7rem;
    justify-content: center;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .admin-card-box {
    padding: 22px;
  }
}

/* ─── Small Phone (≤ 480px) ─── */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    width: 96%;
    padding: 0 4px;
  }

  header {
    padding: 25px 0 15px;
  }

  .logo-text {
    font-size: 1.9rem;
    letter-spacing: 1px;
    gap: 8px;
  }
  .logo-ninja-icon {
    width: 36px;
    height: 36px;
  }
  .logo-tagline {
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.5;
  }

  .stats-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 15px 0 25px;
  }
  .stat-pill {
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 14px;
  }

  .search-box-container {
    margin-bottom: 25px;
  }
  .search-input {
    padding: 12px 18px 12px 44px;
    font-size: 0.9rem;
    border-radius: 40px;
  }
  .search-icon-inside {
    left: 16px;
    width: 20px;
    height: 20px;
  }

  .accounts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 10px;
  }

  .card-container {
    height: 400px;
    max-width: 360px;
    margin: 0 auto;
  }
  .card-inner {
    border-radius: 24px;
  }
  .card-front, .card-back {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .card-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .account-status-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
  }
  .limited-time-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .avatar-icon {
    width: 65px;
    height: 65px;
  }
  .avatar-icon svg {
    width: 36px;
    height: 36px;
  }
  .avatar-disclaimer {
    font-size: 0.68rem;
  }
  .account-title {
    font-size: 1.25rem;
  }
  .price-tag {
    font-size: 1.5rem;
  }
  .quick-features {
    gap: 8px;
  }
  .feature-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
    gap: 4px;
  }
  .btn-neon {
    padding: 12px 20px;
    font-size: 0.95rem;
    gap: 8px;
  }
  .btn-neon-buy {
    font-size: 1rem;
  }

  /* Focus overlay mobile */
  .card-focus-backdrop {
    padding: 15px 10px;
    align-items: flex-start;
  }
  .focused-card-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
  }
  .focus-close-btn {
    top: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .focus-close-btn .svg-icon {
    width: 18px;
    height: 18px;
  }

  /* Modal mobile */
  .modal-overlay {
    padding: 15px 10px;
    align-items: flex-start;
  }
  .modal-card {
    padding: 22px 18px;
    border-radius: 24px;
    width: 96%;
    margin: 10px auto;
  }
  .modal-icon-header svg {
    width: 44px;
    height: 44px;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-body-text {
    font-size: 0.92rem;
    padding: 12px 14px;
  }
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-confirm, .btn-cancel {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  /* Admin mobile */
  .auth-card {
    padding: 30px 22px;
    border-radius: 24px;
  }
  .auth-icon svg {
    width: 55px;
    height: 55px;
  }
  .input-neon {
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  .admin-header {
    padding: 15px 0;
    margin-bottom: 25px;
  }
  .admin-title {
    font-size: 1.4rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .admin-card-box {
    padding: 18px;
    border-radius: 24px;
  }
  .box-title {
    font-size: 1.15rem;
  }
  .form-group {
    margin-bottom: 16px;
  }
  .form-input {
    padding: 11px 16px;
    font-size: 0.9rem;
  }
  .toggle-group {
    padding: 10px 14px;
  }
  .switch {
    width: 46px;
    height: 24px;
  }
  .slider:before {
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
  }
  input:checked + .slider:before {
    transform: translateX(22px);
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  .action-btns {
    flex-wrap: wrap;
    gap: 6px;
  }
  .btn-action {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .site-confirm-box {
    padding: 28px 22px;
    border-radius: 24px;
  }
  .site-toast {
    right: 15px;
    bottom: 15px;
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 90vw;
  }

  footer {
    padding: 20px 0;
    font-size: 0.82rem;
  }
}

/* ─── Very Small Phone (≤ 360px) ─── */
@media (max-width: 360px) {
  .logo-text {
    font-size: 1.6rem;
  }
  .card-container {
    height: 380px;
  }
  .account-title {
    font-size: 1.1rem;
  }
  .price-tag {
    font-size: 1.3rem;
  }
  .feature-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

/* ─── Stealth Fake 404 Overlay Styles ─── */
.fake-404-wrapper {
  position: fixed;
  inset: 0;
  background: #080810;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.fake-404-box {
  max-width: 500px;
  width: 90%;
  padding: 40px 30px;
}

.fake-404-title {
  font-size: 6.5rem;
  font-weight: 900;
  font-family: var(--font-cyber);
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 4px;
  margin-bottom: 0;
  line-height: 1;
}

.fake-404-subtitle {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.fake-404-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.fake-404-btn {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.fake-404-btn:hover {
  background: var(--border-neon-cyan);
  color: #05050a;
}

.stealth-hint {
  margin-top: 30px;
  cursor: pointer;
  user-select: none;
}
