/* Page additions for Block Blast Hero. Core theme, layout, cards and buttons come from ../css/style.css. */
html { scroll-padding-top: 110px; }
main { min-width: 0; }
img { max-width: 100%; height: auto; }
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 200;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
}
.skip-link:focus { top: 15px; }
.navbar .container { flex-wrap: wrap; gap: 1rem; }
.nav-links { flex-wrap: wrap; gap: 1.5rem; }
.nav-links a { font-weight: 600; }

.game-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.game-identity img {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 12px 24px #0008;
  flex-shrink: 0;
}
.game-identity h1 {
  font-size: 2.8rem;
  margin: 0;
  min-width: 0;
}
.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.2rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.release-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 3rem;
}
.stats div {
  text-align: center;
  padding: 1.4rem 0.6rem;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-bg);
}
.stats strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-color);
}
.stats span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.section-heading h2 { margin-top: 0.75rem; }
.section-heading p { margin-bottom: 0; }
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary-color);
}

.grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.feature-card h3 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}
.feature-card p { margin: 0; }
.card-number {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.split {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.trail-preview {
  flex: 1;
  max-width: 300px;
  max-height: 580px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 20px 40px #0008;
}
.trail-preview img {
  display: block;
  width: 100%;
}
.split-copy { flex: 1; }
.split-copy h2 { margin-top: 1rem; }
.steps {
  padding-left: 1.5rem;
  color: var(--text-secondary);
  margin: 1.5rem 0;
}
.steps li { padding: 0.45rem 0; }
.steps strong { color: var(--text-primary); }
.small-note { font-size: 0.88rem; }

.category-list {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.category-list li {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  padding: 0.55rem 1rem;
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.collection-panel { margin-top: 2rem; }
.collection-panel h3 { margin-top: 0.9rem; color: var(--text-primary); }
.collection-panel p { margin: 0; }

.banner-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.banner-section img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 30px #0006;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.showcase-grid figure { margin: 0; }
.showcase-grid img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 24px #0006;
}
.showcase-grid figcaption {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-top: 0.85rem;
}
.showcase-grid figcaption span {
  color: var(--primary-color);
  margin-right: 0.4rem;
}

.screenshot-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 0.5rem 0.25rem 2rem;
  scroll-snap-type: x mandatory;
}
.screenshot-gallery figure {
  flex: 0 0 190px;
  scroll-snap-align: start;
  margin: 0;
}
.screenshot-gallery img {
  display: block;
  width: 190px;
  border-radius: 16px;
  box-shadow: 0 10px 20px #0005;
}
.screenshot-gallery figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-top: 0.9rem;
}
.screenshot-gallery figcaption span {
  color: var(--primary-color);
  margin-right: 0.4rem;
}

.privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.privacy-panel > div { max-width: 800px; }
.privacy-panel h2 { font-size: 2rem; margin-top: 0.9rem; }
.privacy-panel p:last-child { margin-bottom: 0; }

.faq { max-width: 900px; }
.faq details {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
}
.faq details p { margin: 1rem 0 0; }

.launch-panel {
  text-align: center;
  padding-bottom: 5rem;
}
.launch-panel h2 { margin-top: 1rem; }
.launch-panel .actions { justify-content: center; margin-bottom: 1rem; }

.footer-links { flex-wrap: wrap; }

.legal-heading .eyebrow { margin-top: 2rem; }
.legal-heading h1 { margin-top: 0.75rem; }
.legal-heading time { white-space: nowrap; }
.back-link { display: inline-block; margin-bottom: 0.5rem; }
.notice {
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  margin: 2rem 0;
  line-height: 1.8;
}
.notice strong { color: var(--text-primary); }
.legal-copy p { overflow-wrap: anywhere; }
.legal-copy code { font-size: 0.9em; overflow-wrap: anywhere; }
.legal-copy section { scroll-margin-top: 110px; }

@media (max-width: 768px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .navbar .container { justify-content: center; }
  .nav-links { justify-content: center; gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .game-identity { justify-content: center; text-align: left; gap: 0.8rem; }
  .game-identity img { width: 64px; height: 64px; }
  .game-identity h1 { font-size: 2.1rem; }
  .app-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .app-hero-image { width: 100%; }
  .actions { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .section-heading { margin-bottom: 2rem; }
  .split { flex-direction: column; gap: 2.5rem; }
  .trail-preview { flex: none; max-width: 250px; width: 100%; max-height: 460px; }
  .split-copy h2 br { display: none; }
  .grid { gap: 1.25rem; }
  .glass-card { padding: 1.5rem; }
  .showcase-grid { grid-template-columns: 1fr; }
  .privacy-panel h2 { font-size: 1.75rem; }
  .launch-panel h2 { font-size: 2rem; }
  .legal-content { padding-top: 2rem; }
  .legal-content h1 { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .navbar, footer, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .legal-content { max-width: none; }
  .legal-copy p, .legal-copy li, .notice, .notice strong { color: #000; }
  .notice { background: none; border: 1px solid #888; }
  a { color: inherit; text-decoration: underline; }
}

