:root {
  --color-white: #ffffff;
  --font-primary: "Figtree", "Arial", sans-serif;
  --theme-tint-x1-25: rgb(242 236 255 / 1);
  --theme-tint-x1-75: rgb(225 207 253 / 1);
  --theme-tint-x1-300: rgb(170 103 247 / 1);
  --theme-tint-neutral-350: rgb(156 150 229 / 1);
  --theme-tint-neutral-50: rgb(243 242 253);
  --theme-inner-background: linear-gradient(
    0deg,
    var(--theme-tint-neutral-350) 0%,
    var(--theme-tint-x1-300) 100%
  );
  --body-background-color: rgb(220, 218, 249);
  --transparent-background-color: radial-gradient(
    280.79% 100% at 50% 0%,
    #3b049000 15%,
    #3b04904a,
    #3b04908c 35%,
    #3b0490cc 50%,
    #3b0490 70%,
    #26045a
  );
  --body-font-color: rgb(60, 52, 172);
  --theme-radial-gradient: radial-gradient(
    88.18% 100% at 50% 0%,
    #7c47d1 0%,
    #081064 60%,
    #081064 100%
  );
  --header-button-shadow:
    0px 4px 0px rgb(45 39 128 / 1), inset 0px 2px 0px rgb(242 236 255 / 0.1),
    0px 8px 8px rgb(55 48 157 / 0.35);
  --footer-gradient: linear-gradient(
    180deg,
    rgb(6 11 69 / 1) 0%,
    rgb(73 7 124 / 1) 100%
  );
  --hero-button-background:
    linear-gradient(
        180deg,
        #c3e725 20%,
        #90da16 50%,
        #67cd0b 79.28%,
        #4ac403 100%
      )
      padding-box,
    radial-gradient(
        182.55% 100% at 50% 0%,
        #f6ffde 0%,
        #aeef01 33.17%,
        #9bd601 37.98%,
        #91ca01 100%
      )
      border-box;
  --hero-button-text-color: #000;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --container-max: 1200px;
  --container-padding: 20px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-font-color);
  background: #49077c;
  display: flex;
  flex-direction: column;
}

h2,
h3 {
  font-family: var(--font-primary);
  color: var(--color-white);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

p:last-child {
  margin-bottom: 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--container-padding);
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.header {
  background: var(--theme-radial-gradient, var(--body-background-color));
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-xs) var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  width: 100px;
  height: 40px;
  position: relative;
}

.header__logo img {
  filter: drop-shadow(5px 2px 3px #000000);
  width: 100px;
  position: absolute;
}

.header__nav {
  display: flex;
  gap: var(--space-sm);
  margin-left: auto;
}

.btn {
  padding: var(--space-xs) var(--space-md);
  background:
    radial-gradient(
        182.55% 100% at 50% 0%,
        #c5a1fa,
        #8f60e2 33%,
        #6440bd 38%,
        #302987
      )
      padding-box,
    var(--theme-radial-gradient) border-box;
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  font-weight: 900;
  font-size: 16px;
  display: block;
  text-transform: uppercase;
  box-shadow: var(--header-button-shadow);
  border: 1px solid #c5a1fa;
}

.btn:hover {
  background:
    radial-gradient(
        182.55% 100% at 50% 0%,
        #dac4fc 10%,
        #8f60e2 33%,
        #6f4bcb 38%,
        #37309d
      )
      padding-box,
    var(--theme-radial-gradient) border-box;
}

.section .btn {
  margin: 0 auto var(--space-sm) auto;
  width: fit-content;
}

.image-container--interface + .btn {
  margin: var(--space-sm) auto 0 auto;
}

.footer {
  background: url("/images/footer-mask.png"), var(--footer-gradient);
  text-align: center;
  background-position: bottom;
  color: var(--theme-tint-neutral-350);
}

.footer .container {
  gap: var(--space-sm);
}

.footer__subtitle {
  font-size: 14px;
  margin: 0;
}

.footer__copyright {
  font-size: 14px;
}

.age-restriction {
  display: flex;
  justify-content: center;
}

.age-restriction img {
  width: 40px;
}

.hero {
  background-image: url("/images/spinbara-banner.webp");
  background-position: right;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 550px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero::after {
  position: absolute;
  content: "";
  bottom: 0;
  background-image: url("/images/main-banner-curve-desk.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 100% 50%;
  height: 16px;
  width: 100%;
  z-index: 2;
}

.hero__title {
  font-size: 38px;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: 24px;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: var(--space-sm);
}

.hero__title,
.hero__subtitle {
  text-shadow: 0 2px 0 var(--body-font-color);
  text-transform: uppercase;
  font-weight: 900;
}

.hero__banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.button {
  color: var(--color-white);
  padding: var(--space-sm) var(--space-xl);
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-button {
  background: var(--hero-button-background);
  border-radius: 999px;
  border: 2px solid transparent;
  color: var(--hero-button-text-color);
  font-weight: 900;
}

.hero-button:hover {
  filter: brightness(110%);
}

.btn-center {
  text-align: center;
}

.section:nth-child(2) {
  background-image: url("/images/body-background.png");
  background-position: bottom;
  background-size: contain;
}

.recovery-pass {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.recovery-pass .recovery-pass__text {
  flex: 2;
}

.recovery-pass .image-container {
  flex: 1;
}

.section {
  background-color: var(--body-background-color);
}

.section section {
  margin-bottom: var(--space-sm);
}

.section section:last-child {
  margin-bottom: 0;
}

.section__title {
  font-size: 28px;
  margin-bottom: var(--space-sm);
}

.section__3rd-title {
  font-size: 20px;
  margin-bottom: var(--space-xs);
}

.section__title,
.section__3rd-title,
.section-faq__title {
  color: black;
  font-weight: 600;
}

.list {
  padding-left: var(--space-sm);
  margin-bottom: var(--space-sm);
}

img {
  border: none;
  height: auto;
  max-width: 100%;
}

.images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.image-container {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--theme-tint-x1-300);
  border-radius: var(--border-radius-md);
}

.image-container--interface {
  width: 65%;
  margin: 0 auto;
}

.image-container--interface-mobile {
  width: 50%;
}

.image-container--interface .image-container {
  border: 2px solid var(--color-white);
  flex: 1;
}

.images-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--body-font-color);
  font-weight: 400;
}

th,
td {
  padding: 12px;
  text-align: left;
}

th {
  background: var(--theme-tint-x1-25);
}

tr:nth-child(odd) {
  background: var(--theme-tint-x1-75);
}

.table {
  background: var(--theme-tint-x1-25);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--color-white);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.table:last-child {
  margin-bottom: 0;
}

.rating__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-sm);
}

.bonus-card-custom-abs {
  border-radius: 16px;
  border: 2px solid var(--color-white);
  box-shadow: 2px 2px 0 var(--theme-tint-neutral-350);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.bonus-card-img-figure {
  display: flex;
  flex: 1;
}

.bonus-card-img-figure img {
  width: 100%;
  height: auto;
  object-fit: fill;
}

.bonus-card-info-abs {
  position: absolute;
  width: 100%;
  padding: var(--space-sm) var(--space-xs);
  display: flex;
  flex-direction: column;
  bottom: 0;
  color: var(--color-white);
  background: var(--transparent-background-color);
}

.bonus-card-title {
  font-weight: 700;
}

.bonus-card-desc {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.section-faq p {
  font-size: 14px;
  margin: var(--space-xs) 0 0 0;
  cursor: auto;
}

.section-faq details {
  background: var(--theme-tint-neutral-50);
  border-radius: var(--space-xs);
  padding: var(--space-sm);
  border: 1px solid var(--color-white);
  box-shadow: 2px 2px 0 var(--theme-tint-neutral-350);
  cursor: pointer;
}

.section-faq details:not(:last-child) {
  margin-bottom: var(--space-sm);
}

.section-faq summary::marker {
  color: var(--body-font-color);
}

@media (max-width: 1024px) {
  .hero {
    background-image: url("/images/spinbara-banner-mobile.webp");
    background-position: center;
  }
  .hero::after {
    background-image: url("/images/main-banner-curve-mob.png");
  }
}

@media (max-width: 992px) {
  .recovery-pass {
    flex-direction: column;
  }

  .recovery-pass .image-container {
    width: 50%;
    margin: 0 auto var(--space-sm) auto;
  }
}

@media (max-width: 768px) {
  .table {
    overflow-x: auto;
  }

  .table table {
    min-width: 600px;
  }

  .image-container--interface,
  .images {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .bonus-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: var(--space-sm) var(--space-sm);
  }

  .hero__title {
    font-size: 14px;
    font-weight: 600;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__title,
  .hero__subtitle {
    text-align: center;
    margin-bottom: var(--space-xs);
  }

  .hero__banner {
    align-items: center;
    justify-content: flex-end;
  }

  .hero-button {
    font-size: 16px;
    padding: var(--space-sm) var(--space-md);
  }

  .header__container {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .header__nav {
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .header__logo {
    margin: 0 auto;
  }

  .btn {
    font-size: 14px;
    flex: 1;
    text-align: center;
  }

  .section__title {
    font-size: 20px;
  }

  .section-faq summary {
    font-size: 14px;
  }

  .section-faq p {
    font-size: 12px;
  }
}
