/* Minimalist White & Grey Responsive Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #0f172a;
  
  --text-dark: #0f172a;
  --text-medium: #475569;
  --text-muted: #64748b;
  
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 640px;
  min-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.app-header-copy {
  min-width: 0;
}

.app-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.app-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.tutorial-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #b91c1c;
  border-radius: var(--radius-sm);
  background: #dc2626;
  color: #ffffff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

.tutorial-button:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.tutorial-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid #fca5a5;
  outline-offset: 3px;
}

.tutorial-play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

/* White Card Panels */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.seo-intro {
  margin: -0.65rem 0 1rem;
  color: var(--text-medium);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Form Styles */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-medium);
  letter-spacing: 0.04em;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--border-dark);
  background: #ffffff;
}

.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--text-dark);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
  background: #1e293b;
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Spinners */
.spinner-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.6s linear infinite;
}

/* Section Loader */
.section-loader {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-medium);
  border-top-color: var(--text-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile Section */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Main Profile Card - STRICT Horizontal (Avatar ALWAYS Left, Banner ALWAYS Right) */
.profile-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

/* Left Square Dummy Avatar */
.dummy-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  aspect-ratio: 1 / 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Rectangle Dummy Banner */
.dummy-banner {
  flex: 1;
  min-width: 0;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.banner-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.banner-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.dummy-banner.has-banner .banner-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.banner-top {
  width: 100%;
}

.player-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dummy-banner.has-banner .player-name {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.banner-bottom {
  width: 100%;
}

.player-level {
  display: inline-block;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-medium);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Outside Card Details */
.profile-meta-outside {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.meta-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* 3 Price Cards */
.store-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  justify-content: space-between;
}

.price-card:hover {
  background: #ffffff;
  border-color: var(--border-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-title {
  font-size: 0.825rem;
  color: var(--text-medium);
  font-weight: 600;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-buy.is-loading,
.price-card:hover .btn-buy.is-loading {
  background: var(--bg-subtle);
  border-color: var(--border-medium);
  color: var(--text-dark);
  cursor: wait;
}

.btn-buy.is-loading .spinner-inline {
  flex: 0 0 16px;
  border-color: rgba(15, 23, 42, 0.2);
  border-top-color: var(--text-dark);
}

.price-card:hover .btn-buy {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #ffffff;
}

/* Sticky Footer Wrapper & Support Button */
.footer-wrapper {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-support {
  padding: 0.55rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  color: var(--text-dark);
  font-size: 0.825rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-support:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

footer {
  text-align: center;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Modal Overlay & Card */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.25s ease-out;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-top: 2px;
  font-weight: 500;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: var(--text-dark);
}

.tutorial-backdrop {
  z-index: 1100;
}

.tutorial-dialog {
  width: min(100%, 900px);
  max-width: 900px;
  padding: clamp(1rem, 4vw, 1.5rem);
}

.tutorial-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #111827;
}

.tutorial-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-ban-details {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.demo-ban-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-light);
}

.demo-ban-details dt {
  color: var(--text-medium);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.demo-ban-details dd {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.demo-ban-dialog.is-entering {
  animation: demoDialogIn 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.demo-success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: #16834a;
  box-shadow: 0 0 0 8px rgba(22, 131, 74, 0.12);
}

.demo-success-mark.is-animating {
  animation: demoMarkPop 0.42s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1.4) both;
}

.demo-success-mark span {
  width: 14px;
  height: 25px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: translateY(-2px) rotate(45deg) scale(0);
  transform-origin: center;
}

.demo-success-mark.is-animating span {
  animation: demoTickDraw 0.28s 0.38s ease-out forwards;
}

.demo-wait-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  color: var(--text-medium);
  font-size: 0.9rem;
  font-weight: 600;
}

.demo-wait-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-medium);
  border-top-color: #16834a;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes demoDialogIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes demoMarkPop {
  from { opacity: 0; transform: scale(0.45); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes demoTickDraw {
  to { transform: translateY(-2px) rotate(45deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-ban-dialog,
  .demo-ban-dialog.is-entering,
  .demo-success-mark.is-animating,
  .demo-success-mark.is-animating span,
  .demo-wait-spinner {
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}

@media (max-width: 420px) {
  .app-header h1 {
    font-size: 1.35rem;
  }

  .tutorial-button {
    min-height: 40px;
    padding: 0.55rem 0.7rem;
    font-size: 0.8rem;
  }
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
  border: 1px solid var(--border-light);
}

.pay-tab {
  flex: 1;
  padding: 0.55rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.pay-tab:hover {
  color: var(--text-dark);
}

.pay-tab.active {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upi-container, .crypto-container, .giftcard-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* QR Code Display Box */
.qr-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  margin: 0.25rem 0;
  box-shadow: var(--shadow-sm);
}

.qr-box img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 4px;
}

/* Copy Field Input Group */
.info-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.info-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-medium);
  letter-spacing: 0.04em;
}

.copy-field {
  display: flex;
  gap: 6px;
}

.copy-field input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-dark);
  outline: none;
}

.btn-copy {
  padding: 0 1rem;
  background: var(--text-dark);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-copy:hover {
  background: #1e293b;
}

.btn-copy.copied {
  background: #16a34a;
}

.price-highlight {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Crypto Selectors & Price Badge */
.crypto-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.crypto-price-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-sm);
}

.crypto-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.btn-copy-sm {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-copy-sm:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
}

.btn-copy-sm.copied {
  background: #16a34a;
  border-color: #16a34a;
}

.crypto-amount-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.crypto-amount-val {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #38bdf8;
}

.crypto-rate-info {
  font-size: 0.7rem;
  opacity: 0.65;
  margin-top: 2px;
}

/* Payment Mode Card Icons & Subtitles */
.pay-card-icon {
  font-size: 2rem;
  margin-bottom: 2px;
}

.pay-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 4px;
}

/* Duration Selector Pills inside Modal */
.duration-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-medium);
  letter-spacing: 0.04em;
}

.duration-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.duration-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.duration-pill:hover {
  border-color: var(--border-dark);
  background: #ffffff;
}

.duration-pill.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.pill-name {
  font-size: 0.8rem;
  font-weight: 700;
}

.pill-price {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  color: var(--text-dark);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: var(--text-dark);
  color: #ffffff;
}

.section-subtitle {
  font-size: 0.825rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 4px;
}

/* Bottom Payment Status (Timer & Checking Loader) */
.payment-bottom-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.payment-bottom-status.hidden {
  display: none !important;
}

/* Time Limit Counter Badge */
.timeLimit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.timeLimit.hidden {
  display: none !important;
}

#timeoutCounter {
  font-weight: 700;
  font-family: monospace, monospace;
  font-size: 0.9rem;
  color: #be123c;
}

/* Payment Loader Container */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 100%;
  box-sizing: border-box;
}

.loader.hidden {
  display: none !important;
}

.loader .spinner {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--border-medium);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  margin: 0;
}

/* Buy Gift Card Quick Sites Section */
.buy-giftcard-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
}

.buy-giftcard-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
  letter-spacing: 0.02em;
}

.giftcard-buy-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.btn-buy-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-buy-site:hover {
  transform: translateY(-1px);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.amazon-btn:hover {
  background: #ff9900;
  color: #ffffff;
  border-color: #ff9900;
}

.paytm-btn:hover {
  background: #002e6e;
  color: #ffffff;
  border-color: #002e6e;
}

.play-btn:hover {
  background: #01875f;
  color: #ffffff;
  border-color: #01875f;
}

.apple-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
