body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #ffe8cc;
  color: #2d1200;
}
.fixed-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: #ffe8ccf0;
  box-shadow: 0 2px 12px #0001;
  padding: 8px 32px;
  height: 56px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.logo {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.logo span {
  font-style: italic;
  color: #2d1200;
}
.nav-tabs {
  display: flex;
  gap: 4px;
  margin-left: 32px;
}
.nav-tabs button {
  background: none;
  border: none;
  font-size: 0.95rem;
  margin: 0 2px;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #2d1200;
  transition: background 0.2s, border 0.2s;
  outline: none;
}
.nav-tabs button.active, .nav-tabs button:focus {
  background: #fff1e0;
  border: 2px solid #2d1200;
}
.hero {
  text-align: center;
  margin: 96px 0 32px 0;
}
.hero h1 {
  font-size: 5vw;
  font-weight: 900;
  margin: 0 0 24px 0;
  letter-spacing: -2px;
  color: #2d1200;
}
.toggle-switch {
  display: inline-block;
  width: 120px;
  height: 56px;
  background: #ffe8cc;
  border-radius: 50px;
  box-shadow: 0 8px 16px #0001;
  position: relative;
  margin-bottom: 24px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-knob {
  width: 48px;
  height: 48px;
  background: #3a7efd;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;
  transition: left 0.3s cubic-bezier(.68,-0.55,.27,1.55), background 0.3s;
  box-shadow: 0 4px 12px #0002;
}
.toggle-switch.active .toggle-knob {
  left: 68px;
  background: #00e676;
}
.subtitle {
  font-size: 1.2rem;
  color: #2d1200;
  margin-bottom: 24px;
}
.explore-btn {
  background: #2d1200;
  color: #fff1e0;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.explore-btn:hover {
  background: #3a7efd;
}
main {
  margin-top: 32px;
}
.features-section {
  padding-top: 64px;
}
.slider-section, .scroll-trigger-section, .inertia-section, .text-effects-section, .marquee-section {
  max-width: 1200px;
  margin: 64px auto 0 auto;
  text-align: center;
  padding-top: 64px;
}
.slider {
  display: flex;
  overflow: hidden;
  border-radius: 24px;
  min-height: 400px;
  margin-bottom: 16px;
}
.slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 48px;
  min-height: 400px;
  transition: background 0.5s;
  color: #2d1200;
}
.slide h2 {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 16px 0;
}
.slide p {
  font-size: 1.1rem;
  margin: 0;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.slider-controls button {
  background: #ffe8cc;
  border: 2px solid #2d1200;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: #2d1200;
  transition: background 0.2s;
}
.slider-controls button:hover {
  background: #fff1e0;
}
.dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 16px;
  height: 16px;
  background: #fff1e0;
  border-radius: 50%;
  border: 2px solid #2d1200;
  display: inline-block;
  transition: background 0.2s;
}
.dot.active {
  background: #2d1200;
}
.features-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 16px 0;
}
.list-btn, .grid-btn {
  background: #fff1e0;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #2d1200;
  cursor: pointer;
  transition: background 0.2s;
}
.grid-btn.active, .list-btn.active {
  background: #2d1200;
  color: #fff1e0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
}
.features-grid.list-mode {
  display: block;
}
.features-grid.list-mode .feature-card {
  margin-bottom: 32px;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.feature-card {
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  box-shadow: 0 4px 16px #0001;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.feature-card h3 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 16px 0;
  color: #2d1200;
}
.feature-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: auto;
  box-shadow: 0 2px 8px #0002;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px #0002;
}
.scroll-anim-box {
  width: 320px;
  height: 120px;
  margin: 0 auto;
  background: #7ee6f7;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #2d1200;
  box-shadow: 0 4px 16px #0001;
}
.inertia-section {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.draggable-ball {
  width: 100px;
  height: 100px;
  background: #ff8c2b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff1e0;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 16px #0002;
  cursor: grab;
  user-select: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.text-effects-section {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.animated-text {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2d1200;
  letter-spacing: 2px;
}
.marquee-section {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffe05b;
  border-radius: 16px;
  margin-bottom: 48px;
}
.marquee {
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d1200;
  animation: marquee 18s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 24px 0;
}
.cta-btn, .buy-btn {
  background: #2d1200;
  color: #fff1e0;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.cta-btn:hover, .buy-btn:hover {
  background: #3a7efd;
}
.feed-cat-section {
  text-align: center;
  margin: 48px 0 32px 0;
}
.feed-cat-game {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 32px;
  position: relative;
}
.food-container {
  position: relative;
  width: 80px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cat-container {
  position: relative;
  width: 140px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.food-img {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0;
  top: 30px;
  cursor: grab;
  z-index: 10;
  transition: opacity 0.2s;
  background: #fff;
}
.cat-img {
  width: 120px;
  height: 120px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.crumbs-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 1000;
}
.feed-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: #2d1200;
  background: #ffe8cc;
  padding: 6px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  display: inline-block;
  z-index: 30;
}
.featured-product-section {
  text-align: center;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.coloring-book-img {
  width: 200px;
  height: 280px;
  border-radius: 16px;
  margin: 16px 0;
  box-shadow: 0 4px 16px #0001;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.site-footer {
  background: #ffe8cc;
  padding: 32px 0 16px 0;
  text-align: center;
  border-top: 1px solid #f0e0d0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-links a {
  background: #2d1200;
  color: #fff1e0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 4px 0;
  display: inline-block;
}
.footer-links a:hover {
  background: #3a7efd;
  color: #fff;
}
.footer-copy {
  color: #a08c7a;
  font-size: 0.95rem;
}
.gallery-section h2,
.about-section h2,
.support-section h2 {
  text-align: center;
  margin-bottom: 24px;
}
.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
  text-align: center;
}
.support-section {
  text-align: center;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.newsletter-form {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.crumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  z-index: 1001;
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.8s cubic-bezier(.4,1.6,.6,1), opacity 0.8s;
}
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .slide {
    padding: 24px;
    min-height: 260px;
  }
  .slide-img {
    width: 120px;
    height: 120px;
  }
  .about-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .navbar, .fixed-navbar {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    height: auto;
  }
  .logo {
    font-size: 1rem;
  }
  .hero {
    margin: 64px 0 24px 0;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .toggle-switch {
    width: 70px;
    height: 36px;
  }
  .toggle-knob {
    width: 28px;
    height: 28px;
    left: 4px;
    top: 4px;
  }
  .toggle-switch.active .toggle-knob {
    left: 38px;
  }
  .slide {
    padding: 12px;
    min-height: 180px;
  }
  .slide-img {
    width: 70px;
    height: 70px;
  }
  .slider-section, .scroll-trigger-section, .inertia-section, .text-effects-section, .marquee-section {
    padding-top: 32px;
    margin: 32px auto 0 auto;
  }
  .feature-card {
    padding: 16px 8px 12px 8px;
    min-height: 120px;
  }
  .feature-card h3 {
    font-size: 1.1rem;
  }
  .feature-card img {
    width: 60px;
    height: 60px;
  }
  .draggable-ball {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
  }
  .marquee {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 8px;
  }
  .about-img {
    width: 70px;
    height: 70px;
  }
  .coloring-book-img {
    width: 120px;
    height: 170px;
  }
  .cat-img {
    width: 70px;
    height: 70px;
    top: 10px;
  }
  .food-img {
    width: 36px;
    height: 36px;
    top: 60px;
  }
  .crumb {
    width: 7px;
    height: 7px;
  }
  .crumbs-container {
    top: 90px;
  }
  .featured-product-section {
    padding: 0 8px;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .footer-links a {
    width: 100%;
    text-align: center;
  }
}
.gallery-section {
  margin-top: 64px;
}
