:root {
  /* ========================================= */
  /* 🎨 EYE-CATCHING COLOR SCHEME (HUFT-Inspired) */
  /* ========================================= */

  /* Primary Vibrant Accent - Orange (Eye-catching!) */
  --accent-orange: #FF782C;
  --accent-orange-light: #FF9A5C;
  --accent-orange-dark: #E56520;

  /* Sale/Urgency Colors */
  --sale-red: #E53935;
  --sale-red-light: #FF5252;
  --sale-badge: linear-gradient(135deg, #E53935, #FF5252);

  /* Warm Backgrounds (HUFT-style) */
  --bg-warm: #FFF8F0;
  --bg-warm-alt: #FEF3E8;
  --bg-cream: #FFFAF5;

  /* Professional sea green (secondary) */
  --primary-sea-green: #20B2AA;
  --primary-dark-green: #008B8B;
  --primary-yellow: #FFD700;
  --primary-dark: #1a1a1a;
  --primary-darker: #000000;

  /* Backgrounds - professional white/light */
  --bg: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  --bg-secondary: rgba(255, 255, 255, 0.95);
  --bg-tertiary: rgba(255, 255, 255, 0.85);
  --bg-card: #ffffff;

  /* Glass effects for professional UI */
  --glass: rgba(255, 255, 255, 0.85);
  --glass-hover: rgba(255, 120, 44, 0.08);
  --glass-active: rgba(255, 120, 44, 0.12);
  --glass-border: rgba(255, 120, 44, 0.2);

  /* Borders with orange tint */
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(255, 120, 44, 0.4);
  --border-focus: rgba(255, 120, 44, 0.6);

  /* Text colors */
  --text: #1a1a1a;
  --text-muted: #666666;
  --text-heading: #000000;
  --text-accent: #FF782C;

  /* Accents - Orange primary, sea green secondary */
  --accent: #FF782C;
  --accent2: #FFD700;
  --accent3: #20B2AA;
  --accent-gradient: linear-gradient(135deg, #FF782C, #FFB347, #FFD700);
  --accent-gradient-hover: linear-gradient(135deg, #FF9A5C, #FFCC66, #FFE44D);

  /* Status colors */
  --success: #4CAF50;
  --error: #E53935;
  --warning: #FF9800;

  /* Enhanced Shadows - more dramatic */
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 35px rgba(255, 120, 44, 0.2), 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-focus: 0 0 0 4px rgba(255, 120, 44, 0.25);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.1);

  /* Glow effects */
  --glow-orange: 0 0 20px rgba(255, 120, 44, 0.4);
  --glow-yellow: 0 0 20px rgba(255, 215, 0, 0.4);
  --glow-green: 0 0 20px rgba(32, 178, 170, 0.3);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);

  /* HIGHER Border radius for modern look */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-xxl: 32px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;

  /* Typography */
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter var', 'Segoe UI', system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Animation timing functions */
  --ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
  --ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  --ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
  --ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);

  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);

  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
  --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);

  /* Custom easings for specific effects */
  --bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --overshoot: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Animation durations (slower, calmer) */
  --duration-fast: 0.22s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;
  --duration-slower: 0.9s;
  --duration-slowest: 1.4s;

  /* Animation delays */
  --delay-fast: 0.1s;
  --delay-normal: 0.2s;
  --delay-slow: 0.3s;
  --delay-slower: 0.5s;

  /* Scroll tint variables for smooth background shift (very subtle on light) */
  --scroll-tint-h: 210;
  /* hue */
  --scroll-tint-s: 50%;
  /* saturation */
  --scroll-tint-l: 96%;
  /* lightness */
  --scroll-tint-alpha: 0;
  /* dynamic alpha updated via JS */
}

/* Fix for text overflow issues */
h2,
p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

* {
  box-sizing: border-box
}

/* html, body height rule removed */

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Noto Sans, Arial;
  background:
    linear-gradient(0deg, hsla(180, 40%, 98%, var(--scroll-tint-alpha, 0.0)), hsla(180, 40%, 98%, var(--scroll-tint-alpha, 0.0))),
    radial-gradient(900px 500px at 10% -10%, rgba(32, 178, 170, 0.08), rgba(0, 0, 0, 0)),
    radial-gradient(700px 420px at 110% 10%, rgba(255, 215, 0, 0.06), rgba(0, 0, 0, 0)),
    radial-gradient(600px 380px at 50% 50%, rgba(0, 139, 139, 0.04), rgba(0, 0, 0, 0)),
    var(--bg);
  background-size: 100% 100%;
  animation: none;
  /* disable background motion for professional feel */
  overflow-x: hidden;
  min-height: 100vh;
}

/* Keep keyframes (not used by body now) for potential reuse */
@keyframes bgSequential {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }

  25% {
    background-position: 0% 0%, 20% 10%, 0% 0%, 0% 0%, 0% 0%;
  }

  50% {
    background-position: 0% 0%, 20% 10%, 10% 20%, 0% 0%, 0% 0%;
  }

  75% {
    background-position: 0% 0%, 20% 10%, 10% 20%, -10% -10%, 0% 0%;
  }

  100% {
    background-position: 0% 0%, 20% 10%, 10% 20%, -10% -10%, 100% 100%;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--text-accent);
  text-decoration: underline;
  text-shadow: none;
}

.container {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

.hidden {
  display: none
}

.shadow {
  box-shadow: var(--shadow);
}

.round {
  border-radius: 16px
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

/* Tags and buttons tuned for light UI */
.tag {
  display: inline-block;
  padding: 8px 12px;
  font-size: .85rem;
  border-radius: 999px;
  background: rgba(32, 178, 170, 0.15);
  border: 1px solid rgba(32, 178, 170, 0.3);
  color: var(--text);
  transition: var(--transition-normal);
  backdrop-filter: blur(4px);
}

.tag:hover {
  background: rgba(32, 178, 170, 0.25);
  box-shadow: 0 4px 14px rgba(32, 178, 170, 0.2);
  transform: translateY(-2px);
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #ffffff;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

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

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

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

.btn.ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.1);
}

.btn.ghost:hover {
  background: rgba(32, 178, 170, 0.05);
  box-shadow: 0 6px 16px rgba(32, 178, 170, 0.15);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr)
}

/* Card tuned for light */
.card {
  grid-column: span 4;
  background: linear-gradient(180deg, #ffffff, #f8fffe);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: var(--transition-slow);
  transform: translateZ(0);
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateZ(10px) translateY(-6px);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-hover);
}

.card.large {
  grid-column: span 8
}

.card .art {
  height: 180px;
  border-radius: 16px;
  background:
    radial-gradient(200px 120px at 70% 10%, rgba(32, 178, 170, 0.15), transparent 40%),
    radial-gradient(200px 120px at 30% 90%, rgba(255, 215, 0, 0.12), transparent 40%),
    radial-gradient(150px 100px at 50% 50%, rgba(0, 139, 139, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 18px rgba(26, 26, 26, 0.05);
  transition: var(--transition-normal);
}

.card .art:hover {
  box-shadow: inset 0 0 12px rgba(32, 178, 170, 0.2);
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
  color: var(--text-heading);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.55;
}

.pill {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: .75rem;
  opacity: .95;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 8px 12px;
  border-radius: 999px;
  transition: var(--transition-normal);
}

.pill:hover {
  background: rgba(255, 215, 0, 0.35);
  box-shadow: 0 8px 18px rgba(255, 215, 0, 0.4);
  transform: scale(1.03) translateY(-1px);
}

@media (max-width: 900px) {
  .card {
    grid-column: span 12
  }

  .card.large {
    grid-column: span 12
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* Typing indicator animation */
@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 4px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Loading dots (fixed multiple definitions) */
@keyframes blink {
  0% {
    opacity: 0.2;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0.2;
  }
}

.loading-dots::after {
  content: '...';
  animation: blink 1.4s infinite;
}

.success-check::before {
  content: '✓ ';
}

/* Text Rotator Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

.text-container {
  font-family: 'Playfair Display', serif;
  color: #2e3d30;
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
}

.static-text {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.changing-text {
  font-size: 3.5rem;
  font-weight: 400;
  font-style: italic;
  color: #6b8e6b;
  margin-top: 0;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  min-height: 1.2em;
}

.fade-out {
  opacity: 0;
}