/* Buy Virtual Gift Credits Styles - Modern Firetalk Theme */

.buy-credits-body {
  margin: 0;
  padding: 0;
  font-family: inherit;
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.credits-header {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 14px 28px;
}

.credits-main-container {
  flex: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.credits-main-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 28px 0;
  letter-spacing: -0.5px;
}

/* Benefits Box */
.credits-benefits-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  text-align: left;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.benefit-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Credit Packs Grids */
.packs-grid-row-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.packs-grid-row-2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.packs-grid-row-2 .credit-pack-card {
  width: calc(25% - 15px);
  min-width: 210px;
}

/* Credit Pack Card */
.credit-pack-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 22px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.credit-pack-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
}

/* Top Ribbons */
.pack-ribbon {
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ribbon-yellow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

/* Pack Header Bars */
.pack-header-bar {
  width: 100%;
  padding: 20px 12px 14px;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.green-bar {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gray-bar {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.pack-credits-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 2px;
  letter-spacing: -0.3px;
}

.pack-credits-num span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.pack-discount-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-top: 6px;
}

/* Visual Illustration */
.pack-visual-wrap {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 10px;
}

.pack-visual-img {
  max-height: 75px;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.pack-price-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.pack-price-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-pack-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  background-image: var(--flame-gradient);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-pack-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.45);
  color: #ffffff;
}

/* Footer Note */
.credits-footer-note {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.credits-footer-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.credits-footer-note a:hover {
  text-decoration: underline;
}

/* Bottom Ticker */
.credits-bottom-ticker {
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.credits-bottom-ticker strong {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 860px) {
  .credits-benefits-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 20px;
  }

  .packs-grid-row-1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .packs-grid-row-2 {
    flex-direction: column;
  }

  .packs-grid-row-2 .credit-pack-card {
    width: 100%;
  }
}
