/* ============================================================
   AUCTORA™ — Additional CSS Components
   Ticker, Glassmorphism extras, Special effects
   ============================================================ */

/* ==================== LIVE TICKER ==================== */
.ticker-section {
  position: relative; width: 100%; background: rgba(6, 18, 40, 0.95);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  padding: 0.45rem 0 0.45rem 80px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 36px;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  z-index: 2;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  padding-left: 100px;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
}
.ticker-symbol { color: var(--gold); font-weight: 700; }
.ticker-price  { color: var(--text-primary); }
.ticker-change { font-weight: 700; }
.ticker-change.up   { color: var(--green); }
.ticker-change.down { color: #FF4757; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==================== NEON CARD VARIANT ==================== */
.neon-card {
  background: rgba(8, 12, 30, 0.8);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.neon-card::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--gold), transparent, var(--blue), transparent, var(--gold));
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.neon-card:hover::after { opacity: 1; }

/* ==================== GLOW BUTTON ==================== */
.glow-btn {
  position: relative;
  overflow: hidden;
}
.glow-btn::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.glow-btn:hover::after { left: 100%; }

/* ==================== COUNTER ANIMATION ==================== */
.counter-number {
  font-variant-numeric: tabular-nums;
}

/* ==================== GLASSMORPHISM PANEL ==================== */
.glass-panel {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

/* ==================== NOTIFICATION TOAST ==================== */
#toast-container {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(8,12,30,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: slideInRight 0.4s ease, fadeOut 0.4s ease 3s forwards;
  min-width: 280px;
  backdrop-filter: blur(10px);
}
.toast.toast-success { border-left: 3px solid var(--green); }
.toast.toast-info    { border-left: 3px solid var(--blue); }
.toast.toast-warning { border-left: 3px solid var(--gold); }
.toast-icon { font-size: 1.1rem; }
.toast-text { font-size: 0.82rem; color: var(--text-primary); }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateX(100%); }
}

/* ==================== TYPING CURSOR ==================== */
.typing-cursor::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  color: var(--gold);
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ==================== RADIAL PROGRESS ==================== */
.radial-progress {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0%, rgba(255,215,0,0.1) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.radial-progress::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--bg-base);
  border-radius: 50%;
}
.radial-progress-val {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

/* ==================== MARQUEE TICKER (alternate) ==================== */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-content {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==================== RESPONSIVE ADDITIONS ==================== */
@media (max-width: 600px) {
  .toast { min-width: 240px; }
  #toast-container { right: 1rem; bottom: 5rem; }
}

/* ==================== WEB3 WALLET STYLING ==================== */
.btn-wallet {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(13, 17, 30, 0.85);
  border: 1px solid rgba(0, 191, 255, 0.4);
  color: #fff;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.btn-wallet:hover {
  border-color: var(--gold, #FFD700);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
  transform: translateY(-2px);
  color: #fff;
}
.btn-wallet i {
  color: var(--cyan, #00BFFF);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.btn-wallet:hover i {
  color: var(--gold, #FFD700);
}
.btn-wallet.connected {
  border-color: rgba(38, 161, 123, 0.6);
  background: rgba(10, 30, 25, 0.85);
  box-shadow: 0 0 15px rgba(38, 161, 123, 0.25);
}
.btn-wallet.connected i {
  color: #26A17B;
}

/* Status dot inside connected button */
.wallet-active-dot {
  width: 8px;
  height: 8px;
  background: #26A17B;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #26A17B;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 161, 123, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(38, 161, 123, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 161, 123, 0); }
}

/* Modal Backdrop */
.wallet-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 4, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1rem;
}
.wallet-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Card */
.wallet-modal-card {
  background: linear-gradient(145deg, rgba(16, 21, 38, 0.95), rgba(7, 10, 18, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 191, 255, 0.15);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.wallet-modal-backdrop.active .wallet-modal-card {
  transform: translateY(0) scale(1);
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.wallet-modal-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
.wallet-modal-close {
  background: none;
  border: none;
  color: #8892b0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.wallet-modal-close:hover {
  color: #FFD700;
}
.wallet-modal-desc {
  color: #a0aec0;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Wallet Options List */
.wallet-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wallet-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  width: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.wallet-option-item:hover {
  background: rgba(0, 191, 255, 0.06);
  border-color: rgba(0, 191, 255, 0.4);
  transform: translateX(4px);
}
.wallet-option-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wallet-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.wallet-icon-box.tw-box {
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.25);
}
.wallet-icon-box.wc-box {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}
.wallet-icon-box.general-box {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
}

.wallet-option-info {
  display: flex;
  flex-direction: column;
}
.wallet-option-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.wallet-option-tag {
  font-size: 0.75rem;
  color: #718096;
}
.wallet-status-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #a0aec0;
  margin-right: 0.5rem;
  font-family: var(--font-display);
}
.wallet-status-pill.installed {
  background: rgba(38, 161, 123, 0.15);
  color: #26A17B;
  border: 1px solid rgba(38, 161, 123, 0.3);
}
.wallet-option-arrow {
  color: #4a5568;
  font-size: 0.85rem;
  transition: transform 0.2s, color 0.2s;
}
.wallet-option-item:hover .wallet-option-arrow {
  transform: translateX(3px);
  color: var(--gold, #FFD700);
}

/* Connected View Inside Modal */
.wallet-connected-card {
  background: rgba(0, 191, 255, 0.04);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 14px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.connected-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #26A17B;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.status-pulse-dot {
  width: 9px;
  height: 9px;
  background: #26A17B;
  border-radius: 50%;
  box-shadow: 0 0 10px #26A17B;
  animation: pulseGreen 2s infinite;
}
.wallet-details-group {
  margin-bottom: 1rem;
}
.details-label {
  display: block;
  font-size: 0.74rem;
  color: #718096;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wallet-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}
.wallet-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  color: #FFD700;
  word-break: break-all;
}
.btn-copy-addr {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  transition: color 0.2s;
}
.btn-copy-addr:hover {
  color: #00BFFF;
}
.wallet-network-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
}
.net-label { color: #718096; }
.net-val { color: #00BFFF; font-weight: 600; font-family: var(--font-display); }

.wallet-modal-actions {
  margin-top: 1.2rem;
}
.btn-disconnect {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.75rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-disconnect:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: #ef4444;
}

.wallet-modal-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: #718096;
  line-height: 1.4;
}
.wallet-modal-footer i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(13, 17, 30, 0.85);
  border: 1px solid rgba(0, 191, 255, 0.35);
  color: #fff;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.1);
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--gold, #FFD700);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
}
.lang-flag {
  font-size: 1.2rem;
  line-height: 1;
  display: block;
}
.lang-arrow {
  font-size: 0.55rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.lang-toggle[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(10, 14, 28, 0.97);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 191, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: none;
  border: none;
  border-radius: 8px;
  color: #a0aec0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.lang-option:hover {
  background: rgba(0, 191, 255, 0.08);
  color: #fff;
}
.lang-option.active {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold, #FFD700);
}
.lang-opt-flag {
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.lang-flag img, .lang-opt-flag img, .drawer-lang-btn img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  vertical-align: middle;
  object-fit: cover;
  display: inline-block;
}
.lang-opt-label {
  font-size: 0.78rem;
}

/* ==================== DRAWER LANG ROW ==================== */
.drawer-header {
  flex-wrap: wrap;
  gap: 0.5rem;
}
.drawer-lang-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
.drawer-lang-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #a0aec0;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
}
.drawer-lang-btn:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.4);
  transform: scale(1.1);
}
.drawer-lang-btn.active {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.25);
  transform: scale(1.05);
}

/* Mobile DApp wallet option highlight */
.wallet-option-mobile-dapp {
  border-color: rgba(38, 161, 123, 0.3) !important;
  background: rgba(38, 161, 123, 0.04) !important;
}
.wallet-option-mobile-dapp:hover {
  border-color: rgba(38, 161, 123, 0.6) !important;
  background: rgba(38, 161, 123, 0.1) !important;
}

/* text-green utility */
.text-green { color: #26A17B; }

@media (max-width: 768px) {
  .lang-toggle { padding: 0.45rem 0.55rem; }
  .lang-flag   { font-size: 1.1rem; }
  .lang-dropdown { right: 0; }
}

/* ==================== AUTH LOGIN BUTTON (navbar) ==================== */
.btn-auth-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13, 17, 30, 0.85);
  border: 1px solid rgba(0, 191, 255, 0.4);
  color: #00BFFF;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-auth-login:hover {
  background: rgba(0, 191, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 191, 255, 0.3);
  transform: translateY(-1px);
}

/* Drawer auth row */
.drawer-auth-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.drawer-auth-btn {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

/* ==================== AUTH MODAL ==================== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}
.auth-modal.active {
  opacity: 1;
  visibility: visible;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.auth-modal-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(10, 14, 26, 0.98);
  border: 1px solid rgba(0, 191, 255, 0.25);
  border-radius: 22px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(0,191,255,0.07);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.auth-modal.active .auth-modal-container {
  transform: translateY(0) scale(1);
}
.auth-modal-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00BFFF, #FFD700, #00BFFF);
}
.auth-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #a0aec0;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.auth-modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: rotate(90deg);
}
.auth-modal-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.auth-brand-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #00BFFF, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-brand-sub {
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,191,255,0.12);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: #64748b;
  padding: 0.55rem 0.5rem;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-transform: uppercase;
}
.auth-tab.active {
  background: rgba(0, 191, 255, 0.12);
  color: #00BFFF;
  box-shadow: 0 0 10px rgba(0,191,255,0.15);
}
.auth-tab:hover:not(.active) { color: #fff; }

/* Panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* MetaMask button */
.btn-metamask-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(255,140,0,0.12), rgba(255,140,0,0.04));
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 0.75rem;
}
.btn-metamask-auth:hover {
  background: linear-gradient(135deg, rgba(255,140,0,0.25), rgba(255,140,0,0.08));
  box-shadow: 0 0 20px rgba(255,140,0,0.25);
  transform: translateY(-2px);
  color: #fff;
}

/* Google OAuth Button */
.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 1rem;
}
.btn-google-auth:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #4285F4;
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

/* Password Eye Wrap & Toggle */
.pwd-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.pwd-input-wrap input {
  width: 100%;
  padding-right: 42px !important;
}
.pwd-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #8EA7CB;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}
.pwd-eye-btn:hover {
  color: #FFD700;
}

/* Auth Mode Selector Pill */
.auth-mode-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.auth-mode-pill {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 191, 255, 0.2);
  color: #8EA7CB;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.auth-mode-pill.active {
  background: rgba(0, 191, 255, 0.15);
  border-color: #00BFFF;
  color: #00BFFF;
  font-weight: 700;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #475569;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,191,255,0.12);
}

/* Form fields */
.auth-form { display: flex; flex-direction: column; gap: 0.85rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.3rem; }
.auth-field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.auth-field label i { color: #00BFFF; font-size: 0.7rem; }
.auth-field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
}
.auth-field input:focus {
  border-color: #00BFFF;
  box-shadow: 0 0 0 3px rgba(0,191,255,0.1);
  background: rgba(0,191,255,0.04);
}
.auth-field input::placeholder { color: #475569; }
.auth-forgot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #00BFFF;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.4rem;
  transition: all 0.2s;
  align-self: flex-end;
}
.auth-forgot:hover { 
  color: #FFD700; 
  text-decoration: underline; 
}

/* Remember */
.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
}
.auth-remember input { width: auto; }

/* Submit button */
.btn-auth-submit {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #00BFFF, #0091cc);
  border: none;
  border-radius: 10px;
  color: #060a14;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 0 20px rgba(0,191,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.btn-auth-submit:hover {
  background: linear-gradient(135deg, #FFD700, #e6c200);
  box-shadow: 0 0 25px rgba(255,215,0,0.4);
  transform: translateY(-2px);
}
.btn-auth-submit.register {
  background: linear-gradient(135deg, #FFD700, #e6c200);
  color: #060a14;
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}
.btn-auth-submit.register:hover {
  background: linear-gradient(135deg, #00BFFF, #0091cc);
  box-shadow: 0 0 25px rgba(0,191,255,0.4);
}

/* Terms */
.auth-terms {
  font-size: 0.7rem;
  color: #475569;
  text-align: center;
  margin-top: 0.3rem;
}
.auth-terms a { color: #00BFFF; text-decoration: none; }
.auth-terms a:hover { color: #FFD700; }

/* Modal footer */
.auth-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,191,255,0.1);
  font-size: 0.7rem;
  color: #475569;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.auth-modal-footer i { color: #26A17B; }

@media (max-width: 480px) {
  .auth-modal-container { padding: 1.5rem 1.2rem 1.2rem; border-radius: 16px; }
  .auth-brand-logo { font-size: 1.3rem; }
}
