/**
 * Dynamic Carousel Deck Styles
 * Luxury Dark Glassmorphism with Smooth Horizontal Track
 */
.carousel-deck-wrapper {
  position: relative; width: 100%; min-width: 0; max-width: 100%;
  overflow: hidden; margin-bottom: 24px;
}
.carousel-controls-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding: 0 4px;
}
.carousel-live-counter {
  font-size: 0.9rem; color: #94a3b8; display: flex; align-items: center; gap: 8px;
}
.pulse-indicator {
  width: 8px; height: 8px; border-radius: 50%; background: #00d084;
  box-shadow: 0 0 10px #00d084; animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.carousel-nav-arrows { display: flex; gap: 8px; }
.btn-carousel-nav {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all 0.25s ease;
}
.btn-carousel-nav:hover {
  background: rgba(0, 208, 132, 0.2); border-color: #00d084; color: #00d084;
  box-shadow: 0 0 14px rgba(0, 208, 132, 0.3); transform: translateY(-2px);
}
.carousel-track-container {
  width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding: 8px 4px 16px;
}
.carousel-track-container::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 16px; width: max-content; }
.carousel-card {
  width: 275px; scroll-snap-align: start; background: rgba(18, 27, 44, 0.85);
  backdrop-filter: blur(18px); border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 16px; display: flex; flex-direction: column;
  justify-content: space-between; cursor: pointer; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.carousel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #00d084, #38bdf8); opacity: 0;
  transition: opacity 0.3s ease;
}
.carousel-card:hover, .carousel-card.active {
  transform: translateY(-4px) scale(1.02); border-color: rgba(0, 208, 132, 0.6);
  box-shadow: 0 12px 30px rgba(0, 208, 132, 0.22);
}
.carousel-card:hover::before, .carousel-card.active::before { opacity: 1; }
.card-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-logo-badge {
  width: 36px; height: 36px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.card-category-tag {
  font-size: 0.72rem; padding: 3px 8px; border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06); color: #94a3b8; font-weight: 700;
}
.card-app-name { font-size: 1.05rem; font-weight: 800; color: #ffffff; margin-bottom: 2px; }
.card-app-tagline { font-size: 0.78rem; color: #94a3b8; margin-bottom: 12px; min-height: 20px; }
.card-price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  background: rgba(255, 255, 255, 0.02); padding: 6px 10px; border-radius: 8px;
  margin-bottom: 10px;
}
.card-price-label { font-size: 0.75rem; color: #94a3b8; }
.card-price-value { font-size: 0.95rem; font-weight: 800; color: #00d084; }
.card-progress-wrap { margin-bottom: 12px; }
.card-progress-bar {
  height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-full);
  overflow: hidden; margin-bottom: 4px;
}
.card-progress-fill {
  height: 100%; background: linear-gradient(90deg, #00d084 0%, #38bdf8 100%);
  border-radius: var(--radius-full);
}
.card-progress-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: #64748b; }
.card-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-card-preview {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1; padding: 6px 8px; border-radius: 8px; font-size: 0.78rem;
  font-weight: 700; cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn-card-preview:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.btn-card-invest {
  background: rgba(0, 208, 132, 0.15); border: 1px solid rgba(0, 208, 132, 0.4);
  color: #00d084; padding: 6px 8px; border-radius: 8px; font-size: 0.78rem;
  font-weight: 800; cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn-card-invest:hover {
  background: #00d084; color: #03141f; box-shadow: 0 0 12px rgba(0, 208, 132, 0.5);
}
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  cursor: pointer; transition: all 0.25s ease;
}
.carousel-dot.active {
  width: 22px; border-radius: 4px; background: #00d084; box-shadow: 0 0 8px #00d084;
}
.card-status-row{display:flex;justify-content:space-between;align-items:center;margin:7px 0;color:#94a3b8;font-size:.7rem}.project-stage{padding:2px 7px;border-radius:999px;background:rgba(0,208,132,.12);color:#63e5b2;font-weight:700}.card-revenue-type{margin:-2px 0 9px;color:#b6c2d2;font-size:.72rem}.card-revenue-type::before{content:'نموذج الإيرادات: ';color:#718096}
.projects-empty{padding:34px;border:1px dashed rgba(255,255,255,.18);border-radius:16px;color:#aebacc;text-align:center}.project-availability{display:inline-flex;margin:0 0 8px;padding:4px 9px;border-radius:999px;font-size:.67rem;font-weight:800}.project-availability.upcoming{background:rgba(251,191,36,.14);color:#fcd34d;border:1px solid rgba(251,191,36,.24)}.project-availability.open{background:rgba(54,232,164,.13);color:#72e9c0;border:1px solid rgba(54,232,164,.27)}.card-stage{display:flex;justify-content:space-between;gap:8px;margin:10px 0;padding:8px 0;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);color:#9db0c9;font-size:.65rem}.card-stage span:last-child{text-align:left;color:#76d8fb}.btn-card-invest.is-disabled{border-color:rgba(251,191,36,.3);background:rgba(251,191,36,.08);color:#fcd34d;cursor:default}.btn-card-invest.is-disabled:hover{background:rgba(251,191,36,.08);color:#fcd34d;box-shadow:none}
