/* ==========================================================================
   TIME WORLD - LUXURY DESIGN SYSTEM & GLOBAL TOKENS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800;900&family=Hind+Siliguri:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Deep Luxury Theme */
  --bg-primary: #07080c;
  --bg-secondary: #0e1118;
  --bg-tertiary: #161b26;
  --bg-card: rgba(18, 22, 32, 0.75);
  --bg-card-hover: rgba(26, 32, 48, 0.85);
  --bg-glass: rgba(14, 17, 24, 0.75);
  --bg-modal: rgba(10, 12, 18, 0.95);

  /* Gold & Metallic Accents */
  --gold-primary: #d4af37;
  --gold-secondary: #f3e5ab;
  --gold-dark: #aa820a;
  --gold-light: #f7df8b;
  --gold-gradient: linear-gradient(135deg, #f7df8b 0%, #d4af37 50%, #aa820a 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fff2b2 0%, #e5c04b 50%, #b88d0f 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --gold-border: rgba(212, 175, 55, 0.3);

  /* Electric Accents */
  --accent-cyan: #00d2ff;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-orange: #f97316;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #d4af37;
  --text-inverse: #07080c;

  /* Border & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold-subtle: rgba(212, 175, 55, 0.2);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', 'Hind Siliguri', sans-serif;
  --font-bangla: 'Hind Siliguri', 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bangla-text {
  font-family: var(--font-bangla);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  user-select: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

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

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.badge-hot {
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.badge-new {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.badge-discount {
  background: #e11d48;
  color: #fff;
  font-weight: 800;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.15);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.5); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulse-gold {
  animation: pulseGold 2.5s infinite;
}
