* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #1a0633;
  color: #fefefe;
  font-family: "Kanit", Arial, sans-serif;
  line-height: 1.1;
}

img {
  display: block;
  max-width: none;
}

.slotaro-landing {
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #1a0633;
  display: flex;
  justify-content: center;
}

.slotaro-stage {
  width: 1440px;
  height: 894px;
  max-width: 100vw;
  min-height: min(100dvh, 894px);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.ambient {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.ambient-desktop {
  width: 2040px;
  height: 1496.631px;
  left: -300px;
  top: -300px;
  transform: rotate(180deg);
}

.ambient-mobile {
  display: none;
}

.bonus-number {
  position: absolute;
  left: 50%;
  top: calc(50% - 0.09px);
  transform: translate(-50%, -50%) rotate(-12.65deg);
  color: #000;
  font-family: "Denk One", sans-serif;
  font-size: 365.613px;
  font-weight: 400;
  line-height: 1.1;
  opacity: 0.5;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.lp-panel {
  position: absolute;
  inset: 30px 30px 40px;
  z-index: 2;
  border: 1px solid rgba(126, 71, 197, 0);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

.slotaro-logo {
  width: 157.297px;
  height: 60px;
  flex: 0 0 auto;
}

.copy-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 20px;
}

.title-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

h1 {
  margin: 0;
  color: #fefefe;
  font-family: "Denk One", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 1px 0 #847679, 0 5px 4px rgba(20, 20, 20, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
}

.subtitle-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.subtitle-row p {
  width: 100%;
  margin: 0;
  color: #f3ebff;
  font-family: "Kanit", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

.mobile-break {
  display: none;
}

.main-button {
  width: auto;
  height: 50px;
  min-width: 157.5px;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0.625px solid #f5f300;
  border-radius: 19px;
  padding: 5px 50px;
  color: #471882;
  text-decoration: none;
  box-shadow:
    0 0.225px 0 0 #fad264,
    0 0.45px 0 0 #5a0f1b,
    0 -5px 12.5px 0 rgba(250, 210, 100, 0.3),
    0 7.5px 25px 0 rgba(255, 195, 31, 0.5),
    inset 0 0.901px 0.901px 0 rgba(232, 216, 195, 0.25);
}

.main-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 19px;
  background: linear-gradient(180deg, #fae900 0%, #f9c704 100%);
}

.button-face {
  position: absolute;
  inset: calc(5% - 0.56px) calc(1.65% - 0.6px);
  overflow: hidden;
  border: 1.25px solid #7b0ef0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffe760 0%, #f7bf09 100%);
  box-shadow: 0 0.45px 3.75px 0 #906d10;
}

.button-inner {
  position: absolute;
  inset: 0;
  display: block;
}

.button-texture {
  position: absolute;
  left: -3%;
  width: 106%;
  height: 44.6366px;
  pointer-events: none;
}

.button-texture-bottom {
  top: calc(59.94% + 0.25px);
}

.button-texture-top {
  bottom: calc(50.56% + 0.01px);
  transform: rotate(180deg);
}

.button-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #471882;
  font-family: "Kanit", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body {
    background: #000;
  }

  .slotaro-landing {
    background: #000;
    align-items: stretch;
  }

  .slotaro-stage {
    width: 100vw;
    height: auto;
    min-height: 100dvh;
    max-width: none;
  }

  .ambient-desktop {
    display: none;
  }

  .ambient-mobile {
    display: block;
    width: 1731.24px;
    height: 1441.23px;
    left: -300px;
    top: -300px;
  }

  .bonus-number {
    top: calc(50% - 54.81px);
    font-size: 162.495px;
  }

  .lp-panel {
    position: relative;
    inset: auto;
    min-height: 100dvh;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    padding: 200px 50px 40px;
  }

  .copy-stack {
    padding-bottom: 20px;
  }

  .mobile-break {
    display: block;
  }
}
