/* Premium Huuto247 Design System - Beyond algorithms. Into outcomes. */
:root {
  /* Enhanced Premium Color Palette */
  --bg-main: linear-gradient(135deg, #f5f8fb 0%, #e8f2f7 100%);
  --bg-tint: linear-gradient(145deg, #ebf4f9 0%, #ddeef5 100%);
  --surface: rgba(255, 255, 255, 0.95);
  --surface-soft: rgba(247, 250, 253, 0.8);
  --surface-glass: rgba(255, 255, 255, 0.25);
  --surface-glass-border: rgba(255, 255, 255, 0.3);
  
  /* Premium Brand Colors */
  --brand-900: #0a1a2e;
  --brand-700: #16213e;
  --brand-gradient: linear-gradient(135deg, #1a2b5c 0%, #2c4d8a 50%, #3d6bb8 100%);
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #f093fb 100%);
  --accent-600: #6366f1;
  --accent-500: #8b5cf6;
  --accent-glow: rgba(99, 102, 241, 0.4);
  
  /* Premium Warning & Status */
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  
  /* Premium Typography */
  --text-900: #0f1419;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-gradient: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  
  /* Premium Borders & Lines */
  --line: rgba(15, 20, 25, 0.08);
  --line-soft: rgba(15, 20, 25, 0.05);
  --hairline: rgba(15, 20, 25, 0.04);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Enhanced Border Radius */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  
  /* Premium Shadow System */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 16px 64px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
  --glow-accent: 0 0 32px var(--accent-glow);
  
  /* Premium Animation Curves */
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Background Patterns */
  --bg-pattern: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

/* Premium Base Styles */
* { 
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hidden utility class - CRITICAL for cookie popup disappearing */
.hidden {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

html { 
  scroll-behavior: smooth;
}

html, body { 
  margin: 0;
  padding: 0;
}

body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
  color: var(--text-900); 
  background: var(--bg-main);
  background-attachment: fixed;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-pattern);
  z-index: -1;
  pointer-events: none;
}

a { 
  color: inherit; 
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
}

button, input, select { 
  font: inherit; 
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

.container { 
  width: min(1420px, 95vw); 
  margin: 0 auto; 
  padding: 0 clamp(16px, 2.5vw, 32px);
}

.sr-only { 
  position: absolute; 
  width: 1px; 
  height: 1px; 
  margin: -1px; 
  clip: rect(0, 0, 0, 0); 
  overflow: hidden; 
}

/* Premium Glass Effects */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== PREMIUM TOP BAR ===== */
.top-bar { 
  min-height: 38px; 
  background: linear-gradient(135deg, #1a2b5c 0%, #2c4d8a 50%, #1a2b5c 100%);
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 2rem; 
  font-size: .85rem; 
  font-weight: 700;
  color: rgba(255,255,255,.95);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: topBarShimmer 4s ease-in-out infinite;
}
@keyframes topBarShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.top-bar-link {
  color: rgba(255,255,255,.95) !important;
  text-decoration: none;
  transition: all 0.3s var(--ease-premium);
  position: relative;
  padding: 4px 0;
}
.top-bar-link:hover { 
  color: #fff !important;
  text-shadow: 0 0 12px rgba(255,255,255,.5);
  transform: scale(1.05);
}
.top-bar-sep { color: rgba(255,255,255,.3); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.site-header.scrolled { border-color: var(--hairline); box-shadow: 0 8px 20px rgba(16, 24, 40, .07); }
.header-row { min-height: 72px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .65rem; }
/* ===== PREMIUM LOGO ===== */
.logo { 
  display: inline-flex; 
  align-items: center; 
  gap: 0; 
  font-weight: 800; 
  letter-spacing: .02em;
  text-decoration: none;
  position: relative;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.4s var(--ease-premium);
}
.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.15);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.6), 0 0 48px rgba(139, 92, 246, 0.3);
}
.logo:hover .logo-247 {
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-right: 3px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 50%);
  border-radius: inherit;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: 0.01em;
}
.logo-247 {
  font-weight: 900;
  font-size: 1.4rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s var(--ease-premium);
}
.logo-7 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.logo-dot { 
  color: var(--accent-600); 
  font-size: .9rem;
  font-weight: 600;
  opacity: .7;
}

.lang-wrap { position: relative; }
.lang-btn { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-pill); padding: .42rem .74rem; cursor: pointer; font-weight: 600; }
.lang-menu { display: none; list-style: none; position: absolute; top: calc(100% + 8px); left: 0; margin: 0; padding: .35rem; width: 110px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.lang-menu.open { display: block; }
.lang-menu button { width: 100%; border: 0; background: transparent; text-align: left; border-radius: 8px; padding: .42rem .54rem; font-weight: 600; }
.lang-menu button:hover { background: var(--surface-soft); }

.search-shell { background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .25rem; display: grid; grid-template-columns: 190px 1fr 90px; gap: .4rem; min-width: min(720px, 100%); }
.search-shell:focus-within { border-color: rgba(38,104,255,.45); box-shadow: 0 0 0 3px rgba(38,104,255,.16); }
.search-shell select, .search-submit { border: 0; border-radius: var(--radius-pill); padding: .56rem .7rem; background: var(--surface); }
.search-field-wrap { position: relative; border-radius: var(--radius-pill); border: 1px solid var(--hairline); background: var(--surface); display: flex; align-items: center; }
.search-field-wrap .icon { width: 18px; margin-left: .65rem; fill: #66758b; }
.search-field-wrap input[type="search"] { border: 0; width: 100%; background: transparent; padding: .56rem .5rem; outline: none; }
.clear-btn { border: 0; background: transparent; margin-right: .35rem; opacity: .5; cursor: pointer; visibility: hidden; }
.search-hint { position: absolute; right: 34px; top: -24px; font-size: .72rem; opacity: 0; transition: .22s ease; color: var(--accent-600); font-weight: 600; }
.search-shell:focus-within .search-hint { opacity: 1; }
.search-submit { background: linear-gradient(135deg, var(--accent-600), var(--accent-500)); color: #fff; font-weight: 700; cursor: pointer; }

/* ===== HEADER LINKS ===== */
.header-links { display: flex; align-items: center; gap: .65rem; padding-left: .65rem; border-left: 1px solid var(--hairline); }
.header-links a, .header-links button { border: 0; background: transparent; padding: .4rem .35rem; font-weight: 600; cursor: pointer; color: var(--text-700); text-decoration: none; }
.header-links a:hover, .header-links button:hover { color: var(--text-900); }
.header-nav-link {
  padding: .5rem .85rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: all 0.3s var(--ease-premium) !important;
}
.header-nav-link:hover {
  background: rgba(99, 102, 241, 0.08) !important;
  color: var(--accent-600) !important;
}
.user-greeting { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .33rem .62rem; color: var(--text-900); font-weight: 700; background: var(--surface-soft); font-size: .85rem; }

/* ===== PREMIUM FAVORITES PILL ===== */
.favorites-pill {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px !important;
  border: 2px solid rgba(239, 68, 68, 0.2) !important;
  border-radius: 16px !important;
  background: rgba(239, 68, 68, 0.04) !important;
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  position: relative;
}
.favorites-pill svg {
  width: 26px;
  height: 26px;
  fill: #ef4444;
  transition: all 0.3s var(--ease-premium);
  filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}
.favorites-pill:hover {
  border-color: rgba(239, 68, 68, 0.5) !important;
  background: rgba(239, 68, 68, 0.1) !important;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}
.favorites-pill:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.5));
}
.favorites-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-700);
  letter-spacing: 0.03em;
}
.favorites-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger-gradient);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  transition: all 0.3s var(--ease-bounce);
}
.favorites-count:empty, .favorites-count[data-count="0"] {
  display: none;
}

/* ===== PREMIUM LOGIN/REGISTER BUTTONS ===== */
.btn-login-header {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--text-700) !important;
  font-weight: 700 !important;
  padding: .55rem 1rem !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  background: var(--surface-soft) !important;
  transition: all 0.3s var(--ease-premium);
  font-size: .9rem;
  text-decoration: none;
}
.btn-login-header svg {
  width: 16px;
  height: 16px;
  fill: var(--text-500);
  transition: fill 0.3s ease;
}
.btn-login-header:hover {
  color: var(--accent-600) !important;
  background: rgba(99, 102, 241, 0.08) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  transform: translateY(-1px);
}
.btn-login-header:hover svg {
  fill: var(--accent-600);
}

.btn-register-header {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: var(--accent-gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: .6rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}
.btn-register-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left 0.6s ease;
}
.btn-register-header:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
}
.btn-register-header:hover::before {
  left: 100%;
}
.btn-register-header svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero { 
  margin-top: 2rem; 
  display: grid; 
  grid-template-columns: 1.02fr 1.35fr .78fr; 
  gap: clamp(16px, 2vw, 32px);
  perspective: 1000px;
}

.intro-card, .carousel-card, .category-card { 
  border: 1px solid var(--glass-border); 
  border-radius: var(--radius-lg); 
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-premium); 
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
}

.intro-card::before,
.carousel-card::before,
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
  pointer-events: none;
}

.intro-card {
  background:
    linear-gradient(135deg, 
      rgba(99, 102, 241, 0.08) 0%, 
      rgba(139, 92, 246, 0.05) 50%,
      rgba(236, 72, 153, 0.08) 100%
    ),
    var(--surface-glass);
  transform: translateZ(0);
}

.intro-card:hover::before,
.carousel-card:hover::before,
.category-card:hover::before {
  opacity: 1;
}

.intro-card:hover,
.carousel-card:hover,
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-float), var(--glow-accent);
  border-color: rgba(99, 102, 241, 0.3);
}
/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 { 
  margin: 0.8rem 0 1rem; 
  font-weight: 800; 
  letter-spacing: -0.025em;
  line-height: 1.2;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.eyebrow { 
  margin: 0 0 16px; 
  color: var(--accent-600); 
  font-size: 0.8rem; 
  font-weight: 700; 
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-left: 24px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.slogan { 
  margin: 0; 
  min-height: 48px; 
  color: var(--text-500); 
  transition: all 0.4s var(--ease-premium);
  font-size: 1.05rem;
  line-height: 1.6;
}

.slogan.fade { 
  opacity: 0.3; 
  transform: translateY(8px); 
}

/* Enhanced Button System */
.cta-row { 
  margin-top: 24px; 
  display: flex; 
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .load-more { 
  border: 0; 
  border-radius: var(--radius); 
  padding: 14px 28px; 
  cursor: pointer;
  font-weight: 700;
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary::before,
.btn-secondary::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: left 0.6s ease;
}

.btn-primary { 
  color: #fff; 
  background: var(--accent-gradient);
  box-shadow: var(--shadow-soft), var(--glow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-float), var(--glow-accent);
}

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

.btn-secondary { 
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-700);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-900);
  border-color: rgba(99, 102, 241, 0.3);
}

.trust-pills { 
  margin-top: 24px; 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap;
}

.trust-pills span { 
  border: 1px solid var(--glass-border); 
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill); 
  padding: 8px 16px; 
  font-size: 0.8rem; 
  font-weight: 600; 
  color: var(--text-700);
  transition: all 0.3s var(--ease-premium);
}

.trust-pills span:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-600);
}

.urgent-badge { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px; 
  border-radius: var(--radius-pill); 
  font-size: 0.75rem; 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  color: #fff;
  background: var(--warning-gradient);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-soft), 0 0 24px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
  animation: urgentPulse 2s ease-in-out infinite;
}

.urgent-badge::before {
  content: '⚡';
  font-size: 1em;
  animation: spark 1.5s ease-in-out infinite;
}

.urgent-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes spark {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.2); }
  75% { transform: rotate(15deg) scale(1.2); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.carousel-progress { 
  height: 8px; 
  border-radius: var(--radius-pill); 
  overflow: hidden; 
  background: rgba(99, 102, 241, 0.1);
  margin: 20px 0; 
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-progress span { 
  display: block; 
  width: 100%; 
  height: 100%; 
  transform-origin: left; 
  background: var(--accent-gradient);
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
}

.carousel-progress span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.carousel-wrap { 
  display: grid; 
  grid-template-columns: 48px 1fr 48px; 
  gap: 20px; 
  align-items: center;
  margin: 24px 0;
}

.arrow { 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  border: 1px solid var(--glass-border); 
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-700);
  transition: all 0.3s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

.arrow:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-premium), var(--glow-accent);
  color: white;
}

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

.arrow:active {
  transform: scale(0.95);
}

.carousel-track { 
  min-height: 380px; 
  overflow: hidden; 
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.03) 100%);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.carousel-item { 
  position: absolute; 
  inset: 8px; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  border: 1px solid var(--glass-border); 
  opacity: 0; 
  transform: translateX(100%) scale(0.95); 
  will-change: transform, opacity; 
  backface-visibility: hidden; 
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--shadow-soft);
}

.carousel-item.active { 
  opacity: 1; 
  transform: translateX(0) scale(1); 
  z-index: 10;
  box-shadow: var(--shadow-premium);
}

@keyframes activeItemFloat {
  0%, 100% { transform: translateX(0) translateY(0) scale(1) rotateY(0); }
  25% { transform: translateX(0) translateY(-2px) scale(1.002) rotateY(0.5deg); }
  50% { transform: translateX(0) translateY(0) scale(1) rotateY(0); }
  75% { transform: translateX(0) translateY(-1px) scale(1.001) rotateY(-0.5deg); }
}

.carousel-item.prev { 
  opacity: 0.4; 
  transform: translateX(-100%) scale(0.95); 
  z-index: 5;
}

.carousel-item.next { 
  opacity: 0.4; 
  transform: translateX(100%) scale(0.95); 
  z-index: 5;
}

.carousel-item:nth-child(even) {
  transition-delay: 0.1s;
}

.carousel-item:nth-child(3n) {
  transition-delay: 0.15s;
}
.carousel-media { 
  height: 100%; 
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.carousel-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    rgba(99, 102, 241, 0.03) 0%, 
    transparent 50%, 
    rgba(139, 92, 246, 0.03) 100%);
  z-index: 1;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.1; transform: translateX(-100%) skewX(-15deg); }
  50% { opacity: 0.2; transform: translateX(100%) skewX(-15deg); }
}

.carousel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, 
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.carousel-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.8s ease;
  transform-origin: center;
}

.carousel-item.active .carousel-media img {
  transform: scale(1.05);
  transition: transform 0.8s var(--ease-premium);
}

@keyframes parallaxFloat {
  0%, 100% { transform: scale(1.08) translateZ(20px) rotateZ(0deg); }
  25% { transform: scale(1.09) translateZ(25px) rotateZ(0.3deg); }
  50% { transform: scale(1.085) translateZ(22px) rotateZ(0deg); }
  75% { transform: scale(1.09) translateZ(25px) rotateZ(-0.3deg); }
}

.carousel-item:hover .carousel-media img {
  transform: scale(1.08);
}

.carousel-overlay { 
  position: absolute; 
  inset: auto 0 0; 
  color: #fff; 
  padding: 28px; 
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  transform: translateY(0);
  transition: all 0.4s var(--ease-premium);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-item.active .carousel-overlay {
  opacity: 1;
}

@keyframes overlayGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 30px rgba(99,102,241,0.1); }
}

.carousel-overlay h3 { 
  margin: 0 0 8px; 
  font-size: clamp(1.1rem, 2vw, 1.4rem); 
  font-weight: 800; 
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@keyframes slideInUp {
  to { transform: translateY(0); opacity: 1; }
}

.carousel-overlay .price { 
  color: #fff; 
  font-size: clamp(1.4rem, 3vw, 1.8rem); 
  margin: 12px 0 8px; 
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-overlay .price::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  animation: expandLine 1s 0.5s forwards ease-out;
}

@keyframes expandLine {
  to { transform: scaleX(1); }
}

.countdown-badge { \n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  border-radius: 14px; \n  padding: 10px 18px; \n  font-size: 0.8rem; \n  font-weight: 700; \n  border: 1px solid rgba(255,255,255,0.4); \n  background: rgba(0, 0, 0, 0.7);\n  backdrop-filter: blur(15px);\n  -webkit-backdrop-filter: blur(15px);\n  color: #fff;\n  text-shadow: 0 1px 2px rgba(0,0,0,0.7);\n  transform: translateY(20px);\n  opacity: 0;\n  animation: slideInUp 0.8s 0.4s forwards cubic-bezier(0.23, 1, 0.32, 1);\n  box-shadow: 0 4px 20px rgba(0,0,0,0.3);\n}\n\n/* Hero carousel — BIG countdown timer */\n.hero-carousel-panel .countdown-badge {\n  font-size: 1.35rem;\n  font-weight: 800;\n  padding: 14px 24px;\n  border-radius: 16px;\n  letter-spacing: 0.5px;\n  gap: 10px;\n  border: 1.5px solid rgba(255, 80, 80, 0.5);\n  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(40,0,0,0.75) 100%);\n  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5),\n              0 0 20px rgba(255, 60, 60, 0.12);\n  animation: slideInUp 0.6s 0.3s forwards cubic-bezier(0.23, 1, 0.32, 1);\n  transform: translateY(16px);\n  opacity: 0;\n  transition: transform 0.3s ease, box-shadow 0.3s ease;\n}\n\n/* Pulsing countdown when time is low */\n.hero-carousel-panel .countdown-badge.countdown-urgent {\n  border-color: rgba(255, 60, 60, 0.7);\n  animation: slideInUp 0.6s 0.3s forwards, countdownPulse 1.2s 1s infinite ease-in-out;\n  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5),\n              0 0 24px rgba(255, 60, 60, 0.2);\n}\n\n@keyframes countdownPulse {\n  0%, 100% {\n    transform: scale(1);\n    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5),\n                0 0 20px rgba(255, 60, 60, 0.12);\n  }\n  50% {\n    transform: scale(1.04);\n    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.5),\n                0 0 32px rgba(255, 60, 60, 0.3),\n                0 0 56px rgba(255, 60, 60, 0.1);\n  }\n}\n\n.hero-carousel-panel .countdown-badge .countdown-digits {\n  font-variant-numeric: tabular-nums;\n  font-feature-settings: \"tnum\";\n  min-width: 0;\n}\n\n.hero-carousel-panel .countdown-badge .countdown-sep {\n  opacity: 0.5;\n  animation: blinkSep 1s step-end infinite;\n}\n\n@keyframes blinkSep {\n  0%, 100% { opacity: 0.5; }\n  50% { opacity: 1; }\n}

.countdown-badge::before {
  content: '⏰';
  font-size: 0.9em;
  animation: tickTock 1s infinite ease-in-out;
}

@keyframes tickTock {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}

.bid-btn { 
  border: 0; 
  border-radius: var(--radius-lg); 
  padding: 16px 32px; 
  background: var(--accent-gradient);
  color: white;
  font-weight: 800; 
  cursor: pointer; 
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  transform: translateY(20px);
  opacity: 0;
  animation: slideInUp 0.8s 0.5s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

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

.bid-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--accent-gradient);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bid-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-float), var(--glow-accent);
  letter-spacing: 1.5px;
}

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

.bid-btn:hover::after {
  opacity: 1;
}

.bid-btn:active {
  transform: translateY(-2px) scale(1.02);
}
.dots { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-top: 24px;
  padding: 12px;
}

.dot { 
  width: 12px; 
  height: 12px; 
  border: 2px solid var(--glass-border); 
  border-radius: 50%; 
  background: var(--surface-glass);
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s var(--ease-premium);
}

.dot:hover {
  transform: scale(1.2);
  border-color: rgba(99, 102, 241, 0.5);
}

.dot.active { 
  width: 32px;
  border-radius: var(--radius-pill);
  border-color: rgba(99, 102, 241, 0.8);
  transform: scale(1.1);
}

.dot.active::before {
  opacity: 1;
  transform: scale(1);
}

.dot:not(.active):hover::before {
  opacity: 0.3;
  transform: scale(0.8);
}

.category-head { 
  display: inline-block; 
  border: 1px solid var(--accent-600); 
  border-radius: var(--radius-pill); 
  padding: .28rem .6rem; 
  font-size: .75rem; 
  font-weight: 700; 
  color: var(--accent-600); 
  background: rgba(99, 102, 241, 0.05);
  margin-bottom: .68rem; 
}
.category-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .32rem; }
.category-card button { 
  width: 100%; 
  border: 1px solid transparent; 
  border-left: 3px solid transparent; 
  border-radius: 12px; 
  background: var(--surface-soft); 
  padding: .6rem .7rem; 
  text-align: left; 
  cursor: pointer; 
  font-weight: 600; 
  color: var(--text-700);
  transition: all 0.2s var(--ease-premium);
  font-size: .88rem;
}
.category-card button:hover { 
  background: var(--surface); 
  border-color: var(--line); 
  transform: translateX(4px);
  box-shadow: var(--shadow-subtle);
}
.category-card button.active { 
  border-left-color: var(--accent-600); 
  color: var(--accent-600); 
  background: rgba(99, 102, 241, 0.08); 
  font-weight: 700;
}

.listing-section { padding: 1.55rem 0; }
.section-tint { background: var(--bg-tint); }
.section-head { margin-bottom: .74rem; display: flex; justify-content: space-between; align-items: flex-start; }
.filter-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill); padding: .3rem .6rem; cursor: pointer; font-size: .78rem; font-weight: 600; }
.pill.active { border-color: var(--accent-600); color: var(--accent-600); }
.show-all { font-weight: 700; color: var(--accent-600); }

.auction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 8px;
}

/* PC: 5 per row */
@media (min-width: 1200px) {
  .auction-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

/* Large tablets: 4 per row */
@media (min-width: 900px) and (max-width: 1199px) {
  .auction-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Small tablets: 3 per row */
@media (min-width: 600px) and (max-width: 899px) {
  .auction-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Mobile: 2 per row */
@media (max-width: 599px) {
  .auction-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.card, .ad-card, .skeleton-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-soft);
  padding: clamp(12px, 1.5vw, 18px);
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}

.card::before,
.ad-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
  pointer-events: none;
}

.card:hover,
.ad-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-float), var(--glow-accent);
  border-color: rgba(99, 102, 241, 0.4);
}

.card:hover::before {
  opacity: 0.05;
}

.thumb { 
  position: relative; 
  border-radius: var(--radius); 
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
}

.thumb::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(145deg, 
    rgba(255,255,255,0.3) 0%,
    transparent 40%,
    rgba(99, 102, 241, 0.1) 100%); 
  opacity: 0.6; 
  pointer-events: none;
  z-index: 1;
}

.thumb::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
    linear-gradient(to bottom, 
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.1) 70%,
      rgba(0,0,0,0.3) 100%); 
  pointer-events: none;
  z-index: 2;
}

.thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.6s var(--ease-premium);
}

.card:hover .thumb img { 
  transform: scale(1.08) rotate(1deg);
}

.watch-btn { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  border: 2px solid rgba(239, 68, 68, 0.25); 
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer; 
  transition: all 0.3s var(--ease-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 22px;
  color: #ef4444;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.watch-btn::before {
  content: '♡';
  font-size: 24px;
  transition: all 0.3s var(--ease-premium);
}

.watch-btn:hover { 
  transform: scale(1.2);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.95);
  color: white;
  border-color: rgba(239, 68, 68, 0.6);
}

.watch-btn:hover::before {
  content: '♥';
}

.watch-btn.active { 
  background: var(--danger-gradient);
  color: white; 
  border-color: rgba(220, 38, 38, 0.6);
  animation: heartPop 0.4s var(--ease-bounce);
}

.watch-btn.active::before {
  content: '♥';
}

@keyframes heartPop { 
  0% { transform: scale(1); }
  50% { transform: scale(1.3) rotate(5deg); }
  100% { transform: scale(1.1); }
}
.item-title { 
  margin: 16px 0 12px; 
  font-size: clamp(1rem, 1.8vw, 1.1rem); 
  font-weight: 700; 
  line-height: 1.3; 
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  min-height: 2.6rem;
  color: var(--text-900);
  transition: color 0.3s var(--ease-premium);
}

.card:hover .item-title {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meta-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  margin-bottom: 8px;
}

.meta-row small { 
  font-size: 0.8rem; 
  color: var(--text-500);
  font-weight: 500;
}

.category-pill { 
  font-size: 0.75rem; 
  border-radius: var(--radius-pill); 
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px; 
  border: 1px solid var(--glass-border);
  font-weight: 600;
  color: var(--text-700);
  transition: all 0.3s var(--ease-premium);
}

.card:hover .category-pill {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent-600);
  transform: scale(1.05);
}

.countdown { 
  font-size: 0.78rem; 
  font-weight: 700; 
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.4); 
  border-radius: var(--radius-pill); 
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px; 
  background: var(--warning-gradient);
  margin: 8px 0;
  box-shadow: var(--shadow-soft), 0 0 16px rgba(245, 158, 11, 0.3);
  animation: countdownPulse 2s ease-in-out infinite;
}

.countdown::before {
  content: '⏱';
  font-size: 0.9em;
}

@keyframes countdownPulse {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 16px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: var(--shadow-soft), 0 0 24px rgba(245, 158, 11, 0.6); }
}

.price { 
  margin: 12px 0 8px; 
  font-size: clamp(1.2rem, 2.5vw, 1.4rem); 
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.seller-info {
  font-size: 0.85rem;
  color: var(--success-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}

.seller-info::before {
  content: '✅';
  font-size: 1.1em;
}

.seller-info .seller-name {
  color: var(--success-700);
}

/* Premium Action Buttons */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.btn-bid {
  flex: 1;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s var(--ease-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  letter-spacing: 0.02em;
}

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

.btn-bid:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

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

.btn-bid:active {
  transform: translateY(0) scale(0.98);
}

.btn-buy {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s var(--ease-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  letter-spacing: 0.02em;
}

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

.btn-buy:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

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

.btn-buy:active {
  transform: translateY(0) scale(0.98);
}

.btn-bid svg, .btn-buy svg {
  width: 16px;
  height: 16px;
}

.badges { 
  display: flex; 
  gap: 8px; 
  margin-top: 12px;
  flex-wrap: wrap;
}

.badges span { 
  font-size: 0.7rem; 
  font-weight: 700; 
  border: 1px solid var(--glass-border); 
  border-radius: var(--radius-pill); 
  padding: 4px 10px;
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-700);
  transition: all 0.3s var(--ease-premium);
}

.card:hover .badges span {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-600);
}

.ad-card { background: linear-gradient(150deg, rgba(37,104,255,.08), rgba(22,54,46,.08)); position: relative; overflow: hidden; }
.ad-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.3), transparent 45%); pointer-events: none; }
.ad-label { font-size: .67rem; letter-spacing: .09em; font-weight: 700; color: var(--text-700); }
.ad-cta { margin-top: .38rem; display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent-600); }

.load-more { margin: 1rem auto 0; display: block; min-width: 260px; color: #fff; font-weight: 700; background: linear-gradient(140deg, var(--brand-900), var(--brand-700)); }
.load-more.loading::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: .45rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-more:disabled { opacity: .45; cursor: not-allowed; }
.empty-tip { text-align: center; color: var(--text-700); font-size: .82rem; margin-top: .46rem; }

.skeleton-card { min-height: 240px; background: linear-gradient(110deg, #eff4fb 12%, #dfe8f6 22%, #eff4fb 33%); background-size: 220% 100%; animation: shimmer 1.15s linear infinite; }
.with-enter { animation: cardIn .35s ease both; }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.site-footer { margin-top: 2.4rem; padding: 2rem 0 1rem; background: var(--brand-900); color: #dce6ef; }
.footer-brand { font-size: 1.04rem; font-weight: 800; display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 1.3rem; }
.socials { display: flex; gap: .55rem; }
.links-col { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .35rem .8rem; }
.links-col a { font-size: .84rem; opacity: .92; }
.links-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 1rem; padding-top: .65rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: center; }
.cookie-pill { border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-pill); padding: .24rem .56rem; font-size: .78rem; }

.modal { border: 0; padding: 0; border-radius: 12px; width: min(460px, 92vw); opacity: 0; transform: scale(.96); transition: opacity .2s ease, transform .2s ease; }
.modal[open] { opacity: 1; transform: scale(1); }
.modal::backdrop { background: rgba(10, 16, 28, .44); backdrop-filter: blur(6px); }

/* ========================================
   PREMIUM AUCTION DETAIL PAGE STYLES
======================================== */

.auction-detail-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 clamp(16px, 2.5vw, 32px);
}

/* Premium Breadcrumb */
.auction-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 12px 0;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-500);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-premium);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--accent-600);
  transform: translateX(-4px);
}

.breadcrumb-icon {
  width: 16px;
  height: 16px;
}

.breadcrumb-separator {
  color: var(--text-500);
  font-weight: 400;
}

.breadcrumb-category {
  color: var(--text-700);
  font-weight: 600;
}

/* Premium Auction Header */
.auction-header {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.auction-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.auction-header-main {
  position: relative;
  z-index: 2;
}

.auction-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-badge, .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-badge {
  background: var(--surface-glass);
  border: 1px solid var(--glass-border);
  color: var(--text-700);
}

.featured-badge {
  background: var(--warning-gradient);
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-soft), 0 0 20px rgba(245, 158, 11, 0.3);
  animation: featuredPulse 2s ease-in-out infinite;
}

.featured-badge svg {
  width: 14px;
  height: 14px;
}

@keyframes featuredPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-soft), 0 0 20px rgba(245, 158, 11, 0.3); }
  50% { transform: scale(1.05); box-shadow: var(--shadow-soft), 0 0 32px rgba(245, 158, 11, 0.5); }
}

.auction-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 24px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.auction-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-500);
  font-weight: 500;
}

.meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-600);
}

/* Content Grid */
.auction-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Premium Gallery */
.premium-gallery {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.gallery-container {
  position: relative;
}

.main-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.main-image-container:hover .main-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.main-image-container:hover .image-overlay {
  opacity: 1;
}

.fullscreen-btn {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.fullscreen-btn svg {
  width: 20px;
  height: 20px;
}

.image-counter {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease-premium);
  opacity: 0.7;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: rgba(99, 102, 241, 0.5);
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--accent-600);
  box-shadow: var(--shadow-soft), 0 0 20px rgba(99, 102, 241, 0.3);
}

.image-caption {
  color: var(--text-500);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
  text-align: center;
}

.no-images {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-500);
}

.no-images svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* Premium Cards */
.premium-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 32px;
  transition: all 0.4s var(--ease-premium);
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium), var(--glow-accent);
  border-color: rgba(99, 102, 241, 0.3);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 24px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description-content {
  color: var(--text-700);
  line-height: 1.7;
  font-size: 1rem;
}

/* Technical Specifications */
.specs-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.spec-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--text-700);
  margin: 0;
}

.spec-value {
  font-weight: 500;
  color: var(--text-900);
  margin: 0;
}

.condition-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.condition-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-900);
}

.condition-text {
  color: var(--text-700);
  line-height: 1.6;
  margin: 0;
}

/* Sidebar Styles */
.auction-sidebar {
  position: sticky;
  top: 24px;
}

.premium-bidding-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.premium-bidding-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0.02;
  pointer-events: none;
}

.pricing-section {
  margin-bottom: 24px;
}

.current-price, .buy-now-price {
  margin-bottom: 16px;
}

.price-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.price-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-value.green {
  background: var(--success-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.starting-price {
  font-size: 0.9rem;
  color: var(--text-500);
  font-weight: 500;
}

/* Countdown Section */
.countdown-section {
  margin-bottom: 32px;
  text-align: center;
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.countdown-timer {
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--line-soft);
}

.countdown-time {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--text-900);
  margin-bottom: 8px;
}

.countdown-time.warning {
  color: #f59e0b;
}

.countdown-time.urgent {
  color: #f97316;
  animation: urgentBlink 1s ease-in-out infinite;
}

.countdown-time.critical {
  color: #ef4444;
  animation: criticalBlink 0.5s ease-in-out infinite;
}

.countdown-time.ended {
  color: var(--text-500);
}

@keyframes urgentBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes criticalBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.countdown-date {
  font-size: 0.9rem;
  color: var(--text-500);
  font-weight: 500;
}

/* Responsive Design for Auction Detail */
@media (max-width: 1024px) {
  .auction-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .auction-sidebar {
    order: -1;
  }
}
.modal-card { padding: 1.5rem; }
.modal-card h3 { margin-top: 0; font-weight: 800; }
.modal-actions a.btn-secondary { text-decoration: none; display: inline-flex; align-items: center; }
.item-modal { width: min(640px, 92vw); }
.item-modal img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.modal-bids { margin: .25rem 0 .6rem; padding-left: 1.1rem; display: grid; gap: .25rem; }
.modal-bids li { font-size: .82rem; color: var(--text-700); }

:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(38,104,255,.16); }

@media (max-width: 1240px) {
  .header-row { grid-template-columns: 1fr; gap: .5rem; padding: .5rem 0; }
  .lang-menu { left: auto; right: 0; }
  .header-links { border-left: 0; padding-left: 0; }
  /* auction-grid handled by main responsive rules */
}
  
  /* Mobile scroll-hide header functionality */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .site-header.scrolled-up {
    transform: translateY(-100%);
  }
  
  .site-header.mobile-minimal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* In mobile minimal mode, hide excess elements */
  .site-header.mobile-minimal .search-shell,
  .site-header.mobile-minimal .lang-wrap,
  .site-header.mobile-minimal .header-links a:not(.btn-login):not(.btn-register),
  .site-header.mobile-minimal .icon-pill {
    display: none;
  }
  
  /* Keep only logo and login button visible */
  .site-header.mobile-minimal .header-row {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0.75rem 0;
  }
  
  /* Logo smaller in mobile minimal */
  .site-header.mobile-minimal .logo {
    font-size: 0.9rem;
  }
  
  /* Ensure content doesn't hide behind fixed header */
  body main {
    padding-top: 1rem;
  }
  
  /* Additional top margin for mobile when header is fixed */
  .hero-super {
    margin-top: 0;
  }
}
@media (max-width: 980px) {
  .search-shell { grid-template-columns: 1fr; border-radius: 12px; }
}

@media (max-width: 640px) {
  /* auction-grid handled by main responsive rules */
  .hero-orb { display: none; }
}

/* Hero Super override styles are in the premium section below (~line 5000+) */

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Scroll Reveal Animation */
[data-hero] {
  animation: slideUp 0.8s var(--ease-premium) forwards;
  opacity: 0;
  transform: translateY(30px);
}

[data-hero]:nth-child(1) { animation-delay: 0.1s; }
[data-hero]:nth-child(2) { animation-delay: 0.2s; }
[data-hero]:nth-child(3) { animation-delay: 0.3s; }
[data-hero]:nth-child(4) { animation-delay: 0.4s; }
[data-hero]:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Featured Section */
.featured-section {
  padding: 4rem 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    var(--bg-tint);
}

.section-header-premium {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-500);
  max-width: 600px;
  margin: 0 auto;
}
  .desktop-only { display: none !important; }
  .hero-premium { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .cta-blocks-grid { grid-template-columns: 1fr; }
  .trust-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* auction-grid handled by main responsive rules */
  .featured-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}

/* ================================================ */
/* PREMIUM HOMEPAGE DESIGN */
/* ================================================ */

/* Premium Hero Section */
.hero-premium {
  margin: 2rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.hero-main {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(38,104,255,0.1), rgba(22,54,46,0.1));
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(38,104,255,0.2);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
  color: var(--text-900);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent-600), var(--brand-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-700);
  margin: 0 0 2rem 0;
  max-width: 540px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-600);
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-600);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
  justify-content: center;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: white;
  box-shadow: 0 4px 12px rgba(38, 104, 255, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(38, 104, 255, 0.4);
}

.btn-hero-secondary {
  background: var(--surface);
  color: var(--text-900);
  border-color: var(--line);
}

.btn-hero-secondary:hover {
  border-color: var(--accent-600);
  background: var(--surface-soft);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-600);
  stroke-width: 2;
}

/* Hero Visual/Carousel */
.hero-visual {
  position: relative;
}

.hero-carousel-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-2);
}

.hero-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-carousel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-900);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-carousel-stats {
  font-size: 0.875rem;
  color: var(--text-600);
  font-weight: 600;
}

.hero-carousel {
  position: relative;
}

.carousel-track {
  min-height: 320px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--bg-tint);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  border-color: var(--accent-600);
  background: var(--accent-600);
  color: white;
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dot.active {
  background: var(--accent-600);
}

/* Featured Section */
.featured-section {
  margin: 4rem 0;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(38,104,255,0.02), rgba(22,54,46,0.02));
}

.section-header-premium {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--accent-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: var(--text-900);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-700);
  line-height: 1.6;
  margin: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.featured-footer {
  text-align: center;
  margin-top: 3rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-600);
  border-radius: 10px;
  color: var(--accent-600);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--accent-600);
  color: white;
}

/* Trust Section */
.trust-section {
  margin: 4rem 0;
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.trust-main h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: var(--text-900);
}

.trust-main p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-700);
  margin: 0;
}

.trust-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.trust-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-feature-icon {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  border-radius: 12px;
  padding: 1rem;
  flex-shrink: 0;
}

.trust-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.trust-feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-900);
}

.trust-feature p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-700);
  margin: 0;
}

/* CTA Blocks */
.cta-blocks {
  margin: 4rem 0;
}

.cta-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.cta-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-1);
  transition: all 0.2s ease;
}

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

.cta-block-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: var(--text-900);
}

.cta-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-700);
  margin: 0 0 1.5rem 0;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.cta-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-700);
  position: relative;
  padding-left: 1.5rem;
}

.cta-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-buyer .btn-cta {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: white;
}

.cta-seller .btn-cta {
  background: linear-gradient(135deg, var(--warning-500), #d97706);
  color: white;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Premium Cookie Consent */
.hidden { 
  display: none !important; 
}

.premium-cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 9999;
  pointer-events: auto; /* Always allow interactions when visible */
}

.premium-cookie-consent.hidden {
  display: none;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.cookie-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-premium);
  max-width: 600px;
  margin: 0 auto;
  animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.cookie-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.cookie-content p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  color: var(--text-700);
  line-height: 1.6;
  text-align: center;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cookie-primary {
  background: var(--accent-gradient);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.btn-cookie-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-cookie-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium), var(--glow-accent);
}

.btn-cookie-primary:hover::before {
  opacity: 1;
}

.btn-cookie-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-700);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.btn-cookie-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-cookie-settings {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-500);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cookie-settings:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-700);
  transform: translateY(-1px);
}

/* Premium Cookie Settings Modal */
.premium-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.premium-cookie-modal.hidden {
  display: none;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.3s ease-out;
}

.cookie-modal-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cookie-modal-header {
  padding: 2rem 2rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-500);
  transition: all 0.2s;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.cookie-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-700);
  transform: scale(1.1);
}

.cookie-modal-body {
  padding: 1rem 2rem 2rem 2rem;
  overflow-y: auto;
  max-height: calc(80vh - 200px);
}

.cookie-description {
  margin-bottom: 2rem;
  color: var(--text-600);
  line-height: 1.6;
  text-align: center;
  font-size: 1rem;
}

.cookie-category {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-category:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-1px);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-category-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-600);
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 32px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

input:checked + .cookie-slider {
  background: var(--accent-gradient);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

input:checked + .cookie-slider::before {
  transform: translateX(24px);
}

input:disabled + .cookie-slider {
  background: rgba(0, 0, 0, 0.05);
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 1rem 2rem 2rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-cookie-save {
  width: 100%;
  background: var(--accent-gradient);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.btn-cookie-save::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-cookie-save:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium), var(--glow-accent);
}

.btn-cookie-save:hover::before {
  opacity: 1;
}

@media (max-width: 640px) {
  .premium-cookie-consent {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  
  .cookie-card {
    padding: 1.5rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-modal-container {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Legacy Cookie Consent - Commented out to fix duplicate popup issue */
/*
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(16, 24, 40, 0.15);
  padding: 1.5rem;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-icon {
  font-size: 2rem;
}

.cookie-text h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
}

.cookie-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-700);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--accent-600);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
*/

/* Cookie Settings Modal */
.cookie-settings-modal {
  max-width: 600px;
}

.cookie-categories {
  margin: 1.5rem 0;
}

.cookie-category {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
}

.cookie-always-on {
  font-size: 0.75rem;
  background: var(--bg-tint);
  color: var(--text-600);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--line);
  transition: 0.2s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background: var(--accent-600);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.cookie-category p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-700);
  line-height: 1.5;
}
  /* auction-grid handled by main responsive rules */
  .footer-grid { grid-template-columns: 1fr; }
  .links-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  /* auction-grid handled by main responsive rules */
  .header-links { flex-wrap: wrap; }
}


/* ===== PREMIUM AUCTION DETAIL STYLES ===== */

.auction-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
  min-height: calc(100vh - 200px);
}

/* Premium Breadcrumb */
.auction-breadcrumb {
  margin-bottom: var(--space-6);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--accent-700);
}

.breadcrumb-icon {
  width: 16px;
  height: 16px;
}

.breadcrumb-separator {
  margin: 0 var(--space-2);
  color: var(--text-400);
}

.breadcrumb-category {
  color: var(--text-600);
  font-weight: 500;
}

/* Premium Header */
.auction-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.auction-header-main {
  flex: 1;
}

.auction-badges {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.featured-badge svg {
  width: 12px;
  height: 12px;
}

.auction-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.2;
  margin: 0 0 var(--space-4) 0;
}

.auction-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--text-600);
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-500);
}

.admin-actions {
  margin-top: var(--space-2);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--text-900);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.admin-btn:hover {
  opacity: 0.9;
}

.admin-btn svg {
  width: 14px;
  height: 14px;
}


/* Content Grid */
.auction-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.auction-main-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.auction-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Premium Cards */
.premium-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-900);
  margin: 0 0 var(--space-4) 0;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

/* Premium Gallery */
.premium-gallery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.gallery-container {
  padding: var(--space-4);
}

.main-image-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-neutral-50);
  margin-bottom: var(--space-4);
}

.main-image {
  width: 100%;
  height: min(70vh, 600px);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.fullscreen-btn {
  padding: var(--space-2);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}

.fullscreen-btn:hover {
  background: white;
}

.fullscreen-btn svg {
  width: 16px;
  height: 16px;
  color: var(--text-700);
}

.image-counter {
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.thumbnail {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumbnail:hover, .thumbnail.active {
  border-color: var(--accent-600);
  transform: translateY(-2px);
}

.image-caption {
  font-size: 0.9rem;
  color: var(--text-600);
  font-style: italic;
  text-align: center;
  margin: 0;
}

.no-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  color: var(--text-400);
  text-align: center;
}

.no-images svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.no-images h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
  color: var(--text-600);
}

.no-images p {
  margin: 0;
  font-size: 0.9rem;
}

/* Description */
.description-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-700);
  white-space: pre-wrap;
}

/* Technical Specifications */
.specs-grid {
  display: grid;
  gap: var(--space-3);
}

.spec-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-neutral-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-500);
}

.spec-label {
  font-weight: 600;
  color: var(--text-700);
  margin: 0;
}

.spec-value {
  color: var(--text-900);
  font-weight: 500;
  text-align: right;
  margin: 0;
}

.condition-section {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.condition-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-800);
  margin: 0 0 var(--space-3) 0;
}

.condition-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-700);
  margin: 0;
}


/* Bid History */
.bids-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-height: 400px;
  overflow-y: auto;
}

.bid-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-neutral-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-500);
}

.bid-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.bid-details {
  flex: 1;
}

.bid-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-700);
  margin-bottom: var(--space-1);
}

.bid-meta {
  display: flex;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--text-600);
}

.bid-user {
  font-weight: 500;
}

.bid-time {
  opacity: 0.8;
}

/* Premium Bidding Card */
.premium-bidding-card {
  background: linear-gradient(135deg, var(--bg-neutral-50), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-2);
  position: sticky;
  top: var(--space-6);
}

.pricing-section {
  margin-bottom: var(--space-5);
}

.current-price, .buy-now-price, .starting-price {
  text-align: center;
  margin-bottom: var(--space-4);
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-600);
  margin-bottom: var(--space-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-700);
}

.price-value.green {
  color: #16a34a;
}

.starting-price {
  font-size: 0.85rem;
  color: var(--text-600);
  margin-bottom: 0;
}

/* Premium Countdown */
.countdown-section {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid #f59e0b;
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-time {
  font-size: 1.5rem;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: var(--space-2);
}

.countdown-timer.urgent .countdown-time {
  animation: pulse 1s infinite;
}

.countdown-timer.ended {
  background: var(--bg-neutral-100);
  color: var(--text-500);
}

.countdown-date {
  font-size: 0.75rem;
  color: #92400e;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.bid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.bid-btn svg {
  width: 16px;
  height: 16px;
}

.bid-btn.primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: white;
  box-shadow: var(--shadow-1);
}

.bid-btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-700), var(--accent-800));
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.bid-btn.success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  box-shadow: var(--shadow-1);
}

.bid-btn.success:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.bid-btn.secondary {
  background: var(--surface);
  color: var(--text-700);
  border: 1px solid var(--line);
}

.bid-btn.secondary:hover {
  background: var(--bg-neutral-50);
  transform: translateY(-1px);
}

/* Auction Stats */
.auction-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Image Viewer Modal */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.image-viewer.open {
  display: flex;
  flex-direction: column;
}

.image-viewer-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.image-viewer-content {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.image-viewer-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 11;
}

.image-viewer-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.image-viewer-close svg {
  width: 20px;
  height: 20px;
}

.image-viewer-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  position: relative;
}

.viewer-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.image-viewer-prev, .image-viewer-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.image-viewer-prev:hover, .image-viewer-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.image-viewer-prev {
  left: var(--space-4);
}

.image-viewer-next {
  right: var(--space-4);
}

.image-viewer-prev svg, .image-viewer-next svg {
  width: 24px;
  height: 24px;
}

.image-viewer-info {
  padding: var(--space-4);
  text-align: center;
  color: white;
}

.viewer-caption {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.viewer-counter {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .auction-content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .auction-sidebar {
    order: -1;
  }
  
  .premium-bidding-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .auction-detail-container {
    padding: var(--space-4) var(--space-3);
  }
  
  .auction-header {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .auction-meta {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .main-image {
    height: min(50vh, 400px);
  }
  
  .spec-item {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
  
  .spec-value {
    text-align: left;
  }
  
  .auction-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .image-viewer-prev {
    left: var(--space-2);
  }
  
  .image-viewer-next {
    right: var(--space-2);
  }
  
  .image-viewer-close {
    top: var(--space-2);
    right: var(--space-2);
    width: 36px;
    height: 36px;
  }
  
  .image-viewer-prev, .image-viewer-next {
    width: 44px;
    height: 44px;
  }
}

/* ===== END AUCTION DETAIL STYLES ===== */


/* Premium Category Navigation */
.premium-categories {
  margin: 2rem 0 3rem;
}

.categories-header {
  text-align: center;
  margin-bottom: 2rem;
}

.categories-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.category-card-premium {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card-premium:hover {
  border-color: var(--primary-200);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.category-card-premium:hover::before {
  transform: scaleX(1);
}

.category-card-premium .category-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.category-card-premium:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card-premium .category-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.category-info {
  flex-grow: 1;
}

.category-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.category-count {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.category-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.category-card-premium:hover .category-arrow {
  color: var(--primary-500);
  transform: translateX(4px);
}

.category-arrow svg {
  width: 100%;
  height: 100%;
}

/* Quick Access Links */
.category-quick-access {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.quick-link svg {
  width: 16px;
  height: 16px;
}

.quick-link.featured {
  color: var(--warning-700);
  border-color: var(--warning-200);
}

.quick-link.featured:hover {
  background: var(--warning-50);
  border-color: var(--warning-400);
}

.quick-link.ending {
  color: var(--danger-700);
  border-color: var(--danger-200);
}

.quick-link.ending:hover {
  background: var(--danger-50);
  border-color: var(--danger-400);
}

.quick-link.new {
  color: var(--success-700);
  border-color: var(--success-200);
}

.quick-link.new:hover {
  background: var(--success-50);
  border-color: var(--success-400);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-card-premium {
    padding: 1.25rem;
  }
  
  .categories-header h2 {
    font-size: 2rem;
  }
  
  .category-quick-access {
    flex-direction: column;
    align-items: center;
  }
  
  .quick-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card-premium {
    padding: 1rem;
  }
  
  .categories-header h2 {
    font-size: 1.75rem;
  }
  
  .categories-header p {
    font-size: 1rem;
  }
}

/* Active state for premium category cards */
.category-card-premium.active {
  border-color: var(--primary-500);
  box-shadow: 0 8px 25px -5px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.category-card-premium.active::before {
  transform: scaleX(1);
}

.category-card-premium.active .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card-premium.active .category-arrow {
  color: var(--primary-500);
  transform: translateX(4px);
}

/* ===================================================
   PREMIUM VISUAL EFFECTS — motion, reveal, polish
   =================================================== */

/* --- Easing tokens --------------------------------- */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 240ms;
  --dur-base: 480ms;
  --dur-slow: 720ms;
}

/* --- Hero entrance choreography -------------------- */
/* Keep hero content visible by default so it still renders without JavaScript */
[data-hero] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--dur-base) var(--ease-out-expo),
    transform var(--dur-base) var(--ease-out-expo);
}
[data-hero].hero-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for up to 8 siblings */
[data-hero]:nth-child(1) { transition-delay: 0ms; }
[data-hero]:nth-child(2) { transition-delay: 80ms; }
[data-hero]:nth-child(3) { transition-delay: 160ms; }
[data-hero]:nth-child(4) { transition-delay: 240ms; }
[data-hero]:nth-child(5) { transition-delay: 320ms; }
[data-hero]:nth-child(6) { transition-delay: 400ms; }
[data-hero]:nth-child(7) { transition-delay: 480ms; }
[data-hero]:nth-child(8) { transition-delay: 560ms; }

/* --- Scroll-reveal system -------------------------- */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow) var(--ease-out-expo),
    transform var(--dur-slow) var(--ease-out-expo),
    filter var(--dur-slow) var(--ease-out-expo);
  filter: none;
}
[data-reveal="left"] {
  transform: none;
}
[data-reveal="right"] {
  transform: none;
}
[data-reveal="scale"] {
  transform: none;
}
[data-reveal].reveal-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* Stagger siblings in a [data-reveal-group] */
[data-reveal-group] > *:nth-child(1)  { transition-delay: 0ms; }
[data-reveal-group] > *:nth-child(2)  { transition-delay: 60ms; }
[data-reveal-group] > *:nth-child(3)  { transition-delay: 120ms; }
[data-reveal-group] > *:nth-child(4)  { transition-delay: 180ms; }
[data-reveal-group] > *:nth-child(5)  { transition-delay: 240ms; }
[data-reveal-group] > *:nth-child(6)  { transition-delay: 300ms; }
[data-reveal-group] > *:nth-child(7)  { transition-delay: 360ms; }
[data-reveal-group] > *:nth-child(8)  { transition-delay: 420ms; }
[data-reveal-group] > *:nth-child(9)  { transition-delay: 480ms; }
[data-reveal-group] > *:nth-child(10) { transition-delay: 540ms; }

/* --- Sticky header glass effect -------------------- */
.site-header {
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    transform var(--dur-base) var(--ease-out-expo);
  will-change: transform;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
/* When scrolled: stronger glass */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--hairline);
  box-shadow: 0 1px 0 var(--hairline), 0 8px 32px rgba(16, 24, 40, 0.06);
}

/* --- CTA button sheen / light sweep ---------------- */
.btn-primary,
.btn-hero-primary,
.btn-cta,
.search-submit {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) var(--ease-out-quart),
    filter var(--dur-fast) var(--ease-out-quart);
}
.btn-primary::before,
.btn-hero-primary::before,
.btn-cta::before,
.search-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out-expo);
  pointer-events: none;
}
.btn-primary:hover::before,
.btn-hero-primary:hover::before,
.btn-cta:hover::before,
.search-submit:hover::before {
  transform: translateX(100%);
}
.btn-primary:hover,
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(38, 104, 255, 0.38);
  filter: brightness(1.06);
}
.btn-primary:active,
.btn-hero-primary:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 8px rgba(38, 104, 255, 0.22);
  transition-duration: 80ms;
}

/* Secondary button premium hover */
.btn-secondary,
.btn-hero-secondary,
.btn-outline {
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) var(--ease-out-quart),
    transform var(--dur-fast) var(--ease-out-quart);
}
.btn-secondary:hover,
.btn-hero-secondary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.1);
}
.btn-secondary:active,
.btn-hero-secondary:active {
  transform: scale(0.98);
  transition-duration: 80ms;
}

/* --- Load-more button sheen ----------------------- */
.load-more {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) var(--ease-out-quart),
    opacity var(--dur-fast) ease;
}
.load-more:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(22, 54, 46, 0.32);
}

/* --- Luxury card hover ------------------------------ */
.card,
.featured-card,
.cta-block,
.category-card-premium {
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) var(--ease-out-quart),
    border-color var(--dur-fast) ease;
}
.card:hover,
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(16, 24, 40, 0.04), 0 20px 44px rgba(16, 24, 40, 0.13);
  border-color: rgba(38, 104, 255, 0.18);
}
.card:hover .thumb img {
  transform: scale(1.05);
}

/* --- Intro card depth (hero section) -------------- */
.intro-card {
  transition: box-shadow var(--dur-base) var(--ease-out-expo);
}

/* --- Section visual rhythm / separators ----------- */
.listing-section {
  position: relative;
}
.listing-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hairline) 25%,
    var(--hairline) 75%,
    transparent
  );
}
.section-tint {
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-tint-end) 100%);
}

/* --- Parallax hero background layer --------------- */
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
  border-radius: inherit;
  overflow: hidden;
}

/* --- Animated trust stat counter ------------------ */
.stat-number[data-count] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* --- Trust pills micro-reveal --------------------- */
.trust-pills span {
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    box-shadow var(--dur-fast) ease,
    background var(--dur-fast) ease;
}
.trust-pills span:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.07);
}

/* --- Image reveal mask ---------------------------- */
.thumb,
.featured-image,
.carousel-media,
.hero-carousel-container {
  overflow: hidden;
}
.thumb img,
.featured-image img {
  transition: transform 0.55s var(--ease-out-expo);
}

/* --- Arrow / icon motion in CTA rows -------------- */
.cta-row .btn-primary svg,
.cta-row .btn-secondary svg,
.hero-actions .btn-hero-primary svg,
.hero-actions .btn-hero-secondary svg {
  transition: transform var(--dur-fast) var(--ease-out-quart);
}
.cta-row .btn-primary:hover svg,
.hero-actions .btn-hero-primary:hover svg {
  transform: translateX(3px);
}

/* --- Smooth anchor scroll ------------------------- */
html {
  scroll-behavior: smooth;
}

/* --- Global focus ring polish --------------------- */
:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(38, 104, 255, 0.14);
  border-radius: 4px;
}

/* --- Reduced-motion fallback ---------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-hero],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}


/* ================================================
   HERO SUPER — Full-width immersive hero band
   ================================================ */

body { font-family: 'Inter', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.top-bar-sep { color: rgba(0,0,0,0.3); }

.header-brand-group { display: inline-flex; align-items: center; gap: 0.8rem; }
.header-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22,163,74,0.09); border: 1px solid rgba(22,163,74,0.28);
  border-radius: 999px; padding: 4px 10px 4px 8px;
  font-size: 0.69rem; font-weight: 700; color: #16a34a;
  letter-spacing: 0.06em; cursor: default; user-select: none;
  white-space: nowrap; /* Prevent text wrapping */
}
.header-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 5px #22c55e;
  animation: headerLivePulse 2s ease-in-out infinite; 
  flex-shrink: 0; /* Prevent compression */
  margin-right: 2px; /* Extra space */
}
@keyframes headerLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.82); }
}

.hero-super {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(145deg, #06101f 0%, #0b1a36 40%, #0e2040 70%, #07101e 100%);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem);
}
.hero-super::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.hero-super::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg-main)); pointer-events: none;
}

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.hero-orb-1 { width: 700px; height: 700px; top: -280px; left: -180px;
  background: radial-gradient(circle, rgba(38,104,255,0.20) 0%, transparent 68%);
  animation: orbDrift1 20s ease-in-out infinite; }
.hero-orb-2 { width: 560px; height: 560px; top: -120px; right: -140px;
  background: radial-gradient(circle, rgba(120,80,255,0.16) 0%, transparent 68%);
  animation: orbDrift2 26s ease-in-out infinite; }
.hero-orb-3 { width: 440px; height: 440px; bottom: -60px; left: 38%;
  background: radial-gradient(circle, rgba(22,54,46,0.28) 0%, transparent 68%);
  animation: orbDrift3 18s ease-in-out infinite; }
.hero-orb-4 { width: 320px; height: 320px; top: 32%; right: 18%;
  background: radial-gradient(circle, rgba(14,160,120,0.11) 0%, transparent 68%);
  animation: orbDrift1 30s ease-in-out infinite reverse; }
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0,0); }
  33%  { transform: translate(42px,-28px); }
  66%  { transform: translate(-22px,18px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0,0); }
  50%  { transform: translate(-38px,24px); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0,0); }
  40%  { transform: translate(28px,-14px); }
  80%  { transform: translate(-18px,10px); }
}

.hero-super-inner { position: relative; z-index: 1; }

/* Unified 2-column hero layout */
.hero-unified {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  min-height: clamp(440px, 60vh, 620px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  animation: slideUp 0.8s var(--ease-premium) 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Glass panels for right column */
.hero-carousel-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: clamp(12px, 2vw, 20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hero-carousel-panel:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-carousel-panel .carousel-wrap {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.hero-carousel-panel .carousel-track {
  min-height: clamp(200px, 28vw, 320px);
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: rgba(0,0,0,0.1);
}
.hero-carousel-panel .arrow {
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  border: 1.5px solid rgba(80, 140, 255, 0.35);
  background: rgba(30, 80, 200, 0.12);
  color: rgba(120, 170, 255, 0.9);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(60, 120, 255, 0.15),
              inset 0 0 8px rgba(60, 120, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-carousel-panel .arrow:hover {
  background: rgba(40, 100, 255, 0.25);
  border-color: rgba(100, 160, 255, 0.6);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(60, 130, 255, 0.45),
              0 0 48px rgba(60, 130, 255, 0.15),
              inset 0 0 12px rgba(80, 140, 255, 0.12);
}
.hero-carousel-panel .arrow:active {
  transform: scale(0.95);
  box-shadow: 0 0 16px rgba(60, 130, 255, 0.3);
}
.hero-carousel-panel .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 4px 0;
}
.hero-carousel-panel .dots .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
}
.hero-carousel-panel .dots .carousel-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: transparent;
  transition: all 0.4s ease;
}
.hero-carousel-panel .dots .carousel-dot:hover {
  background: rgba(100, 160, 255, 0.5);
  transform: scale(1.3);
}
.hero-carousel-panel .dots .carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5),
              0 0 24px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}
.hero-carousel-panel .urgent-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(239,68,68,0.4);
}

.hero-categories-panel {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: clamp(12px, 1.5vw, 16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hero-categories-panel:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-categories-panel .category-head {
  display: inline-block;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.1);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hero-categories-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hero-categories-panel button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-categories-panel button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-categories-panel button.active {
  border-color: rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.12);
}

.hero-live-strip {
  display: inline-flex; align-items: center; gap: 7px; position: relative;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 5px 14px 5px 10px;
  font-size: 0.79rem; font-weight: 600; color: rgba(255,255,255,0.82);
  margin-bottom: 1.6rem; backdrop-filter: blur(4px);
}
.hero-live-ring {
  position: absolute; left: 10px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid #4ade80;
  animation: liveRingPulse 2s ease-out infinite;
}
.hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 6px #4ade80;
  position: relative; z-index: 1; flex-shrink: 0;
}
@keyframes liveRingPulse {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.07; letter-spacing: -0.03em;
  color: #fff; margin: 0 0 1.25rem; max-width: 700px;
}
.headline-accent {
  display: inline-block;
  background: linear-gradient(130deg, #60a5fa 0%, #a78bfa 50%, #f0abfc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.64); line-height: 1.68;
  margin: 0 0 2.2rem; max-width: 580px;
}

.hero-cta-row { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; margin-bottom: 3.2rem; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.92rem 2rem; font-size: 1rem; font-weight: 700;
  background: linear-gradient(135deg, #2668ff, #4f8aff);
  color: #fff; border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 22px rgba(38,104,255,0.46);
  position: relative; overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(38,104,255,0.55); }
.btn-hero-primary:active { transform: scale(0.97); transition-duration: 80ms; }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.92rem 2rem; font-size: 1rem; font-weight: 600;
  background: rgba(255,255,255,0.09); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.20); border-radius: 12px; cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out-quart);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.32); transform: translateY(-1px); }
.btn-hero-secondary:active { transform: scale(0.97); transition-duration: 80ms; }

.hero-stats { display: flex; align-items: center; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; padding: 0 2rem 0 0; }
.hero-stat:not(:first-child) { padding-left: 2rem; }
.hero-stat-sep { width: 1px; height: 2.6rem; background: rgba(255,255,255,0.14); flex-shrink: 0; }
.hero-stat-value {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.02em; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-stat-label { font-size: 0.77rem; color: rgba(255,255,255,0.48); font-weight: 500; margin-top: 0.32rem; }

/* intro-card secondary heading */
.intro-card-heading { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

/* Card hover glow ring upgrade */
.card:hover {
  box-shadow:
    0 4px 6px rgba(16,24,40,0.04),
    0 20px 44px rgba(16,24,40,0.13),
    0 0 0 1px rgba(38,104,255,0.14),
    0 0 24px rgba(38,104,255,0.07);
}

/* Section heading accent bar */
.section-head h2 {
  display: flex; align-items: center; gap: 0.5rem;
}
.section-head h2::before {
  content: "";
  display: inline-block; width: 4px; height: 1.1em;
  background: linear-gradient(180deg, var(--accent-600), var(--brand-700));
  border-radius: 4px; flex-shrink: 0;
}

/* Button ripple */
.btn-ripple {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.42); pointer-events: none;
  transform: translate(-50%,-50%) scale(0);
  animation: rippleExpand 0.58s var(--ease-out-expo) forwards;
}
@keyframes rippleExpand {
  to { transform: translate(-50%,-50%) scale(100); opacity: 0; }
}

/* Responsive hero-super / unified layout */
@media (max-width: 1024px) {
  .hero-unified {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }
  .hero-left { align-items: center; text-align: center; }
  .hero-headline { max-width: none; }
  .hero-sub { max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-categories-panel ul { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-stat:not(:first-child) { padding-left: 1.2rem; }
  .hero-stat { padding-right: 1.2rem; }
  .hero-stats { gap: 0.5rem; }
}
@media (max-width: 480px) {
  .hero-stat-sep { display: none; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-stat, .hero-stat:not(:first-child) { padding: 0; width: calc(50% - 0.5rem); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-categories-panel ul { grid-template-columns: repeat(2, 1fr); }
  .hero-carousel-panel .carousel-track { min-height: 200px; }
  .hero-carousel-panel .carousel-wrap { grid-template-columns: 30px 1fr 30px; gap: 6px; }
  .hero-carousel-panel .arrow { width: 30px; height: 30px; font-size: 14px; }
}

/* ================================================
   PREMIUM FOOTER SYSTEM - Trust & Finnish Identity
   ================================================ */

.premium-footer {
  margin-top: 5rem;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.premium-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.premium-footer .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Trust Section */
.footer-trust {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.trust-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(24, 144, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.trust-badge .flag-fi {
  width: 24px;
  height: 18px;
  background: linear-gradient(to bottom, #003580 0%, #003580 35%, white 35%, white 65%, #003580 65%);
  border-radius: 3px;
  position: relative;
}

.trust-badge .flag-fi::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #d52b1e;
}

.trust-badge .flag-fi::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #d52b1e;
}

/* Payment Methods */
.payment-methods {
  text-align: center;
  margin-bottom: 2rem;
}

.payment-methods h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.bank-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.bank-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 45px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
  animation-delay: calc(var(--i) * 0.1s);
}

.bank-logo:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bank-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Bank Logo Gradients */
.bank-nordea { background: linear-gradient(135deg, #003580, #0066cc); color: white; font-weight: bold; font-size: 0.7rem; }
.bank-op { background: linear-gradient(135deg, #003d79, #0066cc); color: white; font-weight: bold; font-size: 0.7rem; }  
.bank-danske { background: linear-gradient(135deg, #003f5c, #2e86ab); color: white; font-weight: bold; font-size: 0.7rem; }
.bank-handelsbanken { background: linear-gradient(135deg, #004225, #1b7340); color: white; font-weight: bold; font-size: 0.6rem; text-align: center; line-height: 1.1; }
.bank-spankki { background: linear-gradient(135deg, #e31c23, #ff4757); color: white; font-weight: bold; font-size: 0.65rem; }

/* Payment Icons */
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0.7;
}

.payment-icon {
  width: 40px;
  height: 25px;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.payment-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

.payment-icon.visa { background: linear-gradient(135deg, #1a1f71, #1a1f71); color: white; }
.payment-icon.mastercard { background: linear-gradient(135deg, #eb001b, #f79e1b); color: white; }
.payment-icon.mobilepay { background: linear-gradient(135deg, #5a2d91, #8e44ad); color: white; }

/* Main Footer Content */
.footer-main {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInUp 0.8s ease-out;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
  animation: slideInUp 0.8s ease-out;
  animation-delay: calc(var(--i) * 0.1s);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #1890ff;
  transform: translateX(4px);
}

/* Company Info Column */
.company-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  animation: slideInUp 0.8s ease-out;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.social-link:hover {
  background: #1890ff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.3);
}

/* Certifications */
.footer-certifications {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.certifications-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
  animation-delay: calc(var(--i) * 0.1s);
}

.certification-badge:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cert-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.cert-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* Bottom Footer */
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #1890ff;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-trust {
    padding: 2rem 0 1.5rem;
  }
  
  .trust-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .bank-logos {
    gap: 1rem;
  }
  
  .bank-logo {
    width: 70px;
    height: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .certifications-grid {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .premium-footer .container {
    padding: 0 0.5rem;
  }
  
  .footer-trust,
  .footer-main,
  .footer-certifications {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .bank-logos {
    gap: 0.75rem;
  }
  
  .bank-logo {
    width: 60px;
    height: 35px;
    font-size: 0.6rem;
  }
  
  .payment-icons {
    gap: 0.75rem;
  }
  
  .payment-icon {
    width: 35px;
    height: 22px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============================================
   PREMIUM LOGIN MODAL STYLES
   ============================================= */

.premium-login-modal {
  border: 0;
  padding: 0;
  border-radius: 16px;
  width: min(420px, 90vw);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-login-modal[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.premium-login-modal::backdrop {
  background: rgba(10, 16, 28, 0.6);
  backdrop-filter: blur(8px);
}

.premium-modal-content {
  padding: 0;
  margin: 0;
}

.modal-header {
  text-align: center;
  padding: 32px 24px 24px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.login-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-900);
  margin: 0 0 8px;
}

.modal-header p {
  color: var(--text-600);
  font-size: 0.9rem;
  margin: 0;
}

.premium-login-form {
  padding: 24px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.premium-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.premium-input:focus {
  outline: none;
  border-color: var(--accent-600);
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-600);
  cursor: pointer;
}

.forgot-link {
  color: var(--accent-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.forgot-link:hover {
  color: var(--accent-700);
}

.premium-modal-actions {
  padding: 24px;
  display: flex;
  gap: 12px;
}

.btn-login-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-login-secondary {
  flex: 1;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-700);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login-secondary:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.register-prompt {
  text-align: center;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.register-prompt p {
  color: var(--text-600);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.register-link {
  color: var(--accent-600);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.register-link:hover {
  color: var(--accent-700);
  transform: translateX(2px);
}

/* =============================================
   PREMIUM ACTION BUTTONS FOR CARDS
   ============================================= */

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.btn-bid {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-bid:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-buy {
  flex: 1;
  background: linear-gradient(135deg, var(--success-500), var(--success-600));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-bid svg, .btn-buy svg {
  width: 16px;
  height: 16px;
}

/* =============================================
   OHITUSKAISTA PREMIUM GOLD DESIGN
   ============================================= */

.ohitus-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.1) 0%, 
    rgba(255, 193, 7, 0.08) 50%, 
    rgba(255, 235, 59, 0.1) 100%);
  border-radius: 16px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.ohitus-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: goldShimmer 3s infinite;
}

@keyframes goldShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.ohitus-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.gold-title {
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 50%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.section-subtitle .highlight {
  color: var(--accent-600);
  font-weight: 700;
}

.ohitus-pricing {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.price-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-700);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.price-item:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.featured-grid .card {
  background: linear-gradient(145deg, 
    rgba(255, 248, 220, 0.95) 0%, 
    rgba(255, 255, 255, 0.9) 100%);
  border: 2px solid rgba(255, 215, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.featured-grid .card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FFD700, #FFA000, #FFD700);
  z-index: -1;
  border-radius: inherit;
}

.featured-grid .card::after {
  content: '👑';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.featured-grid .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(255, 215, 0, 0.2);
}

/* =============================================
   PREMIUM TOAST NOTIFICATIONS
   ============================================= */

.premium-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  min-width: 280px;
}

.premium-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-700);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-500);
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-700);
}

.premium-toast.info {
  border-left: 4px solid var(--accent-600);
}

.premium-toast.success {
  border-left: 4px solid var(--success-600);
}

.premium-toast.warning {
  border-left: 4px solid var(--warning-600);
}

.premium-toast.error {
  border-left: 4px solid var(--danger-600);
}

/* ===== CARD INFO TEXT UNIFORMITY ===== */
.subline {
  font-size: 0.82rem;
  color: var(--text-500);
  font-weight: 500;
  margin: 4px 0;
  line-height: 1.4;
}

.trust-line {
  font-size: 0.82rem;
  color: var(--text-500);
  font-weight: 500;
  margin: 2px 0;
}

.seller-info {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 2px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  width: fit-content;
}

.seller-info::before {
  content: '✅';
  font-size: 0.9em;
}

/* ===== PREMIUM ITEM MODAL ===== */
.item-modal {
  width: min(680px, 94vw);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.item-modal img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin: 12px 0;
}

.modal-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 280px;
  margin: 12px 0;
  border: 1px solid var(--line-soft);
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
}

.item-modal h3 {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--text-900);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  margin-top: 16px;
}

.modal-actions .btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.modal-actions .btn-secondary {
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  border: 1px solid var(--line);
}

/* ===== INFO PAGE: ILMOITA KOHDE BUTTON ===== */
.btn-ilmoita-kohde {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 48px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease-premium);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.btn-ilmoita-kohde:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
}

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

.btn-ilmoita-kohde:active {
  transform: translateY(-2px) scale(1.02);
}

.btn-ilmoita-kohde svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ===== CATEGORIES MEGA MENU ===== */
.category-mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

.category-mega-menu.open {
  display: block;
  opacity: 1;
}

.category-mega-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.category-mega-panel {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: min(1200px, 95vw);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  padding: 32px;
  transition: transform 0.4s var(--ease-premium), opacity 0.3s ease;
  opacity: 0;
}

.category-mega-menu.open .category-mega-panel {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.category-mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.category-mega-header h2 {
  -webkit-text-fill-color: initial;
  background: none;
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-900);
}

.category-mega-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-500);
  transition: all 0.3s ease;
}

.category-mega-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  transform: rotate(90deg);
}

.category-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.category-mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  cursor: pointer;
  transition: all 0.35s var(--ease-premium);
  text-decoration: none;
  color: inherit;
}

.category-mega-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-premium), var(--glow-accent);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.06);
}

.category-mega-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.category-mega-info h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--text-900);
}

.category-mega-info span {
  font-size: 0.78rem;
  color: var(--text-500);
  font-weight: 500;
}

.category-mega-search {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.category-mega-search:focus {
  border-color: var(--accent-600);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  outline: none;
}

.category-mega-search-wrap {
  position: relative;
}

.category-mega-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-500);
  pointer-events: none;
}
