body {
  margin: 0;
  font-family: 'Golos Text', sans-serif;
  background-color: #0a0f12;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 150px 20px 100px;
}

.tabs {
    display: flex;
    background: #12171d;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 99;
}

.tab-button {
  flex: 1;
  padding: 12px 14px;
  background: none;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: 'Golos Text', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.tab-subtitle {
  font-size: 12px;
  color: #777;
}

.tab-button.active {
  background: rgba(255, 255, 255, 0.03);
  color: #9ADE1D;
}

.tab-content {
  display: none;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.tab-content.active {
  display: block;
}

/* ===== timeline ===== */
.step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.step::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  bottom: -40px;
  width: 7px;
  background: linear-gradient(to bottom, #9ADE1D, #b2da67, #cbcbcb);
  z-index: -1;
}

.step:nth-last-child(2)::after {
  background: #cbcbcb;
}

.step:last-child::after {
  display: none;
}

.step-pc {
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}


.step-pc:first-of-type::after {
  background: linear-gradient(to bottom, #9ADE1D, #b2da67, #cbcbcb);
}

.step-pc::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  bottom: -40px;
  width: 7px;
  background: #cbcbcb;
  z-index: -1;
}

.step-pc:nth-last-child(3)::after {
  background: #cbcbcb;
}

.step-pc.final::after {
  display: none;
}

.icon {
  position: absolute;
  left: 8px;
  top: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #0a0f12;
  border: 3px solid #cbcbcb;
  font-family: 'JetBrains Mono', monospace;
}

.icon.check {
  color: #12171d;
  background: #9ade1d;
  box-shadow: 0 0 7px #9ade1d;
  border: 3px solid #7cb70d;
}

.step h3 {
  margin: 0px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 600;
  color: #fff;
}

.step p {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.5;
  color: #9aa1a8;
}

.step-pc h3 {
  margin: 0px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 600;
  color: #fff;
}

.step-pc p {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.5;
  color: #9aa1a8;
}

.basic-btn {
    font-family: 'Golos Text', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    flex-shrink: 0;
    width: auto;
    height: 50px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.white-btn {
    background-color: #ffffff;
    color: #000000;
}

.dark-btn {
    background-color: #151a21;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.dark-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.05) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
      left: -100%;
    }
    100% {
      left: 150%;
    }
}
@media (min-width: 768px) {
  .container {
    max-width: 500px;
    padding: 100px 20px 100px;
  }

  .tab-button {
    font-size: 12px;
    gap: 4px;
    padding: 10px 12px;
  }

  .tab-subtitle {
    font-size: 10px;
  }

  .step {
    padding-left: 70px;
    margin-bottom: 20px;
  }

  .step::after {
    left: 23px;
    width: 5px;
  }

  .step h3 {
    font-size: 15px;
    line-height: 1.5;
  }

  .step p {
    font-size: 11px;
    line-height: 1.4;
  }

  .step-pc {
    padding-left: 70px;
    margin-bottom: 20px;
  }

  .step-pc::after {
    left: 23px;
    width: 5px;
  }

  .step-pc h3 {
    font-size: 15px;
    line-height: 1.5;
  }

  .step-pc p {
    font-size: 11px;
    line-height: 1.4;
  }

  .basic-btn {
    padding: 8px 15px;
    font-size: 11px;
    height: 30px;
  }

  .icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* === QR SCAN PC === */

.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.status-text {
  font-size: 12px;
  color: #0a0f12;
  background: #9ADE1D;
  padding: 6px 20px;
  border-radius: 20px;
}

.loader {
  border: 4px solid #ffffff;
  border-top: 4px solid #9ADE1D;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.qr-display {
  position: relative;
  display: inline-block;
}

.spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0f12cc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
}

.qr-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.qr-frame::before,
.qr-frame::after,
.qr-frame div::before,
.qr-frame div::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  border: 4px solid #9ADE1D;
}

.qr-frame::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 15px;
}

.qr-frame::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 15px;
}

.qr-frame div::before {
  bottom: 0;
  left: 0;
  border-top: none;
  border-right: none;
  border-bottom-left-radius: 15px;
}

.qr-frame div::after {
  bottom: 0;
  right: 0;
  border-top: none;
  border-left: none;
  border-bottom-right-radius: 15px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}