/* Boleba Legends — página do jogo (carregada só em /boleba-legends/). */

.boleba {
  --boleba-wood: #3a2414;
  --boleba-earth: #8a4b22;
  --boleba-gold: #f6c453;
  --boleba-glow: #ffd98a;
  --boleba-cream: #fff4e0;
  --boleba-display: "Lilita One", "Space Grotesk", system-ui, sans-serif;
}

.boleba h2,
.boleba h3 {
  font-family: var(--boleba-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.boleba .eyebrow {
  color: var(--boleba-gold);
}

/* Hero: quintal à noite com as bolebas. */
.boleba-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--boleba-hero) center / cover no-repeat, #1c1009;
  overflow: hidden;
}

.boleba-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 24, 0.55) 0%, rgba(6, 16, 24, 0) 30%),
    linear-gradient(0deg, var(--bg) 0%, rgba(20, 10, 4, 0.55) 45%, rgba(20, 10, 4, 0.1) 75%);
}

.boleba-hero__content {
  position: relative;
  max-width: 640px;
}

.boleba-hero__logo {
  margin: 0 0 0.5rem;
}

.boleba-hero__logo img {
  width: min(351px, 78vw);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

.boleba-hero__tagline {
  margin: 0 0 0.6rem;
  font-family: var(--boleba-display);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  color: var(--boleba-glow);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.boleba-hero__lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  color: var(--boleba-cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.boleba-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.boleba .btn--primary {
  background: linear-gradient(180deg, var(--boleba-glow), var(--boleba-gold));
  color: #2b1606;
  box-shadow: 0 6px 18px rgba(246, 196, 83, 0.35);
}

.boleba-soon {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(58, 36, 20, 0.85);
  border: 1px solid rgba(246, 196, 83, 0.45);
  color: var(--boleba-glow);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Modos: cards de madeira com a arte do jogo. */
.boleba-modes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.boleba-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--boleba-earth), var(--boleba-wood));
  border: 2px solid rgba(246, 196, 83, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.boleba-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.boleba-card--tall {
  grid-row: 1 / span 2;
}

.boleba-card--tall img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 260px;
  object-position: center 40%;
}

/* Último card ocupa as duas colunas ao lado do card alto (sem buraco na grade). */
.boleba-card--wide {
  grid-column: 2 / span 2;
}

.boleba-card--wide img {
  aspect-ratio: 21 / 9;
}

.boleba-card__body {
  padding: 1rem 1.15rem 1.2rem;
}

.boleba-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--boleba-glow);
}

.boleba-card p {
  margin: 0;
  color: var(--boleba-cream);
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Coleções: vitrine de bolebas. */
.boleba-marbles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.boleba-marbles__list li {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}

.boleba-marbles__list img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}

.boleba-marbles__list li:hover img {
  transform: translateY(-6px) rotate(-8deg);
}

.boleba-marbles__list span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Diferenciais. */
.boleba-features h2 {
  margin-top: 0;
  text-align: center;
}

.boleba-features__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.boleba-features__list li {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(246, 196, 83, 0.25);
  border-top: 3px solid var(--boleba-gold);
  display: grid;
  gap: 0.35rem;
}

.boleba-features__list strong {
  color: var(--boleba-glow);
}

.boleba-features__list span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Chamada final. */
.boleba-cta__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}

.boleba-cta__inner img {
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.boleba-cta h2 {
  margin: 0;
}

.boleba-legal {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.boleba-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.boleba-legal a:hover {
  color: var(--boleba-glow);
}

.boleba-legal span {
  margin: 0 0.4rem;
}

@media (max-width: 960px) {
  .boleba-modes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boleba-card--tall {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .boleba-card--tall img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .boleba-card--wide {
    grid-column: 1 / -1;
  }

  .boleba-marbles__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .boleba-features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .boleba-hero {
    min-height: 92vh;
    padding-bottom: 2.5rem;
  }

  .boleba-modes__grid,
  .boleba-features__list {
    grid-template-columns: 1fr;
  }

  .boleba-marbles__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boleba-marbles__list img {
    width: 92px;
    height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boleba-marbles__list img {
    transition: none;
  }
}

/* Suporte (/suporte/boleba-legends/). */
.boleba-support__hero {
  position: relative;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  background: var(--boleba-hero) center / cover no-repeat, #1c1009;
  overflow: hidden;
}

.boleba-support__hero-inner {
  position: relative;
  max-width: 720px;
}

.boleba-support__logo {
  width: min(240px, 60vw);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}

.boleba-support__hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--boleba-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--boleba-glow);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.boleba-support__hero p {
  margin: 0;
  color: var(--boleba-cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.boleba-support__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
}

.boleba-support__contact,
.boleba-support__steps {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(246, 196, 83, 0.25);
  border-top: 3px solid var(--boleba-gold);
}

.boleba-support__contact h2,
.boleba-support__steps h2 {
  margin-top: 0;
  color: var(--boleba-glow);
}

.boleba-support__email {
  margin: 0.8rem 0 0.3rem;
  font-weight: 600;
  word-break: break-all;
}

.boleba-support__muted {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.boleba-support__steps ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.boleba-support__faq {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.boleba-support__faq details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
}

.boleba-support__faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.boleba-support__faq summary::marker {
  color: var(--boleba-gold);
}

.boleba-support__faq p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
}

.boleba-support__intl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.boleba-support__intl h2 {
  font-size: 1.3rem;
}

.boleba-support__intl p {
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .boleba-support__grid,
  .boleba-support__intl {
    grid-template-columns: 1fr;
  }
}
