:root {
  --red: #ff3b3b;
  --blue: #2d7dd2;
  --yellow: #ffc107;
  --green: #4caf50;
  --bg: #f5f0e8;
  --text: #2a2a2a;
  --shadow-depth: 6px;
}

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

body {
  font-family: 'Baloo 2', cursive;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  padding: 10px 24px;
  border-bottom: 4px solid var(--text);
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.15);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
}

.nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 3px solid var(--text);
}

.btn-toy {
  background: var(--red);
  color: #fff;
  padding: 10px 28px;
  border: 3px solid var(--text);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-toy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
}

.btn-toy:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-blocks {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.block {
  position: absolute;
  border: 3px solid var(--text);
  border-radius: 8px;
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.15);
  animation: popBounce 3s ease-in-out infinite;
}

.block-red { width: 80px; height: 80px; background: var(--red); top: 15%; left: 8%; animation-delay: 0s; }
.block-blue { width: 60px; height: 60px; background: var(--blue); top: 20%; right: 12%; animation-delay: -0.8s; }
.block-yellow { width: 50px; height: 50px; background: var(--yellow); bottom: 25%; left: 12%; animation-delay: -1.5s; }
.block-green { width: 70px; height: 70px; background: var(--green); bottom: 18%; right: 10%; animation-delay: -2.2s; }

@keyframes popBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-8px) rotate(-3deg); }
}

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

.hero-icon-box {
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  background: #fff;
  border: 4px solid var(--text);
  border-radius: 20px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
  padding: 8px;
  transform: rotate(-3deg);
}

.hero-icon {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  text-shadow: 3px 3px 0 var(--yellow);
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.btn-big-toy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 18px 40px;
  border: 4px solid var(--text);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-big-toy:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 rgba(0, 0, 0, 0.25);
}

.btn-big-toy:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

/* Toy Cards */
.toy-card {
  border: 3px solid var(--text);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.toy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.2);
}

.card-red { background: #ffe0e0; }
.card-blue { background: #dce8f5; }
.card-yellow { background: #fff3cd; }
.card-green { background: #d4edda; }

.toy-card h2, .toy-card h3 {
  margin-bottom: 12px;
}

.toy-card p {
  line-height: 1.6;
  color: #444;
}

.toy-number {
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.2;
  margin-bottom: 8px;
}

/* Pop-up Animation */
.pop-up {
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* About */
.about {
  padding: 80px 0;
}

.about .toy-card {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.about .toy-card h2 {
  font-size: 2rem;
}

.about .toy-card p {
  font-size: 1.1rem;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.title-block {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--text);
  border-radius: 4px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}

.tb-red { background: var(--red); }
.tb-blue { background: var(--blue); }
.tb-yellow { background: var(--yellow); }
.tb-green { background: var(--green); }

/* Screenshots */
.screenshots {
  padding: 80px 0;
}

.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
}

.gallery-block {
  flex: 0 0 240px;
  border: 3px solid var(--text);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: transform 0.2s;
}

.gallery-block:hover {
  transform: translateY(-6px) rotate(1deg);
}

.gallery-block img {
  width: 100%;
  display: block;
}

/* Features */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card h3 {
  font-size: 1.3rem;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-stack {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-block {
  border: 3px solid var(--text);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 var(--shadow-depth) 0 rgba(0, 0, 0, 0.15);
}

.faq-block summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
}

.faq-block p {
  padding: 0 24px 20px;
  color: #444;
  line-height: 1.7;
}

.faq-block a {
  color: var(--blue);
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0 32px;
  text-align: center;
  position: relative;
}

.footer-blocks {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.fb {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.fb-red { background: var(--red); }
.fb-blue { background: var(--blue); }
.fb-yellow { background: var(--yellow); }
.fb-green { background: var(--green); }

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .block {
    display: none;
  }

  .gallery-block {
    flex: 0 0 200px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-brand span {
    display: none;
  }

  .hero-icon-box {
    width: 100px;
    height: 100px;
  }

  .toy-card {
    padding: 24px 18px;
  }
}
