/*
Theme Name: Nodezvia - Crypto & Finance WordPress Theme
Theme URI: https://nodezvia.com
Author: Nodezvia Team
Author URI: https://nodezvia.com
Description: High-performance, mobile-first, luxury crypto & fintech WordPress theme with real-time deposit/withdrawal toast notifications, interactive market ticker, and floating WhatsApp support.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nodezvia
Tags: finance, cryptocurrency, fintech, dark-theme, responsive-layout, custom-menu, translation-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ========================================================================== */
:root {
  --nv-bg-dark: #07130e;
  --nv-bg-surface: #0b1a14;
  --nv-bg-card: #0e271e;
  --nv-bg-elevated: #164233;
  --nv-border: rgba(189, 227, 205, 0.12);
  --nv-border-glow: rgba(0, 245, 155, 0.3);
  --nv-border-gold: rgba(199, 160, 78, 0.35);
  --nv-text-primary: #fbfcf8;
  --nv-text-secondary: #c5d3c9;
  --nv-text-muted: #859a8e;
  --nv-emerald: #0e3b2e;
  --nv-emerald-light: #1a6b4d;
  --nv-mint: #00f59b;
  --nv-mint-soft: #bde3cd;
  --nv-gold: #c7a04e;
  --nv-gold-light: #e0bd74;
  --nv-success: #00f59b;
  --nv-danger: #ff5252;
  --nv-font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nv-font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nv-font-accent: "Instrument Serif", Georgia, serif;
  --nv-font-mono: "IBM Plex Mono", Consolas, Menlo, monospace;
  --nv-container: 1240px;
  --nv-section-pad: clamp(70px, 8vw, 130px);
  --nv-radius-sm: 8px;
  --nv-radius-md: 16px;
  --nv-radius-lg: 24px;
  --nv-radius-full: 9999px;
  --nv-glass-bg: rgba(11, 26, 20, 0.78);
  --nv-glass-blur: blur(16px);
  --nv-glass-border: 1px solid rgba(189, 227, 205, 0.14);
  --nv-shadow-glow: 0 0 35px rgba(0, 245, 155, 0.15);
  --nv-shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  --nv-transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--nv-bg-dark);
  color: var(--nv-text-primary);
  font-family: var(--nv-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--nv-mint); color: var(--nv-bg-dark); }
:focus-visible { outline: 2px solid var(--nv-mint); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nv-font-display); color: var(--nv-text-primary); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p { color: var(--nv-text-secondary); margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: var(--nv-transition); }
img, svg { display: block; max-width: 100%; height: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sr-only:focus { position: fixed; top: 20px; left: 20px; z-index: 9999; width: auto; height: auto; padding: 12px 24px; background: var(--nv-mint); color: var(--nv-bg-dark); font-weight: 700; border-radius: var(--nv-radius-full); clip: auto; }

/* Ambient glow layers */
.nv-ambient-glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.nv-glow-circle-1 { position: absolute; top: -15%; right: -10%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(0,245,155,0.12) 0%, rgba(14,59,46,0.05) 50%, transparent 70%); filter: blur(60px); }
.nv-glow-circle-2 { position: absolute; top: 40%; left: -15%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(199,160,78,0.09) 0%, rgba(14,39,30,0.04) 50%, transparent 70%); filter: blur(70px); }
.nv-grid-mesh { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(to right, rgba(189,227,205,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(189,227,205,0.03) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 40%, transparent 90%); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.nv-container { width: 100%; max-width: var(--nv-container); margin-left: auto; margin-right: auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); position: relative; z-index: 1; }
.nv-section { padding-top: var(--nv-section-pad); padding-bottom: var(--nv-section-pad); position: relative; z-index: 1; }
.nv-section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }

.nv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(0,245,155,0.1); border: 1px solid rgba(0,245,155,0.25); border-radius: var(--nv-radius-full); font-family: var(--nv-font-mono); font-size: 0.82rem; font-weight: 600; color: var(--nv-mint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.nv-badge.gold { background: rgba(199,160,78,0.12); border-color: var(--nv-border-gold); color: var(--nv-gold-light); }
.nv-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nv-mint); box-shadow: 0 0 8px var(--nv-mint); animation: pulse-dot 2s infinite ease-in-out; }
.nv-section-title { margin-bottom: 18px; }
.nv-highlight { background: linear-gradient(135deg, #00f59b 0%, #bde3cd 50%, #c7a04e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.nv-section-subtitle { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--nv-text-secondary); line-height: 1.6; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; font-family: var(--nv-font-display); font-size: 0.95rem;
  font-weight: 600; border-radius: var(--nv-radius-full); cursor: pointer;
  border: 1px solid transparent; transition: var(--nv-transition); text-align: center;
  position: relative; overflow: hidden; white-space: nowrap; line-height: 1.2; box-sizing: border-box;
}
.nv-hero-btns, .nv-cta-btns, .nv-btn-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nv-cta-btns { justify-content: center; }
.nv-btn-primary { background: linear-gradient(135deg, #00f59b 0%, #00d284 100%); color: #051a12; box-shadow: 0 4px 20px rgba(0,245,155,0.35); }
.nv-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,245,155,0.5); background: linear-gradient(135deg, #22ffab 0%, #00e08d 100%); }
.nv-btn-secondary { background: rgba(189,227,205,0.06); border-color: rgba(189,227,205,0.18); color: var(--nv-text-primary); backdrop-filter: blur(10px); }
.nv-btn-secondary:hover { background: rgba(189,227,205,0.14); border-color: var(--nv-mint); color: var(--nv-mint); transform: translateY(-2px); }
.nv-btn-gold { background: linear-gradient(135deg, #c7a04e 0%, #e0bd74 100%); color: #07130e; box-shadow: 0 4px 20px rgba(199,160,78,0.35); }
.nv-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(199,160,78,0.5); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.nv-card { background: var(--nv-bg-surface); border: var(--nv-glass-border); border-radius: var(--nv-radius-md); padding: clamp(24px, 3vw, 36px); box-shadow: var(--nv-shadow-card); transition: var(--nv-transition); position: relative; overflow: hidden; }
.nv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,245,155,0.4), transparent); opacity: 0; transition: var(--nv-transition); }
.nv-card:hover { border-color: rgba(0,245,155,0.3); transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 25px rgba(0,245,155,0.08); }
.nv-card:hover::before { opacity: 1; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nv-nav-wrapper { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; display: flex; justify-content: center; padding: 0 16px; }
.nv-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(11,26,20,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(189,227,205,0.16); border-radius: var(--nv-radius-full); padding: 8px 12px 8px 24px; box-shadow: 0 12px 36px rgba(0,0,0,0.45); width: 100%; max-width: 980px; }
.nv-nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--nv-font-display); font-size: 1.25rem; font-weight: 800; color: var(--nv-text-primary); letter-spacing: -0.03em; }
.nv-nav-logo-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #00f59b 0%, #0e3b2e 100%); display: flex; align-items: center; justify-content: center; color: #051a12; font-weight: 900; }
.nv-nav-links { display: none; align-items: center; gap: 28px; list-style: none; }
@media (min-width: 860px) { .nv-nav-links { display: flex; } }
.nv-nav-link { font-size: 0.92rem; font-weight: 500; color: var(--nv-text-secondary); position: relative; padding: 6px 0; }
.nv-nav-link:hover, .nv-nav-link.active { color: var(--nv-mint); }
.nv-nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--nv-mint); transition: width 0.25s ease; border-radius: 2px; }
.nv-nav-link:hover::after, .nv-nav-link.active::after { width: 100%; }
.nv-nav-actions { display: flex; align-items: center; gap: 12px; }
.nv-nav-cta,
.nv-desktop-only { display: none !important; }
@media (min-width: 860px) {
  .nv-nav-cta,
  .nv-desktop-only { display: inline-flex !important; padding: 10px 22px; font-size: 0.88rem; }
}
.nv-mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(189,227,205,0.08); border: 1px solid rgba(189,227,205,0.15); color: var(--nv-text-primary); cursor: pointer; }
@media (min-width: 860px) { .nv-mobile-toggle { display: none !important; } }

/* Mobile Drawer */
.nv-mobile-menu { position: fixed; inset: 0; background: rgba(7,19,14,0.97); backdrop-filter: blur(24px); z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 40px 24px; opacity: 0; pointer-events: none; transform: translateY(-15px); transition: all 0.35s ease; }
.nv-mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nv-mobile-nav-link { font-family: var(--nv-font-display); font-size: 1.5rem; font-weight: 600; color: var(--nv-text-primary); }
.nv-mobile-nav-link:hover { color: var(--nv-mint); }
.nv-mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--nv-text-secondary); font-size: 2rem; cursor: pointer; }

/* ==========================================================================
   HERO
   ========================================================================== */
.nv-hero { padding-top: clamp(140px, 16vw, 190px); padding-bottom: clamp(60px, 9vw, 110px); position: relative; }
.nv-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .nv-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.nv-hero-badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.nv-hero-headline { margin-bottom: 24px; letter-spacing: -0.03em; }
.nv-hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--nv-text-secondary); margin-bottom: 36px; max-width: 580px; line-height: 1.6; }
.nv-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 40px; }
.nv-hero-security-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(189,227,205,0.12); }
.nv-security-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--nv-text-muted); }
.nv-security-item svg { color: var(--nv-mint); }

/* Hero Terminal */
.nv-hero-terminal { background: linear-gradient(160deg, rgba(14,39,30,0.95) 0%, rgba(7,19,14,0.98) 100%); border: 1px solid rgba(0,245,155,0.25); border-radius: var(--nv-radius-lg); padding: 28px; box-shadow: var(--nv-shadow-card), 0 0 50px rgba(0,245,155,0.12); }
.nv-terminal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(189,227,205,0.1); }
.nv-terminal-title { font-size: 0.9rem; font-family: var(--nv-font-mono); color: var(--nv-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.nv-terminal-status { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-family: var(--nv-font-mono); color: var(--nv-mint); }
.nv-balance-display { margin-bottom: 24px; }
.nv-balance-label { font-size: 0.82rem; color: var(--nv-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.nv-balance-amt { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; font-family: var(--nv-font-display); color: var(--nv-text-primary); margin: 4px 0 6px; }
.nv-balance-change { display: inline-flex; align-items: center; gap: 4px; font-size: 0.88rem; color: var(--nv-mint); font-weight: 600; }
.nv-terminal-assets-list { display: flex; flex-direction: column; gap: 10px; }
.nv-asset-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: rgba(189,227,205,0.04); border: 1px solid rgba(189,227,205,0.08); border-radius: var(--nv-radius-sm); transition: var(--nv-transition); }
.nv-asset-row:hover { background: rgba(189,227,205,0.08); border-color: rgba(0,245,155,0.25); transform: translateX(4px); }
.nv-asset-info { display: flex; align-items: center; gap: 12px; }
.nv-coin-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.nv-coin-icon.btc { background: #f7931a; color: #fff; }
.nv-coin-icon.eth { background: #627eea; color: #fff; }
.nv-coin-icon.sol { background: #14f195; color: #000; }
.nv-coin-icon.usdt { background: #26a17b; color: #fff; }
.nv-asset-name { font-weight: 600; font-size: 0.95rem; }
.nv-asset-sym { font-size: 0.78rem; color: var(--nv-text-muted); }
.nv-asset-numbers { text-align: right; }
.nv-asset-price { font-weight: 700; font-family: var(--nv-font-mono); font-size: 0.95rem; }
.nv-asset-chg { font-size: 0.8rem; font-family: var(--nv-font-mono); font-weight: 600; }
.nv-asset-chg.up { color: var(--nv-mint); }
.nv-asset-chg.down { color: var(--nv-danger); }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.nv-stats-strip { background: rgba(11,26,20,0.6); border-top: 1px solid rgba(189,227,205,0.1); border-bottom: 1px solid rgba(189,227,205,0.1); padding: 40px 0; }
.nv-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 768px) { .nv-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.nv-stat-card { text-align: center; }
.nv-stat-val { font-family: var(--nv-font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--nv-mint); line-height: 1; margin-bottom: 8px; }
.nv-stat-label { font-size: 0.88rem; color: var(--nv-text-secondary); max-width: 180px; margin: 0 auto; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.nv-services-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .nv-services-grid { grid-template-columns: repeat(3, 1fr); } }
.nv-service-card { display: flex; flex-direction: column; justify-content: space-between; }
.nv-service-num { font-family: var(--nv-font-mono); font-size: 0.85rem; color: var(--nv-mint); font-weight: 700; margin-bottom: 16px; }
.nv-service-icon-box { width: 52px; height: 52px; border-radius: var(--nv-radius-md); background: rgba(0,245,155,0.1); border: 1px solid rgba(0,245,155,0.25); display: flex; align-items: center; justify-content: center; color: var(--nv-mint); margin-bottom: 24px; }
.nv-service-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.nv-chips-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(189,227,205,0.1); }
.nv-chip { font-size: 0.78rem; padding: 4px 10px; background: rgba(189,227,205,0.05); border: 1px solid rgba(189,227,205,0.12); border-radius: var(--nv-radius-full); color: var(--nv-text-secondary); }

/* ==========================================================================
   WHY US
   ========================================================================== */
.nv-why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .nv-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nv-why-grid { grid-template-columns: repeat(4, 1fr); } }
.nv-why-card { background: rgba(14,39,30,0.5); }
.nv-why-num { font-family: var(--nv-font-mono); font-size: 1.8rem; font-weight: 800; color: rgba(189,227,205,0.15); margin-bottom: 16px; transition: var(--nv-transition); }
.nv-why-card:hover .nv-why-num { color: var(--nv-mint); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.nv-steps-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 860px) { .nv-steps-grid { grid-template-columns: repeat(3, 1fr); } }
.nv-step-badge { display: inline-block; font-family: var(--nv-font-mono); font-size: 0.8rem; padding: 4px 12px; background: rgba(199,160,78,0.15); border: 1px solid var(--nv-border-gold); border-radius: var(--nv-radius-full); color: var(--nv-gold-light); margin-bottom: 16px; font-weight: 700; }
.nv-step-time { font-size: 0.82rem; color: var(--nv-text-muted); margin-top: 16px; font-family: var(--nv-font-mono); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.nv-testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 860px) { .nv-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.nv-quote { font-size: 1.05rem; font-style: italic; color: var(--nv-text-secondary); line-height: 1.7; margin-bottom: 24px; }
.nv-author-row { display: flex; align-items: center; gap: 14px; }
.nv-author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #0e3b2e 0%, #00f59b 100%); color: #051a12; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.nv-author-name { font-weight: 700; font-size: 0.98rem; color: var(--nv-text-primary); }
.nv-author-role { font-size: 0.82rem; color: var(--nv-text-muted); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.nv-cta-banner { background: linear-gradient(135deg, rgba(14,59,46,0.9) 0%, rgba(7,19,14,0.95) 100%); border: 1px solid rgba(0,245,155,0.35); border-radius: var(--nv-radius-lg); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 50px rgba(0,245,155,0.15); }
.nv-cta-banner h2 { margin-bottom: 18px; }
.nv-cta-banner p { max-width: 600px; margin: 0 auto 36px; font-size: 1.15rem; }
.nv-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   STICKY TICKER
   ========================================================================== */
.nv-ticker-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: rgba(7,19,14,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(189,227,205,0.15); height: 42px; display: flex; align-items: center; overflow: hidden; }
.nv-ticker-track { display: flex; align-items: center; gap: 32px; white-space: nowrap; animation: ticker-slide 38s linear infinite; will-change: transform; }
.nv-ticker-track:hover { animation-play-state: paused; }
.nv-ticker-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--nv-font-mono); font-size: 0.82rem; }
.nv-ticker-sym { font-weight: 700; color: var(--nv-text-primary); }
.nv-ticker-price { color: var(--nv-text-secondary); }
.nv-ticker-chg { font-weight: 600; padding: 1px 6px; border-radius: 4px; font-size: 0.75rem; }
.nv-ticker-chg.up { color: var(--nv-mint); background: rgba(0,245,155,0.1); }
.nv-ticker-chg.down { color: var(--nv-danger); background: rgba(255,82,82,0.1); }

/* ==========================================================================
   LIVE DEPOSIT & WITHDRAWAL TOAST (BOTTOM-LEFT)
   ========================================================================== */
.nv-toast-container { position: fixed; bottom: 56px; left: 20px; z-index: 950; pointer-events: none; }
.nv-tx-toast { pointer-events: auto; width: 330px; max-width: calc(100vw - 40px); background: rgba(11,26,20,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(0,245,155,0.28); border-radius: var(--nv-radius-md); padding: 14px 16px; box-shadow: 0 16px 36px rgba(0,0,0,0.55), 0 0 25px rgba(0,245,155,0.14); display: flex; align-items: center; gap: 12px; transform: translateY(30px) scale(0.95); opacity: 0; transition: all 0.4s cubic-bezier(0.22,1,0.36,1); position: relative; }
.nv-tx-toast.active { transform: translateY(0) scale(1); opacity: 1; }
.nv-tx-toast.deposit { border-color: rgba(0,245,155,0.35); }
.nv-tx-toast.withdrawal { border-color: rgba(199,160,78,0.4); }
.nv-tx-badge-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.nv-tx-badge-icon.deposit { background: rgba(0,245,155,0.15); color: var(--nv-mint); border: 1px solid rgba(0,245,155,0.4); }
.nv-tx-badge-icon.withdrawal { background: rgba(199,160,78,0.15); color: var(--nv-gold-light); border: 1px solid var(--nv-border-gold); }
.nv-tx-content { flex: 1; min-width: 0; }
.nv-tx-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.nv-tx-name { font-size: 0.88rem; font-weight: 700; color: var(--nv-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-tx-time { font-size: 0.72rem; color: var(--nv-text-muted); font-family: var(--nv-font-mono); }
.nv-tx-action { font-size: 0.82rem; color: var(--nv-text-secondary); }
.nv-tx-amt { font-weight: 700; font-family: var(--nv-font-mono); }
.nv-tx-toast.deposit .nv-tx-amt { color: var(--nv-mint); }
.nv-tx-toast.withdrawal .nv-tx-amt { color: var(--nv-gold-light); }
.nv-tx-close { background: none; border: none; color: var(--nv-text-muted); cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: color 0.2s; }
.nv-tx-close:hover { color: var(--nv-text-primary); }

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (BOTTOM-RIGHT)
   ========================================================================== */
.nv-whatsapp-floating { position: fixed; bottom: 56px; right: 20px; z-index: 950; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nv-whatsapp-btn { width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #ffffff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37,211,102,0.45); position: relative; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
.nv-whatsapp-btn svg { width: 32px; height: 32px; fill: currentColor; }
.nv-whatsapp-pulse { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25d366; opacity: 0.8; animation: pulse-ring 2.2s cubic-bezier(0.215,0.61,0.355,1) infinite; pointer-events: none; }
.nv-whatsapp-tooltip { background: rgba(11,26,20,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(37,211,102,0.3); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 6px 14px; border-radius: var(--nv-radius-full); white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,0.4); pointer-events: none; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; }
.nv-whatsapp-floating:hover .nv-whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.nv-whatsapp-floating:hover .nv-whatsapp-btn { transform: scale(1.08); box-shadow: 0 14px 30px rgba(37,211,102,0.6); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nv-footer { background: rgba(4,12,9,0.98); border-top: 1px solid rgba(189,227,205,0.1); padding: clamp(50px, 7vw, 80px) 0 80px; position: relative; z-index: 1; }
.nv-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .nv-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.nv-footer-col h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--nv-mint); margin-bottom: 20px; }
.nv-footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.nv-footer-links a { font-size: 0.9rem; color: var(--nv-text-muted); }
.nv-footer-links a:hover { color: var(--nv-mint); }
.nv-footer-bottom { padding-top: 32px; border-top: 1px solid rgba(189,227,205,0.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.85rem; color: var(--nv-text-muted); }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.nv-legal-card { padding: clamp(32px, 5vw, 60px); }
.nv-legal-hero { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid rgba(189,227,205,0.12); }
.nv-legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 12px; letter-spacing: -0.03em; }
.nv-legal-meta { font-family: var(--nv-font-mono); font-size: 0.82rem; color: var(--nv-text-muted); margin: 0; }
.nv-legal-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--nv-mint); margin-top: 36px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(0,245,155,0.1); letter-spacing: -0.01em; }
.nv-legal-body p { font-size: 0.98rem; color: var(--nv-text-secondary); line-height: 1.8; margin-bottom: 16px; }
.nv-legal-body ul { padding-left: 20px; margin-bottom: 20px; }
.nv-legal-body li { font-size: 0.98rem; color: var(--nv-text-secondary); line-height: 1.75; margin-bottom: 8px; }
.nv-legal-body li::marker { color: var(--nv-mint); }
.nv-legal-body a { color: var(--nv-mint); text-decoration: underline; text-underline-offset: 3px; }
.nv-risk-alert { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; background: rgba(199,160,78,0.1); border: 1px solid var(--nv-border-gold); border-radius: var(--nv-radius-md); margin-bottom: 36px; color: var(--nv-gold-light); }
.nv-risk-alert svg { flex-shrink: 0; margin-top: 2px; }
.nv-risk-alert strong { display: block; font-size: 1rem; font-weight: 700; color: var(--nv-gold-light); margin-bottom: 6px; }
.nv-risk-alert p { font-size: 0.92rem; color: rgba(224,189,116,0.85); margin: 0; line-height: 1.6; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes ticker-slide { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-50%,0,0); } }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }
@keyframes pulse-ring { 0% { transform: scale(0.95); opacity: 0.8; } 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }

/* ==========================================================================
   MOBILE POLISH
   ========================================================================== */
@media (max-width: 768px) {
  .nv-toast-container { left: 12px; right: 12px; bottom: 50px; }
  .nv-tx-toast { width: 100%; }
  .nv-whatsapp-floating { right: 12px; bottom: 50px; }
  .nv-whatsapp-tooltip { display: none; }

  /* Uniform same-size, single-line buttons on mobile with generous spacing */
  .nv-hero-btns, .nv-cta-btns, .nv-btn-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 16px !important;
  }
  .nv-hero-btns .nv-btn, .nv-cta-btns .nv-btn, .nv-btn-group .nv-btn {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .nv-cta-btns .nv-btn + .nv-btn,
  .nv-hero-btns .nv-btn + .nv-btn {
    margin-top: 4px;
  }
}
