/* Button Styles */
.btn-group {
  display: block; /* Changed from flex to block for vertical stacking */
  margin-top: 24px;
}

button {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--glow-green);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-premium {
  background: var(--toxic-orange);
  color: white;
  box-shadow: 0 4px 20px var(--glow-orange);
}

.btn-premium:hover:not(:disabled) {
  background: #ff7700;
  box-shadow: 0 6px 30px var(--glow-orange);
}

/* Free Button - Full width above premium buttons */
.btn-free {
  background: linear-gradient(135deg, var(--toxic-green) 0%, #00cc77 100%);
  color: white;
  font-weight: 600;
  width: 100%;
  margin-bottom: 20px; /* Space between free and premium buttons */
  height: 58px; /* FIXED height */
  position: relative; /* For spinner positioning */
  overflow: hidden; /* Prevent content overflow */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-free:hover:not(:disabled) {
  box-shadow: 0 4px 16px var(--glow-green);
}

/* Premium Button - Single button for 0.5 TON */
.btn-premium-single {
  background: var(--toxic-orange);
  color: white;
  font-weight: 600;
  width: 100%;
  height: 58px;
  box-shadow: 0 4px 20px var(--glow-orange);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-premium-single:hover:not(:disabled) {
  background: #ff7700;
  box-shadow: 0 6px 30px var(--glow-orange);
}

.btn-premium-single .tier-price {
  font-weight: 700;
  font-size: 1rem;
  margin-left: 4px;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
