/* xbanger hub: loud poster blue, cream type. Each tool tile previews that tool's own look. */
:root {
  --blue: #2B2BF5;
  --blue-deep: #1A1AB8;
  --cream: #FFF6E6;
  --cream-soft: #C9CCFF;
  --pop: #FF5C8A;
  --ink: #12122E;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Bricolage Grotesque', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--cream); font-family: var(--text); font-size: 17px; line-height: 1.45;
  background: var(--blue);
  background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }

.hero { max-width: 1120px; margin: 0 auto; padding: 56px 20px 28px; }
.kicker { margin: 0 0 8px; font-weight: 700; color: var(--cream-soft); }
.kicker a { color: var(--cream); }
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 900; line-height: .9; letter-spacing: -.05em;
  font-size: clamp(4rem, 17vw, 12rem);
}
.wordmark .x { display: inline-block; color: var(--pop); transform: rotate(-8deg) translateY(-.02em); margin-right: .02em; }
.tagline { margin: 18px 0 0; font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 700; max-width: 30ch; }

.tools { max-width: 1120px; margin: 0 auto; padding: 20px 20px 40px; display: grid; gap: 18px; }
.tool { display: grid; border-radius: 26px; overflow: hidden; text-decoration: none; }
.tool-copy { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tool h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; }
.tool p { margin: 0; max-width: 42ch; }
.badge { font-family: var(--display); font-weight: 700; font-size: .72rem; background: var(--pop); color: #fff; border-radius: 999px; padding: 4px 10px; }
.go { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: .95rem; border-radius: 14px; padding: 12px 18px; }

/* Gacha tile wears the gacha's velvet and gold */
.tool-gacha {
  color: #F3DCCB; grid-template-columns: 1fr;
  background: radial-gradient(ellipse at 30% 30%, #5E1B2F, #3B0F1D 60%, #26080F);
  box-shadow: 0 0 0 1px rgba(231,196,110,.35), 0 24px 50px rgba(10, 10, 80, .45);
  transition: transform .15s;
}
.tool-gacha:hover { transform: translateY(-3px); }
.tool-gacha h2 { color: #E7C46E; }
.tool-gacha .go { background: linear-gradient(180deg, #FFE7A6, #E7C46E 55%, #A97B2C); color: #24151B; box-shadow: 0 4px 0 #6E4C17; }
.tool-art { position: relative; min-height: 240px; display: grid; place-items: center; }
.mini-card { position: absolute; width: 150px; aspect-ratio: 5 / 7; border-radius: 12px; padding: 6px; box-shadow: 0 16px 26px rgba(0,0,0,.45); }
.mini-card.back {
  transform: translate(-46px, 6px) rotate(-10deg);
  background: linear-gradient(135deg, #FFE7A6, #E7C46E 30%, #A97B2C 55%, #E7C46E 80%);
}
.mini-card.back span {
  display: grid; place-items: center; height: 100%; border-radius: 7px; font-size: 2.2rem;
  background: repeating-radial-gradient(circle, transparent 0 7px, rgba(231,196,110,.18) 7px 8px), #3B0F1D;
}
.mini-card.front {
  transform: translate(40px, -4px) rotate(7deg);
  background: linear-gradient(135deg, #FFE7A6, #B9852C 38%, #FFE7A6 58%, #B9852C 85%);
  display: flex; flex-direction: column;
}
.mini-card.front > * { background: #F8F1E2; color: #24151B; }
.mini-card.front b { font-family: var(--display); font-size: .62rem; padding: 8px 8px 6px; border-radius: 7px 7px 0 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.mini-card.front p { flex: 1; margin: 0; padding: 10px 8px; font-weight: 800; font-size: .86rem; line-height: 1.15; display: flex; align-items: center; }
.mini-card.front small { font-family: var(--display); font-size: .5rem; padding: 6px 8px; border-radius: 0 0 7px 7px; background: #EFE4CC; color: #6B5560; }

.tool-soon { border: 2px dashed rgba(255,246,230,.45); color: var(--cream); align-content: center; min-height: 200px; }
.tool-soon p a { font-weight: 800; }

.foot { max-width: 1120px; margin: 0 auto; padding: 10px 20px 48px; color: var(--cream-soft); font-weight: 600; }
.foot a { color: var(--cream); font-weight: 800; }

@media (min-width: 820px) {
  .hero { padding-top: 80px; }
  .tools { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
  .tool-gacha { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .tool-art { min-height: 340px; }
  .mini-card { width: 180px; }
  .tool-copy { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
