@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #252542;
  --accent-cyan: #7cba0a;
  --accent-pink: #ff3366;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: #27272a;
  --glow-cyan: 0 0 20px rgba(124, 186, 10, 0.3);
  --glow-pink: 0 0 20px rgba(255, 51, 102, 0.3);
  --transition: all 0.3s ease;
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 186, 10, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
  background: rgba(124, 186, 10, 0.1);
  box-shadow: var(--glow-cyan);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.navbar-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-bcc {
  color: var(--text-primary);
}

.logo-nitro {
  color: var(--accent-cyan);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--accent-cyan);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Nav Dropdown Panels */
.nav-dropdown-root {
  position: static;
}

.navbar-link .nav-caret {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-dropdown-root:hover .navbar-link .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0a0a0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease 0.25s,
              visibility 0s 0.25s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 999;
  padding: 100px 0;
}

.nav-dropdown-root:hover .nav-dropdown-panel,
.nav-dropdown-panel:hover {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease 0s,
              visibility 0s 0s;
}

.nav-dropdown-root:hover .navbar-link::after {
  width: 100%;
}

.nav-dropdown-inner {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.nav-dropdown-visual {
  flex: 0 0 40%;
  border-radius: 12px;
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.nav-dropdown-visual i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  opacity: 0.9;
}

.nav-dropdown-visual p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 240px;
  line-height: 1.6;
  font-weight: 500;
}

.nav-dropdown-items {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.nav-dropdown-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.nav-dropdown-item:hover {
  background: rgba(124, 186, 10, 0.08);
  border-color: rgba(124, 186, 10, 0.2);
}

.nav-dropdown-item i {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.nav-dropdown-item-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.nav-dropdown-item-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.wallet-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.wallet-dropdown-toggle:hover {
  border-color: var(--accent-cyan);
  background: rgba(124, 186, 10, 0.05);
}

.wallet-dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.wallet-dropdown:hover .wallet-dropdown-toggle i {
  transform: rotate(180deg);
}

.wallet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

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

.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.wallet-option:hover {
  background: rgba(124, 186, 10, 0.1);
}

.wallet-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.navbar-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 40px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 60px;
}

.hero-content {
  flex: 1;
  text-align: left;
  max-width: 700px;
}

.hero-partners {
  flex: 0 0 auto;
  text-align: right;
}

.hero-partners h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.partners-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.partner-item {
  display: block;
  text-align: right;
  transition: var(--transition);
}

.partner-item:hover {
  opacity: 0.8;
}

.partner-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: transparent;
  margin-bottom: 8px;
}

.partner-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(124, 186, 10, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Hide video on mobile */
@media (max-width: 768px) {
  .hero-video-bg {
    display: none;
  }
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(124, 186, 10, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 186, 10, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 186, 10, 0.1);
  border: 1px solid rgba(124, 186, 10, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 6.4rem;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 550px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  margin-top: 60px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.features {
  background: var(--bg-secondary);
}

.features::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.65);
  pointer-events: none;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.1), rgba(255, 51, 102, 0.1));
  border-radius: 16px;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(124, 186, 10, 0.5));
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stats {
  background: var(--bg-primary);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(124, 186, 10, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.how-it-works {
  background: var(--bg-secondary);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
  color: var(--bg-primary);
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
}

.step-content:hover {
  border-color: var(--accent-cyan);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.security {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.security::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.security-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.security-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
}

.security-feature-icon i {
  font-size: 1.75rem;
  color: var(--accent-green);
}

.security-feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.security-feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-shield {
  width: 300px;
  height: 350px;
  position: relative;
}

.shield-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.1), rgba(255, 51, 102, 0.1));
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  animation: pulse-glow 3s infinite;
}

.shield-icon i {
  font-size: 8rem;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 15px rgba(124, 186, 10, 0.7));
}

.cta {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 0% 50%, rgba(124, 186, 10, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-logo .logo-bcc {
  color: var(--text-primary);
}

.footer-logo .logo-nitro {
  color: var(--accent-cyan);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 1.125rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-link:hover {
  color: var(--accent-cyan);
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(124, 186, 10, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(124, 186, 10, 0.6);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.slide-up {
  animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    padding: 96px 24px 40px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                visibility 0s 0.4s;
    overflow-y: auto;
    z-index: 999;
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                visibility 0s 0s;
  }

  .navbar-menu > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-menu > li:last-child {
    border-bottom: none;
  }

  .navbar-toggle {
    display: flex;
    z-index: 1000;
    position: relative;
  }

  .navbar-actions {
    display: none;
  }

  body.menu-open .navbar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    bottom: 24px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    background: rgba(10, 10, 15, 0.97);
  }

  body.menu-open .navbar-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }

  body.menu-open .wallet-dropdown {
    width: 100%;
  }

  body.menu-open .wallet-dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  body.menu-open .wallet-dropdown-menu {
    position: absolute;
    bottom: 100%;
    top: auto;
    left: 0;
    right: 0;
    margin-bottom: 8px;
  }

  .navbar-link {
    position: relative;
    display: block;
    padding: 10px 32px 10px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-link .nav-caret {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero-partners {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .partners-list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .partner-item {
    display: block;
    text-align: center;
  }

  .partner-logo {
    width: 80px;
    height: 80px;
  }

  .hero-buttons {
    flex-direction: column;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 4rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .security-visual {
    order: -1;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .feature-card {
  padding: 32px 20px;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(124, 186, 10, 0.1);
}

/* Feature Card Hover Effects */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 20px 40px rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
}

/* Mobile Menu Toggle Animation */
.navbar-toggle {
  transition: transform 0.3s ease;
}

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

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Menu Open State */
body.menu-open {
  overflow: hidden;
}

/* Section Stagger Animation Delays */
.section:nth-child(1) .feature-card { transition-delay: 0s; }
.section:nth-child(2) .feature-card { transition-delay: 0.1s; }
.section:nth-child(3) .feature-card { transition-delay: 0.2s; }
.section:nth-child(4) .feature-card { transition-delay: 0.3s; }

/* Stats Counter */
.stat-value {
  display: inline-block;
}

/* Markets Section */
.markets {
  background: var(--bg-secondary);
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
}

.market-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.market-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.market-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.market-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.market-change {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.market-change.positive {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.15);
}

.market-change.negative {
  color: var(--accent-pink);
  background: rgba(255, 51, 102, 0.15);
}

/* Expandable Search Bar */
.search-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4px;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.search-bar.active {
  width: 250px;
  opacity: 1;
  padding-right: 8px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  min-width: 180px;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--accent-pink);
}

/* Animated Support Chat Bubble */
.chat-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(124, 186, 10, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.chat-bubble:hover {
  transform: scale(1.05);
}

.chat-bubble i {
  font-size: 1.5rem;
}

.chat-text {
  white-space: nowrap;
}

.chat-bubble.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Chat Window */
.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.chat-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.chat-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-close:hover {
  color: var(--accent-pink);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.message {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.message.system {
  background: rgba(124, 186, 10, 0.1);
  color: var(--text-primary);
  align-self: flex-start;
  max-width: 80%;
}

.message.options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: transparent;
  padding: 0;
}

.message.options button {
  padding: 8px 16px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.message.options button:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.chat-input input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
}

.chat-input input:focus {
  border-color: var(--accent-cyan);
}

.chat-input input::placeholder {
  color: var(--text-muted);
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: none;
  color: var(--bg-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-input button:hover {
  background: var(--accent-purple);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .search-container {
    top: 90px;
    right: 10px;
  }

  .search-bar.active {
    width: 180px;
  }

  .chat-container {
    bottom: 20px;
    right: 20px;
  }

  .chat-bubble {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .chat-bubble i {
    font-size: 1.25rem;
  }

  .chat-window {
    width: calc(100vw - 40px);
    right: 0;
    bottom: 70px;
  }
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(124, 186, 10, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 51, 102, 0.08) 0%, transparent 50%),
    var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(124, 186, 10, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 186, 10, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.login-container {
  width: 100%;
  max-width: 480px;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.login-logo .logo-bcc {
  color: var(--text-primary);
}

.login-logo .logo-nitro {
  color: var(--accent-cyan);
}

.login-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.login-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}

.login-tab {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.login-tab.active {
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  color: var(--bg-primary);
}

.login-tab:hover:not(.active) {
  color: var(--text-primary);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.login-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.login-input::placeholder {
  color: var(--text-muted);
}

.login-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(124, 186, 10, 0.1);
}

.login-input:hover:not(:focus) {
  border-color: rgba(124, 186, 10, 0.3);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
}

.remember-me input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.forgot-password {
  color: var(--accent-cyan);
  font-weight: 500;
  transition: var(--transition);
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124, 186, 10, 0.5);
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:active {
  transform: translateY(0);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

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

.login-divider span {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.login-footer {
  text-align: center;
  margin-top: 28px;
}

.login-footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.login-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
}

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

.login-back {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  z-index: 10;
}

.login-back:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.login-back i {
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .login-page {
    padding: 20px 16px;
  }

  .login-container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .login-header {
    margin-bottom: 24px;
  }

  .login-logo {
    font-size: 1.5rem;
  }

  .login-tabs {
    margin-bottom: 24px;
  }

  .login-tab {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .login-form {
    gap: 16px;
  }

  .login-input {
    padding: 12px 16px;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .login-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .login-back {
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

:root {
  --sidebar-width: 260px;
  --header-height: 70px;
}

body.dashboard-body {
  background: var(--bg-primary);
  min-height: 100vh;
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* Dashboard Header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.dashboard-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dashboard-header-logo .logo-bcc {
  color: var(--text-primary);
}

.dashboard-header-logo .logo-nitro {
  color: var(--accent-cyan);
}

.dashboard-header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dashboard-header-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.dashboard-header-link:hover,
.dashboard-header-link.active {
  color: var(--accent-cyan);
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search {
  position: relative;
}

.header-search input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 16px 10px 40px;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 220px;
  outline: none;
  transition: var(--transition);
}

.header-search input:focus {
  border-color: var(--accent-cyan);
  width: 280px;
}

.header-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.header-notifications {
  position: relative;
  cursor: pointer;
}

.header-notifications i {
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.header-notifications:hover i {
  color: var(--accent-cyan);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--accent-pink);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  transition: var(--transition);
}

.user-profile:hover {
  background: var(--bg-card);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-email {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.user-dropdown-icon {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

.user-profile:hover .user-dropdown-icon {
  color: var(--accent-cyan);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 101;
}

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

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.user-dropdown-item:hover {
  background: rgba(124, 186, 10, 0.1);
  color: var(--accent-cyan);
}

.user-dropdown-item i {
  font-size: 1.1rem;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header-height);
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 24px 16px;
  overflow-y: auto;
  z-index: 50;
}

.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.15), rgba(255, 51, 102, 0.1));
  color: var(--accent-cyan);
  border: 1px solid rgba(124, 186, 10, 0.2);
}

.sidebar-link i {
  font-size: 1.2rem;
}

.sidebar-link .link-indicator {
  margin-left: auto;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 30px;
  background: var(--bg-primary);
  min-height: calc(100vh - var(--header-height));
}

.dashboard-welcome {
  margin-bottom: 30px;
}

.welcome-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

.welcome-subtitle span {
  color: var(--accent-cyan);
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.quick-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
}

.quick-stat-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.quick-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quick-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.quick-stat-icon.cyan {
  background: rgba(124, 186, 10, 0.15);
  color: var(--accent-cyan);
}

.quick-stat-icon.pink {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.quick-stat-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.quick-stat-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.quick-stat-change {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.quick-stat-change.positive {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.quick-stat-change.negative {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.quick-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.quick-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
}

.dashboard-card:hover {
  border-color: rgba(124, 186, 10, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-action {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition);
}

.card-action:hover {
  text-decoration: underline;
}

/* Portfolio Card */
.portfolio-balance {
  margin-bottom: 24px;
}

.balance-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.balance-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.balance-value .currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.balance-change {
  font-size: 0.95rem;
  color: var(--accent-green);
  margin-top: 8px;
}

.balance-change.negative {
  color: var(--accent-pink);
}

.portfolio-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breakdown-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breakdown-right {
  text-align: right;
}

.breakdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.breakdown-icon.bitcoin {
  background: linear-gradient(135deg, #f7931a, #ffc107);
  color: #fff;
}

.breakdown-icon.ethereum {
  background: linear-gradient(135deg, #627eea, #8c9eff);
  color: #fff;
}

.breakdown-icon.solana {
  background: linear-gradient(135deg, #9945ff, #14f195);
  color: #fff;
}

.breakdown-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.breakdown-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Quick Actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.quick-action-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(124, 186, 10, 0.05);
  transform: translateY(-2px);
}

.quick-action-btn i {
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.quick-action-btn span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Transactions Table */
.transactions-table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.transactions-table td {
  padding: 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.transactions-table tr:last-child td {
  border-bottom: none;
}

.transactions-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.transaction-type {
  display: flex;
  align-items: center;
  gap: 10px;
}

.transaction-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.transaction-icon.deposit {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.transaction-icon.withdraw {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.transaction-icon.swap {
  background: rgba(124, 186, 10, 0.15);
  color: var(--accent-cyan);
}

.transaction-icon.trade {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.transaction-amount {
  font-family: var(--font-display);
  font-weight: 600;
}

.transaction-amount.positive {
  color: var(--accent-green);
}

.transaction-amount.negative {
  color: var(--accent-pink);
}

.transaction-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.transaction-status.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

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

.transaction-status i {
  font-size: 0.7rem;
}

/* Markets Watchlist */
.markets-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.market-item:hover {
  background: var(--bg-card-hover);
}

.market-pair {
  display: flex;
  align-items: center;
  gap: 12px;
}

.market-pair-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.market-pair-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-pair-name {
  display: flex;
  flex-direction: column;
}

.market-pair-name .pair {
  font-weight: 600;
  color: var(--text-primary);
}

.market-pair-name .name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.market-pair-price {
  text-align: right;
}

.market-pair-price .price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.market-pair-price .change {
  font-size: 0.85rem;
  font-weight: 500;
}

.market-pair-price .change.positive {
  color: var(--accent-green);
}

.market-pair-price .change.negative {
  color: var(--accent-pink);
}

/* Bots Status */
.bots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bot-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition);
}

.bot-card:hover {
  border-color: var(--accent-cyan);
}

.bot-card.running {
  border-color: rgba(16, 185, 129, 0.3);
}

.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bot-icon.dca {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.2), rgba(255, 51, 102, 0.2));
  color: var(--accent-cyan);
}

.bot-icon.grid {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 186, 10, 0.2));
  color: var(--accent-purple);
}

.bot-icon.martingale {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(245, 158, 11, 0.2));
  color: var(--accent-pink);
}

.bot-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.bot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bot-status.running {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.bot-status.stopped {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.bot-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.bot-stats {
  display: flex;
  gap: 20px;
}

.bot-stat {
  display: flex;
  flex-direction: column;
}

.bot-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bot-stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.bot-stat-value.positive {
  color: var(--accent-green);
}

/* Dashboard Footer */
.dashboard-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 24px 30px;
  text-align: center;
  margin-left: var(--sidebar-width);
}

.dashboard-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dashboard Responsive Styles */
@media (max-width: 1200px) {
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .dashboard-header {
    padding: 0 16px;
  }

  .dashboard-header-nav {
    display: none;
  }

  .header-search {
    display: none;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .bots-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-footer {
    margin-left: 0;
  }
}

.sidebar.mobile-hidden {
  transform: translateX(-100%);
}

.sidebar.mobile-visible {
  transform: translateX(0);
  display: block;
}

.sidebar-mobile-toggle {
  transition: transform 0.3s ease;
}

.sidebar-mobile-toggle:active {
  transform: scale(0.95);
}

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

.quick-action-btn.clicked {
  transform: scale(0.95);
}

/* View Toggle */
.main-content {
  display: none;
}

.main-content.active {
  display: block;
}

.view-portfolio {
  display: none;
}

.view-portfolio.active {
  display: block;
}

/* Asset Table */
.asset-table th:last-child,
.asset-table td:last-child {
  text-align: right;
}

.asset-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.asset-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.asset-btn.add {
  color: var(--accent-green);
}

.asset-btn.add:hover {
  background: rgba(16, 185, 129, 0.15);
}

.asset-btn.remove {
  color: var(--accent-pink);
}

.asset-btn.remove:hover {
  background: rgba(255, 51, 102, 0.15);
}

.asset-btn i {
  font-size: 1.1rem;
}

/* Allocation Chart */
.allocation-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.pie-chart-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--bg-secondary);
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.pie-chart-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pie-chart-inner::after {
  content: 'Portfolio';
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.allocation-legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.legend-label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legend-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

/* Trading View */
.view-trading {
  display: none;
}

.view-trading.active {
  display: block;
}

.trading-interface {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}

.trading-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.trading-pair-selector {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.pair-selector-from,
.pair-selector-to {
  flex: 1;
}

.pair-selector-from label,
.pair-selector-to label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pair-selector {
  position: relative;
}

.pair-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.pair-selected:hover {
  border-color: var(--accent-cyan);
}

.pair-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.pair-icon.btc {
  background: linear-gradient(135deg, #f7931a, #ffc107);
  color: #fff;
}

.pair-icon.eth {
  background: linear-gradient(135deg, #627eea, #8c9eff);
  color: #fff;
}

.pair-icon.sol {
  background: linear-gradient(135deg, #9945ff, #14f195);
  color: #fff;
}

.pair-icon.xrp {
  background: linear-gradient(135deg, #23292f, #00aae4);
  color: #fff;
}

.pair-icon.doge {
  background: linear-gradient(135deg, #c2a633, #ebc963);
  color: #fff;
}

.pair-icon.usdt {
  background: linear-gradient(135deg, #26a17b, #2ecc71);
  color: #fff;
}

.pair-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
}

.pair-selected i {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.pair-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
}

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

.pair-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.pair-option:hover {
  background: rgba(124, 186, 10, 0.1);
  color: var(--text-primary);
}

.pair-option.selected {
  background: rgba(124, 186, 10, 0.15);
  color: var(--accent-cyan);
}

.pair-swap-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 8px;
}

.pair-swap-btn:hover {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
}

.pair-swap-btn i {
  color: var(--accent-cyan);
  font-size: 1rem;
}

.current-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-width: 140px;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.order-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 4px;
}

.order-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.order-tab:hover {
  color: var(--text-primary);
}

.order-tab.active {
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  color: var(--bg-primary);
}

.order-tab i {
  font-size: 1rem;
}

.buy-sell-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 4px;
}

.buy-sell-toggle .toggle-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.buy-sell-toggle .toggle-btn.active {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.buy-sell-toggle .toggle-btn:last-child.active {
  background: var(--accent-pink);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-form .form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-with-suffix {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.input-with-suffix:focus-within {
  border-color: var(--accent-cyan);
}

.input-with-suffix input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.input-with-suffix input::placeholder {
  color: var(--text-muted);
}

.input-suffix {
  padding: 14px 16px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 1px solid var(--border-color);
}

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

.percent-btn {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.percent-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.order-summary {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row span:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.submit-order-btn {
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.submit-order-btn.buy-btn {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.submit-order-btn.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.submit-order-btn.sell-btn {
  background: linear-gradient(135deg, var(--accent-pink), #dc2626);
  color: white;
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.submit-order-btn.sell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
}

.orders-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.orders-table th,
.orders-table td {
  padding: 12px 16px;
}

.order-pair {
  font-weight: 600;
  color: var(--text-primary);
}

.order-type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-type-badge.spot {
  background: rgba(124, 186, 10, 0.15);
  color: var(--accent-cyan);
}

.order-type-badge.limit {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.order-type-badge.margin {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.order-side {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-side.buy {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.order-side.sell {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.cancel-order-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.cancel-order-btn:hover {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-status.filled {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.order-status.cancelled {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.history-filter select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.history-filter select:focus {
  border-color: var(--accent-cyan);
}

.no-orders {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-muted);
}

.no-orders i {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.no-orders p {
  font-size: 0.9rem;
}

.asset-actions {
  display: flex;
  gap: 8px;
}

.asset-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.asset-btn.add:hover {
  color: var(--accent-green);
}

.asset-btn.remove:hover {
  color: var(--accent-pink);
}

.asset-table th:first-child,
.asset-table td:first-child {
  text-align: left;
}

.asset-table th:last-child,
.asset-table td:last-child {
  text-align: right;
}

@media (max-width: 1200px) {
  .trading-interface {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .trading-pair-selector {
    flex-wrap: wrap;
  }

  .current-price {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
  }

  .order-type-tabs {
    flex-direction: column;
  }

  .quick-percent-btns {
    flex-wrap: wrap;
  }

  .percent-btn {
    flex: 1 1 calc(50% - 4px);
  }
}

/* View visibility */
.main-content {
  display: none;
}

.main-content.active {
  display: block;
}

/* Bots View Styles */
.view-bots {
  display: none;
}

.view-bots.active {
  display: block;
}

.create-bot-section {
  margin-bottom: 24px;
}

.create-bot-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.15), rgba(255, 51, 102, 0.1));
  border: 1px solid rgba(124, 186, 10, 0.3);
  border-radius: 12px;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.create-bot-btn:hover {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.25), rgba(255, 51, 102, 0.2));
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.create-bot-btn i {
  font-size: 1.3rem;
}

.bots-detail-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}

.bots-list-panel {
  height: fit-content;
}

.bots-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.bots-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bot-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.bot-list-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(124, 186, 10, 0.3);
}

.bot-list-item.active {
  background: rgba(124, 186, 10, 0.08);
  border-color: var(--accent-cyan);
}

.bot-list-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.bot-list-icon.dca {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.2), rgba(255, 51, 102, 0.2));
  color: var(--accent-cyan);
}

.bot-list-icon.grid {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 186, 10, 0.2));
  color: var(--accent-purple);
}

.bot-list-icon.martingale {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(245, 158, 11, 0.2));
  color: var(--accent-pink);
}

.bot-list-icon.arbitrage {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(124, 186, 10, 0.2));
  color: var(--accent-green);
}

.bot-list-info {
  flex: 1;
}

.bot-list-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.bot-list-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bot-list-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.bot-list-status.running {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.bot-list-status.stopped {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.bot-list-status.error {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.bot-details-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bot-actions {
  display: flex;
  gap: 8px;
}

.bot-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bot-action-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.bot-action-btn.delete:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.bot-details-content {
  padding: 0 8px;
}

.bot-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.bot-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.bot-detail-icon.dca {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.2), rgba(255, 51, 102, 0.2));
  color: var(--accent-cyan);
}

.bot-detail-icon.grid {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 186, 10, 0.2));
  color: var(--accent-purple);
}

.bot-detail-icon.martingale {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(245, 158, 11, 0.2));
  color: var(--accent-pink);
}

.bot-detail-info {
  flex: 1;
}

.bot-detail-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bot-detail-type {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bot-detail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
}

.bot-detail-status.running {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.bot-detail-status.stopped {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.bot-detail-status.error {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.bot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bot-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

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

.metric-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-value.positive {
  color: var(--accent-green);
}

.bot-config {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.config-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
}

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

.config-value {
  color: var(--text-primary);
  font-weight: 500;
}

.bot-logs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
}

.log-entry {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border-left: 3px solid;
}

.log-entry.info {
  border-left-color: var(--accent-cyan);
}

.log-entry.success {
  border-left-color: var(--accent-green);
}

.log-entry.warning {
  border-left-color: #f59e0b;
}

.log-entry.error {
  border-left-color: var(--accent-pink);
}

.log-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.log-message {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Modal Styles */
.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: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

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

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

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 51, 102, 0.2);
  color: var(--accent-pink);
}

.modal-body {
  padding: 24px;
}

.bot-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bot-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.bot-type-option:hover {
  border-color: var(--accent-cyan);
  background: rgba(124, 186, 10, 0.05);
}

.bot-type-option.selected {
  border-color: var(--accent-cyan);
  background: rgba(124, 186, 10, 0.1);
}

.bot-type-option i {
  font-size: 2rem;
  color: var(--accent-cyan);
}

.bot-type-option span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.create-bot-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.create-bot-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.create-bot-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.create-bot-form input,
.create-bot-form select {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.create-bot-form input:focus,
.create-bot-form select:focus {
  border-color: var(--accent-cyan);
}

.create-bot-form select {
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.modal-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.modal-btn.cancel {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.modal-btn.cancel:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.modal-btn.create {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  color: white;
}

.modal-btn.create:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

/* Responsive */
@media (max-width: 1200px) {
  .bots-detail-grid {
    grid-template-columns: 1fr;
  }

  .bot-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bots-filter {
    flex-wrap: wrap;
  }

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

  .bot-type-selector {
    grid-template-columns: 1fr;
  }
}

/* Wallet View */
.view-wallet {
  display: none;
}

.view-wallet.active {
  display: block;
}

.wallet-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.wallet-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.wallet-action-btn:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.wallet-action-btn i {
  font-size: 1.3rem;
}

.wallet-action-btn.deposit-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.wallet-action-btn.withdraw-btn:hover {
  background: rgba(255, 51, 102, 0.1);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.wallet-action-btn.transfer-btn:hover {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.wallet-network-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.network-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.network-tab:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.network-tab.active {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.network-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.network-icon.btc {
  background: linear-gradient(135deg, #f7931a, #ffc107);
  color: white;
}

.network-icon.eth {
  background: linear-gradient(135deg, #627eea, #8c9eff);
  color: white;
}

.network-icon.sol {
  background: linear-gradient(135deg, #9945ff, #14f195);
  color: white;
}

.network-icon.xrp {
  background: linear-gradient(135deg, #23292f, #00aae4);
  color: white;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.wallet-assets-card {
  max-height: 500px;
  overflow: hidden;
}

.wallet-search {
  position: relative;
  display: flex;
  align-items: center;
}

.wallet-search i {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.wallet-search input {
  padding: 8px 12px 8px 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 180px;
  outline: none;
  transition: var(--transition);
}

.wallet-search input:focus {
  border-color: var(--accent-cyan);
  width: 220px;
}

.wallet-assets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.wallet-asset-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.wallet-asset-item:hover {
  background: var(--bg-card-hover);
}

.wallet-asset-item.active {
  background: rgba(124, 186, 10, 0.1);
  border: 1px solid rgba(124, 186, 10, 0.3);
}

.asset-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.asset-icon.bitcoin {
  background: linear-gradient(135deg, #f7931a, #ffc107);
  color: white;
}

.asset-icon.ethereum {
  background: linear-gradient(135deg, #627eea, #8c9eff);
  color: white;
}

.asset-icon.solana {
  background: linear-gradient(135deg, #9945ff, #14f195);
  color: white;
}

.asset-info {
  flex: 1;
}

.asset-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.asset-balance {
  text-align: right;
}

.asset-amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.asset-value {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.asset-change {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.asset-change.positive {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.asset-change.negative {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
}

.wallet-panel-content {
  padding: 0;
}

.wallet-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.wallet-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.wallet-tab:hover {
  color: var(--text-primary);
}

.wallet-tab.active {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.wallet-section {
  display: none;
}

.wallet-section.active {
  display: block;
}

.deposit-network-selector {
  margin-bottom: 20px;
}

.deposit-network-selector label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.network-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.network-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.network-option:hover {
  border-color: var(--accent-cyan);
}

.network-option.selected {
  background: rgba(124, 186, 10, 0.1);
  border-color: var(--accent-cyan);
}

.deposit-address-display {
  margin-bottom: 20px;
}

.deposit-address-display label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.address-box code {
  flex: 1;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  word-break: break-all;
}

.copy-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.copy-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  color: var(--accent-green);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.copy-success.show {
  opacity: 1;
  transform: translateY(0);
}

.deposit-qr {
  text-align: center;
  margin-bottom: 20px;
}

.deposit-qr label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.qr-code {
  display: inline-block;
  padding: 16px;
  background: white;
  border-radius: 12px;
  margin-bottom: 8px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(90deg, #000 25%, transparent 25%, transparent 75%, #000 75%),
    linear-gradient(#000 25%, transparent 25%, transparent 75%, #000 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.qr-pattern {
  width: 100px;
  height: 100px;
  background: 
    repeating-linear-gradient(0deg, #000 0px, #000 8px, white 8px, white 16px),
    repeating-linear-gradient(90deg, #000 0px, #000 8px, white 8px, white 16px);
  border: 8px solid white;
}

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

.deposit-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
}

.deposit-warning i {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 2px;
}

.deposit-warning span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.withdraw-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.withdraw-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.withdraw-form input,
.withdraw-form select {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.withdraw-form input:focus,
.withdraw-form select:focus {
  border-color: var(--accent-cyan);
}

.withdraw-balance {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.withdraw-balance span {
  color: var(--accent-cyan);
  font-weight: 500;
}

.fee-display {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
}

.fee-display span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.fee-usd {
  color: var(--text-muted);
}

.withdraw-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-pink), #ff6699);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.withdraw-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-pink);
}

.wallet-tx-filter select {
  padding: 8px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
}

.wallet-tx-table {
  margin-top: 0;
}

.network-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.network-badge.bitcoin {
  background: rgba(247, 147, 26, 0.15);
  color: #f7931a;
}

.network-badge.ethereum {
  background: rgba(98, 126, 234, 0.15);
  color: #627eea;
}

.network-badge.solana {
  background: rgba(153, 69, 255, 0.15);
  color: #9945ff;
}

.network-badge.ripple {
  background: rgba(0, 170, 228, 0.15);
  color: #00aae4;
}

.tx-address {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Airdrops View */
.view-airdrops {
  display: none;
}

.view-airdrops.active {
  display: block;
}

.airdrop-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.airdrop-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.airdrop-filter-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.airdrop-filter-btn.active {
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.15), rgba(255, 51, 102, 0.1));
  border-color: rgba(124, 186, 10, 0.3);
  color: var(--accent-cyan);
}

.airdrops-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}

.airdrops-list-card {
  max-height: 600px;
  overflow: hidden;
}

.airdrops-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
}

.airdrops-list::-webkit-scrollbar {
  width: 6px;
}

.airdrops-list::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 3px;
}

.airdrops-list::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 3px;
}

.airdrop-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.airdrop-item:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.airdrop-item.active {
  border-color: var(--accent-cyan);
  background: rgba(124, 186, 10, 0.08);
}

.airdrop-icon-wrap {
  flex-shrink: 0;
}

.airdrop-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.airdrop-info {
  flex: 1;
  min-width: 0;
}

.airdrop-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.airdrop-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.airdrop-eligibility {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.airdrop-eligibility.eligible {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.airdrop-eligibility.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.airdrop-eligibility.claimed {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.airdrop-amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

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

.airdrop-claim-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  border: none;
  border-radius: 10px;
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.airdrop-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.airdrop-claim-btn.pending {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: not-allowed;
}

.airdrop-claim-btn.pending:hover {
  transform: none;
  box-shadow: none;
}

.airdrop-claim-btn.claimed {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: default;
}

.airdrop-details-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.airdrop-details-content {
  padding: 20px 0;
}

.airdrop-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.airdrop-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.airdrop-detail-info {
  flex: 1;
}

.airdrop-detail-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

.airdrop-detail-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.airdrop-detail-status.eligible {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.airdrop-detail-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.airdrop-detail-status.claimed {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.airdrop-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.airdrop-metric {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
}

.airdrop-metric .metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.airdrop-metric .metric-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.airdrop-metric .metric-value.positive {
  color: var(--accent-green);
}

.airdrop-description {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.airdrop-description h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.airdrop-description ul {
  list-style: none;
  padding: 0;
}

.airdrop-description li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.airdrop-description li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.airdrop-claim-main-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  border: none;
  border-radius: 12px;
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.airdrop-claim-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 186, 10, 0.5);
}

.airdrop-claim-main-btn i {
  font-size: 1.2rem;
}

.airdrop-details-actions {
  display: flex;
  gap: 8px;
}

.airdrop-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.airdrop-action-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.distribution-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
}

.distribution-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: var(--transition);
}

.distribution-item:hover {
  background: var(--bg-card-hover);
}

.distribution-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.distribution-icon i {
  font-size: 1.2rem;
}

.distribution-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.distribution-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

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

.distribution-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.distribution-amount .amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.distribution-amount .value {
  font-size: 0.8rem;
  color: var(--accent-green);
}

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

@media (max-width: 768px) {
  .wallet-actions {
    flex-direction: column;
  }

  .wallet-network-tabs {
    flex-wrap: nowrap;
  }

  .network-tab span:not(.network-icon) {
    display: none;
  }

  .wallet-assets-list {
    max-height: 300px;
  }

  .wallet-asset-item {
    padding: 12px;
  }

  .asset-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Transactions View */
.view-transactions {
  display: none;
}

.view-transactions.active {
  display: block;
}

.transaction-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.transaction-filters .search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.transaction-filters .search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.transaction-filters .search-box input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.filter-group {
  display: flex;
  gap: 10px;
}

.filter-select {
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
}

.export-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background: linear-gradient(135deg, var(--accent-cyan)30, var(--accent-pink)30);
}

.transactions-table-card {
  overflow: hidden;
}

.transactions-table-wrapper {
  overflow-x: auto;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.transactions-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.transactions-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.tx-row {
  transition: background 0.2s ease;
  cursor: pointer;
}

.tx-row:hover {
  background: var(--bg-card-hover);
}

.tx-row.active {
  background: linear-gradient(90deg, var(--accent-cyan)10, transparent);
}

.tx-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.type-badge.buy {
  background: var(--accent-green)20;
  color: var(--accent-green);
}

.type-badge.sell {
  background: var(--accent-pink)20;
  color: var(--accent-pink);
}

.type-badge.deposit {
  background: var(--accent-cyan)20;
  color: var(--accent-cyan);
}

.type-badge.withdrawal {
  background: #ff990020;
  color: #ff9900;
}

.type-badge.transfer {
  background: #a855f720;
  color: #a855f7;
}

.asset-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.asset-cell .asset-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.asset-icon.btc { background: #f7931a30; color: #f7931a; }
.asset-icon.eth { background: #627eea30; color: #627eea; }
.asset-icon.usdt { background: #26a17b30; color: #26a17b; }
.asset-icon.sol { background: #9945ff30; color: #9945ff; }
.asset-icon.xrp { background: #23292f30; color: #fff; }

.tx-amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

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

.status-badge {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.completed {
  background: var(--accent-green)20;
  color: var(--accent-green);
}

.status-badge.pending {
  background: #ff990020;
  color: #ff9900;
}

.status-badge.failed {
  background: var(--accent-pink)20;
  color: var(--accent-pink);
}

.tx-hash {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hash-text {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.copy-hash {
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.copy-hash:hover {
  color: var(--accent-cyan);
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  gap: 8px;
}

.pagination-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Settings View */
.view-settings {
  display: none;
}

.view-settings.active {
  display: block;
}

.settings-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.settings-nav-item i {
  font-size: 1.1rem;
}

.settings-nav-item:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.settings-nav-item.active {
  background: linear-gradient(135deg, var(--accent-cyan)15, var(--accent-pink)15);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.settings-section {
  display: none;
}

.settings-section.active {
  display: block;
}

.settings-form {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.settings-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.settings-form input,
.settings-form select {
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.settings-form input:focus,
.settings-form select:focus {
  border-color: var(--accent-cyan);
  outline: none;
}

.settings-save-btn {
  align-self: flex-start;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.settings-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-cyan)40;
}

.avatar-upload {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.avatar-preview {
  width: 80px;
  height: 80px;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avatar-btn {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.avatar-btn.secondary {
  border-color: var(--border-color);
  color: var(--text-muted);
}

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

.card-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-badge.enabled {
  background: var(--accent-green)20;
  color: var(--accent-green);
}

.twofa-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.twofa-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.twofa-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.twofa-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.twofa-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.twofa-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.twofa-btn.secondary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-muted);
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.session-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.session-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-device {
  font-weight: 600;
  color: var(--text-primary);
}

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

.session-status.current {
  padding: 6px 12px;
  background: var(--accent-green)20;
  border-radius: 6px;
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 600;
}

.session-revoke {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--accent-pink);
  border-radius: 6px;
  color: var(--accent-pink);
  font-size: 0.8rem;
  cursor: pointer;
}

.session-revoke:hover {
  background: var(--accent-pink)20;
}

.revoke-all-btn {
  margin-top: 16px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--accent-pink);
  border-radius: 8px;
  color: var(--accent-pink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.revoke-all-btn:hover {
  background: var(--accent-pink)20;
}

.preferences-list {
  display: flex;
  flex-direction: column;
}

.preference-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.preference-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preference-label {
  font-weight: 600;
  color: var(--text-primary);
}

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

.preference-select {
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  min-width: 160px;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-cyan)30;
  border-color: var(--accent-cyan);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background: var(--accent-cyan);
}

.notifications-list {
  display: flex;
  flex-direction: column;
}

.notification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.notification-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-label {
  font-weight: 600;
  color: var(--text-primary);
}

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

.api-add-btn {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.api-keys-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}

.api-key-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.api-key-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-key-name {
  font-weight: 600;
  color: var(--text-primary);
}

.api-key-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.api-key-permissions {
  display: flex;
  gap: 8px;
}

.perm-badge {
  padding: 4px 10px;
  background: var(--bg-dark);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.api-key-actions {
  display: flex;
  gap: 8px;
}

.api-key-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-key-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.api-key-btn.danger:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.api-docs {
  padding: 20px 0;
}

.api-docs p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.api-docs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.limit-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

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

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

.limit-level {
  padding: 4px 8px;
  background: var(--accent-cyan)20;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.limit-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.limit-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar {
  height: 6px;
  background: var(--bg-dark);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  border-radius: 3px;
}

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

.upgrade-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}

.upgrade-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.upgrade-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.upgrade-info {
  flex: 1;
}

.upgrade-info h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.upgrade-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.upgrade-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* Help Center View */
.view-help {
  display: none;
}

.view-help.active {
  display: block;
}

.help-search {
  margin-bottom: 32px;
}

.help-search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.help-search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
}

.help-search-box input {
  width: 100%;
  padding: 18px 20px 18px 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 1rem;
}

.help-search-box input:focus {
  border-color: var(--accent-cyan);
  outline: none;
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.help-category-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.help-category-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--accent-cyan)10;
}

.help-category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.help-category-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.help-category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-count {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.popular-articles {
  margin-bottom: 32px;
}

.articles-list {
  display: flex;
  flex-direction: column;
}

.article-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

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

.article-item:hover {
  color: var(--accent-cyan);
}

.article-item > i:first-child {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-title {
  font-weight: 600;
  color: var(--text-primary);
}

.article-item:hover .article-title {
  color: var(--accent-cyan);
}

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

.article-item > i:last-child {
  color: var(--text-muted);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.support-card {
  text-align: center;
  padding: 24px;
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin: 0 auto 16px;
}

.support-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.support-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.support-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-cyan)20, var(--accent-pink)20);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.support-btn:hover {
  background: linear-gradient(135deg, var(--accent-cyan)30, var(--accent-pink)30);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #7cba0a20, #ff336620);
  border: 1px solid #7cba0a;
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  animation: slideIn 0.3s ease;
  font-size: 0.9rem;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1024px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

}

@media (max-width: 768px) {
  .transaction-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-wrap: wrap;
  }

  .filter-select {
    flex: 1;
    min-width: 120px;
  }

  .transactions-table {
    font-size: 0.8rem;
  }

  .transactions-table th,
  .transactions-table td {
    padding: 10px 8px;
  }

  .help-categories {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-dropdown-root {
    position: static;
  }

  .nav-dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    display: none;
  }

  .nav-dropdown-root.dropdown-open .nav-dropdown-panel {
    display: block;
  }

  .nav-dropdown-root.dropdown-open .navbar-link .nav-caret {
    transform: rotate(180deg);
  }

  .nav-dropdown-panel .container {
    display: block;
    height: auto;
  }

  .nav-dropdown-inner {
    flex-direction: column;
    gap: 6px;
  }

  .nav-dropdown-visual {
    display: none;
  }

  .nav-dropdown-items {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
  }

  .nav-dropdown-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: left;
    transition: all 0.25s ease;
  }

  .nav-dropdown-item:hover {
    background: rgba(124, 186, 10, 0.08);
    border-color: rgba(124, 186, 10, 0.2);
    transform: none;
  }

  .nav-dropdown-item i {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 1.35rem;
    margin-bottom: 0;
    color: var(--accent-cyan);
    flex-shrink: 0;
  }

  .nav-dropdown-item-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    display: block;
  }

  .nav-dropdown-item-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.4;
  }
}

/* ========== Section Pages (features, trading, bots, security) ========== */
.section-page {
    padding-top: 80px;
}

.section-page .section {
    padding: 100px 0;
    position: relative;
}

.section-page .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-page .section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-page .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-page .section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-page .section:nth-child(odd) {
    background: var(--bg-primary);
}

.section-page .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-page .content-grid.reverse {
    direction: rtl;
}

.section-page .content-grid.reverse > * {
    direction: ltr;
}

.section-page .content-text h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-page .content-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.section-page .content-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-page .content-visual i {
    font-size: 6rem;
    color: var(--accent-cyan);
    opacity: 0.8;
    filter: drop-shadow(0 0 30px rgba(124, 186, 10, 0.3));
}

.section-page .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.section-page .feature-list .feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
}

.section-page .feature-list .feature-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.feature-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 186, 10, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-item-icon i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== API Docs ========== */
.api-docs-page {
    display: flex;
    padding-top: 80px;
    min-height: 100vh;
}

.api-docs-sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 280px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
    z-index: 10;
}

.api-docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

.api-docs-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.api-docs-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.api-docs-sidebar .sidebar-section {
    margin-bottom: 24px;
}

.api-docs-sidebar .sidebar-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 0 24px 8px;
    font-weight: 600;
}

.api-docs-sidebar .sidebar-link {
    display: block;
    padding: 8px 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.api-docs-sidebar .sidebar-link:hover,
.api-docs-sidebar .sidebar-link.active {
    color: var(--accent-cyan);
    background: rgba(124, 186, 10, 0.05);
    border-left-color: var(--accent-cyan);
}

.api-docs-content {
    flex: 1;
    margin-left: 280px;
    padding: 48px 64px;
    max-width: 960px;
}

.api-docs-content .doc-section {
    margin-bottom: 64px;
}

.api-docs-content .doc-section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.api-docs-content .doc-section h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    margin-top: 32px;
}

.api-docs-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at center, rgba(124, 186, 10, 0.05) 0%, transparent 70%);
}

.api-docs-hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.api-docs-hero p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 186, 10, 0.1);
    border: 1px solid rgba(124, 186, 10, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-family: monospace;
}

.endpoint-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.endpoint-card .endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.endpoint-card .endpoint-method {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.endpoint-method.get { background: rgba(124, 186, 10, 0.15); color: var(--accent-cyan); }
.endpoint-method.post { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.endpoint-method.put { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.endpoint-method.delete { background: rgba(255, 51, 102, 0.15); color: var(--accent-pink); }

.endpoint-card .endpoint-path {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.endpoint-card .endpoint-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.endpoint-card .endpoint-body {
    padding: 20px;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
}

.param-table th {
    text-align: left;
    padding: 10px 16px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.param-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.param-table td:first-child {
    font-family: monospace;
    color: var(--text-primary);
}

.param-table .param-required {
    color: var(--accent-pink);
    font-size: 0.75rem;
    font-weight: 600;
}

.param-table .param-optional {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.code-block {
    background: #0d0d1a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
}

.code-block .code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.code-block .code-lang {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.code-block .copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.code-block .copy-btn:hover {
    color: var(--accent-cyan);
    background: rgba(124, 186, 10, 0.1);
}

.code-block pre {
    padding: 16px;
    overflow-x: auto;
    margin: 0;
}

.code-block code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.825rem;
    line-height: 1.6;
    color: #e4e4e7;
    white-space: pre;
}

.code-block .hljs-string { color: #22c55e; }
.code-block .hljs-number { color: #7cba0a; }
.code-block .hljs-keyword { color: #8b5cf6; }
.code-block .hljs-comment { color: #71717a; font-style: italic; }

/* ========== About Page ========== */
.about-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(124, 186, 10, 0.05) 0%, transparent 70%);
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.about-mission {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.about-mission .container {
    max-width: 800px;
}

.about-mission h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
}

.about-mission p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.team-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== Careers Page ========== */
.careers-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(124, 186, 10, 0.05) 0%, transparent 70%);
}

.careers-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.careers-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.job-listings {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--accent-cyan);
}

.job-card .job-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.job-card .job-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-card .job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-card .job-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 186, 10, 0.1);
    border: 1px solid rgba(124, 186, 10, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.culture-section {
    padding: 80px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.culture-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.culture-card:hover {
    border-color: var(--accent-cyan);
}

.culture-card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.culture-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.culture-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== Blog Page ========== */
.blog-page {
    padding-top: 80px;
}

.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(124, 186, 10, 0.05) 0%, transparent 70%);
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.blog-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.blog-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0 40px;
    flex-wrap: wrap;
}

.blog-filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(124, 186, 10, 0.05);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding-bottom: 80px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(124, 186, 10, 0.1), rgba(255, 51, 102, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image i {
    font-size: 3rem;
    color: var(--accent-cyan);
    opacity: 0.5;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-category {
    padding: 2px 10px;
    background: rgba(124, 186, 10, 0.1);
    border: 1px solid rgba(124, 186, 10, 0.2);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.75rem;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card .read-more {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
}

/* ========== Developers Page ========== */
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.sdk-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.sdk-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.sdk-card .sdk-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 186, 10, 0.1);
    border-radius: 16px;
}

.sdk-card .sdk-icon i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.sdk-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sdk-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.sdk-card .install-cmd {
    background: #0d0d1a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-align: left;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}

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

.skeleton-table-wrap {
  overflow: hidden;
}

.skeleton-row {
  display: grid;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.skeleton-row:last-child {
  border-bottom: none;
}

.skeleton-row-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
}

.skeleton-row-header .skeleton-cell {
  height: 12px;
}

.skeleton-cell {
  height: 18px;
  border-radius: 4px;
}

.skeleton-cell-sm {
  height: 14px;
}

.skeleton-cell-lg {
  height: 22px;
}

.skeleton-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.skeleton-card-grid {
  display: grid;
  gap: 20px;
}

.skeleton-card-grid.gas {
  grid-template-columns: repeat(3, 1fr);
}

.skeleton-card-grid.chain {
  grid-template-columns: 1fr 1fr 1.5fr;
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-card-title {
  height: 14px;
  width: 60%;
  margin-bottom: 4px;
}

.skeleton-card-line {
  height: 16px;
}

.skeleton-card-line-sm {
  height: 12px;
  width: 40%;
}

.skeleton-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* ========== Gradient Section Dividers ========== */

.gradient-divider {
  width: 100%;
  height: 50px;
  position: relative;
  background: linear-gradient(to bottom, var(--from), var(--to));
  z-index: 1;
}

/* ========== Service Summary Panels ========== */

.service-panel {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.service-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(45deg, currentColor 1px, transparent 1px),
    linear-gradient(-45deg, currentColor 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.service-panel-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.service-panel-content {
  flex: 1;
  max-width: 520px;
}

.service-panel-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.service-panel-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.service-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-panel-cta:hover {
  transform: translateY(-2px);
}

.service-panel-face {
  flex-shrink: 0;
  width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.service-panel-face img {
  width: 100%;
  height: auto;
  filter: drop-shadow(3px 0 0 var(--accent-cyan))
          drop-shadow(-3px 0 0 var(--accent-cyan))
          drop-shadow(0 3px 0 var(--accent-cyan))
          drop-shadow(0 -3px 0 var(--accent-cyan))
          drop-shadow(2px 2px 0 var(--accent-cyan))
          drop-shadow(-2px -2px 0 var(--accent-cyan))
          drop-shadow(2px -2px 0 var(--accent-cyan))
          drop-shadow(-2px 2px 0 var(--accent-cyan));
}

/* Panel variants */

.service-panel.trading {
  background: linear-gradient(135deg, #0d1f1a, #0a1628);
  color: var(--accent-cyan);
}

.service-panel.trading .service-panel-cta {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

.service-panel.trading .service-panel-cta:hover {
  box-shadow: 0 0 30px rgba(124, 186, 10, 0.5);
}

.service-panel.bots {
  background: linear-gradient(135deg, #1f0d1a, #1a0d1f);
  color: var(--accent-pink);
}

.service-panel.bots h2 {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-panel.bots .service-panel-cta {
  background: var(--accent-pink);
  color: var(--bg-primary);
  box-shadow: var(--glow-pink);
}

.service-panel.bots .service-panel-cta:hover {
  box-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
}

.service-panel.dev {
  background: linear-gradient(135deg, #0d121f, #0d1a1f);
  color: var(--accent-cyan);
}

.service-panel.dev .service-panel-cta {
  background: linear-gradient(135deg, var(--accent-cyan), #5e8c08);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

.service-panel.dev .service-panel-cta:hover {
  box-shadow: 0 0 30px rgba(124, 186, 10, 0.5);
}

/* ========== Panel Background Illustrations ========== */

.panel-bg-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Floating symbols */
.anim-float {
  position: absolute;
  opacity: 0;
  color: inherit;
  animation: float-up 6s ease-in-out infinite;
  font-family: var(--font-display);
  font-weight: 700;
  text-shadow: 0 0 20px currentColor;
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(30px) scale(0.6); }
  10% { opacity: 0.2; transform: translateY(10px) scale(1); }
  80% { opacity: 0.2; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-50px) scale(0.6); }
}

/* Candlestick bars */
.anim-bar {
  position: absolute;
  width: 5px;
  border-radius: 3px 3px 0 0;
  background: var(--bar, var(--accent-cyan));
  opacity: 0.15;
  animation: bar-pulse 2.5s ease-in-out infinite;
}

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.1; }
  50% { transform: scaleY(1.5); opacity: 0.25; }
}

/* Horizontal grid lines that sweep */
.anim-grid-line {
  position: absolute;
  right: 0;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  animation: grid-sweep 4s ease-in-out infinite;
}

@keyframes grid-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  30% { opacity: 0.15; }
  70% { opacity: 0.15; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Circuit SVG */
.anim-circuit {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  opacity: 0.5;
}

/* Gear rotation */
.anim-gear {
  position: absolute;
  opacity: 0.1;
  animation: spin-slow 10s linear infinite;
  filter: blur(0.5px);
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulse rings (radar) */
.anim-pulse-ring {
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.2); opacity: 0.25; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Floating dot paths */
.anim-dot-path {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.15;
  animation: dot-float 6s ease-in-out infinite;
  box-shadow: 0 0 8px currentColor;
}

@keyframes dot-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.08; }
  20% { transform: translate(15px, -12px); opacity: 0.25; }
  40% { transform: translate(30px, 5px); opacity: 0.15; }
  60% { transform: translate(15px, 18px); opacity: 0.25; }
  80% { transform: translate(-5px, 8px); opacity: 0.12; }
}

/* Code block terminal */
.anim-code-block {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(124, 186, 10, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  opacity: 0.2;
}

.anim-code-block::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
}

.code-line {
  margin-bottom: 8px;
  animation: code-type 4s ease-in-out infinite;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.6;
  font-size: 0.7rem;
  opacity: 0;
}

.code-line .code-kw { color: #ff79c6; }
.code-line .code-var { color: #f8f8f2; }
.code-line .code-op { color: #ff79c6; }
.code-line .code-fn { color: #50fa7b; }
.code-line .code-class { color: #8be9fd; }
.code-line .code-str { color: #f1fa8c; }
.code-line .code-template { color: #f1fa8c; }
.code-line .code-tag { color: #ff79c6; }

@keyframes code-type {
  0% { opacity: 0; transform: translateX(-10px); }
  15% { opacity: 1; transform: translateX(0); }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

.code-line:last-child::after {
  content: '▊';
  color: var(--accent-cyan);
  animation: cursor-blink 1s step-end infinite;
  font-size: 0.65rem;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .panel-bg-anim {
    display: none;
  }

  .service-panel {
    padding: 60px 0;
  }

  .service-panel-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .service-panel-content {
    max-width: 100%;
  }

  .service-panel-content h2 {
    font-size: 1.75rem;
  }

  .service-panel-face {
    width: 320px;
    margin-left: 0;
  }
}

/* ========== Legal Pages (Privacy, Terms, Cookies) ========== */

.legal-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(124, 186, 10, 0.08), rgba(255, 51, 102, 0.05));
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-content {
  padding: 60px 0 100px;
}

.legal-prose {
  max-width: 800px;
  margin: 0 auto;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.legal-prose p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-prose ul {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.legal-prose ul li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.legal-prose a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose a:hover {
  color: #fff;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  vertical-align: top;
}

.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 0 40px;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 40px 0 60px;
  }

  .legal-prose h2 {
    font-size: 1.25rem;
    margin-top: 36px;
  }
}

/* ========== Responsive for new pages ========== */
@media (max-width: 1024px) {
    .api-docs-sidebar {
        display: none;
    }

    .api-docs-content {
        margin-left: 0;
        padding: 32px 24px;
    }

    .section-page .content-grid {
        grid-template-columns: 1fr;
    }

    .section-page .content-grid.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .api-docs-hero h1 {
        font-size: 2rem;
    }

    .about-hero h1,
    .careers-hero h1 {
        font-size: 2.5rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .endpoint-card .endpoint-header {
        flex-wrap: wrap;
    }
}