/* ====================== RULLZYESTORE DESIGN SYSTEM ====================== */
:root {
  --bg-primary: #03050f;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(124, 58, 237, 0.4);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #7c3aed;
  --accent-light: #c084fc;
  --accent-dark: #6d28d9;
  --accent-gradient: linear-gradient(135deg, #7c3aed, #6d28d9, #5b21b6);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --shadow: 0 24px 48px -16px rgba(124, 58, 237, 0.25);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); border-radius: 10px; }

/* ===== GLASS CARD ===== */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.glass-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}
.glass-hover:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: btnShine 4s ease infinite;
  transition: all 0.3s ease;
  border: none;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.4);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled {
  background: #334155;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes btnShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-hover);
  color: white;
}

/* ===== INPUTS ===== */
.input-field {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: white;
  outline: none;
  transition: all 0.2s;
}
.input-field:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.input-field::placeholder { color: var(--text-muted); }

.input-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(3, 5, 15, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

/* ===== PROMO BAR ===== */
.promo-bar {
  background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(109,40,217,0.9), rgba(91,33,182,0.9));
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 16px;
  display: flex;
  align-items: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.scale-in { animation: scaleIn 0.3s ease forwards; }

@keyframes pop {
  from { transform: scale(0.92) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-pop { animation: pop 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.badge-success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-info { background: rgba(124, 58, 237, 0.15); color: #c084fc; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #c084fc, #a78bfa, #818cf8, #6366f1, #c084fc);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== LIVE DOT ===== */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-content {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  padding: 32px 16px;
  text-align: center;
}
.footer-text {
  font-size: 11px;
  color: #475569;
}

/* ===== SPINNER ===== */
.spinner {
  width: 40px; height: 40px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* ===== ICON RING ===== */
.icon-ring {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.icon-ring::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(99,102,241,0.1));
  z-index: -1;
}

/* ===== HIDE SCROLLBAR ===== */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== BACK BUTTON ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}
.back-btn:hover {
  color: var(--accent-light);
  border-color: var(--border-hover);
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -12px rgba(124,58,237,0.3);
}

/* ===== RESPONSIVE CONTAINER ===== */
.container-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-area {
  padding-top: 80px;
  padding-bottom: 32px;
}

/* ===== SECTION ===== */
.section {
  scroll-margin-top: 80px;
}
