@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'JetBrains Mono', monospace;
}

body {
  background: linear-gradient(135deg, #e7d9ff, #f7b3d9, #b7e4f9);
  color: #111;
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  background: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hideLoader 2s forwards;
  z-index: 10;
}

.blocks span {
  width: 18px;
  height: 18px;
  background: #3b36f2;
  margin: 5px;
  display: inline-block;
  animation: bounce 0.6s infinite alternate;
}

.blocks span:nth-child(2) { animation-delay: .2s; }
.blocks span:nth-child(3) { animation-delay: .4s; }

@keyframes bounce {
  to { transform: translateY(-16px); }
}

@keyframes hideLoader {
  100% { opacity: 0; pointer-events: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.mascot {
  width: 96px;
  image-rendering: pixelated;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
}

.hero p {
  opacity: 0.75;
  margin-top: 10px;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* ===== INTRO ===== */
.intro p {
  text-align: center;
  max-width: 700px;
  margin: auto;
  opacity: 0.85;
}

/* ===== CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.category {
  padding: 16px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

/* ===== PACK CARDS ===== */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pack-card {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.15s ease;
}

.pack-card:hover {
  transform: translateY(-4px);
}

.pack-preview {
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(135deg, #bbb, #ddd);
  margin-bottom: 12px;
}

.pack-card h3 {
  margin-bottom: 6px;
}

.pack-card p {
  font-size: 0.9rem;
  opacity: 0.75;
}

.tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  background: #3b36f2;
  color: white;
  border-radius: 999px;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  opacity: 0.6;
  font-size: 0.85rem;
}
