/* ============================================================
   Dragon Store - Global Stylesheet
   Author: Dragon Store Team
   Description: Premium dark theme styling for Dragon Store
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Cairo:wght@300;400;600;700;900&family=Orbitron:wght@400;700;900&display=swap');

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --primary: #ff4d00;
  --primary-light: #ff6a2b;
  --primary-dark: #c93c00;
  --secondary: #ff9800;
  --accent: #ffd700;
  --bg-dark: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #16161f;
  --bg-glass: rgba(255, 77, 0, 0.05);
  --bg-glass-strong: rgba(255, 77, 0, 0.1);
  --border-color: rgba(255, 77, 0, 0.2);
  --border-glow: rgba(255, 77, 0, 0.5);
  --text-primary: #ffffff;
  --text-secondary: #b0b0c3;
  --text-muted: #6b6b80;
  --gradient-fire: linear-gradient(135deg, #ff4d00, #ff9800, #ffd700);
  --gradient-dark: linear-gradient(135deg, #0a0a0f, #111118);
  --shadow-glow: 0 0 20px rgba(255, 77, 0, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.6);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --font-en: 'Orbitron', 'Rajdhani', sans-serif;
  --font-ar: 'Cairo', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  direction: rtl;
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ---------- Particle Background ---------- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

#main-header.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: var(--shadow-glow);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.logo-icon-fallback {
  width: 40px;
  height: 40px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-fire);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Currency Toggle */
.currency-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4px;
  gap: 2px;
}

.currency-btn {
  padding: 5px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
  background: transparent;
  color: var(--text-muted);
}

.currency-btn.active {
  background: var(--gradient-fire);
  color: white;
  box-shadow: 0 2px 10px rgba(255, 77, 0, 0.4);
}

/* Notification Bell */
.notif-wrapper {
  position: relative;
  cursor: pointer;
}

.notif-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.notif-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.notif-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  animation: pulse-badge 2s infinite;
}

.notif-badge.hidden { display: none; }

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,77,0,0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(255,77,0,0); }
}

/* Notification Dropdown */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: var(--transition);
  z-index: 999;
}

.notif-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.notif-header-bar {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-header-bar h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.mark-read-btn {
  font-size: 0.75rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-ar);
}

.notif-list {
  max-height: 300px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,77,0,0.05);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notif-item:hover { background: var(--bg-glass); }
.notif-item.unread { background: rgba(255, 77, 0, 0.04); }

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.notif-item-content { flex: 1; }
.notif-item-msg {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.notif-item-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.notif-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.mobile-nav.open { max-height: 300px; }

.mobile-nav ul {
  list-style: none;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.mobile-nav a:hover { color: var(--primary); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255,77,0,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,152,0,0.06) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,77,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
}

.hero-title .fire-text {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  filter: drop-shadow(0 0 30px rgba(255,77,0,0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-fire);
  color: white;
  border: none;
  border-radius: 30px;
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 77, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 77, 0, 0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-glass);
  transform: translateY(-2px);
  color: var(--primary-light);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 80px 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.section-title span {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-fire);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
#portfolio {
  background: linear-gradient(180deg, transparent, rgba(255,77,0,0.02), transparent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.portfolio-card:hover::before { transform: scaleX(1); }

.portfolio-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-fire);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.portfolio-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.portfolio-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}

.portfolio-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--primary-light);
}

/* ============================================================
   STORE SECTION
   ============================================================ */
#store {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3), transparent);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.filter-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  padding: 7px 18px;
  border-radius: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-ar);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--gradient-fire);
  border-color: transparent;
  color: white;
  box-shadow: 0 3px 12px rgba(255, 77, 0, 0.35);
}

/* Price Filter */
.price-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 6px 16px;
}

.price-filter label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.price-filter input[type="range"] {
  width: 100px;
  accent-color: var(--primary);
  cursor: pointer;
}

.price-display {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  min-width: 80px;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 6px 16px;
  gap: 8px;
  transition: var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255,77,0,0.2);
}

.search-bar i { color: var(--text-muted); font-size: 0.85rem; }

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: 0.85rem;
  width: 160px;
}

.search-bar input::placeholder { color: var(--text-muted); }

/* Account Cards Grid */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Account Card */
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  group: true;
}

.account-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.account-card:hover .card-img-wrapper img { transform: scale(1.08); }

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, transparent 60%);
}

.card-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(255,77,0,0.85);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
}

.card-body {
  padding: 1.2rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.card-buy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gradient-fire);
  color: white;
  border: none;
  border-radius: 20px;
  font-family: var(--font-ar);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.card-buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--border-color);
}

/* Loading Skeleton */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: skeleton-pulse 1.5s infinite;
}

.skeleton-img {
  height: 180px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body { padding: 1.2rem; }
.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  margin-bottom: 10px;
  animation: shimmer 1.5s infinite;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PRODUCT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-strong);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* Image Slider */
.modal-slider {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #000;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 5;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-btn.prev { right: 16px; }
.slider-btn.next { left: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Modal Content */
.modal-content {
  padding: 2rem;
}

.modal-category {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--primary-light);
  margin-bottom: 0.8rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.modal-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-code span {
  font-family: 'Courier New', monospace;
  background: var(--bg-glass-strong);
  padding: 2px 10px;
  border-radius: 6px;
  color: var(--accent);
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-price-wrapper {
  display: flex;
  flex-direction: column;
}

.modal-price {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 30px;
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.modal-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: #20c15e;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: linear-gradient(180deg, transparent, rgba(255,77,0,0.03));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  color: var(--text-secondary);
}

.contact-link:hover {
  border-color: var(--primary);
  background: var(--bg-glass);
  color: var(--text-primary);
  transform: translateX(-4px);
}

.contact-link-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-fire);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-link-text { font-size: 0.9rem; font-weight: 600; }
.contact-link-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.contact-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dragon-visual {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,0,0.15) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float-dragon 4s ease-in-out infinite;
}

.dragon-visual-inner {
  font-size: 8rem;
  filter: drop-shadow(0 0 30px rgba(255,77,0,0.6));
}

.dragon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,77,0,0.2);
  animation: rotate-ring 8s linear infinite;
}

.dragon-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  margin-left: -4px;
}

@keyframes float-dragon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
  background: rgba(0,0,0,0.3);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  min-width: 280px;
  max-width: 360px;
  backdrop-filter: blur(10px);
  animation: toast-in 0.3s ease forwards;
}

.toast.removing { animation: toast-out 0.3s ease forwards; }

.toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(37,211,102,0.15); color: #25D366; }
.toast.error .toast-icon { background: rgba(255,77,0,0.15); color: var(--primary); }
.toast.info .toast-icon { background: rgba(255,152,0,0.15); color: var(--secondary); }

.toast-msg {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.loading-bar-wrapper {
  width: 200px;
  height: 3px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: var(--gradient-fire);
  border-radius: 3px;
  animation: loading-progress 1.8s ease-in-out infinite;
}

@keyframes loading-progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255,77,0,0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(255,77,0,0.8)); }
}

/* ============================================================
   ADMIN PAGE STYLES
   ============================================================ */
.admin-page {
  direction: rtl;
  min-height: 100vh;
  background: var(--bg-dark);
}

/* Admin Login */
.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.admin-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-strong);
}

.admin-login-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: var(--gradient-fire);
  z-index: -1;
  opacity: 0.3;
  filter: blur(15px);
}

.login-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(255,77,0,0.4);
}

.login-title {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.2rem;
  text-align: right;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
  direction: ltr;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,77,0,0.15);
}

.form-input::placeholder { color: var(--text-muted); }

.form-textarea {
  resize: vertical;
  min-height: 100px;
  direction: rtl;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff4d00' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 36px;
}

/* Admin Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.sidebar-logo {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 4px;
}

.sidebar-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-glass-strong);
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
}

.sidebar-nav { flex: 1; padding: 1rem 0; }

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-right: 3px solid transparent;
  border-left: none;
}

.sidebar-nav-item:hover {
  color: var(--text-secondary);
  background: var(--bg-glass);
  border-right-color: var(--primary);
}

.sidebar-nav-item.active {
  color: var(--primary);
  background: var(--bg-glass-strong);
  border-right-color: var(--primary);
}

.sidebar-nav-item i { width: 18px; text-align: center; font-size: 0.95rem; }

.sidebar-bottom {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,77,0,0.1);
  border: 1px solid rgba(255,77,0,0.2);
  border-radius: var(--radius-md);
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.logout-btn:hover {
  background: rgba(255,77,0,0.2);
  transform: translateX(-2px);
}

/* Admin Main Content */
.admin-main {
  padding: 2rem;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-page-title {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-page-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Admin Tabs */
.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* Stats Cards (Dashboard) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.stat-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-fire);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.stat-card-value {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
}

.stat-card-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Admin Table */
.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-table-title { font-weight: 700; font-size: 0.95rem; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 12px 16px;
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,77,0,0.03);
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,77,0,0.05);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-glass); }

.table-account-img {
  width: 45px;
  height: 35px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.table-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-glass-strong);
  color: var(--primary-light);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-glass);
}

.action-btn.delete:hover {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(255,68,68,0.1);
}

/* Add Account Form */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-title i { color: var(--primary); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Image URLs Manager */
.image-urls-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.image-url-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.image-url-item input {
  flex: 1;
}

.remove-url-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,68,68,0.3);
  background: transparent;
  color: #ff4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.remove-url-btn:hover { background: rgba(255,68,68,0.1); }

.add-url-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 0.82rem;
  transition: var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.add-url-btn:hover { border-color: var(--primary); background: var(--bg-glass-strong); }

/* Broadcast Form */
.broadcast-preview {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 60px;
}

/* Settings Logo Preview */
.logo-preview-box {
  width: 80px;
  height: 80px;
  background: var(--bg-dark);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.logo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-layout {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0.5rem;
  }

  .sidebar-nav-item {
    padding: 8px 12px;
    border-right: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
  }

  .sidebar-nav-item.active {
    border-bottom-color: var(--primary);
    border-right-color: transparent;
  }

  .sidebar-bottom { width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-visual { display: none; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-stats { gap: 2rem; }

  .modal-slider { height: 220px; }

  .admin-main { padding: 1rem; }

  #main-header { padding: 0 1rem; }

  .section { padding: 60px 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .currency-toggle { display: none; }
  .accounts-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .modal-footer { flex-direction: column; align-items: stretch; }
  .modal-buy-btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Utility Classes */
.text-fire {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-border {
  border: 1px solid var(--border-glow) !important;
  box-shadow: var(--shadow-glow);
}

.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.4s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
