@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .76);
  --paper: #fffaf0;
  --chalk: #fff7df;
  --red: #c30000;
  --red-dark: #8b0000;
  --red-deep: #520100;
  --black-glass: rgba(9, 7, 6, .84);
  --gold: #ffd166;
  --green: #1f8f5f;
  --blue: #2457c5;
  --line: rgba(21, 18, 15, 0.14);
  --shadow: 0 24px 70px rgba(36, 20, 10, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 215, 0, .12), transparent 18%),
    radial-gradient(circle at 86% 8%, rgba(255, 215, 0, .08), transparent 16%),
    linear-gradient(rgba(139, 0, 0, .88), rgba(82, 1, 0, .94)),
    url("/public/pattern_bacground_dadosball.jpg") center / 420px auto repeat,
    linear-gradient(120deg, #6d0100, #c30000);
}

body.go-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: #fff;
}

.skip:focus {
  left: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(9, 7, 6, .78);
  border-bottom: 1px solid rgba(255, 215, 0, .14);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(139, 0, 0, .24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .78);
}

.nav-links a {
  text-decoration: none;
  font-weight: 760;
}

.language-select {
  border: 1px solid rgba(255, 215, 0, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0b0b0b;
  padding: .55rem .8rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD700, #FFA000);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .45);
  font-weight: 900;
  text-decoration: none;
  border: 2px solid rgba(255, 223, 79, .92);
  box-shadow: 0 16px 36px rgba(255, 215, 0, .24);
}

.button.secondary {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 215, 0, .28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.button.green {
  background: linear-gradient(180deg, #4CAF50, #2E7D32);
  box-shadow: 0 16px 36px rgba(31, 143, 95, .22);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.hero > div:first-child,
.stadium-card,
.section:not(.league-showcase),
.page-hero,
.page-content,
.go-shell {
  background: linear-gradient(180deg, rgba(12, 12, 12, .82), rgba(8, 8, 8, .78));
  border: 1px solid rgba(255, 215, 0, .14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.hero > div:first-child {
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(255, 215, 0, .14);
  border: 1px solid rgba(255, 215, 0, .22);
  color: #FFDF4F;
  font-size: .8rem;
  font-weight: 920;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 8vw, 6.9rem);
  max-width: 10ch;
}

.hero-logo {
  width: min(430px, 100%);
  display: block;
  margin-top: 1rem;
  filter: drop-shadow(0 18px 28px rgba(139, 0, 0, .22));
}

.hero-kicker {
  margin: .85rem 0 0;
  color: #FFDF4F;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  line-height: 1.65;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 62ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.store-note {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}

.phone-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.stadium-card {
  width: min(420px, 100%);
  aspect-ratio: 3 / 4.6;
  border-radius: 34px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0)),
    linear-gradient(140deg, #c30000, #72110d 58%, #14110f);
  border: 10px solid #221914;
  box-shadow: var(--shadow);
  color: white;
  overflow: hidden;
}

.score-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
}

.score-strip span {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .65rem .75rem;
  text-align: center;
}

.app-icon {
  width: 112px;
  height: 112px;
  margin: 40px auto 26px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(0,0,0,.32);
}

.dice-table {
  margin: 0 auto;
  width: min(270px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.die {
  aspect-ratio: 1;
  border-radius: 18px;
  position: relative;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, .75);
  box-shadow:
    inset 0 -10px 0 rgba(0,0,0,.11),
    0 16px 32px rgba(0, 0, 0, .26);
}

.pip {
  position: absolute;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffb3b3 0 14%, #c30000 15% 100%);
  box-shadow: inset 0 -2px 2px rgba(0, 0, 0, .25);
}

.pip:nth-child(1) { left: 20%; top: 20%; }
.pip:nth-child(2) { right: 20%; top: 20%; }
.pip:nth-child(3) { left: 20%; top: 42%; }
.pip:nth-child(4) { right: 20%; top: 42%; }
.pip:nth-child(5) { left: 20%; bottom: 20%; }
.pip:nth-child(6) { right: 20%; bottom: 20%; }
}

.play-result {
  margin: 1.2rem auto 0;
  width: fit-content;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #261700;
  font-weight: 950;
}

.rules-shot {
  width: min(760px, 100%);
  display: block;
  margin: 0 0 1.2rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, .7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
}

.store-badge {
  height: 52px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section:not(.league-showcase) {
  border-radius: 18px;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-head p {
  max-width: 52ch;
  color: var(--muted);
  margin: 0;
}

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

.card {
  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 215, 0, .12);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  color: #fff;
}

.card strong {
  display: block;
  font-size: 1.6rem;
}

.card p {
  color: rgba(255, 255, 255, .76);
  margin-bottom: 0;
}

.wide-band {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 215, 0, .08), transparent 22%),
    linear-gradient(180deg, rgba(12, 10, 8, .96), rgba(59, 4, 2, .98)),
    url("/public/pattern_bacground_dadosball.jpg") center / 360px auto repeat;
  color: white;
  border-top: 3px solid rgba(255, 215, 0, .38);
  border-bottom: 3px solid rgba(255, 215, 0, .38);
}

.wide-band .section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.wide-band p {
  color: rgba(255,255,255,.74);
}

.wide-band .section-head {
  align-items: start;
}

.wide-band .section-head h2 {
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}

.wide-band .rules-shot {
  margin: 0 auto 1.6rem;
}

.wide-band .card {
  min-height: 132px;
  background:
    linear-gradient(180deg, rgba(139, 0, 0, .72), rgba(58, 5, 3, .9));
  border: 1px solid rgba(255, 215, 0, .44);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.wide-band .card strong {
  color: #FFD700;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .36);
}

.wide-band .card p {
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.league-list {
  display: grid;
  gap: .65rem;
}

.league-row {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, .24);
  border-radius: 10px;
  min-height: 138px;
  padding: 1rem 1.2rem;
  background:
    linear-gradient(90deg, rgba(42, 3, 2, .96), rgba(139, 0, 0, .88));
  box-shadow: 0 14px 34px rgba(109, 1, 0, .16);
}

.league-row b {
  color: #FFD700;
  font-size: 1.05rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .26);
}

.league-row span {
  color: #fff;
  font-weight: 900;
}

.league-row img {
  width: 96px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .28);
}

.league-showcase {
  background:
    radial-gradient(circle at 30% 0, rgba(255, 215, 0, .11), transparent 28%),
    linear-gradient(180deg, rgba(12, 12, 12, .86), rgba(8, 8, 8, .82));
  border: 1px solid rgba(255, 215, 0, .14);
  border-radius: 18px;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.league-showcase .section-head h2,
.league-page .page-hero h1 {
  color: #FFDF4F;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

.league-page {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 215, 0, .12), transparent 18%),
    linear-gradient(rgba(139, 0, 0, .9), rgba(82, 1, 0, .94)),
    url("/public/pattern_bacground_dadosball.jpg") center / 420px auto repeat,
    linear-gradient(120deg, #6d0100, #c30000);
}

.page-hero {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 4rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 18px;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  padding-right: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.page-hero h1 {
  max-width: 12ch;
}

.page-content {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 5rem;
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 4rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step:before {
  content: counter(step);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-weight: 950;
}

.footer {
  border-top: 1px solid rgba(255, 215, 0, .14);
  padding: 2rem 0;
  color: var(--muted);
  background: rgba(0, 0, 0, .24);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.go-shell {
  width: min(720px, calc(100% - 32px));
  margin: 3rem auto;
  background: linear-gradient(180deg, rgba(12, 12, 12, .88), rgba(8, 8, 8, .82));
  border: 1px solid rgba(255, 215, 0, .16);
  border-radius: 18px;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.go-shell .app-icon {
  margin: 0 auto 1rem;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  margin: .5rem 0 1rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(255,209,102,.55);
  font-weight: 950;
}

.qr-box {
  width: 136px;
  height: 136px;
  margin: 1.2rem auto;
  border: 10px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #15120f 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(#15120f 12px, transparent 12px) 0 0 / 24px 24px,
    #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: .75rem 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-stage {
    min-height: auto;
  }

  .stadium-card {
    max-width: 350px;
  }

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

  .league-row {
    grid-template-columns: 88px 1fr;
    min-height: 118px;
  }

  .league-row span {
    grid-column: 2;
  }

  .league-row img {
    width: 78px;
    height: 92px;
  }

  .section-head {
    display: block;
  }
}
