/* ==========================================================================
   IzumiRain | Personal Donation & Bio Link Webpage
   Theme: Cyber-Lofi / Glassmorphic / Dark Neon Vibe
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-canvas: #0b0f19;
  --bg-card: rgba(18, 24, 39, 0.65);
  --bg-card-hover: rgba(26, 35, 58, 0.85);
  --bg-input: rgba(11, 15, 25, 0.75);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.2);
  --border-neon-cyan: rgba(56, 189, 248, 0.4);
  --border-neon-amber: rgba(245, 158, 11, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  
  --tron-red: #ff060a;
  --tron-glow: rgba(255, 6, 10, 0.25);
  
  --bsc-gold: #f3ba2f;
  --bsc-glow: rgba(243, 186, 47, 0.25);
  
  --ton-blue: #0098ea;
  --ton-glow: rgba(0, 152, 234, 0.25);
  
  --font-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', 'Vazirmatn', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-neon: 0 0 25px rgba(56, 189, 248, 0.15);
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-fa);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Ambient Canvas & Glows */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.glow-top-left {
  top: -10vw;
  right: -10vw;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -10vw;
  left: -10vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
}

.glow-center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  opacity: 0.15;
}

/* Top Floating Bar */
.top-bar {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  color: #34d399;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.glass-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  font-family: inherit;
}

.glass-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
  transform: translateY(-1px);
}

/* Container */
.container {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Glassmorphism Common Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

/* Profile Card */
.profile-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #a855f7, #f59e0b, #38bdf8);
  background-size: 300% 100%;
  animation: gradientShift 8s infinite linear;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.25rem;
}

.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  opacity: 0.85;
  filter: blur(4px);
  animation: rotateRing 6s linear infinite;
}

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

.avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0f172a;
  background-color: #1e293b;
  z-index: 1;
}

.online-indicator {
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 3px solid #0b0f19;
  border-radius: 50%;
  z-index: 2;
}

.profile-name {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
}

.profile-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.profile-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 1.5rem;
}

/* Social Buttons */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.github-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}
.github-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.coffee-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.coffee-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
}

/* Section Header */
.section-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.section-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amber-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
}

.cyan-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Rial Featured Card (CoffeeBede) */
.rial-featured-card {
  position: relative;
  padding: 2rem;
  border-color: rgba(245, 158, 11, 0.25);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(18, 24, 39, 0.75));
  overflow: hidden;
}

.rial-featured-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.12);
}

.rial-card-bg-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.rial-card-content {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 680px) {
  .rial-card-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

.coffee-animation-box {
  position: relative;
  width: 76px;
  height: 76px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coffee-emoji {
  font-size: 2.5rem;
}

.steam {
  position: absolute;
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  opacity: 0;
  animation: steamFloat 2.5s infinite linear;
}

.steam-1 { top: 6px; left: 24px; animation-delay: 0s; }
.steam-2 { top: 4px; left: 36px; animation-delay: 0.8s; }
.steam-3 { top: 8px; left: 48px; animation-delay: 1.6s; }

@keyframes steamFloat {
  0% { transform: translateY(0) scaleX(1); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translateY(-16px) scaleX(2.5); opacity: 0; }
}

.rial-card-text {
  flex: 1;
}

.rial-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

.rial-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.rial-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.coffee-url-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
}

.url-label {
  color: var(--text-muted);
}

.url-code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  color: #fbbf24;
  direction: ltr;
}

.rial-card-action {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .rial-card-action {
    width: 100%;
  }
}

.primary-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: var(--transition-smooth);
  font-family: inherit;
}

.primary-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  filter: brightness(1.1);
}

.primary-action-btn.full-width {
  width: 100%;
}

.pulse-button {
  position: relative;
}

.secondary-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.secondary-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
}

/* Crypto Grid */
.crypto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.crypto-card {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.crypto-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

/* Tron Styling */
.tron-theme {
  border-color: rgba(255, 6, 10, 0.2);
}
.tron-theme:hover {
  border-color: rgba(255, 6, 10, 0.45);
  box-shadow: 0 10px 30px var(--tron-glow);
}
.tron-pill {
  background: rgba(255, 6, 10, 0.12);
  color: #ff334b;
  border: 1px solid rgba(255, 6, 10, 0.3);
}

/* BSC Styling */
.bsc-theme {
  border-color: rgba(243, 186, 47, 0.2);
}
.bsc-theme:hover {
  border-color: rgba(243, 186, 47, 0.45);
  box-shadow: 0 10px 30px var(--bsc-glow);
}
.bsc-pill {
  background: rgba(243, 186, 47, 0.12);
  color: #f3ba2f;
  border: 1px solid rgba(243, 186, 47, 0.3);
}

/* TON Styling */
.ton-theme {
  border-color: rgba(0, 152, 234, 0.2);
}
.ton-theme:hover {
  border-color: rgba(0, 152, 234, 0.45);
  box-shadow: 0 10px 30px var(--ton-glow);
}
.ton-pill {
  background: rgba(0, 152, 234, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(0, 152, 234, 0.3);
}

/* Crypto Card Header */
.crypto-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  gap: 1rem;
}

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

.crypto-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.crypto-svg {
  width: 40px;
  height: 40px;
}

.crypto-name-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.crypto-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.crypto-name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.network-pill {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.crypto-accepted {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  font-family: inherit;
}

.qr-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  border-color: var(--border-glass-hover);
  transform: translateY(-1px);
}

/* Address Box */
.address-box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.address-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.address-box {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.address-box:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(11, 15, 25, 0.9);
}

.wallet-address {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #e2e8f0;
  word-break: break-all;
  display: block;
  letter-spacing: 0.2px;
}

/* Copy Action Button */
.copy-wallet-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.copy-wallet-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.copy-wallet-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

/* Footer */
.footer {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-heart {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-author {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-author:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-note {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Dialog Modal */
.glass-dialog {
  margin: auto;
  border: none;
  background: transparent;
  padding: 1rem;
  max-width: 440px;
  width: 90vw;
  z-index: 100;
}

.glass-dialog::backdrop {
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: #111726;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.close-modal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.qr-canvas-wrapper {
  position: relative;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 232px;
  min-width: 232px;
}

.qr-canvas {
  display: block;
  max-width: 200px;
  max-height: 200px;
}

.qr-loader {
  position: absolute;
  color: #111726;
  font-size: 0.85rem;
  font-weight: 600;
}

.modal-tip {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-address-box {
  background: #090d16;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
  word-break: break-all;
}

.modal-address-code {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: #38bdf8;
}

/* Toast Container & Notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1), toastFadeOut 0.3s ease 2.7s forwards;
  pointer-events: auto;
}

.toast-icon {
  color: #10b981;
}

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

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* SVG Icon Helper */
.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.icon-arrow {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.2s ease;
}

[dir="rtl"] .icon-arrow {
  transform: rotate(180deg);
}

.primary-action-btn:hover .icon-arrow {
  transform: rotate(180deg) translateX(4px);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .container {
    padding: 0.75rem 1rem 2.5rem;
    gap: 1.75rem;
  }
  
  .profile-card {
    padding: 1.75rem 1.25rem;
  }
  
  .profile-name {
    font-size: 1.6rem;
  }
  
  .crypto-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .qr-btn {
    align-self: flex-end;
  }
  
  .wallet-address {
    font-size: 0.8rem;
  }
}
