/* ============================================ */
/* Claim page — TRON-only token airdrop microsite */
/* ============================================ */

/* TRON-only badge (replaces the multi-chain chip bar) */
.tron-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 8px 18px;
  background: rgba(255, 6, 10, 0.10);
  border: 1px solid rgba(255, 6, 10, 0.35);
  border-radius: 999px;
  font-size: 13px;
  color: #fde2e3;
}
.tron-only-badge strong {
  color: #ff8a8d;
  font-weight: 700;
  margin-right: 4px;
}

/* ============================================ */
/* Claim card — big amount display               */
/* ============================================ */

.claim-card {
  max-width: 480px;
  margin: 28px auto 0;
  padding: 36px 24px 28px;
  background: linear-gradient(180deg, rgba(255, 6, 10, 0.06) 0%, rgba(255, 6, 10, 0.02) 100%);
  border: 1px solid rgba(255, 6, 10, 0.20);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.claim-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 6, 10, 0.18), transparent 60%);
  pointer-events: none;
}

.claim-token-icon {
  font-size: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(255, 6, 10, 0.5));
  animation: glow-token 3s ease-in-out infinite;
}

@keyframes glow-token {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(255, 6, 10, 0.5)); }
  50%      { filter: drop-shadow(0 0 24px rgba(255, 6, 10, 0.8)); }
}

.claim-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.claim-amount {
  font-size: 64px;
  font-weight: 800;
  color: #f4f4f5;
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.claim-symbol {
  font-size: 22px;
  font-weight: 700;
  color: #ff8a8d;
  letter-spacing: 1px;
}

.claim-amount-usd {
  margin-top: 8px;
  font-size: 14px;
  color: #a1a1aa;
}

.claim-sublabel {
  margin-top: 14px;
  font-size: 12px;
  color: #71717a;
  letter-spacing: 0.3px;
}

/* ============================================ */
/* Claim action button                          */
/* ============================================ */

.btn-primary.claim-action {
  display: block;
  max-width: 480px;
  margin: 28px auto 0;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #ff060a 0%, #c00007 100%);
  box-shadow: 0 8px 24px rgba(255, 6, 10, 0.35);
}
.btn-primary.claim-action:hover {
  background: linear-gradient(135deg, #c00007 0%, #8b0006 100%);
}
.btn-primary.claim-action.connected {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
.btn-primary.claim-action.connected:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}
.btn-primary.claim-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================ */
/* Claim success state                          */
/* ============================================ */

.claim-status {
  max-width: 520px;
  margin: 24px auto 0;
}

.claim-success {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.30);
  border-radius: 16px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  font-size: 32px;
  color: #4ade80;
  font-weight: 800;
  animation: success-pop 0.4s ease-out;
}

@keyframes success-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.claim-success h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #4ade80;
}

.claim-success p {
  margin: 0 0 18px;
  color: #d4d4d8;
  font-size: 14px;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.tx-label {
  font-size: 11px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tx-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #fbbf24;
}

.copy-btn {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.copy-btn:hover {
  background: rgba(99, 102, 241, 0.28);
}

.claim-note {
  font-size: 12px !important;
  color: #71717a !important;
  margin: 0 !important;
}

/* ============================================ */
/* Info grid (tokenomics)                       */
/* ============================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.info-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.info-label {
  font-size: 11px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.info-value {
  font-size: 15px;
  color: #f4f4f5;
  font-weight: 600;
}

/* ============================================ */
/* Progress card (airdrop tracker)              */
/* ============================================ */

.progress-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.progress-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.progress-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 11px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.stat-value {
  font-size: 18px;
  color: #f4f4f5;
}

.stat-value strong {
  color: #fbbf24;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff060a 0%, #ff5e60 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 6, 10, 0.5);
  transition: width 0.6s ease;
}

.progress-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1aa;
}

/* ============================================ */
/* Steps grid (how to claim)                    */
/* ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.step-card:hover {
  border-color: rgba(255, 6, 10, 0.35);
  background: rgba(255, 6, 10, 0.04);
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ff060a 0%, #c00007 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 6, 10, 0.4);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #f4f4f5;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.5;
}

/* ============================================ */
/* FAQ (override)                               */
/* ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-item.open {
  border-color: var(--border-glow);
}

/* FAQ question button (reset <button> defaults + flex layout) */
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question > span {
  flex: 1;
  min-width: 0;
}

/* Chevron SVG inside the question button */
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

/* FAQ answer container (collapse/expand) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer > p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer > p strong {
  color: var(--text-primary);
}

.faq-item code {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.30);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #c7d2fe;
}

.faq-item p strong {
  color: #fbbf24;
  font-weight: 700;
}

/* ============================================ */
/* Mobile                                       */
/* ============================================ */

@media (max-width: 600px) {
  .claim-amount { font-size: 48px; }
  .claim-symbol { font-size: 18px; }
  .claim-card { padding: 28px 18px 22px; }
  .tron-only-badge { font-size: 12px; padding: 7px 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================ */
/* Wallet details (TRX balance)                */
/* ============================================ */

.wallet-details {
  max-width: 480px;
  margin: 16px auto 0;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.detail-label {
  color: #a1a1aa;
  font-weight: 500;
}

.detail-value {
  color: #fbbf24;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.detail-value.has-balance { color: #4ade80; }
.detail-value.low-balance { color: #f87171; }

/* ============================================ */
/* Verify eligibility button (secondary)       */
/* ============================================ */

.btn-secondary.verify-action:not([hidden]) {
  display: block;
  max-width: 480px;
  margin: 12px auto 0;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.30);
  color: #c7d2fe;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-secondary.verify-action:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.55);
}
.btn-secondary.verify-action:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================ */
/* Eligibility status                           */
/* ============================================ */

.eligibility-status {
  max-width: 480px;
  margin: 10px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eligibility-status.eligible {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.30);
  color: #4ade80;
}
.eligibility-status.not-eligible {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  color: #fca5a5;
}
.eligibility-status.already-claimed {
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.30);
  color: #fbbf24;
}

.eligibility-status .status-icon {
  font-size: 16px;
  font-weight: 800;
}

/* ============================================ */
/* Claim error state (already claimed)         */
/* ============================================ */

.claim-error {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.10) 0%, rgba(251, 191, 36, 0.04) 100%);
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: 16px;
  text-align: center;
}

.error-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.15);
  border-radius: 50%;
  font-size: 32px;
  color: #fbbf24;
}

.claim-error h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fbbf24;
}

.claim-error p {
  margin: 0;
  color: #d4d4d8;
  font-size: 14px;
}

/* ============================================ */
/* Contract address (code style)                */
/* ============================================ */

.contract-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.30);
  padding: 2px 8px;
  border-radius: 4px;
  color: #c7d2fe;
}

/* ============================================ */
/* Copy button feedback                         */
/* ============================================ */

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.30) !important;
  border-color: rgba(34, 197, 94, 0.55) !important;
  color: #4ade80 !important;
}

/* Force-hide [hidden] for elements that other CSS rules display:block/inline-flex */
.btn-secondary[hidden],
.btn-primary[hidden],
.wallet-details[hidden],
.eligibility-status[hidden] {
  display: none !important;
}
