:root{
  /* ZeroLeaks-inspired dark theme */
  --bg:#000000;
  --bg-secondary:#0a0a0a;
  --panel:#0d0d0d;
  --panel-border:rgba(255,255,255,0.06);
  --muted:#888888;
  --text:#e5e5e5;
  --gold-1:#a855f7;
  --gold-2:#7c3aed;
  --gold-3:#6d28d9;
  --accent:linear-gradient(135deg,#a855f7,#7c3aed);
  --accent-glow:rgba(168,85,247,0.4);
  --glass:rgba(255,255,255,0.03);
  --success:#22c55e;
  --gradient-hero:radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168,85,247,0.15), transparent);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

/* Animated gradient background */
body::before{
  content:'';
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:100vh;
  background:var(--gradient-hero);
  pointer-events:none;
  z-index:-1;
}

.container{max-width:1200px;margin:0 auto;padding:1.5rem}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(0,0,0,0.8);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--panel-border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 0}
.brand{display:flex;align-items:center;gap:0.75rem;text-decoration:none;color:inherit}
.brand-logo{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
  background:transparent;
}
.brand-text{font-weight:700;letter-spacing:0.3px;font-size:1.1rem}
.brand-text small{color:var(--muted);font-weight:600;margin-left:6px}

.nav{display:flex;gap:0.5rem;align-items:center}
.nav a{
  color:var(--muted);
  text-decoration:none;
  padding:0.5rem 0.75rem;
  border-radius:8px;
  font-size:0.9rem;
  transition:all 0.2s;
}
.nav a:hover{color:#fff;background:rgba(255,255,255,0.05)}
.nav a.swap-link{
  background:linear-gradient(135deg, #a855f7, #7c3aed);
  color:#fff;
  font-weight:600;
  padding:0.5rem 1rem;
  border-radius:8px;
  transition:all 0.3s;
}
.nav a.swap-link:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 25px var(--accent-glow);
}
.cta{
  background:var(--accent);
  color:#fff;
  padding:0.5rem 1rem;
  font-weight:600;
  border-radius:8px;
  transition:all 0.3s;
}
.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 25px var(--accent-glow);
}

.nav-toggle{display:none;background:none;border:0;color:inherit;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--muted);margin:5px 0;border-radius:2px;transition:all 0.3s}

/* Notification Bell */
.notification-wrapper {
  position: relative;
}

.notification-bell {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-1);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.notification-badge:empty,
.notification-badge.hidden {
  display: none;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 200;
}

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

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--panel-border);
}

.notification-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.notification-mark-read {
  background: none;
  border: none;
  color: var(--gold-1);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.notification-mark-read:hover {
  background: rgba(168,85,247,0.1);
}

.notification-list {
  max-height: 320px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--panel-border);
  transition: background 0.2s;
  cursor: pointer;
}

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

.notification-item:hover {
  background: rgba(255,255,255,0.02);
}

.notification-item.unread {
  background: rgba(168,85,247,0.05);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-1);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.notification-icon.tip { background: rgba(34,197,94,0.15); }
.notification-icon.unlock { background: rgba(168,85,247,0.15); }
.notification-icon.reward { background: rgba(255,215,0,0.15); }
.notification-icon.follow { background: rgba(96,165,250,0.15); }

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-text {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}

.notification-text strong {
  color: #fff;
}

.notification-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.notification-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--panel-border);
  text-align: center;
}

.notification-footer a {
  color: var(--gold-1);
  font-size: 0.85rem;
  text-decoration: none;
}

.notification-footer a:hover {
  text-decoration: underline;
}

/* Hero Section - ZeroLeaks Style */
.hero{
  padding:6rem 0 4rem;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  top:-50%;
  left:50%;
  transform:translateX(-50%);
  width:150%;
  height:100%;
  background:radial-gradient(ellipse at center, rgba(168,85,247,0.08), transparent 70%);
  pointer-events:none;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 400px;
  gap:4rem;
  align-items:center;
  position:relative;
}
.hero-content h1{
  font-size:3.5rem;
  font-weight:800;
  margin:0 0 1.5rem;
  line-height:1.1;
  letter-spacing:-0.02em;
}
.hero-content h1 span{
  background:var(--accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-content .lead{
  color:var(--muted);
  margin:0 0 2rem;
  font-size:1.2rem;
  line-height:1.7;
  max-width:540px;
}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:10px;
  padding:0.75rem 1.5rem;
  font-weight:600;
  font-size:0.95rem;
  transition:all 0.3s;
  border:none;
  cursor:pointer;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 4px 20px var(--accent-glow);
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 30px var(--accent-glow);
}
.btn-swap{
  background:linear-gradient(135deg,#a855f7,#7c3aed);
  color:#fff;
  box-shadow:0 4px 20px var(--accent-glow);
}
.btn-swap:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 30px var(--accent-glow);
}
.btn-ghost{
  background:rgba(255,255,255,0.05);
  border:1px solid var(--panel-border);
  color:var(--muted);
}
.btn-ghost:hover{
  background:rgba(255,255,255,0.1);
  color:#fff;
  border-color:rgba(255,255,255,0.15);
}
.small-text{font-size:0.85rem;color:var(--muted);margin-top:1.5rem}

/* Stats */
.stats{display:flex;gap:1rem;margin-top:2rem}
.stat{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.25rem;
  border-radius:12px;
  flex:1;
  text-align:center;
  transition:all 0.3s;
}
.stat:hover{
  border-color:rgba(168,85,247,0.3);
  background:rgba(168,85,247,0.05);
}
.stat .label{color:var(--muted);font-size:0.85rem}
.stat .value{
  font-size:1.6rem;
  font-weight:800;
  margin-top:8px;
  background:var(--accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* Progress bars for roadmap */
.progress{height:10px;background:rgba(255,255,255,0.03);border-radius:999px;margin-top:0.75rem;overflow:hidden}
.progress-fill{height:100%;background:var(--accent);width:0%;transition:width 1s ease}

/* Whitepaper modal */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.8);display:none;align-items:center;justify-content:center;padding:1rem;z-index:1200;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.modal{background:var(--panel);border:1px solid var(--panel-border);padding:1.5rem;border-radius:16px;max-width:720px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,0.8)}
.modal h3{margin-top:0;font-size:1.5rem}
.modal .modal-actions{text-align:right;margin-top:1.5rem}
.modal .btn{border-radius:10px}
.modal-backdrop.show{display:flex}

/* Coin Visual - Modern Glow */
.coin-card{
  width:320px;
  height:320px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:radial-gradient(circle at 30% 30%,#a855f7,#7c3aed 50%,#6d28d9 80%);
  box-shadow:0 0 80px var(--accent-glow), 0 0 120px rgba(168,85,247,0.2);
  animation:float 6s ease-in-out infinite;
}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-15px)}
}
.coin-img{
  width:65%;
  height:65%;
  border-radius:50%;
  object-fit:cover;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
.coin-shadow{
  position:absolute;
  left:50%;
  bottom:-30px;
  transform:translateX(-50%);
  width:80%;
  height:40px;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(168,85,247,0.3), transparent);
  filter:blur(15px);
}

.panel{padding:5rem 0}
.panel h2{
  margin-top:0;
  font-size:2.5rem;
  font-weight:800;
  letter-spacing:-0.02em;
}
.panel.dark{background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent)}
.muted{color:var(--muted)}

.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.card{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.5rem;
  border-radius:16px;
  transition:all 0.3s;
}
.card:hover{
  border-color:rgba(168,85,247,0.3);
  transform:translateY(-4px);
  box-shadow:0 10px 40px rgba(168,85,247,0.1);
}

.token-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:2rem}
.token-card{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.5rem;
  border-radius:12px;
  text-align:center;
  transition:all 0.3s;
}
.token-card:hover{
  border-color:rgba(168,85,247,0.3);
}
.token-card .big{
  font-size:1.75rem;
  font-weight:800;
  background:var(--accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.monospace{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, monospace}

.timeline{display:grid;gap:1.5rem;margin-top:2rem}
.phase{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.5rem;
  border-left:4px solid rgba(168,85,247,0.4);
  border-radius:0 12px 12px 0;
  transition:all 0.3s;
}
.phase:hover{
  border-left-color:var(--gold-1);
  background:rgba(168,85,247,0.03);
}
.phase-header{font-weight:700;color:var(--gold-1);font-size:1.1rem}

.community-links{display:flex;gap:1rem;margin-top:2rem}
.social{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:0.75rem 1.25rem;
  border-radius:10px;
  text-decoration:none;
  color:var(--muted);
  transition:all 0.3s;
}
.social:hover{
  background:rgba(168,85,247,0.1);
  border-color:rgba(168,85,247,0.3);
  color:#fff;
}

.site-footer{
  border-top:1px solid var(--panel-border);
  padding:2rem 0;
  margin-top:4rem;
  background:var(--bg);
}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.disclaimer{margin:0;color:var(--muted);font-size:0.9rem}

/* Responsive */
@media (max-width:900px){
  .hero{padding:3rem 0}
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .hero-content h1{font-size:2.25rem}
  .hero-content .lead{max-width:none;margin-left:auto;margin-right:auto}
  .hero-ctas{justify-content:center}
  .hero-visual{order:-1;margin-bottom:2rem;display:flex;justify-content:center}
  .coin-card{width:240px;height:240px}
  .about-grid{grid-template-columns:1fr;}
  .token-grid{grid-template-columns:repeat(2,1fr)}
  .nav{
    position:fixed;
    top:68px;
    right:16px;
    background:rgba(13,13,13,0.95);
    -webkit-backdrop-filter:blur(20px);
    backdrop-filter:blur(20px);
    flex-direction:column;
    padding:1rem;
    border-radius:12px;
    border:1px solid var(--panel-border);
    display:none;
    min-width:200px;
  }
  .nav.show{display:flex}
  .nav-toggle{display:block}
  .stats{flex-direction:column}
  .panel{padding:3rem 0}
  .panel h2{font-size:1.75rem}
}

/* small devices */
@media (max-width:420px){
  .token-grid{grid-template-columns:1fr}
  .brand-text{display:none}
  .hero-content h1{font-size:1.75rem}
}

/* subtle reveal animation */
.reveal{opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

/* Live Token Data Section */
.contract-info{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.25rem;
  border-radius:14px;
  margin:2rem 0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem;
}
.contract-label{font-weight:600;color:var(--muted);font-size:0.9rem}
.contract-value{
  display:flex;
  align-items:center;
  gap:0.75rem;
  flex:1;
}
.contract-value code{
  background:rgba(0,0,0,0.4);
  padding:0.6rem 1rem;
  border-radius:8px;
  font-size:0.85rem;
  color:var(--gold-1);
  word-break:break-all;
  border:1px solid var(--panel-border);
}
.explorer-btn,.copy-btn{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--panel-border);
  padding:0.5rem 0.75rem;
  border-radius:8px;
  color:var(--muted);
  cursor:pointer;
  transition:all 0.3s;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}
.explorer-btn:hover,.copy-btn:hover{
  background:rgba(168,85,247,0.1);
  border-color:rgba(168,85,247,0.4);
  color:#fff;
}
.live-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
  margin-top:2rem;
}
.live-stat{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.5rem 1.25rem;
  border-radius:16px;
  text-align:center;
  transition:all 0.3s;
}
.live-stat:hover{
  border-color:rgba(168,85,247,0.3);
  background:rgba(168,85,247,0.03);
}
.live-label{
  color:var(--muted);
  font-size:0.85rem;
  margin-bottom:0.75rem;
  font-weight:500;
}
.live-value{
  font-size:1.75rem;
  font-weight:800;
  background:var(--accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.loading-placeholder{
  color:var(--muted);
  font-size:1rem;
  font-weight:400;
  animation:pulse 1.5s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100%{opacity:0.4;}
  50%{opacity:0.8;}
}
.update-time{
  font-size:0.8rem;
  color:var(--muted);
  opacity:0.7;
}
.data-disclaimer{
  margin-top:2rem;
  padding:1rem 1.25rem;
  background:rgba(168,85,247,0.05);
  border-left:3px solid var(--gold-2);
  border-radius:0 12px 12px 0;
}
.data-disclaimer small{font-size:0.9rem;color:var(--muted)}

/* Transparency Section */
.transparency-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin:2rem 0;
}
.transparency-card{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.75rem;
  border-radius:16px;
  transition:all 0.3s;
}
.transparency-card:hover{
  border-color:rgba(168,85,247,0.3);
}
.transparency-card h3{
  margin:0 0 1rem;
  font-size:1.1rem;
  color:var(--gold-1);
}
.transparency-card p{margin:0.5rem 0;font-size:0.95rem}
.small-text{font-size:0.85rem;color:var(--muted);margin-top:1rem}
.verify-links{margin-top:2.5rem}
.verify-links h3{font-size:1.3rem;margin-bottom:1.25rem}
.link-group{display:flex;gap:1rem;flex-wrap:wrap}
.verify-link{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:0.9rem 1.25rem;
  border-radius:12px;
  text-decoration:none;
  color:var(--muted);
  transition:all 0.3s;
}
.verify-link:hover{
  background:rgba(168,85,247,0.08);
  color:#fff;
  border-color:rgba(168,85,247,0.4);
  transform:translateY(-2px);
}

/* Roadmap Updates */
.roadmap-list{
  margin:1rem 0 0 1.5rem;
  padding:0;
  color:var(--muted);
  font-size:0.95rem;
}
.roadmap-list li{margin:0.5rem 0}
.roadmap-note{
  margin-top:2rem;
  padding:1.25rem;
  background:rgba(168,85,247,0.05);
  border-left:3px solid var(--gold-2);
  border-radius:0 12px 12px 0;
  font-size:0.95rem;
  color:var(--muted);
}
.phase.completed{border-left-color:var(--success)}
.phase.in-progress{border-left-color:var(--gold-1)}
.phase.upcoming{border-left-color:rgba(255,255,255,0.15)}

/* Community Section */
.community-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.5rem;
  margin-top:2rem;
}
.twitter-section h3,.community-info h3{
  margin-top:0;
  margin-bottom:1.25rem;
  font-size:1.2rem;
}
.twitter-embed-container{
  background:rgba(0,0,0,0.5);
  border-radius:16px;
  overflow:hidden;
  min-height:400px;
  border:1px solid var(--panel-border);
}
.community-links-vertical{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-bottom:2rem;
}
.social-card{
  display:flex;
  align-items:center;
  gap:1.25rem;
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.25rem;
  border-radius:14px;
  text-decoration:none;
  color:inherit;
  transition:all 0.3s;
}
.social-card:hover{
  background:rgba(168,85,247,0.08);
  border-color:rgba(168,85,247,0.4);
  transform:translateX(4px);
}
.social-card svg{flex-shrink:0;color:var(--gold-1)}
.social-card strong{
  display:block;
  color:#fff;
  font-size:1.05rem;
}
.member-count{
  display:block;
  font-size:0.85rem;
  color:var(--muted);
  margin-top:0.25rem;
}
.cta-box{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:2rem;
  border-radius:16px;
}
.cta-box h4{margin-top:0;font-size:1.15rem}
.cta-box p{color:var(--muted);font-size:0.95rem;margin-bottom:1.25rem}

/* FAQ Section */
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
  margin-top:2rem;
}
.faq-item{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  padding:1.75rem;
  border-radius:16px;
  transition:all 0.3s;
}
.faq-item:hover{
  border-color:rgba(168,85,247,0.3);
}
.faq-item h3{
  margin:0 0 1rem;
  font-size:1.1rem;
  color:var(--gold-1);
}
.faq-item p{
  margin:0.5rem 0;
  font-size:0.95rem;
  color:var(--muted);
  line-height:1.7;
}
.faq-item ul{
  margin:0.75rem 0 0 1.25rem;
  padding:0;
  color:var(--muted);
  font-size:0.95rem;
}
.faq-item li{margin:0.4rem 0}
.faq-item a{color:var(--gold-1);text-decoration:none}
.faq-item a:hover{text-decoration:underline}

/* Footer Updates */
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:2rem;
}
.footer-left{flex:1}
.footer-right{text-align:right}
.footer-right p{margin:0.25rem 0}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-legal-links .separator {
  color: var(--border);
}

/* Responsive Updates */
@media (max-width:900px){
  .live-stats{grid-template-columns:repeat(2,1fr)}
  .transparency-grid{grid-template-columns:1fr}
  .community-grid{grid-template-columns:1fr}
  .faq-grid{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;align-items:flex-start}
  .footer-right{text-align:left}
  .contract-info{flex-direction:column;align-items:flex-start}
}

@media (max-width:600px){
  .live-stats{grid-template-columns:1fr}
  .link-group{flex-direction:column}
  .verify-link{width:100%}
}

/* ============================================
   WHY BUY SNOZCOIN SECTION
   ============================================ */
.why-buy{
  background:linear-gradient(180deg, rgba(168,85,247,0.02) 0%, transparent 100%);
  border-top:1px solid var(--panel-border);
  border-bottom:1px solid var(--panel-border);
}
.why-buy h2{
  text-align:center;
  font-size:2.5rem;
  font-weight:800;
  margin:0 0 0.75rem;
  background:var(--accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.why-buy .lead{
  text-align:center;
  color:var(--muted);
  margin:0 auto 3rem;
  max-width:600px;
  font-size:1.1rem;
}
.why-buy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin-bottom:3rem;
}
.profile-actions{margin-top:1rem}
.section-title{margin-top:2rem}
.why-buy-card{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--panel-border);
  border-radius:20px;
  padding:2.5rem 2rem;
  text-align:center;
  transition:all 0.4s ease;
  position:relative;
  overflow:hidden;
}
.why-buy-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
  opacity:0;
  transition:opacity 0.3s;
}
.why-buy-card:hover{
  transform:translateY(-8px);
  border-color:rgba(168,85,247,0.4);
  box-shadow:0 20px 50px rgba(168,85,247,0.15);
}
.why-buy-card:hover::before{
  opacity:1;
}
.why-buy-icon{
  font-size:3.5rem;
  margin-bottom:1.5rem;
  line-height:1;
}
.why-buy-card h3{
  font-size:1.3rem;
  margin:0 0 1rem;
  color:#fff;
  font-weight:700;
}
.why-buy-card p{
  color:var(--muted);
  margin:0;
  font-size:0.95rem;
  line-height:1.7;
}
.buy-cta-wrapper{
  text-align:center;
  padding:2.5rem 0 1rem;
  border-top:1px solid var(--panel-border);
}
.btn-buy-now{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:1.1rem;
  padding:1rem 2.5rem;
  border-radius:12px;
  text-decoration:none;
  transition:all 0.3s ease;
  box-shadow:0 8px 30px var(--accent-glow);
}
.btn-buy-now:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 40px var(--accent-glow);
}
.btn-buy-now svg{
  margin-right:10px;
  flex-shrink:0;
}
.buy-disclaimer{
  margin:1.5rem 0 0;
  font-size:0.85rem;
  color:var(--muted);
  font-style:italic;
}

@media (max-width:900px){
  .why-buy-grid{
    grid-template-columns:1fr;
    gap:1.25rem;
  }
  .why-buy h2{
    font-size:1.75rem;
  }
  .btn-buy-now{
    font-size:1rem;
    padding:0.9rem 2rem;
  }
}

/* ============================================
   SNOZ UTILITY TOKEN INTEGRATION
   ============================================ */

/* SNOZ Section */
.snoz-section {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.snoz-section h2 {
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Connect Wallet Button */
#snoz-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--muted);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.95rem;
}

#snoz-connect-btn:hover {
  border-color: var(--gold-1);
  color: var(--gold-1);
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 4px 20px var(--accent-glow);
}

#snoz-connect-btn.connected {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--gold-2);
  color: #fff;
}

/* Disconnect Button */
#snoz-disconnect-btn,
.wallet-disconnect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 100, 100, 0.15);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: #ff6b6b;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.85rem;
  margin-left: 0.75rem;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

#snoz-disconnect-btn:hover,
.wallet-disconnect-btn:hover {
  background: rgba(255, 100, 100, 0.25);
  border-color: #ff6b6b;
  transform: scale(1.02);
}

/* Connection Status Indicator */
#connection-status {
  position: fixed;
  top: 70px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#connection-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
}

#connection-status .status-text {
  color: var(--muted);
}

.snoz-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
}

/* SNOZ Balance Display */
.snoz-balance-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.snoz-balance-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.snoz-balance-card .snoz-amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.snoz-balance-card .snoz-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Tier Display */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.tier-icon {
  font-size: 1.25rem;
}

.tier-name {
  font-size: 1rem;
}

.tier-progress {
  margin-top: 1rem;
}

.tier-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.tier-progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.tier-progress-text {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  text-align: center;
}

.tier-max {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-1);
  font-weight: 600;
}

/* SNOZ Tier Cards */
.snoz-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.snoz-tier-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.snoz-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.snoz-tier-card.bronze { border-color: #CD7F32; }
.snoz-tier-card.silver { border-color: #C0C0C0; }
.snoz-tier-card.gold { border-color: #FFD700; }
.snoz-tier-card.platinum { border-color: #E5E4E2; }
.snoz-tier-card.diamond { border-color: #B9F2FF; }

.snoz-tier-card .tier-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.snoz-tier-card .tier-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.snoz-tier-card .tier-threshold {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Rewards Preview */
.snoz-rewards-preview {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.snoz-rewards-preview h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.rewards-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.reward-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reward-row label {
  color: var(--muted);
  font-size: 0.85rem;
}

.reward-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reward-input-group input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1rem;
}

.reward-input-group input:focus {
  outline: none;
  border-color: var(--gold-1);
}

.reward-input-group .unit {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: 40px;
}

.reward-result {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 210, 120, 0.08);
  border-radius: 8px;
  color: var(--gold-1);
  font-weight: 700;
  font-size: 1.1rem;
}

/* SNOZ Utility Grid */
.snoz-utility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.snoz-utility-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.snoz-utility-card svg {
  width: 40px;
  height: 40px;
  color: var(--gold-1);
  margin-bottom: 1rem;
}

.snoz-utility-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.snoz-utility-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Important Notice */
.snoz-notice {
  background: rgba(255, 210, 120, 0.05);
  border-left: 3px solid var(--gold-1);
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  border-radius: 0 8px 8px 0;
}

.snoz-notice strong {
  color: var(--gold-1);
}

/* SNOZ Notification */
.snoz-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--panel);
  border: 1px solid rgba(255, 210, 120, 0.2);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1100;
}

.snoz-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .snoz-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .snoz-utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rewards-calculator {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .snoz-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .snoz-utility-grid {
    grid-template-columns: 1fr;
  }
  
  .snoz-balance-card .snoz-amount {
    font-size: 2rem;
  }
}

/* ============================================
   FRONTEND IMPROVEMENTS - Loading States
   ============================================ */

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
}

.skeleton-text {
  height: 1rem;
  width: 80%;
  margin-bottom: 0.5rem;
}

.skeleton-text-sm {
  height: 0.75rem;
  width: 60%;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-card {
  height: 120px;
  width: 100%;
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 210, 120, 0.2);
  border-top-color: var(--gold-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

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

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border-radius: inherit;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-text {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 400px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.toast-warning .toast-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--muted);
}

.toast-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #fff;
}

/* ============================================
   Transaction History Panel
   ============================================ */

.tx-history-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.tx-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tx-history-header h3 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tx-refresh-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tx-refresh-btn.refreshing svg {
  animation: spin 1s linear infinite;
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tx-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
}

.tx-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.tx-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tx-icon.tip { background: rgba(34, 197, 94, 0.1); }
.tx-icon.purchase { background: rgba(59, 130, 246, 0.1); }
.tx-icon.reward { background: rgba(255, 210, 120, 0.1); }
.tx-icon.transfer { background: rgba(168, 85, 247, 0.1); }

.tx-details {
  flex: 1;
  min-width: 0;
}

.tx-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.tx-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tx-amount {
  text-align: right;
  flex-shrink: 0;
}

.tx-amount-value {
  font-weight: 700;
  font-size: 1rem;
}

.tx-amount-value.positive { color: #22c55e; }
.tx-amount-value.negative { color: #ef4444; }

.tx-amount-usd {
  font-size: 0.8rem;
  color: var(--muted);
}

.tx-status {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tx-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.tx-status.confirmed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.tx-status.failed {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.tx-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.tx-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ============================================
   Improved Wallet Connection
   ============================================ */

.wallet-section {
  background: linear-gradient(135deg, rgba(255, 210, 120, 0.03), rgba(255, 210, 120, 0.01));
  border: 1px solid rgba(255, 210, 120, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.wallet-section h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.wallet-section p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.wallet-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.wallet-option {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
}

.wallet-option:hover {
  border-color: var(--gold-1);
  background: rgba(255, 210, 120, 0.05);
  transform: translateY(-2px);
}

.wallet-option img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.wallet-option span {
  font-weight: 600;
  font-size: 0.95rem;
}

.wallet-connected {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 12px;
}

.wallet-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0b0b0b;
}

.wallet-info {
  flex: 1;
  text-align: left;
}

.wallet-address {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: var(--gold-1);
}

.wallet-network {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wallet-network-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.disconnect-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.disconnect-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ============================================
   Error States
   ============================================ */

.error-state {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #ef4444;
}

.error-message {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.retry-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

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

/* ============================================
   Responsive Improvements
   ============================================ */

@media (max-width: 600px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  
  .toast {
    min-width: auto;
    max-width: none;
  }
  
  .wallet-options {
    flex-direction: column;
  }
  
  .wallet-option {
    width: 100%;
  }
  
  .wallet-connected {
    flex-direction: column;
    text-align: center;
  }
  
  .wallet-info {
    text-align: center;
  }
  
  .tx-item {
    flex-wrap: wrap;
  }
  
  .tx-amount {
    width: 100%;
    text-align: left;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ========================================
   TRUST & SECURITY SECTION
   ======================================== */

.trust-highlight {
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(124,58,237,0.05));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s;
}

a.trust-badge:hover {
  background: rgba(168,85,247,0.15);
  border-color: var(--gold-1);
  transform: translateY(-2px);
}

.trust-badge-info {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: #22c55e;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

/* Smart Contracts Grid */
.contracts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contract-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s;
}

.contract-card:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 8px 30px rgba(168,85,247,0.1);
  transform: translateY(-2px);
}

.contract-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contract-icon {
  font-size: 1.5rem;
}

.contract-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--gold-1);
}

.contract-card p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.contract-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contract-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gold-1);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  background: rgba(168,85,247,0.1);
  border-radius: 6px;
  transition: all 0.2s;
}

.contract-link:hover {
  background: rgba(168,85,247,0.2);
}

.contract-status {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

.status-pending {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}

.status-deployed {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

/* Security Practices Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.security-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.security-card:hover {
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 8px 30px rgba(34,197,94,0.08);
}

.security-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.security-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.security-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Audit Status */
.audit-status {
  margin-bottom: 2.5rem;
}

.audit-status h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.audit-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(251,191,36,0.08), rgba(251,191,36,0.02));
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.audit-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.audit-content {
  flex: 1;
}

.audit-label {
  display: inline-block;
  background: rgba(251,191,36,0.2);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.audit-content p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* Enhanced Verify Links */
.verify-links {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--panel-border);
}

.verify-links h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.verify-link:hover {
  background: rgba(168,85,247,0.1);
  border-color: var(--gold-1);
  color: var(--gold-1);
}

/* Mobile Responsiveness for Trust Section */
@media (max-width: 768px) {
  .trust-badge-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .trust-badge {
    justify-content: center;
  }
  
  .contracts-grid {
    grid-template-columns: 1fr;
  }
  
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .audit-card {
    flex-direction: column;
    text-align: center;
  }
  
  .link-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .verify-link {
    justify-content: center;
  }
}

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

/* ========================================
   GETTING STARTED SECTION
   ======================================== */

.getting-started {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.15);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.step-content h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
}

.step-content p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Wallet Options Mini */
.wallet-options-mini {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.wallet-option-link:hover {
  background: rgba(168,85,247,0.1);
  border-color: var(--gold-1);
}

.wallet-icon {
  font-size: 1.25rem;
}

.recommended-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(34,197,94,0.2);
  color: #22c55e;
  border-radius: 4px;
  font-weight: 500;
}

/* Funding Options */
.funding-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.funding-link {
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.funding-link:hover {
  background: rgba(168,85,247,0.15);
  border-color: var(--gold-1);
  color: var(--gold-1);
}

/* Connect Step Button */
.connect-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* Social Login Options */
.connect-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connect-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connect-group-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.connect-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.connect-divider::before,
.connect-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--panel-border);
}

.social-login-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: 100px;
  justify-content: center;
}

.social-login-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.social-login-btn svg {
  flex-shrink: 0;
}

.social-login-btn.social-twitter:hover {
  background: rgba(0,0,0,0.8);
  border-color: #fff;
}

.social-login-btn.social-discord:hover {
  background: rgba(88,101,242,0.15);
  border-color: #5865F2;
  color: #5865F2;
}

.social-login-btn.social-google:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.social-login-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  line-height: 1.5;
}

.social-login-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--gold-1);
  color: var(--gold-1);
}

/* Quick FAQ */
.quick-faq {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
}

.quick-faq h3 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.quick-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quick-faq-item {
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}

.quick-faq-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.quick-faq-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Mobile Responsiveness for Getting Started */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .action-buttons .btn-secondary,
  .action-buttons .btn-outline {
    text-align: center;
  }
  
  .quick-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   WALLET CONNECTION MODAL
   ======================================== */

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wallet-modal.open {
  opacity: 1;
  visibility: visible;
}

.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wallet-modal-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  margin: 1rem;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.wallet-modal.open .wallet-modal-container {
  transform: translateY(0) scale(1);
}

.wallet-modal-content {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--panel-border);
}

.wallet-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.wallet-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.wallet-modal-body {
  padding: 1.5rem;
}

.wallet-modal-description {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Wallet List */
.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.wallet-item:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateX(4px);
}

.wallet-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.wallet-item-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.wallet-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wallet-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.wallet-item-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.wallet-item-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 6px;
  font-weight: 500;
}

.wallet-item-arrow {
  color: var(--muted);
  transition: transform 0.2s;
}

.wallet-item:hover .wallet-item-arrow {
  transform: translateX(4px);
  color: var(--gold-1);
}

.wallet-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--panel-border);
}

.wallet-security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.wallet-security-note svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Wallet States */
.wallet-state {
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.wallet-state.hidden {
  display: none;
}

/* Connecting State */
.wallet-connecting-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.wallet-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-top-color: var(--gold-1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

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

.connecting-text {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.connecting-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Success State */
.wallet-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.success-icon {
  margin-bottom: 1rem;
  color: #22c55e;
}

.success-icon svg {
  width: 64px;
  height: 64px;
}

.wallet-success-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--text);
}

.connected-address {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--gold-1);
  padding: 0.5rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 8px;
}

.success-actions {
  display: flex;
  gap: 0.75rem;
}

/* Error State */
.wallet-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.error-icon {
  margin-bottom: 1rem;
  color: #ef4444;
}

.error-icon svg {
  width: 64px;
  height: 64px;
}

.wallet-error-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--text);
}

.error-message {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.error-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* No Wallet State */
.wallet-no-wallet-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
}

.no-wallet-icon {
  margin-bottom: 1rem;
  color: var(--muted);
}

.no-wallet-icon svg {
  width: 56px;
  height: 56px;
}

.wallet-no-wallet-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.wallet-no-wallet-content > p {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.install-wallet-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.install-wallet-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.install-wallet-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--gold-1);
  transform: translateY(-2px);
}

.install-wallet-btn span:first-child {
  font-size: 1.5rem;
}

.install-wallet-btn div {
  text-align: left;
}

.install-wallet-btn strong {
  display: block;
  font-size: 0.95rem;
}

.install-wallet-btn small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Modal Mobile Responsiveness */
@media (max-width: 480px) {
  .wallet-modal-container {
    max-width: 100%;
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }

  .wallet-modal-content {
    border-radius: 16px;
  }

  .wallet-modal-header {
    padding: 1rem 1.25rem;
  }

  .wallet-modal-body {
    padding: 1.25rem;
  }

  .wallet-item {
    padding: 0.875rem 1rem;
  }

  .wallet-item-icon {
    width: 40px;
    height: 40px;
  }

  .error-actions,
  .success-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions .btn,
  .success-actions .btn {
    width: 100%;
  }
}

/* ========================================
   ONBOARDING TOUR
   ======================================== */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.onboarding-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.onboarding-spotlight {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.onboarding-spotlight.active {
  opacity: 1;
}

.onboarding-tooltip {
  position: absolute;
  z-index: 9999;
  width: 340px;
  max-width: calc(100vw - 2rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.onboarding-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.onboarding-tooltip-arrow {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  transform: rotate(45deg);
}

.onboarding-tooltip.position-bottom .onboarding-tooltip-arrow {
  top: -9px;
  left: 50%;
  margin-left: -8px;
  border-right: none;
  border-bottom: none;
}

.onboarding-tooltip.position-top .onboarding-tooltip-arrow {
  bottom: -9px;
  left: 50%;
  margin-left: -8px;
  border-left: none;
  border-top: none;
}

.onboarding-tooltip.position-left .onboarding-tooltip-arrow {
  right: -9px;
  top: 50%;
  margin-top: -8px;
  border-left: none;
  border-bottom: none;
}

.onboarding-tooltip.position-right .onboarding-tooltip-arrow {
  left: -9px;
  top: 50%;
  margin-top: -8px;
  border-right: none;
  border-top: none;
}

.onboarding-tooltip-content {
  position: relative;
  padding: 1.25rem;
}

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

.onboarding-tooltip-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.onboarding-tooltip-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.onboarding-tooltip-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.onboarding-tooltip-text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.onboarding-tooltip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--panel-border);
}

.onboarding-progress {
  font-size: 0.8rem;
  color: var(--muted);
}

.onboarding-step-current {
  color: var(--gold-1);
  font-weight: 600;
}

.onboarding-actions {
  display: flex;
  gap: 0.5rem;
}

.onboarding-skip {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.onboarding-next {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* ========================================
   WELCOME BANNER
   ======================================== */

.welcome-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(124, 58, 237, 0.1));
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.welcome-banner.visible {
  max-height: 200px;
  opacity: 1;
}

.welcome-banner.dismissed {
  max-height: 0;
  opacity: 0;
}

.welcome-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.welcome-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.welcome-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.welcome-banner-text strong {
  font-size: 1rem;
  color: var(--text);
}

.welcome-banner-text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.welcome-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.welcome-start-tour {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.welcome-dismiss {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.welcome-banner-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.welcome-banner-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* Mobile Responsiveness for Onboarding */
@media (max-width: 768px) {
  .onboarding-tooltip {
    width: calc(100vw - 2rem);
    left: 1rem !important;
    right: 1rem;
  }

  .onboarding-tooltip-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .onboarding-progress {
    text-align: center;
  }

  .onboarding-actions {
    justify-content: center;
  }

  .welcome-banner-content {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .welcome-banner-icon {
    display: none;
  }

  .welcome-banner-text {
    width: 100%;
    text-align: center;
  }

  .welcome-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .welcome-banner-close {
    right: 0.25rem;
    top: 0.5rem;
    transform: none;
  }
}

/* ========================================
   Platform Metrics Section
======================================== */
.platform-metrics {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.metrics-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.metrics-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}

.status-dot.live {
  background: #22c55e;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.metric-value .unit {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-left: 0.25rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
}

.metric-change.positive {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.metric-change.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.metric-change.neutral {
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary);
}

.metrics-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.metrics-disclaimer svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Animated number counter effect */
.metric-value[data-animated] {
  animation: countUp 0.6s ease-out;
}

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

/* Mobile Responsiveness for Platform Metrics */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .platform-metrics {
    padding: 3rem 0;
  }

  .metrics-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .metrics-header h2 {
    font-size: 1.5rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-card {
    padding: 1.25rem;
  }

  .metric-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .metric-value {
    font-size: 1.75rem;
  }

  .metrics-disclaimer {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* ========================
   QUICK SWAP SECTION
   ======================== */

.swap-section {
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(20, 10, 30, 0.95) 100%);
  padding: 80px 0;
}

.swap-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.swap-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.swap-widget-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* Swap Widget */
.swap-widget {
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 24px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
}

.widget-input-group {
  background: rgba(30, 30, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 8px;
}

.widget-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.widget-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.widget-balance {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.widget-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-amount {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  outline: none;
  min-width: 0;
}

.widget-amount::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.widget-token-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 100px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.widget-token-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.6);
}

.widget-token-btn.widget-token-fixed {
  cursor: default;
  opacity: 0.9;
}

.widget-token-btn.widget-token-fixed:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

.widget-token-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.widget-quick-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.widget-quick-btn {
  flex: 1;
  padding: 6px 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.widget-quick-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

/* Swap Direction */
.widget-swap-direction {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(50% - 60px);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: 4px solid rgba(20, 20, 30, 0.9);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.widget-swap-direction:hover {
  transform: translateX(-50%) scale(1.1);
}

/* Rate Info */
.widget-rate-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 12px;
  margin: 16px 0;
  font-size: 0.875rem;
}

.widget-rate {
  color: rgba(255, 255, 255, 0.8);
}

.widget-via {
  color: rgba(168, 85, 247, 0.8);
  font-weight: 500;
}

/* Swap Button */
.widget-swap-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.widget-swap-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.widget-swap-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Powered By */
.widget-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-powered span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.widget-dex-logos {
  display: flex;
  gap: 8px;
}

.dex-badge {
  padding: 4px 10px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* Swap Benefits */
.swap-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #fff;
}

.benefit-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Supported Tokens */
.supported-tokens {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.supported-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.token-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.token-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(30, 30, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.token-badge:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
}

.token-badge img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.swap-cta {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.swap-cta a {
  color: #a855f7;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.swap-cta a:hover {
  color: #c084fc;
}

/* Responsive */
@media (max-width: 900px) {
  .swap-widget-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .swap-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .swap-section {
    padding: 60px 0;
  }

  .swap-section-header h2 {
    font-size: 2rem;
  }

  .swap-widget {
    padding: 16px;
  }

  .widget-amount {
    font-size: 1.5rem;
  }

  .swap-benefits {
    grid-template-columns: 1fr;
  }

  .supported-tokens {
    flex-direction: column;
  }

  .token-badges {
    justify-content: center;
  }
}

/* ========================================
   Utility Classes for Inline Style Replacement
======================================== */

/* Hidden by default (display: none) */
.hidden-default {
  display: none;
}

/* Text alignment and spacing utilities */
.text-center {
  text-align: center;
}

.margin-top-0 {
  margin-top: 0;
}

.margin-bottom-2 {
  margin-bottom: 2rem;
}

.margin-y-2 {
  margin: 2rem 0;
}

.margin-top-1 {
  margin-top: 1rem;
}

.margin-top-075 {
  margin-top: 0.75rem;
}

/* SNOZ Section Grid */
.snoz-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.snoz-section-title {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.snoz-subtitle {
  text-align: center;
  margin: 3rem 0 1rem;
}

/* Clarity contract text */
.clarity-note {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Why buy grid margin */
.why-buy-grid-spaced {
  margin-top: 1.5rem;
}

/* Tier color classes */
.tier-bronze {
  color: #CD7F32;
}

.tier-silver {
  color: #C0C0C0;
}

.tier-gold {
  color: #FFD700;
}

.tier-platinum {
  color: #E5E4E2;
}

.tier-diamond {
  color: #B9F2FF;
}

/* SVG icon with margin */
.icon-margin-right {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .snoz-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Text utilities */
.text-muted {
  color: var(--muted);
}

.margin-0 {
  margin: 0;
}

.text-center {
  text-align: center;
}

.font-size-1 {
  font-size: 1rem;
}

/* Legal page utilities */
.legal-list-indent {
  margin: 0.5rem 0 0 1.5rem;
}

/* ==============================================
   DYNAMIC HEADER & WALLET DROPDOWN STYLES
   ============================================== */

/* Header container for dynamic rendering */
#header-container {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Nav link active state */
.nav-link.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
}

/* Nav highlight (for Swap button) */
.nav-link.nav-highlight {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 600;
}

.nav-link.nav-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

/* Connect wallet button in header */
.wallet-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.wallet-connect-btn svg {
  flex-shrink: 0;
}

.wallet-connect-btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Wallet dropdown wrapper */
.wallet-dropdown-wrapper {
  position: relative;
}

/* Wallet dropdown trigger button */
.wallet-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.wallet-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
}

.wallet-dropdown-trigger[aria-expanded="true"] {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.wallet-dropdown-trigger[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.wallet-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-radius: 8px;
  color: #fff;
}

.wallet-avatar svg {
  width: 16px;
  height: 16px;
}

.wallet-address-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.dropdown-arrow {
  transition: transform 0.2s;
  color: var(--muted);
}

/* Wallet dropdown menu */
.wallet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 200;
  overflow: hidden;
}

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

.dropdown-header {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--panel-border);
}

.dropdown-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-address {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text);
  word-break: break-all;
}

.dropdown-divider {
  height: 1px;
  background: var(--panel-border);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-size: 0.9rem;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-item-danger {
  color: #ef4444;
}

.dropdown-item-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

.dropdown-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* Nav CTA button */
.nav-cta {
  margin-left: 0.5rem;
  text-decoration: none;
}

/* ==============================================
   WALLET SELECTION MODAL
   ============================================== */

.wallet-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.wallet-modal {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #333;
}

.wallet-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.wallet-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #888;
  font-size: 1.5rem;
  line-height: 1;
}

.wallet-modal-close:hover {
  background: #333;
  color: #fff;
}

.wallet-modal-body {
  padding: 1.25rem;
}

.wallet-modal-subtitle {
  color: #888;
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  text-align: center;
}

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #252525;
  border: 1px solid #333;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
  color: #fff;
  font-family: inherit;
}

.wallet-option:hover {
  background: #2a2a2a;
  border-color: #ff6b35;
}

.wallet-option.detected:hover {
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.wallet-option.not-installed {
  opacity: 0.6;
}

.wallet-option.not-installed:hover {
  opacity: 0.9;
  border-color: #555;
}

/* New class names used by wallet-auth.js */
.wallet-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 10px;
  flex-shrink: 0;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.wallet-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.wallet-status {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

.wallet-option.detected .wallet-status {
  color: #4ade80;
}

.wallet-status.wallet-error {
  color: #ef4444;
}

.wallet-action {
  font-size: 0.875rem;
  color: #888;
  flex-shrink: 0;
}

.wallet-option.detected .wallet-action {
  color: #ff6b35;
}

.wallet-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #444;
  border-top-color: #ff6b35;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

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

.wallet-modal-note {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin: 1rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.wallet-modal-note strong {
  color: #ff6b35;
}

/* Legacy class names for backwards compatibility */
.wallet-option-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 10px;
  flex-shrink: 0;
}

.wallet-option-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.wallet-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.wallet-option-status {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

.wallet-option.installed .wallet-option-status {
  color: #4ade80;
}

.wallet-option-arrow,
.wallet-option-install {
  font-size: 0.875rem;
  color: #888;
  flex-shrink: 0;
}

.wallet-option-install {
  color: #ff6b35;
}

.wallet-option-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #444;
  border-top-color: #ff6b35;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* Mobile wallet modal */
@media (max-width: 480px) {
  .wallet-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .wallet-modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
  }
}

/* ==============================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================== */

/* Ensure touch-friendly tap targets (min 44px) */
.nav a,
.nav-links a,
.btn,
button,
.wallet-connect-trigger,
.mobile-menu-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Unified Mobile Navigation */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
@media (max-width: 768px) {
  /* Header adjustments */
  .site-header .container,
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  .header-inner {
    position: relative;
  }
  
  /* Show hamburger menu */
  .nav-toggle,
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hide desktop nav */
  .nav,
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    padding: 2rem;
  }
  
  .nav.show,
  .nav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
  }
  
  .nav a,
  .nav-links a {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    margin: 0.25rem 0;
  }
  
  .nav a:hover,
  .nav-links a:hover,
  .nav a.active,
  .nav-links a.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #fff;
  }
  
  /* Hide nav-actions on mobile, show in menu */
  .nav-actions {
    display: none;
  }
  
  /* Notification wrapper in mobile */
  .notification-wrapper {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 999;
  }
  
  .notification-dropdown {
    bottom: 100%;
    top: auto;
    right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  
  .hero-content .lead {
    font-size: 1rem;
    max-width: none;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-ctas .btn,
  .hero-ctas .cta {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .coin-card {
    width: 180px;
    height: 180px;
  }
}

/* Mobile Cards & Grids */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .panel {
    padding: 2rem 0;
  }
  
  .panel h2 {
    font-size: 1.5rem;
  }
  
  /* Feature grids */
  .about-grid,
  .token-grid,
  .why-buy-grid,
  .feature-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Cards */
  .feature-card,
  .benefit-card,
  .about-card,
  .token-card {
    padding: 1.25rem;
  }
  
  /* Stats row */
  .stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--panel-border);
  }
}

/* Mobile Swap Interface */
@media (max-width: 768px) {
  .swap-card,
  .swap-container {
    padding: 1rem;
    border-radius: 16px;
    margin: 0;
  }
  
  .swap-input-group {
    padding: 1rem;
  }
  
  .swap-input {
    font-size: 1.5rem;
  }
  
  .token-selector {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .swap-btn {
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
  }
  
  .route-details {
    font-size: 0.875rem;
    padding: 0.75rem;
  }
  
  /* Swap settings */
  .settings-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .slippage-btn {
    flex: 1;
    padding: 0.75rem;
  }
}

/* Mobile Dashboard */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 1rem 0;
  }
  
  .dashboard-header h1 {
    font-size: 1.5rem;
  }
  
  .dashboard-grid,
  .stats-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dashboard-card,
  .stat-card,
  .metric-card {
    padding: 1.25rem;
  }
  
  .chart-container {
    height: 200px;
  }
  
  /* Activity list */
  .activity-item {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* Mobile Stats Page */
@media (max-width: 768px) {
  .stats-header h1 {
    font-size: 1.5rem;
  }
  
  .tier-grid {
    grid-template-columns: 1fr;
  }
  
  .tier-card {
    padding: 1.25rem;
  }
  
  .progress-bar {
    height: 8px;
  }
  
  .leaderboard-table {
    font-size: 0.875rem;
  }
  
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Mobile API Page */
@media (max-width: 768px) {
  .api-header h1 {
    font-size: 1.5rem;
  }
  
  .endpoint-grid {
    grid-template-columns: 1fr;
  }
  
  .code-block {
    font-size: 0.75rem;
    padding: 1rem;
    overflow-x: auto;
  }
  
  pre code {
    white-space: pre-wrap;
    word-break: break-word;
  }
}

/* Mobile Legal Pages */
@media (max-width: 768px) {
  .legal-content {
    padding: 1rem;
  }
  
  .legal-header h1 {
    font-size: 1.5rem;
  }
  
  .legal-toc {
    padding: 1rem;
  }
  
  .legal-toc ol {
    padding-left: 1rem;
  }
  
  .legal-section h2 {
    font-size: 1.25rem;
  }
  
  .legal-section h3 {
    font-size: 1.1rem;
  }
}

/* Mobile Creators Page */
@media (max-width: 768px) {
  .creator-grid,
  .creators-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .creator-card {
    padding: 1.25rem;
  }
  
  .creator-avatar {
    width: 60px;
    height: 60px;
  }
  
  .creator-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .creator-actions .btn {
    width: 100%;
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 0;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Mobile Modals */
@media (max-width: 768px) {
  .modal,
  .wallet-modal,
  .wallet-selection-modal {
    padding: 1rem;
    align-items: flex-end;
  }
  
  .modal-content,
  .wallet-modal-content,
  .wallet-modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }
  
  .modal-header,
  .wallet-modal-header {
    padding: 1.25rem;
  }
  
  .modal-body,
  .wallet-modal-body {
    padding: 1rem;
  }
  
  .wallet-option {
    padding: 1rem;
  }
}

/* Mobile Form Elements */
@media (max-width: 768px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.875rem 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile Scroll Improvements */
@media (max-width: 768px) {
  /* Smooth scrolling for all scrollable containers */
  .notification-list,
  .token-list,
  .activity-list,
  .leaderboard-table-wrapper {
    scroll-behavior: smooth;
  }
  
  /* Hide scrollbars on mobile for cleaner look */
  .notification-list::-webkit-scrollbar,
  .token-list::-webkit-scrollbar {
    display: none;
  }
}

/* Extra Small Devices (phones < 375px) */
@media (max-width: 375px) {
  .container {
    padding: 0.75rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .brand-text {
    display: none;
  }
  
  .nav a,
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .panel h2 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
  }
}

/* Landscape Phone Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 1.5rem 0;
  }
  
  .hero-visual {
    display: none;
  }
  
  .nav,
  .nav-links {
    padding: 1rem;
    gap: 0.25rem;
  }
  
  .nav a,
  .nav-links a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Safe area insets for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .site-footer,
  .modal-content,
  .wallet-modal-content {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  
  .notification-wrapper {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

/* ==============================================
   CAT PAW WALLET BUTTON & USER PROFILE STYLES
   ============================================== */

/* Cat Paw Connect Button */
.cat-paw-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931a 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cat-paw-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.cat-paw-btn:active {
  transform: translateY(0) scale(0.98);
}

.cat-paw-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cat-paw-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cat-paw-text {
  white-space: nowrap;
}

/* User Profile Wrapper (Connected State) */
.user-profile-wrapper {
  position: relative;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b35;
}

.user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.dropdown-arrow {
  font-size: 0.6rem;
  color: #888;
  transition: transform 0.2s;
}

.user-profile-btn:hover .dropdown-arrow {
  color: #fff;
}

/* User Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 200;
}

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

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.user-dropdown-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931a 100%);
  border-radius: 50%;
  color: #fff;
}

.user-dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}

.user-dropdown-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-address {
  font-size: 0.8rem;
  color: #888;
  font-family: monospace;
}

.user-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: #e5e5e5;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

.user-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.user-dropdown-item span:first-child {
  font-size: 1.1rem;
}

.user-dropdown-logout {
  color: #ef4444;
}

.user-dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Wallet Modal Updates */
.wallet-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 1rem;
}

.wallet-modal-overlay.show {
  opacity: 1;
}

.wallet-modal {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.wallet-modal-overlay.show .wallet-modal {
  transform: scale(1);
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.wallet-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b35;
}

.wallet-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.wallet-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.wallet-modal-close:hover {
  color: #fff;
}

.wallet-modal-body {
  padding: 1.5rem;
}

.wallet-modal-subtitle {
  color: #888;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  text-align: center;
}

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.wallet-option:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.15);
}

.wallet-option.detected {
  border-color: rgba(34, 197, 94, 0.3);
}

.wallet-option.detected:hover {
  border-color: rgba(34, 197, 94, 0.5);
}

.wallet-option.not-installed {
  opacity: 0.7;
}

.wallet-option.connecting {
  pointer-events: none;
  opacity: 0.8;
}

.wallet-option.error {
  border-color: rgba(239, 68, 68, 0.5);
}

.wallet-icon {
  font-size: 2rem;
  line-height: 1;
}

.wallet-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wallet-name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.wallet-status {
  font-size: 0.8rem;
  color: #888;
}

.wallet-status.wallet-error {
  color: #ef4444;
}

.wallet-option.detected .wallet-status {
  color: #22c55e;
}

.wallet-arrow {
  color: #888;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.wallet-option:hover .wallet-arrow {
  transform: translateX(3px);
  color: #fff;
}

.wallet-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff6b35;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.wallet-modal-footer {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

.wallet-modal-footer a {
  color: #ff6b35;
  text-decoration: none;
}

.wallet-modal-footer a:hover {
  text-decoration: underline;
}

/* Username Modal Styles */
.username-modal .wallet-modal-header {
  flex-direction: column;
  text-align: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.username-modal .wallet-modal-icon {
  margin-bottom: 0.25rem;
}

.username-input-wrapper {
  display: flex;
  align-items: center;
  background: #222;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 1rem;
  transition: border-color 0.2s;
}

.username-input-wrapper:focus-within {
  border-color: #ff6b35;
}

.username-prefix {
  color: #888;
  font-size: 1.1rem;
  font-weight: 500;
}

.username-input {
  flex: 1;
  background: none;
  border: none;
  padding: 1rem 0.5rem;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
}

.username-input::placeholder {
  color: #555;
}

.username-rules {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

.username-error {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #ef4444;
  text-align: center;
  display: none;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

.btn-full:first-of-type {
  margin-top: 1.25rem;
}

/* Mobile Responsive for Cat Paw Button */
@media (max-width: 768px) {
  .cat-paw-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .cat-paw-text {
    display: none;
  }
  
  .cat-paw-btn {
    padding: 0.6rem;
    border-radius: 50%;
  }
  
  .user-profile-btn {
    padding: 0.4rem 0.75rem;
  }
  
  .user-name {
    max-width: 100px;
  }
  
  .user-dropdown {
    right: -1rem;
    min-width: 220px;
  }
  
  .wallet-modal {
    max-width: 100%;
    border-radius: 16px;
  }
}
