:root {
  --sunshine: #FFD93D;
  --coral: #FF6B6B;
  --mint: #6BCB77;
  --sky: #4D96FF;
  --purple: #9B72CF;
  --peach: #FFB4A2;
  --bg: #FFF8F0;
  --text: #2D2D3A;
  --card-shadow: 0 8px 32px rgba(45,45,58,0.08);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* === FLOATING SHAPES === */
.floating-shapes {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: floaty 20s ease-in-out infinite;
}
.shape:nth-child(1) { width: 300px; height: 300px; background: var(--coral); top: 10%; left: -5%; animation-delay: 0s; }
.shape:nth-child(2) { width: 200px; height: 200px; background: var(--sky); top: 50%; right: -3%; animation-delay: -5s; }
.shape:nth-child(3) { width: 250px; height: 250px; background: var(--sunshine); bottom: 10%; left: 30%; animation-delay: -10s; }
.shape:nth-child(4) { width: 180px; height: 180px; background: var(--mint); top: 30%; right: 20%; animation-delay: -15s; }
.shape:nth-child(5) { width: 150px; height: 150px; background: var(--purple); bottom: 30%; left: 10%; animation-delay: -8s; }

@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.03); }
}

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,248,240,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255,107,107,0.1);
  padding: 0 2rem;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Gaegu', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--sunshine);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transform: rotate(-5deg);
  box-shadow: 0 4px 12px rgba(255,217,61,0.3);
}
nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}
nav a:hover { color: var(--coral); }
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }
.cart-btn {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.3); }
.cart-count {
  background: var(--sunshine);
  color: var(--text);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  font-family: 'Gaegu', cursive;
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-text h1 span { color: var(--coral); }
.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,107,107,0.35); }
.btn-secondary {
  background: transparent;
  border: 2.5px solid var(--sky);
  color: var(--sky);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}
.btn-secondary:hover { background: var(--sky); color: #fff; transform: translateY(-3px); }

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: cardPop 0.6s ease backwards;
}
.hero-card:nth-child(1) { animation-delay: 0.1s; }
.hero-card:nth-child(2) { animation-delay: 0.2s; transform: translateY(1.5rem); }
.hero-card:nth-child(3) { animation-delay: 0.3s; }
.hero-card:nth-child(4) { animation-delay: 0.4s; transform: translateY(1.5rem); }
.hero-card .emoji { font-size: 3rem; }
.hero-card .label {
  font-family: 'Gaegu', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

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

/* === STATS BAR === */
.stats-bar {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.stats-inner {
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E8E 100%);
  border-radius: var(--radius);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #fff;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Gaegu', cursive;
  font-size: 2.5rem;
  font-weight: 700;
}
.stat .desc { font-size: 0.9rem; opacity: 0.9; }

/* === CATEGORIES === */
.section { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; }
.section-title {
  font-family: 'Gaegu', cursive;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: #888;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.categories {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none;
}
.categories::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  background: #fff;
  border: 2.5px solid transparent;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  font-family: 'Noto Sans KR', sans-serif;
}
.cat-chip:hover, .cat-chip.active {
  border-color: var(--coral);
  background: rgba(255,107,107,0.06);
  color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,107,0.12);
}

/* === PRODUCTS GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(45,45,58,0.12);
}
.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.badge.hot { background: var(--coral); }
.badge.new { background: var(--sky); }
.badge.best { background: var(--mint); }
.badge.sale { background: var(--purple); }

.product-info { padding: 1.2rem 1.5rem 1.5rem; }
.product-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.product-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.product-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: 'Gaegu', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
}
.product-price .original {
  font-size: 0.85rem;
  color: #bbb;
  text-decoration: line-through;
  font-family: 'Noto Sans KR', sans-serif;
  margin-right: 6px;
  font-weight: 400;
}
.add-cart {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--sunshine);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255,217,61,0.3);
}
.add-cart:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 6px 18px rgba(255,217,61,0.4);
}
.age-tag {
  display: inline-block;
  background: rgba(77,150,255,0.1);
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.stars { color: var(--sunshine); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 0.3rem; }

/* === FEATURE SECTION === */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: #888; line-height: 1.5; }

/* === NEWSLETTER === */
.newsletter {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.newsletter-inner {
  background: linear-gradient(135deg, var(--sky) 0%, var(--purple) 100%);
  border-radius: var(--radius);
  padding: 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-inner::before {
  content: '✉️';
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}
.newsletter-inner h2 {
  font-family: 'Gaegu', cursive;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.newsletter-inner p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0.8rem;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
}
.newsletter-form button {
  background: var(--sunshine);
  color: var(--text);
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: 'Noto Sans KR', sans-serif;
}
.newsletter-form button:hover { transform: scale(1.05); }

/* === FOOTER === */
footer {
  position: relative;
  z-index: 1;
  background: var(--text);
  color: #fff;
  margin-top: 4rem;
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }
footer h4 { margin-bottom: 1rem; font-size: 0.95rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.6rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
footer a:hover { color: var(--sunshine); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--mint);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(107,203,119,0.3);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* === MOBILE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-visual { max-width: 400px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
}

/* === CONTACT FORM === */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #eee;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
}
.contact-form textarea {
  resize: vertical;
}