:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;

  --w: 402px;
  --content-shift: 25px;

  --site-bg-url: url("assets/bg.jpg");
  --site-logo-url: url("assets/logo.png");
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: #000;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.description,
.btn-title {
  -webkit-user-select: none;
  user-select: none;
}

.main-container {
  position: relative;
  width: min(var(--w), 100vw);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  font-family: Inter, var(--default-font-family);

  background-image: var(--site-bg-url);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.vlogo {
  position: absolute;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);

  width: 467px;
  height: 299px;
  max-width: 96vw;

  background-image: var(--site-logo-url);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;

  z-index: 2;
  pointer-events: none;
}

.rm-5 {
  display: none !important;
}

.btns {
  position: relative;
  z-index: 3;
  margin-top: calc(295px + var(--content-shift));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.btn {
  display: block;
  position: relative;
  width: 316px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 120ms ease, filter 140ms ease;
}

.button {
  background: url("https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-01-14/7tzCMgNmMP.png")
    no-repeat center;
  background-size: cover;
}

.button-1 {
  background: url("https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-01-14/ydHMTJ3dgy.png")
    no-repeat center;
  background-size: cover;
}

.button-2 {
  background: url("https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-01-14/CWEfSLMHez.png")
    no-repeat center;
  background-size: cover;
}

.btn-title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 246px;
  height: 24px;
  top: 10px;
  left: 33px;
  color: #e6e6e6;
  font-size: 19px;
  font-weight: 900;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.press-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(45, 255, 122, 0.35), transparent 65%);
  transition: opacity 140ms ease;
  pointer-events: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
  filter: brightness(1.08);
}

.btn:active .press-glow {
  opacity: 1;
}

.stack {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: calc(-2px + var(--content-shift));
  height: 150px;
}

.stack-layer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

.stack-layer.front {
  width: min(80vw, 330px);
  height: 140px;
  z-index: 3;
}

.stack-layer.back1,
.stack-layer.back2 {
  display: none !important;
}

.swap-anim {
  animation: none !important;
}

.description {
  position: relative;
  width: min(86vw, 340px);
  margin: calc(-10px + var(--content-shift)) auto 12px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
  white-space: pre-line;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  z-index: 3;
}

@media (max-height: 740px) {
  .vlogo {
    top: 16px;
    width: 430px;
    height: 275px;
  }

  .btns {
    margin-top: calc(268px + var(--content-shift));
    gap: 9px;
  }

  .btn {
    width: 312px;
    height: 42px;
  }

  .btn-title {
    font-size: 18px;
    top: 9px;
  }

  .stack {
    height: 140px;
    margin-top: calc(-6px + var(--content-shift));
  }

  .stack-layer.front {
    height: 132px;
  }

  .description {
    margin-top: calc(-12px + var(--content-shift));
  }
}
