/* ==========================================================================
   Modern Crypto Faucet Platform - Core Web3 Stylesheet
   Mobile-First, Responsive & Modern UI System
   ========================================================================== */

:root {
  --bg-dark: #0a0e17;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(24, 34, 53, 0.95);
  --bg-input: #151d2f;
  
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.25);
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.5);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.header {
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03150d;
  font-weight: 800;
  box-shadow: 0 0 15px var(--primary-glow);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

/* Faucet Multi-Crypto Balance Dropdown */
.balance-dropdown-container {
  position: relative;
  display: inline-block;
}

.balance-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  user-select: none;
}

.balance-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  color: var(--text-dim);
  margin-left: 0.2rem;
}

.balance-pill-btn[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.balance-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 330px;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  overflow: hidden;
}

.balance-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.balance-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.balance-dropdown-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.35rem 0;
}

.balance-dropdown-list::-webkit-scrollbar {
  width: 5px;
}

.balance-dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}

.balance-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.balance-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.balance-dropdown-item:last-child {
  border-bottom: none;
}

.balance-dropdown-item:hover {
  background: rgba(99, 102, 241, 0.08);
}

.balance-dropdown-item.active {
  background: rgba(99, 102, 241, 0.12);
  border-left: 3px solid var(--primary);
}

.balance-item-coin {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.coin-mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.coin-symbol-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.coin-name-text {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.balance-item-amount {
  text-align: right;
}

.amount-primary {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--primary);
}

.amount-secondary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Card Components */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  text-align: left;
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Claim Box UI */
.claim-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.claim-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-mono);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder {
  color: var(--text-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #03150d;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-block {
  width: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* AntiBot Challenge Section */
.antibot-section {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: center;
}

.antibot-header {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.antibot-prompts {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.antibot-prompt-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.antibot-choices {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.antibot-btn {
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 0.35rem;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.antibot-btn:hover {
  border-color: var(--primary);
  transform: scale(1.03);
}

.antibot-btn.clicked {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(1);
}

.antibot-btn .click-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cooldown Box UI */
.cooldown-wrap {
  text-align: center;
  padding: 2.5rem 1rem;
}

.cooldown-clock {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary);
  margin: 1rem 0;
  text-shadow: 0 0 20px var(--primary-glow);
}

/* Alert Boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.alert-info {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38bdf8;
}

/* Table */
.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.table th {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  font-family: var(--font-mono);
}

.table tr:last-child td {
  border-bottom: none;
}

/* Referral & Ads */
.ref-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.ref-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

/* Ad Placement & Responsive Monetization Layout */
.ad-zone,
.sponsor-slot {
  margin: 1.5rem auto;
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
}

.ad-zone-top,
.sponsor-slot-alpha,
.ad-zone-bottom,
.sponsor-slot-omega {
  max-width: 1000px;
  width: 100%;
}

.ad-zone-inner,
.sponsor-slot-inner {
  margin: 1.25rem 0;
  min-height: 60px;
  background: rgba(99, 102, 241, 0.02);
  border-color: rgba(99, 102, 241, 0.15);
}

/* 3-Column Faucet & Ad Sidebars Layout */
.faucet-ad-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto 2rem auto;
}

.faucet-main-station {
  flex: 1 1 680px;
  max-width: 720px;
  min-width: 0;
  width: 100%;
}

.ad-sidebar,
.sponsor-sidebar {
  flex: 0 0 160px;
  min-width: 160px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ad-sidebar .ad-slot,
.sponsor-sidebar .sponsor-slot-unit {
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

/* Wireframe Schematic for Admin Panel */
.ad-wireframe-container {
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.wireframe-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto;
}

.wireframe-slot {
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(99, 102, 241, 0.35);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.wireframe-slot strong {
  color: var(--accent);
}

.wireframe-slot code {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.wireframe-middle-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.wireframe-slot.wireframe-side {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.75rem;
  min-height: 140px;
}

.wireframe-main-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wireframe-header-mini {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wireframe-slot.wireframe-inner {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  font-size: 0.75rem;
  padding: 0.4rem;
}

.wireframe-slot.wireframe-inner strong {
  color: var(--warning);
}

.wireframe-btn-mock {
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.code-textarea {
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  background: #090d16 !important;
  color: #a5f3fc !important;
  line-height: 1.5 !important;
  border: 1px solid var(--border) !important;
}

.code-textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}

html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Coin Grid & Card Effects */
.coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.coin-card {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease;
}

.coin-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 25px -8px var(--coin-color);
}

.coin-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.95;
}

.coin-card-content {
  display: flex;
  flex-direction: column;
}

.coin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.coin-brand-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.coin-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.coin-titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.coin-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.coin-ticker {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  border: 1px solid;
  width: fit-content;
}

.coin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.coin-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.25rem 0 1.25rem 0;
  min-height: 2.6rem;
}

/* Specs Box */
.coin-specs-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin-bottom: 1.25rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.spec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.775rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.spec-value-reward {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.spec-value-timer {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.spec-chips-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.spec-chips-hint {
  font-size: 0.725rem;
  color: var(--text-dim);
  font-weight: 500;
}

.spec-chips-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tier-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
  font-size: 0.725rem;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tier-pct {
  color: var(--text-dim);
  font-size: 0.675rem;
  font-weight: 500;
}

.spec-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0.65rem 0;
}

/* Action Claim Button */
.coin-card-action {
  margin-top: auto;
}

.btn-coin-claim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-coin-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px var(--coin-color);
  filter: brightness(1.08);
  color: #fff;
}

.btn-coin-claim:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-coin-claim:hover .btn-arrow {
  transform: translateX(3px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .faucet-ad-layout {
    flex-direction: column;
    align-items: center;
  }
  .ad-sidebar,
  .sponsor-sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
  .ad-sidebar .ad-slot,
  .sponsor-sidebar .sponsor-slot-unit {
    min-height: 90px;
    width: 100%;
    max-width: 728px;
  }
  .wireframe-middle-row {
    flex-direction: column;
  }
  .wireframe-slot.wireframe-side {
    flex: 1 1 auto;
    min-height: 60px;
  }
}

@media (max-width: 900px) {
  .coin-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .coin-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .coin-card {
    padding: 1.25rem;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
  }
  .header-status .status-pill-live {
    display: none;
  }
  .balance-dropdown-menu {
    right: -10px;
    min-width: 290px;
    max-width: calc(100vw - 32px);
  }
  .card {
    padding: 1.25rem;
  }
  .ref-input-group {
    flex-direction: column;
  }
}

/* ==========================================================================
   Anti-Adblock Security & Verification Engine (Gate-First Approach B)
   ========================================================================== */
.web3-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.web3-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(16, 185, 129, 0.15);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  animation: web3Spin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
  position: relative;
}

.web3-spinner::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--primary);
  animation: web3SpinReverse 1.4s linear infinite;
}

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

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

.fade-in {
  animation: fadeInSoft 0.35s ease forwards;
}

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

/* Unbypassable Lockdown Card */
.adblock-lockdown-card {
  text-align: center;
  padding: 3rem 1.75rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: radial-gradient(circle at 50% 10%, rgba(239, 68, 68, 0.12) 0%, rgba(17, 24, 39, 0.95) 75%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.15);
}

.adblock-warning-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.adblock-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0;
  text-align: left;
}

.adblock-guide-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.825rem;
  line-height: 1.45;
}

.adblock-guide-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
