.wrap {
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
}

.subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  letter-spacing: 1px;
}

.pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.pillValue {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
}

.body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.tabs {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-bottom: 32px;
}

.tab {
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tab[data-active] {
  background: var(--grad-center);
  color: var(--text-primary);
}

.tab:not([data-active]):hover {
  background: rgba(255, 255, 255, 0.04);
}

.bottom {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.payBtn {
  width: 100%;
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--grad-center);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.payBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header {
    margin-bottom: 1rem;
  }

  .tabs {
    margin-bottom: 1.5rem;
  }

  .bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .pills {
    display: none;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: clamp(2rem, 6.25vw, 3rem);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0;
  }
}
