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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0e1424;
  --bg-tertiary: #121828;
  --bg-card: #1a1f35;
  --bg-card-hover: #222840;
  --bg-input: rgba(255, 255, 255, 0.06);
  --bg-input-focus: rgba(255, 255, 255, 0.1);
  --bg-hover: rgba(255, 255, 255, 0.08);
  --text-primary: #e8edf5;
  --text-secondary: #a0a8c0;
  --text-muted: #6b7294;
  --accent: #00d4aa;
  --accent-hover: #00f0c0;
  --accent-glow: rgba(0, 212, 170, 0.25);
  --blue: #4dabf7;
  --purple: #9775fa;
  --green: #51cf66;
  --red: #ff6b6b;
  --yellow: #fcc419;
  --orange: #ff922b;
  --gold: #ffd43b;
  --discord: #5865F2;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 170, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 4px 20px rgba(0, 212, 170, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: var(--accent); color: var(--bg-primary); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ─── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10, 14, 26, 0.9); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none;}
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo-text {
  font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link.active { color: var(--accent); background: rgba(0, 212, 170, 0.1); }

/* ─── Auth Button in Nav ───────────────────────────────────── */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-auth-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  text-decoration: none;
}
.btn-auth-login:hover { background: #4752C4; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3); }
.btn-auth-login i { font-size: 16px; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-user:hover { background: var(--bg-hover); border-color: var(--accent); }
.nav-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--accent); object-fit: cover;
}
.nav-user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.nav-user-tokens {
  font-size: 11px; font-weight: 700; color: var(--gold);
  padding: 2px 8px; background: rgba(255, 212, 59, 0.1);
  border-radius: 99px; border: 1px solid rgba(255, 212, 59, 0.2);
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 28px;
  border: none; border-radius: var(--radius-xs);
  font-size: 14px; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #00b894);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0, 212, 170, 0.35); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--text-muted); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-hover); }
.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}
.btn-discord:hover { background: #4752C4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ─── Community Section ────────────────────────────────────── */
.community-section { padding: 100px 0; position: relative; }
.community-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

/* Card base */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.community-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.community-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.community-card:hover::before { opacity: 1; }

/* Banner - 150px giống template */
.community-card-banner {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #1a1a24;
}
.community-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.community-card-body {
  padding: 0 18px 18px;
  position: relative;
}

/* Avatar - circular, overlap banner */
.community-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #0a0a0c;
  overflow: hidden;
  margin-top: -30px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  background: var(--bg-tertiary);
  flex-shrink: 0;
}
.community-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-card-icon i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
}

/* Badge Sponsored */
.community-card-badge {
  display: inline-block;
  padding: 2px 10px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-left: 4px;
}

/* Name */
.community-card-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tagline */
.community-card-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Members row */
.community-card-members {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 12px;
}
.community-card-members span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.community-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.community-dot.online {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.6);
}
.community-dot.member {
  background: #9ca3af;
}

/* Footer */
.community-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.community-card-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.community-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  text-decoration: none;
}
.community-join-btn:hover {
  background: #4752C4;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(88,101,242,0.3);
}

/* Skeleton loading */
.community-card.skeleton .community-card-banner {
  height: 150px;
  background: rgba(255,255,255,0.03);
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.community-card.skeleton .community-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  margin-top: -30px;
  margin-bottom: 8px;
  border: 3px solid rgba(255,255,255,0.03);
}
.community-card.skeleton .community-card-body {
  padding: 0 18px 18px;
}
.community-card.skeleton .skeleton-line {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.community-card.skeleton .skeleton-line:last-child { margin-bottom: 0; }

/* ─── RPC Preview Marquee ──────────────────────────────────── */
.rpc-preview-section {
  padding: 100px 0;
  position: relative;
}
.rpc-preview-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Marquee wrap */
.rpc-marquee-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rpc-marquee {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 440px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(transparent 0%, black 14%, black 86%, transparent 100%);
}

/* Marquee track — continuous scroll */
.rpc-marquee-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  animation: rpcMarqueeDown 24s linear infinite;
  will-change: transform;
}

.rpc-marquee-track > * {
  margin-bottom: 16px;
}

@keyframes rpcMarqueeDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Pause on hover */
.rpc-marquee:hover .rpc-marquee-track {
  animation-play-state: paused;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

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

/* ─── Entrance Animations ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* Reveal classes — applied by JS or inline */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-down  { transform: translateY(-30px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.85); }

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Hero-specific entrance — runs once on page load via animation */
.hero-badge {
  animation: fadeInDown 0.6s ease forwards;
}
.hero-title {
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.15s forwards;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.3s forwards;
}
.hero-actions {
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.45s forwards;
}
.hero-visual {
  opacity: 0;
  animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

/* ─── Home Page ────────────────────────────────────────────── */
.home-page {
  overflow-x: hidden;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 20%, rgba(77, 171, 247, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(151, 117, 250, 0.05) 0%, transparent 50%);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(3deg); }
}
.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
}

/* ─── Card Cascade 3D — Cả 3 lòi ra như sách trên kệ ─── */
.cascade-stack {
  position: relative;
  width: 460px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 55% 50%;
}

.cascade-item {
  position: absolute;
  top: 50%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  width: 260px;
  height: auto;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              filter 0.3s ease;
}
.cascade-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* ─── G1: Trái — lòi ra bên trái ─── */
.cascade-item.g1 {
  left: 0%;
  transform: translateY(-50%) rotateY(12deg) translateZ(-20px) scale(0.88);
  z-index: 1;
  filter: brightness(0.65) saturate(0.55);
  box-shadow: 
    rgba(0, 0, 0, 0.5) 6px 10px 30px -8px,
    rgba(77, 171, 247, 0.06) 0px 0px 0px 1px inset;
  border: 2px solid rgba(77, 171, 247, 0.1);
}

/* ─── G2: Giữa — lòi ra vừa phải ─── */
.cascade-item.g2 {
  left: 26%;
  transform: translateY(-50%) rotateY(7deg) translateZ(0) scale(0.94);
  z-index: 2;
  filter: brightness(0.85) saturate(0.8);
  box-shadow: 
    rgba(0, 0, 0, 0.5) 4px 8px 28px -8px,
    rgba(151, 117, 250, 0.06) 0px 0px 0px 1px inset;
  border: 2px solid rgba(151, 117, 250, 0.12);
}

/* ─── G3: Phải — nổi bật nhất ─── */
.cascade-item.g3 {
  left: 48%;
  transform: translateY(calc(-50% - 6px)) rotateY(2deg) translateZ(10px) scale(1);
  z-index: 3;
  filter: brightness(1) saturate(1);
  box-shadow: 
    rgba(0, 0, 0, 0.5) 2px 10px 35px -8px,
    rgba(0, 212, 170, 0.08) 0px 0px 0px 1px inset,
    0 0 25px rgba(0, 212, 170, 0.06);
  border: 2px solid rgba(0, 212, 170, 0.2);
}
.cascade-item.g3::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
}

/* ─── Hiệu ứng gáy sách 3D ─── */
.cascade-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.03) 40%,
    rgba(0,0,0,0.08) 60%,
    rgba(0,0,0,0.2) 100%);
  border-radius: 0 20px 20px 0;
  transform: rotateY(-85deg);
  transform-origin: right center;
  opacity: 0.7;
}

/* ─── Hover vào stack ─── */
.cascade-stack:hover .cascade-item.g3 {
  filter: brightness(1.06) saturate(1.06);
  box-shadow: 
    rgba(0, 0, 0, 0.5) 2px 10px 35px -8px,
    rgba(0, 212, 170, 0.12) 0px 0px 0px 1px inset,
    0 0 40px rgba(0, 212, 170, 0.1);
}
.cascade-stack:hover .cascade-item.g1 {
  filter: brightness(0.55) saturate(0.45);
}
.cascade-stack:hover .cascade-item.g2 {
  filter: brightness(0.75) saturate(0.7);
}

/* ─── Hover item — rút sách ra, lòi thêm về bên trái ─── */
.cascade-item.g1:hover {
  z-index: 20 !important;
  filter: brightness(1.2) saturate(1.2) !important;
  transform: 
    translateX(-4%) 
    translateY(-52%) 
    rotateY(-2deg) 
    translateZ(40px)
    scale(1.05);
  border-color: var(--accent) !important;
  box-shadow: 
    rgba(0, 0, 0, 0.5) -10px 16px 50px -6px,
    rgba(0, 212, 170, 0.3) 0px 0px 0px 1px inset,
    0 0 50px rgba(0, 212, 170, 0.25);
}

.cascade-item.g2:hover {
  z-index: 20 !important;
  filter: brightness(1.25) saturate(1.2) !important;
  transform: 
    translateX(22%) 
    translateY(-52%) 
    rotateY(-3deg) 
    translateZ(50px)
    scale(1.08);
  border-color: var(--accent) !important;
  box-shadow: 
    rgba(0, 0, 0, 0.5) -12px 18px 55px -6px,
    rgba(0, 212, 170, 0.35) 0px 0px 0px 1px inset,
    0 0 60px rgba(0, 212, 170, 0.3);
}

.cascade-item.g3:hover {
  z-index: 20 !important;
  filter: brightness(1.3) saturate(1.25) !important;
  transform: 
    translateX(48%) 
    translateY(calc(-52% - 6px)) 
    rotateY(-4deg) 
    translateZ(60px)
    scale(1.1);
  border-color: var(--accent) !important;
  box-shadow: 
    rgba(0, 0, 0, 0.5) -14px 20px 60px -6px,
    rgba(0, 212, 170, 0.4) 0px 0px 0px 1px inset,
    0 0 70px rgba(0, 212, 170, 0.35);
}

/* Non-hovered items khi có 1 item đang hover */
.cascade-stack:has(.cascade-item:hover) .cascade-item:not(:hover) {
  filter: brightness(0.2) saturate(0.1) blur(3px) !important;
}

/* Sections */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-title span { background: linear-gradient(135deg, var(--accent), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Features */
.features-section { padding: 100px 0; position: relative; }
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-icon.cyan { background: rgba(0, 212, 170, 0.15); color: var(--accent); }
.feature-icon.blue { background: rgba(77, 171, 247, 0.15); color: var(--blue); }
.feature-icon.purple { background: rgba(151, 117, 250, 0.15); color: var(--purple); }
.feature-icon.green { background: rgba(81, 207, 102, 0.15); color: var(--green); }
.feature-icon.orange { background: rgba(255, 146, 43, 0.15); color: var(--orange); }
.feature-icon.gold { background: rgba(255, 212, 59, 0.15); color: var(--gold); }
.feature-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Stats */
.stats-section {
  padding: 80px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

/* How It Works */
.how-section { padding: 100px 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.how-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.how-number {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--bg-primary);
}
.how-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.how-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-top: 12px; }
.footer-heading { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(0, 212, 170, 0.1); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── DONATE Floating Button ────────────────────────────────── */
.donate-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(238, 90, 36, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.donate-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(238, 90, 36, 0.55);
}
.donate-btn:active {
  transform: translateY(-1px) scale(0.98);
}
.donate-btn i {
  font-size: 16px;
  animation: donatePulse 1.5s ease-in-out infinite;
}
@keyframes donatePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ─── DONATE Modal Overlay ──────────────────────────────────── */
.donate-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.donate-overlay.active {
  opacity: 1;
  visibility: visible;
}

.donate-modal {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.donate-overlay.active .donate-modal {
  transform: scale(1) translateY(0);
}

.donate-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}
.donate-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.donate-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.donate-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(238, 90, 36, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ff6b6b;
  border: 2px solid rgba(255, 107, 107, 0.2);
}
.donate-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.donate-modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.donate-modal-subtitle code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--accent);
}

.donate-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donate-qr-wrapper {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.donate-qr-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.donate-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.donate-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.donate-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.donate-account {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--mono);
}

.donate-modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.donate-thanks {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 480px) {
  .donate-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 12px;
  }
  .donate-btn span {
    display: none;
  }
  .donate-modal {
    padding: 28px 20px 24px;
  }
  .donate-qr-wrapper {
    width: 180px;
    height: 180px;
  }
}

/* ─── App Page ─────────────────────────────────────────────── */
.app-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  gap: 12px;
  flex-shrink: 0;
}
.app-titlebar-left { display: flex; align-items: center; gap: 10px; }
.app-titlebar-logo { width: 24px; height: 24px; border-radius: 6px; }
.app-titlebar-text {
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.app-titlebar-right { display: flex; align-items: center; gap: 10px; }

.conn-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 600;
  background: var(--bg-input); color: var(--text-muted);
  border: 1px solid var(--border);
}
.conn-badge.connected { color: var(--green); border-color: rgba(81, 207, 102, 0.3); }
.conn-badge.disconnected { color: var(--red); border-color: rgba(255, 107, 107, 0.3); }
.conn-badge .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.conn-badge.connected .dot { background: var(--green); }
.conn-badge.disconnected .dot { background: var(--red); }

/* Auth Overlay */
.auth-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.auth-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.auth-card {
  text-align: center;
  max-width: 420px;
  width: 90%;
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: authSlideUp 0.6s ease;
}
@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; }
.auth-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.auth-title span { background: linear-gradient(135deg, var(--accent), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.6; }
.auth-features { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; text-align: left; }
.auth-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.auth-feature i { color: var(--accent); font-size: 16px; width: 20px; }
.auth-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%;
  padding: 14px 24px;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
  margin-top: 12px;
}
.auth-btn:hover { background: #4752C4; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4); }

/* ─── App Layout ───────────────────────────────────────────── */
.app-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  flex: 1;
  overflow: hidden;
}
.panel {
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}
.panel-left { background: rgba(10, 14, 26, 0.4); border-right: 1px solid var(--border); }
.panel-right { background: var(--bg-primary); }

/* User Bar in App */
.user-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.user-bar-left { display: flex; align-items: center; gap: 10px; }
.user-bar-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--accent); object-fit: cover; }
.user-bar-name { font-size: 13px; font-weight: 600; }
.user-bar-tokens { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--gold); }

/* Boost Section */
.boost-section {
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 212, 59, 0.06), rgba(255, 146, 43, 0.03));
  border: 1px solid rgba(255, 212, 59, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.boost-title { font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.boost-desc { font-size: 11px; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.5; }
.boost-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 600;
}
.boost-status.active { background: rgba(81, 207, 102, 0.12); color: var(--green); border: 1px solid rgba(81, 207, 102, 0.25); }
.boost-status.inactive { background: rgba(255, 107, 107, 0.12); color: var(--red); border: 1px solid rgba(255, 107, 107, 0.25); }
.boost-check-btn {
  padding: 6px 14px; font-size: 11px; font-weight: 600;
  background: rgba(255, 212, 59, 0.1); color: var(--gold);
  border: 1px solid rgba(255, 212, 59, 0.2);
  border-radius: var(--radius-xs);
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
  margin-top: 6px;
}
.boost-check-btn:hover { background: rgba(255, 212, 59, 0.2); }

/* Time */
.time-display {
  text-align: center;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.time-value {
  font-size: 36px; font-weight: 700; font-family: var(--mono);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.date-value {
  display: block; font-size: 12px; color: var(--text-muted);
  margin-top: 2px; font-weight: 500;
}

/* Sections */
.section { margin-bottom: 12px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.section-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.section-label svg { opacity: 0.5; }
.row-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-section .col { min-width: 0; }
.row-section .section-label { margin-bottom: 4px; }
.hidden { display: none !important; }

/* Inputs */
.input {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); }
.input::placeholder { color: var(--text-muted); }
.select-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='%236b7294' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7294' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}
.select-input option { background: var(--bg-tertiary); color: var(--text-primary); }
.input-group { display: flex; gap: 6px; }
.input-group .input { flex: 1; min-width: 0; }

/* Icon Button */
.btn-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.btn-icon:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--accent); }

.btn-sm {
  padding: 5px 12px; font-size: 11px; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-xs);
  background: var(--bg-input); color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
}
.btn-sm:hover { background: var(--bg-hover); color: var(--accent); border-color: var(--accent); }

/* RPC Table */
.rpc-table { display: flex; flex-direction: column; gap: 6px; }
.rpc-row { display: flex; align-items: center; gap: 8px; }
.rpc-label { font-size: 11px; color: var(--text-secondary); min-width: 105px; flex-shrink: 0; font-weight: 500; }
.rpc-row .input { flex: 1; }

/* Buttons Container */
.button-entry {
  display: flex; gap: 6px; align-items: center;
  margin-bottom: 6px; animation: slideIn 0.2s ease;
}
.button-entry input {
  padding: 6px 10px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-xs);
  color: var(--text-primary); font-size: 12px; font-family: var(--font);
  outline: none; flex: 1; min-width: 0; transition: border-color 0.2s;
}
.button-entry input:focus { border-color: var(--accent); }
.btn-remove {
  width: 26px; height: 26px; border: none; border-radius: var(--radius-xs);
  background: transparent; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.btn-remove:hover { background: rgba(255, 107, 107, 0.15); color: var(--red); }

/* Image List */
.image-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; max-height: 140px; overflow-y: auto; }
.image-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px; background: var(--bg-input);
  border-radius: var(--radius-xs); animation: slideIn 0.2s ease;
}
.image-item img {
  width: 26px; height: 26px; border-radius: 4px;
  object-fit: cover; border: 1px solid var(--border);
}
.image-item .image-url {
  flex: 1; font-size: 10px; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono);
}
.badge { font-size: 10px; padding: 2px 8px; border-radius: 99px; background: var(--bg-input); color: var(--text-muted); font-weight: 600; }

/* Preview */
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
  transition: border-color 0.3s;
}
.preview-card:hover { border-color: var(--accent); }
.preview-header { text-align: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.preview-time { font-size: 22px; font-weight: 700; font-family: var(--mono); color: var(--accent); }
.preview-date { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.preview-body { display: flex; gap: 10px; align-items: flex-start; }
.preview-app-icon { flex-shrink: 0; }
.preview-info { flex: 1; min-width: 0; }
.preview-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.preview-details { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-state { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-time-small { font-size: 10px; color: var(--text-muted); margin-top: 4px; font-family: var(--mono); }

/* Logs */
.log-container {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs); padding: 10px;
  min-height: 120px; max-height: 200px; overflow-y: auto;
  font-family: var(--mono); font-size: 11px; line-height: 1.6;
}
.log-empty { color: var(--text-muted); text-align: center; padding: 20px; font-family: var(--font); }
.log-entry { padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,0.03); word-break: break-all; }
.log-entry:last-child { border-bottom: none; }
.log-info { color: var(--text-secondary); }
.log-success { color: var(--accent); }
.log-error { color: var(--red); }
.log-warn { color: var(--yellow); }

/* Actions */
.actions-row { display: flex; gap: 10px; margin-bottom: 12px; }

/* Multi-RPC */
.multi-box {
  padding: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.06), rgba(77, 171, 247, 0.03));
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-xs);
  margin-top: 10px;
}
.multi-title { font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.multi-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }

/* App Footer */
.app-footer {
  flex-shrink: 0;
  height: 52px;
  display: flex; align-items: center;
  padding: 0 20px;
  background: rgba(10, 14, 26, 0.5);
  border-top: 1px solid var(--border);
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.app-footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.app-footer a:hover { color: var(--accent); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Animations */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 860px) {
  .app-layout { grid-template-columns: 1fr; }
  .panel-left { max-height: 50vh; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
}
