:root {
  --page: #181d2d;
  --app: #0e1424;
  --chrome: #090e1a;
  --panel: #121a2e;
  --panel-2: #17243a;
  --line: rgba(104, 163, 255, 0.28);
  --blue: #2f8ee8;
  --blue-soft: #19365b;
  --magenta: #c05288;
  --green: #36c47a;
  --orange: #ff5a3c;
  --yellow: #ffc82e;
  --white: #fff;
  --muted: #9aa7bd;
  --shadow: rgba(0, 0, 0, 0.22);
  color-scheme: dark;
  font-family: Arial, Calibri, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--page);
  color: var(--white);
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  width: min(100vw, 460px);
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(47, 142, 232, 0.22), transparent 28%),
    var(--app);
  box-shadow: 0 0 0 1px rgba(104, 163, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pwa-banner {
  height: 80px;
  display: grid;
  grid-template-columns: 30px minmax(118px, 1fr) 92px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(90deg, #060912, #111827 52%, #15253a);
  box-shadow: 0 2px 8px var(--shadow);
  overflow: hidden;
}

.pwa-banner[hidden] {
  display: none;
}

.icon-button {
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.close-banner {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.app-icon,
.mini-app-icon,
.casino-logo {
  display: grid;
  place-items: center;
  border: 2px solid #f5d54b;
  background:
    radial-gradient(circle at 30% 25%, #fff36b 0 9%, transparent 10%),
    radial-gradient(circle at 72% 35%, #ff5148 0 11%, transparent 12%),
    linear-gradient(135deg, #ffd44d, #ff6a3d 42%, #1b6ee8 43%, #10182b);
  color: var(--white);
  text-shadow: 0 2px 2px #002b12;
  font-weight: 900;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  font-size: 18px;
}

.mini-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 12px;
}

.banner-copy {
  min-width: 0;
  max-width: 150px;
  line-height: 1;
  overflow: hidden;
}

.banner-logo {
  display: block;
  width: min(132px, 100%);
  height: auto;
  max-height: 31px;
  object-fit: contain;
  object-position: left center;
}

.banner-copy span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.download-button,
.play-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.download-button {
  min-height: 40px;
  width: 92px;
  font-size: 12px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.download-button:hover,
.play-button:hover {
  filter: brightness(1.08);
}

.download-button:active,
.play-button:active {
  transform: translateY(1px);
}

.brand-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  background: var(--chrome);
  border-bottom: 1px solid rgba(104, 163, 255, 0.12);
  overflow: hidden;
}

.brand-mark {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(170px, calc(100vw - 118px));
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.brand-side-logo {
  display: block;
  width: 42px;
  height: 42px;
  border: 2px solid #f5d54b;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.stats-strip {
  height: 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(90deg, var(--panel), #281933 56%, var(--panel));
  border-bottom: 1px solid rgba(104, 163, 255, 0.1);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.stat-icon {
  font-size: 32px;
  line-height: 1;
}

.stat-card strong,
.casino-copy h3 {
  color: var(--yellow);
}

.stat-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.05;
}

.stat-card span:last-child {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.scroll-area {
  height: calc(100dvh - 215px);
  overflow-y: auto;
  padding: 18px 20px 96px;
  scrollbar-color: rgba(104, 163, 255, 0.72) transparent;
}

.news-section h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
}

.carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 4;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.slides {
  height: 100%;
  display: flex;
  transition: transform 380ms ease;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--blue);
}

.promo-heading {
  margin: 22px 0 40px;
  color: var(--yellow);
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.casino-section h2 {
  margin: 0 0 28px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #1a2b47, #0c1221);
  text-align: center;
  font-size: 20px;
  line-height: 1;
}

.casino-list {
  display: grid;
  gap: 14px;
}

.casino-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 40px 68px 1fr 82px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(104, 163, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(23, 36, 58, 0.92), rgba(12, 18, 33, 0.95));
}

.rank {
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--white);
  font-weight: 900;
}

.casino-logo {
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}

.casino-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-copy {
  min-width: 0;
}

.casino-copy h3,
.casino-copy p {
  margin: 0;
}

.casino-copy h3 {
  font-size: 14px;
}

.casino-copy p,
.casino-copy small {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

.play-button {
  min-height: 34px;
  width: 82px;
  font-size: 12px;
}

.faq-section,
.service-section {
  margin-top: 34px;
}

.faq-section h2,
.service-section h2,
.guarantee-list h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 5px;
}

.faq-list details {
  border: 1px solid rgba(104, 163, 255, 0.14);
  border-radius: 10px;
  background: var(--panel);
}

.faq-list summary {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.faq-list p,
.faq-list ol {
  margin: 0;
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.faq-list p + p {
  padding-top: 0;
}

.faq-list ol {
  display: grid;
  gap: 5px;
  padding-left: 28px;
}

.service-section p {
  margin: 18px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.service-section p strong {
  color: var(--yellow);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 20px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.service-grid div {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 8px;
  border-right: 1px solid rgba(104, 163, 255, 0.2);
  border-bottom: 1px solid rgba(104, 163, 255, 0.2);
  text-align: center;
}

.service-grid span {
  font-size: 24px;
}

.service-grid strong {
  color: var(--white);
  font-size: 15px;
}

.service-grid small {
  font-size: 12px;
  font-weight: 800;
}

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.social-row a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px rgba(104, 163, 255, 0.18);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.garantia-page .scroll-area {
  height: calc(100dvh - 140px);
}

.guarantee-hero {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--panel), #182744);
}

.guarantee-hero h1 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.25;
}

.guarantee-hero p {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.guarantee-hero a,
.guarantee-card > a {
  color: var(--white);
  font-weight: 900;
}

.flag-brazil {
  width: 46px;
  height: 32px;
  display: inline-block;
  border-radius: 3px;
  background:
    radial-gradient(circle, #1547a7 0 22%, transparent 23%),
    linear-gradient(35deg, transparent 31%, #ffe000 32% 68%, transparent 69%),
    linear-gradient(-35deg, transparent 31%, #ffe000 32% 68%, transparent 69%),
    #009b3a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 8px 18px rgba(0, 0, 0, 0.25);
}

.guarantee-list {
  display: grid;
  gap: 20px;
}

.guarantee-card {
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #13213a, #0c1221);
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}

.guarantee-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

.guarantee-card h3 span,
.guarantee-card p,
.guarantee-card > a {
  color: var(--yellow);
}

.guarantee-card h3 small {
  font-size: 18px;
}

.guarantee-card > .flag-brazil {
  width: 22px;
  height: 16px;
}

.guarantee-card p {
  max-width: 330px;
  margin: 8px 14px 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.guarantee-card .play-button {
  width: auto;
  min-width: 140px;
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.guarantee-meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(104, 163, 255, 0.18);
  background: #111b30;
}

.guarantee-meta span {
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 800;
}

.guarantee-meta span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.guarantee-meta strong {
  color: var(--green);
  font-size: 14px;
}

.guarantee-card > a {
  width: 100%;
  padding: 10px;
  background: #111b30;
  font-size: 18px;
  text-decoration: none;
}

.bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px 12px 0 0;
  background: rgba(17, 24, 39, 0.96);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.nav-item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.nav-item span {
  font-size: 28px;
  line-height: 1;
}

.nav-item.active {
  color: var(--yellow);
}

@media (max-width: 390px) {
  .pwa-banner {
    grid-template-columns: 28px minmax(104px, 1fr) 78px;
    gap: 8px;
  }

  .banner-logo {
    width: min(118px, 100%);
  }

  .download-button {
    width: 78px;
  }

  .casino-row {
    grid-template-columns: 34px 60px 1fr 76px;
    gap: 9px;
  }

  .casino-logo {
    width: 58px;
    height: 58px;
  }
}

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