/* ===== Chob.Shop — Premium Design System ===== */

:root {
  /* Color palette */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --bg-glass: rgba(22, 33, 62, 0.7);
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --accent-glow: rgba(233, 69, 96, 0.3);
  --shopee-orange: #ee4d2d;
  --text-primary: #f1f1f1;
  --text-secondary: #a0a0b8;
  --text-muted: #6c6c8a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(233, 69, 96, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO BANNER ===== */
#hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

#app {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 1000px;
  height: 160px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.4), transparent);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: 0 24px;
}

#heroTitle {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-emoji {
  display: inline-block;
  animation: heroEmojiFloat 3s ease-in-out infinite;
}

@keyframes heroEmojiFloat {

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

  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

#heroSubtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

.about-container-spacer {
  margin-top: 40px;
  margin-bottom: 20px;
}

.about-box {
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 15, 26, 0.95) 100%);
  border: 1px solid rgba(233, 69, 96, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(233, 69, 96, 0.05);
  position: relative;
  overflow: hidden;
}

.about-box::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.about-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px;
}

.about-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(233, 69, 96, 0.4);
  border-radius: var(--radius-pill);
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  background: rgba(233, 69, 96, 0.05);
  letter-spacing: 0.5px;
}

.about-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.about-text {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-text strong {
  color: #fff;
}

@media (max-width: 768px) {
  #heroTitle {
    font-size: 28px;
  }

  #heroSubtitle {
    font-size: 13px;
  }

  .about-section {
    padding: 30px 16px 40px;
  }

  .about-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 20px;
  }

  .about-title {
    font-size: 26px;
  }

  .about-text {
    font-size: 14px;
  }
}

.layer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer img,
.layer video {
  user-select: none;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative;
  z-index: 100;
  transition: var(--transition);
}

#navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.15);
  box-shadow: inset 0 0 0 1px rgba(233, 69, 96, 0.2);
}

.nav-dd-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-secondary) !important;
  font-family: inherit;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

#navCatDropdown:hover .nav-dd-trigger {
  color: var(--text-primary) !important;
  background: rgba(233, 69, 96, 0.12) !important;
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-dd-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

#navCatDropdown:hover .nav-dd-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent);
}

/* Dropdown Panel — Premium Glassmorphism */
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 15, 26, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 780px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

#navCatDropdown:hover .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.nav-dd-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-dd-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
}

.nav-dd-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  margin-left: -12px;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-dd-item:hover {
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.08);
  border-color: rgba(233, 69, 96, 0.15);
  transform: translateX(6px);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: var(--transition);
  min-width: 220px;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.btn-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.btn-admin:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(60deg);
}

/* ===== CATEGORY ICON GRID ===== */
.categories-section {
  padding: 24px 0 16px;
}

/* Header */
.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cat-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.cat-hint {
  font-size: 12px;
  color: var(--text-muted);
  animation: catHintPulse 2s ease-in-out infinite;
}

@keyframes catHintPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

/* Wrapper: arrows + fades + scroll */
.category-container-constrained {
  max-width: 1150px !important;
  margin: 0 auto;
}

.cat-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 -4px;
}

/* Scroll arrows */
.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(22, 33, 62, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  font-family: inherit;
}

.cat-wrapper:hover .cat-arrow {
  opacity: 1;
  pointer-events: auto;
}

.cat-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-50%) scale(1.1);
}

.cat-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.cat-arrow-left {
  left: -16px;
}

.cat-arrow-right {
  right: -16px;
}

.cat-arrow.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Edge fade gradients */
.cat-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cat-fade-left {
  left: 4px;
  background: linear-gradient(to right, var(--bg-primary), transparent);
  opacity: 0;
}

.cat-fade-right {
  right: 4px;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.cat-fade-left.visible {
  opacity: 1;
}

.cat-fade-right.hidden {
  opacity: 0;
}

/* Scrollable row */
.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

/* Each card — premium polished */
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 90px;
  width: 90px;
  height: 90px;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: start;
  flex-shrink: 0;
  font-family: inherit;
  position: relative;
  /* Removed overflow: hidden so the badge can break out of the card */
  color: var(--text-secondary);
}

/* Category item count badge */
.cat-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 6px;
  min-width: 20px;
  width: max-content;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 75, 43, 0.4), 0 0 0 2px var(--bg-primary);
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

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

.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.05);
}

.cat-card:hover::after {
  opacity: 1;
}

.cat-card.active {
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  border-color: var(--accent);
  box-shadow: 0 10px 25px var(--accent-glow), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

/* Emoji icon */
.cat-emoji {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-card:hover .cat-emoji {
  transform: scale(1.25) rotate(5deg);
}

.cat-card.active .cat-emoji {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) brightness(1.2);
}

/* Label text */
.cat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
  max-width: 100%;
}

.cat-card:hover .cat-label {
  color: var(--text-primary);
  transform: translateY(2px);
}

.cat-card.active .cat-label {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .cat-arrow {
    display: none;
  }

  .cat-fade {
    width: 32px;
  }

  .cat-card {
    min-width: 68px;
    width: 68px;
    padding: 10px 4px 6px;
  }

  .cat-emoji {
    font-size: 22px;
  }

  .cat-label {
    font-size: 9px;
    max-width: 60px;
  }

  .cat-header h2 {
    font-size: 17px;
  }

  .cat-hint {
    display: none;
  }
}

/* ===== PRODUCT GRID ===== */
.section-header {
  margin-bottom: 20px;
}

.section-header h1,
.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.products-section {
  padding: 16px 0 60px;
}

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

.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(233, 69, 96, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(233, 69, 96, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.card:hover::after {
  opacity: 1;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--bg-secondary);
  overflow: hidden;
}

.card-img-wrapper img.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-img-wrapper img.card-img {
  transform: scale(1.1) rotate(1deg);
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(233, 69, 96, 0.9);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
  opacity: 0.95;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: #fff;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: auto;
}

.card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.7;
}

.card-cta {
  margin-top: auto;
}

.shopee-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(238, 77, 45, 0.1);
  color: var(--shopee-orange);
  border: 1px solid rgba(238, 77, 45, 0.2);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .shopee-btn {
  background: linear-gradient(135deg, var(--shopee-orange), #ff6347);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.4);
  transform: translateY(-2px);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  filter: grayscale(0.5);
}

.empty-state h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text-secondary);
}

.empty-state p {
  color: var(--text-muted);
  font-size: 14px;
}

.empty-state a {
  color: var(--accent);
  text-decoration: none;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13px;
  margin: 4px 0 0;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

.social-icon.threads:hover {
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.social-icon.x-twitter:hover {
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(233, 69, 96, 0.15) 0%, transparent 50%);
  z-index: -1;
  animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
  100% {
    transform: rotate(360deg);
  }
}

.about-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(233, 69, 96, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(233, 69, 96, 0.3);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.2);
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #aab2cd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.about-values {
  padding: 60px 0;
}

.values-header {
  text-align: center;
  margin-bottom: 48px;
}

.values-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.values-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
  background: rgba(255, 255, 255, 0.05);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-cta {
  padding: 60px 0 100px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.8) 0%, rgba(15, 15, 26, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(233, 69, 96, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-pill);
}

/* ===== PRIVACY PAGE ===== */
.privacy-hero {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
}

.privacy-hero-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  z-index: -1;
  animation: rotateBg 30s linear infinite reverse;
}

.privacy-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.privacy-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #aab2cd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-content-section {
  padding: 40px 0 100px;
}

.privacy-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.privacy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #10b981, rgba(16, 185, 129, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.privacy-card:hover {
  transform: translateX(8px);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.privacy-card:hover::before {
  opacity: 1;
}

.privacy-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.privacy-card h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin: 0;
}

.privacy-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.privacy-contact {
  max-width: 800px;
  margin: 40px auto 0;
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.8) 0%, rgba(15, 15, 26, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.privacy-contact h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}

.privacy-contact p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #app {
    min-width: 100%;
    height: 120px;
  }

  .nav-inner {
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .search-box {
    min-width: 140px;
  }

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

  .section-header h1,
  .section-header h2 {
    font-size: 20px;
  }

  .card-price {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card-body {
    padding: 10px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-price {
    font-size: 15px;
  }

  .shopee-btn {
    padding: 8px;
    font-size: 12px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.product-card {
  animation: fadeInUp 0.5s ease both;
}

.product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.product-card:nth-child(2) {
  animation-delay: 0.1s;
}

.product-card:nth-child(3) {
  animation-delay: 0.15s;
}

.product-card:nth-child(4) {
  animation-delay: 0.2s;
}

.product-card:nth-child(5) {
  animation-delay: 0.25s;
}

.product-card:nth-child(6) {
  animation-delay: 0.3s;
}

.product-card:nth-child(7) {
  animation-delay: 0.35s;
}

.product-card:nth-child(8) {
  animation-delay: 0.4s;
}