/**
 * modern-ui.css
 * Enhancement UI premium untuk Store Panel Pterodactyl.
 * Hanya memodifikasi tampilan — tidak menyentuh backend.
 *
 * Author: Premium UI Upgrade v2.0
 */

/* ============================================================
   GLOBAL ENHANCEMENTS
   ============================================================ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection color */
::selection {
  background: rgba(99, 102, 241, 0.35);
  color: #e2e8f0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
#stats-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.stat-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
#reviews-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Review card hover */
.review-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: default;
}
.review-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 80px rgba(99, 102, 241, 0.12);
}

/* Swiper overrides */
.reviews-swiper .swiper-pagination {
  bottom: 0;
}
.reviews-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
  width: 6px; height: 6px;
  transition: all 0.3s ease;
}
.reviews-swiper .swiper-pagination-bullet-active {
  background: #818cf8;
  width: 20px;
  border-radius: 3px;
}

/* ============================================================
   LIVE ACTIVITY BADGE
   ============================================================ */
.live-activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(226, 232, 240, 0.75);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 600;
  margin-top: 10px;
}

/* ============================================================
   PRODUCT CARD ENHANCEMENTS
   ============================================================ */

/* Subtle hover lift on all premium cards */
.premium-card, .glass-panel, .neo, .g-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
}

/* ============================================================
   BUTTON ENHANCEMENTS
   ============================================================ */

/* Gradient button glow */
button, a[href] {
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.97);
}

/* Purchase button loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
  position: relative;
}
.btn-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  border-radius: inherit;
}
.btn-loading .btn-spinner {
  display: inline-block !important;
}

/* Scale feedback */
.scale-95 {
  transform: scale(0.95) !important;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#premium-toast {
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  margin: 0 auto;
}

/* ============================================================
   FOOTER ENHANCEMENT
   ============================================================ */
footer .social-icon {
  transition: transform 0.2s ease, color 0.2s ease;
}
footer .social-icon:hover {
  transform: translateY(-3px);
}

/* ============================================================
   CONFIRMATION PAGE - CONFETTI AREA
   ============================================================ */
[data-view="confirmation"],
.confirmation-success {
  position: relative;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px) {
  #stats-section { padding: 60px 0; }
  #reviews-section { padding: 60px 0; }
  .stat-number { font-size: 28px; }
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
.theme-light #stats-section,
.theme-light #reviews-section {
  color: #0f172a;
}
.theme-light .stat-number {
  color: #0f172a !important;
}
.theme-light .review-card p {
  color: #334155;
}
.theme-light .live-activity-badge {
  color: #374151;
}
