/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide all decorative SVGs site-wide */
.hero-char-left, .hero-char-right,
.deco-pawn, .deco-meeple, .deco-dice,
.how-sparkle, .pd-sparkle,
.banner-deco, .filter-arrow,
.hero-note,
.step-emoji,
.verified-fun svg,
.bubble-spikes,
.footer-deco,
.attr-circle svg,
.zigzag-divider,
.welcome-wave svg,
.welcome-avatar svg,
.step-arrow svg {
  opacity: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #f4f1ec;
  color: #222;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #fff;
  border-bottom: 1.5px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
}

.logo {
  cursor: pointer;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #F5A623;
}

.nav-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
  position: relative;
}

.icon-btn:hover {
  transform: scale(1.15);
}

/* ========== HERO BANNER ========== */
.hero-section {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 28px;
}

.hero-banner {
  background: linear-gradient(135deg, #3CC9A3 0%, #2ABFA0 50%, #24B396 100%);
  border-radius: 18px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 100px;
  border: 3px solid #1a9e7e;
  overflow: hidden;
}

.hero-char-left,
.hero-char-right {
  flex-shrink: 0;
  z-index: 2;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  text-align: center;
  flex: 1;
  justify-content: center;
}

.hero-note {
  font-size: 28px;
  color: #fff;
  animation: noteBounce 1.2s infinite alternate;
}

@keyframes noteBounce {
  from { transform: translateY(0) rotate(-10deg); }
  to { transform: translateY(-6px) rotate(10deg); }
}

.hero-content h1 {
  font-family: 'Bangers', cursive;
  font-size: 38px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  letter-spacing: 3px;
  line-height: 1.1;
}

/* ========== PRODUCT CATEGORIES ========== */
.categories-section {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 28px;
  position: relative;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Large cards */
.cat-card {
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  border: 2.5px solid rgba(0,0,0,0.08);
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.cat-card-lg {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 130px;
}

.cat-card-left h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  line-height: 1.15;
  color: #222;
}

.cat-card-left p {
  font-size: 10px;
  font-weight: 600;
  color: #555;
  margin-top: 6px;
  line-height: 1.3;
  max-width: 160px;
}

.cat-badge {
  background: #FF6B6B;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.cat-card-right {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sorry-badge {
  position: absolute;
  top: 10px;
  right: 80px;
  background: #FF9800;
  color: #fff;
  font-family: 'Bangers', cursive;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  transform: rotate(-5deg);
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: center;
}

.grab-mic-box {
  background: #E1BEE7;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Bangers', cursive;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1.1;
  color: #333;
  text-align: center;
  border: 2px solid #CE93D8;
}

/* Small cards */
.cat-card-sm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding: 14px 16px;
}

.cat-card-sm h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  line-height: 1.15;
  color: #222;
}

.cat-sm-icon {
  font-size: 36px;
}

.cat-badge-sm {
  background: #FF6B6B;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
}

/* Card colors */
.cat-green {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border-color: #81C784;
}

.cat-yellow {
  background: linear-gradient(135deg, #FFF9C4, #FFF176);
  border-color: #FFD54F;
}

.cat-lightyellow {
  background: linear-gradient(135deg, #FFF8E1, #FFE082);
  border-color: #FFB74D;
}

.cat-pink {
  background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
  border-color: #F06292;
}

.cat-purple {
  background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
  border-color: #AB47BC;
}

.cat-lightpurple {
  background: linear-gradient(135deg, #EDE7F6, #D1C4E9);
  border-color: #9575CD;
}

/* Make small cards span proper 4 cols on desktop */
@media (min-width: 700px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cat-card-lg {
    grid-column: span 2;
  }
}

/* Doodles */
.doodle {
  position: absolute;
  color: #FFD93D;
  font-size: 18px;
  pointer-events: none;
  animation: doodlePulse 2s infinite;
}
.doodle-star1 { top: 20px; right: 60px; color: #4ECDC4; }
.doodle-star2 { bottom: 30px; left: 40px; color: #FFD93D; }
.doodle-swirl { top: 80px; left: 20px; color: #FF6B9D; }

@keyframes doodlePulse {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0); }
  50% { opacity: 0.6; transform: scale(0.85) rotate(15deg); }
}

/* ========== BESTSELLER TICKER ========== */
.ticker-section {
  padding: 40px 0 32px;
  overflow: hidden;
}

.section-title {
  font-family: 'Bangers', cursive;
  font-size: 38px;
  text-align: center;
  letter-spacing: 4px;
  color: #222;
  margin-bottom: 24px;
}

.ticker-container {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  gap: 28px;
  animation: tickerScroll 60s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}

.ticker-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: transform 0.25s;
}

.ticker-icon:hover {
  transform: scale(1.12);
}

.ticker-label {
  font-weight: 900;
  font-size: 11px;
  color: #333;
  letter-spacing: 0.5px;
  text-align: center;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TICKER PRODUCT CARDS ===== */
.ticker-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.ticker-product-card:hover { transform: translateY(-4px); }

.ticker-product-img {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.ticker-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.ticker-product-info {
  text-align: center;
  margin-top: 8px;
}
.ticker-product-info strong {
  display: block;
  font-family: 'Fredoka One', cursive;
  font-size: 12px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.ticker-product-info span {
  font-family: 'Bangers', cursive;
  font-size: 18px;
  color: #F5A623;
  letter-spacing: 1px;
}

/* ===== FEATURED GRID - 3 Large Product Cards ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.featured-img-wrap {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.featured-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.12));
}

.featured-info {
  background: rgba(255,255,255,0.7);
  padding: 16px 20px 20px;
  backdrop-filter: blur(4px);
}

.featured-info h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #222;
  line-height: 1.2;
  margin-bottom: 6px;
}

.featured-info p {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-price {
  font-family: 'Bangers', cursive;
  font-size: 28px;
  color: #222;
  letter-spacing: 1px;
}

/* ===== GALLERY - 4 Product Cards, Centered ===== */
.gallery-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px 40px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.gallery-card {
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 24px 16px 16px;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.gallery-card-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.12));
  margin-bottom: 12px;
}

.gallery-card-info {
  text-align: center;
}

.gallery-card-info strong {
  display: block;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: #222;
  margin-bottom: 2px;
}

.gallery-card-info span {
  font-family: 'Bangers', cursive;
  font-size: 24px;
  color: #F5A623;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .gallery-row { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-row { grid-template-columns: 1fr; }
}

/* ========== HOW IT WORKS ========== */
.how-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 56px;
  text-align: center;
  position: relative;
}

.how-title {
  font-family: 'Bangers', cursive;
  font-size: 46px;
  color: #1B8A6B;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

.how-sparkle {
  position: absolute;
  font-size: 20px;
  pointer-events: none;
  animation: sparklePulse 2.5s infinite;
}
.s1 { top: 50px; left: 12%; color: #4ECDC4; }
.s2 { top: 65px; right: 15%; color: #FFD93D; }
.s3 { bottom: 90px; left: 8%; color: #FFD93D; font-size: 16px; }
.s4 { bottom: 70px; right: 8%; color: #4ECDC4; font-size: 16px; }
.s5 { top: 100px; left: 35%; color: #4ECDC4; font-size: 14px; }

@keyframes sparklePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-outer {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.step-outer-blue {
  background: #3B82C4;
  border: 5px solid #2E6DA4;
  box-shadow: 0 4px 14px rgba(59,130,196,0.3);
}

.step-outer-yellow {
  background: #FFD93D;
  border: 5px solid #E6C235;
  box-shadow: 0 4px 14px rgba(255,217,61,0.3);
}

.step-inner-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FF6B6B;
  border: 3px solid #E55555;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.step-num {
  font-family: 'Bangers', cursive;
  font-size: 15px;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}

.step-emoji {
  font-size: 42px;
  line-height: 1;
}

.step-label {
  font-family: 'Bangers', cursive;
  font-size: 22px;
  letter-spacing: 2px;
  color: #222;
  line-height: 1.15;
}

.step-arrow {
  margin-top: -30px;
}

/* ========== JOIN THE COMMUNITY ========== */
.community-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 28px 40px;
  text-align: center;
}

.community-title {
  font-family: 'Bangers', cursive;
  font-size: 38px;
  letter-spacing: 4px;
  color: #222;
  margin-bottom: 24px;
}

.community-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.comm-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.comm-avatar:hover {
  transform: scale(1.15) rotate(5deg);
}

.comm-avatar span {
  font-size: 30px;
}

/* ========== PHOTO GALLERY ========== */
.gallery-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 20px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-img {
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.04);
}

.gallery-img span {
  font-size: 42px;
}

.gallery-img small {
  font-weight: 800;
  font-size: 12px;
  color: #6B4F2A;
  margin-top: 4px;
}

/* ========== FOOTER ========== */
.footer-section {
  position: relative;
  margin-top: 20px;
}

.wave-svg {
  position: relative;
  z-index: 1;
  margin-bottom: -2px;
}

.wave-svg svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-body {
  background: #F5A623;
  padding: 0 28px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 200px;
}

/* Footer decorations */
.footer-deco {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 80px;
}

.deco-dice {
  position: absolute;
  left: 5%;
  top: 10px;
  font-size: 52px;
  animation: diceBounce 1.8s infinite alternate;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.15));
}

@keyframes diceBounce {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-10px) rotate(5deg); }
}

.deco-pawn {
  position: absolute;
  right: 25%;
  top: 0;
}

.deco-meeple {
  position: absolute;
  right: 8%;
  top: 5px;
}

/* Newsletter bubble */
.newsletter-bubble {
  background: #B39DDB;
  border-radius: 22px;
  padding: 28px 36px 24px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  position: relative;
  border: 3px solid #9575CD;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* Spiky top decoration */
.bubble-spikes {
  position: absolute;
  top: -14px;
  left: 24px;
  right: 24px;
  height: 14px;
  display: flex;
  justify-content: space-around;
}

.spike {
  width: 12px;
  height: 14px;
  background: #B39DDB;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Decorative lines radiating from bubble */
.newsletter-bubble::before,
.newsletter-bubble::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

.newsletter-bubble::before {
  top: 20px;
  right: -20px;
  transform: rotate(-20deg);
}

.newsletter-bubble::after {
  top: 30px;
  right: -16px;
  transform: rotate(10deg);
}

.newsletter-bubble h2 {
  font-family: 'Bangers', cursive;
  font-size: 34px;
  color: #FFD93D;
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.12);
  margin-bottom: 2px;
}

.newsletter-bubble p {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.nl-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.nl-form input {
  flex: 1;
  max-width: 260px;
  padding: 10px 14px;
  border: 2px solid #9575CD;
  border-radius: 7px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  background: #fff;
  transition: border-color 0.3s;
}

.nl-form input:focus {
  border-color: #FFD93D;
}

.nl-form input::placeholder {
  color: #aaa;
}

.nl-form button {
  background: #FFD93D;
  color: #222;
  border: 2px solid #E6C235;
  border-radius: 7px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 1px;
}

.nl-form button:hover {
  background: #222;
  color: #FFD93D;
  border-color: #222;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-char-left,
  .hero-char-right {
    display: none;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-card-lg {
    flex-direction: column;
    gap: 10px;
  }

  .steps-row {
    flex-direction: column;
    gap: 14px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin-top: 0;
  }

  .step-outer {
    width: 140px;
    height: 140px;
  }

  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title,
  .how-title,
  .community-title {
    font-size: 30px;
  }

  .nl-form {
    flex-direction: column;
  }

  .nl-form input {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .community-row {
    gap: 10px;
  }

  .comm-avatar {
    width: 54px;
    height: 54px;
  }

  .comm-avatar span {
    font-size: 24px;
  }
}
