:root {
  --bg: #151312;
  --text: #e7e1df;
  --text-muted: #ddc1ae;
  --surface: #1d1b1a;
  --surface-high: #2c2928;
  --surface-lowest: #100e0d;
  --accent: #f59e0b;
  --accent-soft: #ffb77d;
  --accent-strong: #ff8c00;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --shadow-amber: 0 0 20px rgba(255, 140, 0, 0.15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  background: rgba(21, 19, 18, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-soft);
}

.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px var(--space-4) 128px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-6);
}

.avatar-wrap {
  position: relative;
  margin-bottom: var(--space-3);
}

.avatar-ring {
  width: 108px;
  height: 108px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong) 0%, #f3af00 100%);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
}

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

.verified-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #2f1500;
  background: var(--accent-soft);
}

.hero h2 {
  margin: 0 0 4px;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.hero-kicker {
  margin: 0 0 var(--space-2);
  color: var(--accent-soft);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0;
  max-width: 320px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
}

.filters {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  margin: 0 calc(var(--space-4) * -1) var(--space-7);
  padding: 0 var(--space-4);
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--surface-high);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.filter-chip:active {
  transform: scale(0.96);
}

.filter-chip.active {
  background: var(--accent);
  color: #2f1500;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.cozy-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

.cozy-card:active {
  transform: scale(0.985);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--surface) 100%);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cozy-card:hover .card-image {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(21, 19, 18, 0.45);
  backdrop-filter: blur(8px);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-body {
  padding: var(--space-5);
}

.card-title {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price {
  margin: 0;
  color: var(--accent-soft);
  font-size: 16px;
  font-weight: 500;
}

.card-description {
  margin: var(--space-2) 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: var(--space-5);
  padding: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #2f1500;
  background: var(--accent);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-cta:hover {
  opacity: 0.9;
}

.card-cta:active {
  transform: scale(0.98);
}

.site-footer {
  margin-bottom: 64px;
  padding: var(--space-7) var(--space-4);
  text-align: center;
  background: var(--surface-lowest);
}

.footer-brand {
  color: var(--accent-soft);
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.site-footer p {
  margin: var(--space-1) 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 24px;
}

.cozy-card.enter {
  opacity: 1;
  transform: translateY(0);
}

.cozy-card.hidden {
  opacity: 0;
  transform: translateY(10px);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 34px;
    line-height: 1.2;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
