/* =============================================
   Merch Page
   Used by: pages/marketing/merch.html
   ============================================= */

/* ===== HERO ===== */
.merch-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  overflow: hidden;
  padding: 80px 5vw 60px;
}

/* grid background */
.merch-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22,163,74,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,163,74,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.merch-hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, #0a0a0a 100%);
}

.merch-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.merch-hero-left {
  flex: 1;
  min-width: 0;
}

/* Label */
.merch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 28px;
}
.merch-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* Headline */
.merch-headline {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  color: #ffffff;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.merch-headline .mh-line {
  display: block;
}
.merch-headline .accent {
  color: #16a34a;
  -webkit-text-stroke: 2px #16a34a;
}

.merch-sub {
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

.merch-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 32px rgba(22,163,74,.35);
}
.merch-cta:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(22,163,74,.5);
}
.merch-cta i { transition: transform 0.2s; }
.merch-cta:hover i { transform: translateX(4px); }

/* Hero right - floating cards */
.merch-hero-right {
  flex-shrink: 0;
  width: 320px;
}

.hero-product-stack {
  position: relative;
  height: 340px;
}

.hero-card {
  position: absolute;
  width: 160px;
  border-radius: 18px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  animation: float-card 4s ease-in-out infinite;
}
.hero-card i { font-size: 2.5rem; }

.hc-1 {
  top: 0; left: 0;
  background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
  color: #14532d;
  animation-delay: 0s;
}
.hc-2 {
  top: 80px; right: 0;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #4ade80;
  animation-delay: .8s;
  z-index: 2;
}
.hc-3 {
  bottom: 0; left: 40px;
  background: linear-gradient(135deg, #052e16, #14532d);
  color: #bbf7d0;
  animation-delay: 1.6s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* Scroll hint */
.merch-hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #4b5563;
  font-size: 18px;
  animation: bounce-down 1.6s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== ENTRANCE ANIMATIONS (hero) ===== */
.animate-up {
  opacity: 0;
  transform: translateY(32px);
  animation: slide-up-in 0.7s cubic-bezier(.22,1,.36,1) forwards;
}
.delay-0 { animation-delay: .1s; }
.delay-1 { animation-delay: .25s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .7s; }
.delay-5 { animation-delay: .85s; }
@keyframes slide-up-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MARQUEE ===== */
.merch-marquee {
  background: #16a34a;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track span {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ffffff;
  padding: 0 20px;
}
.marquee-track .dot {
  color: rgba(255,255,255,.5);
  padding: 0 4px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.merch-marquee:hover .marquee-track { animation-play-state: paused; }

/* ===== SECTIONS ===== */
.merch-section {
  padding: 90px 5vw;
  background: var(--color-bg, #f9fafb);
}
.merch-section.dark-section {
  background: #0f0f0f;
}
.merch-section.dark-section .merch-section-tag { color: #4ade80; }
.merch-section.dark-section .merch-section-title { color: #f3f4f6; }
.merch-section.dark-section .merch-section-desc { color: #6b7280; }
.merch-section.dark-section .merch-card { background: #1a1a1a; border-color: #2a2a2a; }
.merch-section.dark-section .merch-card h3 { color: #f3f4f6; }
.merch-section.dark-section .merch-card p { color: #9ca3af; }
.merch-section.dark-section .merch-price { color: #4ade80; }

.merch-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.merch-section-header {
  margin-bottom: 52px;
}
.merch-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 10px;
}
.merch-section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-text, #111827);
  margin-bottom: 12px;
}
.merch-section-desc {
  font-size: 15px;
  color: var(--color-text-secondary, #6b7280);
  max-width: 480px;
}

/* ===== PRODUCT GRID ===== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.merch-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== PRODUCT CARD ===== */
.merch-card {
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s;
  cursor: default;
}
.merch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.dark-section .merch-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* Product image placeholder */
.merch-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
  position: relative;
  padding: 16px;
}
.merch-card:hover .merch-card-img { transform: scale(1.03); }
.merch-card-img i { font-size: 3.5rem; transition: transform 0.35s cubic-bezier(.22,1,.36,1); }
.merch-card:hover .merch-card-img i { transform: scale(1.12) rotate(-4deg); }
.merch-card-img-photo { background: #f8fafc; padding: 0; overflow: hidden; }
.merch-card-img-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s cubic-bezier(.22,1,.36,1); }
.merch-card:hover .merch-card-img-photo img { transform: scale(1.05); }
.product-label {
  line-height: 1.3;
}

/* tee colors */
.tee-white  { background: linear-gradient(145deg,#f0fdf4,#dcfce7); color: #15803d; }
.tee-black  { background: linear-gradient(145deg,#111,#1f2937); color: #4ade80; }
.tee-green  { background: linear-gradient(145deg,#14532d,#166534); color: #bbf7d0; }
.tee-slate  { background: linear-gradient(145deg,#1e293b,#334155); color: #94a3b8; }

/* hoodie colors */
.hoodie-black   { background: linear-gradient(145deg,#050505,#141414); color: #4ade80; }
.hoodie-navy    { background: linear-gradient(145deg,#0c1a2e,#1e3a5f); color: #93c5fd; }
.hoodie-charcoal{ background: linear-gradient(145deg,#1f2937,#374151); color: #d1d5db; }

/* mug colors */
.mug-white { background: linear-gradient(145deg,#fefce8,#fef9c3); color: #854d0e; }
.mug-black { background: linear-gradient(145deg,#0a0a0a,#1c1917); color: #fbbf24; }
.mug-green { background: linear-gradient(145deg,#052e16,#14532d); color: #86efac; }

/* Upcoming product placeholder card image */
.merch-card-placeholder {
  background: #f1f5f9;
  color: #cbd5e1;
}
[data-theme="dark"] .merch-card-placeholder {
  background: #1e293b;
  color: #334155;
}
.merch-card-placeholder i { font-size: 4rem; }

/* Coming-soon section header */
.merch-coming-soon-tag {
  background: transparent;
  color: var(--color-text-tertiary);
  border: 1px dashed var(--color-border);
  letter-spacing: .18em;
}
.merch-coming-soon-title {
  font-size: 2rem;
  color: var(--color-text-secondary);
}

/* Card body */
.merch-card-body {
  padding: 18px 20px 20px;
}
.merch-card-top {
  margin-bottom: 6px;
}
.merch-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text, #111827);
  margin: 0;
}
.merch-card p {
  font-size: 12px;
  color: var(--color-text-secondary, #6b7280);
  line-height: 1.5;
  margin: 0 0 16px;
}
.merch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.merch-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text, #111827);
  letter-spacing: -.02em;
}

/* Amazon buy button */
.merch-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #FF9900;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .03em;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.merch-buy-btn:hover {
  background: #e68a00;
  transform: scale(1.04);
}

/* ===== DIVIDER ===== */
.merch-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
  background: var(--color-bg, #f9fafb);
}
.merch-divider::before,
.merch-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border, #e5e7eb);
}
.merch-divider span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-tertiary, #9ca3af);
  white-space: nowrap;
}

/* ===== BOTTOM CTA ===== */
.merch-bottom-cta {
  background: #0a0a0a;
  padding: 100px 5vw;
  text-align: center;
}
.merch-bottom-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}
.merch-bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.merch-bottom-cta > .merch-bottom-cta-inner > p {
  font-size: 15px;
  color: #9ca3af;
  margin-bottom: 36px;
}
.merch-bottom-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.merch-bottom-cta a.btn-ghost,
.merch-bottom-cta a.btn-ghost:hover,
.merch-bottom-cta a.btn-ghost:visited,
.merch-bottom-cta a.btn-ghost:active,
.merch-bottom-cta a.btn-ghost:focus {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.merch-bottom-cta a.btn-ghost:hover:not(:disabled) {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
}

.merch-amazon-note {
  font-size: 12px;
  color: #4b5563;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
}
.merch-amazon-note i {
  color: #FF9900;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== SCROLL REVEAL ===== */
.merch-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
.merch-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .merch-hero { padding: 60px 5vw 40px; min-height: auto; }
  .merch-hero-inner { flex-direction: column; gap: 32px; }
  .merch-hero-right { width: 100%; max-width: 300px; margin: 0 auto; }
  .merch-section { padding: 48px 5vw; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .merch-grid.merch-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .merch-bottom-cta { padding: 60px 5vw; }
  .merch-section-header { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .merch-grid { grid-template-columns: 1fr; }
  .merch-grid.merch-grid-3 { grid-template-columns: 1fr; }
}

