/* SHUSHUA STORE — Theme Variables & Base Styles */
:root {
  --primary: #DCCBFF;        /* Light Purple */
  --primary-soft: #E9DFFF;   /* Soft Lavender */
  --primary-hover: #c4adfc;
  --accent: #FFD6E7;         /* Light Pink */
  --accent-soft: #FFE8F0;    /* Soft Pink */
  --accent-hover: #ffb8d7;
  --bg: #171421;             /* Dark Canvas */
  --bg-deep: #100d17;
  --card-bg: #211B2B;        /* Dark Card */
  --card-bg-hover: #292236;
  --card-border: rgba(220, 203, 255, 0.12);
  --card-border-hover: rgba(220, 203, 255, 0.35);
  --text: #FFFFFF;           /* Primary Text */
  --text-muted: #C9BED6;     /* Secondary Pastel Text */
  --text-dim: #8b7d9e;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glow: 0 0 25px rgba(220, 203, 255, 0.18);
  --glow-pink: 0 0 25px rgba(255, 214, 231, 0.18);
  --glass-bg: rgba(33, 27, 43, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --green: #10B981;
  --green-soft: rgba(16, 185, 129, 0.15);
  --yellow: #F59E0B;
  --red: #EF4444;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
}

/* Prevent auto-zooming on focus in iOS Safari */
input, select, textarea, button {
  touch-action: manipulation;
}
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Ambient Ambient Artwork Background Layer (Desktop / PC / Mac / iPad) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('/images/bg-desktop.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  filter: saturate(1.15) brightness(0.92);
  transition: background-image 0.3s ease, opacity 0.3s ease;
}

/* Subtle Dark Glassmorphism Radial Backdrop for crisp typography */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(220, 203, 255, 0.08) 0%, rgba(23, 20, 33, 0.82) 40%, #171421 95%);
  pointer-events: none;
}

/* Mobile View Background (iOS, Android, iPod - Screen Width <= 768px) */
@media (max-width: 768px) {
  body::before {
    background-image: url('/images/bg-mobile.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 0.22;
    filter: saturate(1.2) brightness(0.95);
  }
  body::after {
    background: radial-gradient(circle at 50% 0%, rgba(255, 214, 231, 0.09) 0%, rgba(23, 20, 33, 0.86) 45%, #171421 95%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #342b45;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

