/* ============================================
   Satya Sports — Design System
   Premium Sports Store CSS
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #E11D2E;
  --primary-light: #FF4D5E;
  --primary-dark: #B91626;
  --primary-rgb: 225, 29, 46;
  --accent: #FACC15;
  --accent-light: #FDE047;
  --accent-dark: #EAB308;
  --white: #FFFFFF;
  --surface: #F8FAFC;
  --surface-warm: #FFFBF5;
  --dark: #1F2937;
  --dark-light: #374151;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-lighter: #D1D5DB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --success: #22C55E;
  --success-light: #DCFCE7;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px -8px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 4px 30px -4px rgba(225, 29, 46, 0.3);
  --shadow-red-lg: 0 8px 40px -4px rgba(225, 29, 46, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --section-padding: 80px;
  --container-padding: 16px;
}

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

html, body {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
}

.font-number {
  font-family: 'Manrope', sans-serif;
}

/* --- Selection --- */
::selection {
  background-color: rgba(225, 29, 46, 0.15);
  color: var(--primary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-lighter);
  border-radius: var(--radius-full);
  border: 2px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-light);
}

/* --- Links --- */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* --- Images --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-light);
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--dark-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar .nav-link:hover {
  color: var(--primary);
  background-color: rgba(225, 29, 46, 0.05);
}

.navbar .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--white);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--primary);
  background: rgba(225, 29, 46, 0.04);
  padding-left: 32px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px -4px rgba(37, 211, 102, 0.4);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.813rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-premium {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card-premium:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.product-card .product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
}

.product-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-card .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card .discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-card .stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.688rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.stock-badge.in-stock {
  background: var(--success-light);
  color: #166534;
}

.stock-badge.low-stock {
  background: #FEF3C7;
  color: #92400E;
}

.stock-badge.out-of-stock {
  background: #FEE2E2;
  color: #991B1B;
}

.product-card .product-info {
  padding: 16px;
}

.product-card .product-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card .product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
}

.product-card .price-current {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
}

.product-card .price-original {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-light);
  text-decoration: line-through;
}

.product-card .product-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

/* ============================================
   GLASSMORPHISM
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(31, 41, 55, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(225, 29, 46, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.063rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(225, 29, 46, 0.08);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.813rem;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CATEGORY CARD
   ============================================ */
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition-base);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  transition: all var(--transition-base);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(225, 29, 46, 0.8), rgba(225, 29, 46, 0.2));
}

.category-card .category-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.category-card .category-count {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--gray);
}

/* ============================================
   BRAND LOGOS
   ============================================ */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  filter: grayscale(100%);
}

.brand-logo:hover {
  filter: grayscale(0%);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.brand-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(225, 29, 46, 0.08);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  color: var(--accent);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(225, 29, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 24px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 48px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SEARCH & FILTERS
   ============================================ */
.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  color: var(--dark);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.1);
}

.search-input::placeholder {
  color: var(--gray-light);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(225, 29, 46, 0.08);
  color: var(--primary);
  font-size: 0.813rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.filter-chip:hover {
  background: rgba(225, 29, 46, 0.15);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.938rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.08);
}

.form-input::placeholder {
  color: var(--gray-light);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--success);
  min-width: 300px;
  max-width: 420px;
  transform: translateX(120%);
  transition: transform var(--transition-spring);
  font-size: 0.875rem;
  font-weight: 500;
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-left-color: var(--error);
}

.toast.warning {
  border-left-color: var(--warning);
}

.toast.info {
  border-left-color: var(--info);
}

/* ============================================
   QUANTITY SELECTOR
   ============================================ */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-selector button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.qty-selector button:hover {
  background: var(--primary);
  color: var(--white);
}

.qty-selector .qty-value {
  width: 48px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.938rem;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  background: var(--white);
}

/* ============================================
   MODAL / LIGHTBOX
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 2001;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-content.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
  transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
  color: var(--gray-lighter);
}

.breadcrumb .current {
  color: var(--dark);
  font-weight: 500;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red-lg);
}

/* ============================================
   LOADING & SKELETONS
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 0.688rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #0F172A 100%);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.063rem;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

/* ============================================
   SWIPER OVERRIDES
   ============================================ */
.swiper-button-next,
.swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background: var(--white) !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--dark) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-red) !important;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: var(--gray-lighter) !important;
  opacity: 1 !important;
  transition: all var(--transition-fast) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 28px !important;
  border-radius: var(--radius-full) !important;
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-sidebar {
  width: 260px;
  min-height: calc(100vh - 72px);
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}

.admin-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--gray);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.admin-sidebar .sidebar-link:hover,
.admin-sidebar .sidebar-link.active {
  color: var(--primary);
  background: rgba(225, 29, 46, 0.04);
  border-left-color: var(--primary);
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (min-width: 640px) {
  :root {
    --container-padding: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 32px;
    --section-padding: 100px;
  }
}
