/* ==========================================================================
   ZOROASTER DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

:root {
  --font-primary: 'Outfit', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;

  /* Color Palette */
  --bg-darker: #050d0a;
  --bg-dark: #09130f;
  --bg-panel: rgba(13, 27, 21, 0.6);
  --bg-panel-solid: #0d1b15;
  --border-glass: rgba(16, 185, 129, 0.15);
  --border-glass-bright: rgba(16, 185, 129, 0.35);

  --emerald-primary: #10b981;
  --emerald-accent: #059669;
  --emerald-bright: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-dim: rgba(16, 185, 129, 0.05);

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --shadow-neon: 0 0 25px rgba(16, 185, 129, 0.3);
  --shadow-neon-intense: 0 0 40px rgba(52, 211, 153, 0.6);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Scrollbar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-darker);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-primary);
}

/* ==========================================================================
   AMBIENT BACKGROUNDS
   ========================================================================== */

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.bg-glow-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: floatGlow 18s infinite alternate ease-in-out;
}

.bg-glow-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  animation: floatGlow 22s infinite alternate-reverse ease-in-out;
}

.bg-glow-3 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 65%);
  top: 40%;
  left: 45%;
  animation: floatGlow 14s infinite alternate ease-in-out;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(5%, 8%) scale(1.1);
  }
}

/* Floating Glass Spheres */
.floating-sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(16, 185, 129, 0.12) 40%, rgba(5, 20, 15, 0.7) 90%);
  box-shadow: inset -5px -5px 15px rgba(0, 0, 0, 0.6), inset 5px 5px 15px rgba(255, 255, 255, 0.15), 0 10px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}

.sphere-1 {
  width: 140px;
  height: 140px;
  top: 12%;
  left: 45%;
  animation: bounceSphere 25s infinite linear;
}

.sphere-2 {
  width: 80px;
  height: 80px;
  top: 35%;
  left: 38%;
  animation: bounceSphere 18s infinite linear reverse;
}

.sphere-3 {
  width: 220px;
  height: 220px;
  top: 45%;
  right: 4%;
  animation: bounceSphere 35s infinite linear;
}

.sphere-4 {
  width: 60px;
  height: 60px;
  top: 68%;
  left: 20%;
  animation: bounceSphere 15s infinite linear;
}

.sphere-5 {
  width: 110px;
  height: 110px;
  top: 82%;
  left: 52%;
  animation: bounceSphere 28s infinite linear reverse;
}

@keyframes bounceSphere {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }

  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* Glassmorphism Panel Base */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-bright);
}

/* Toast System */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(13, 27, 21, 0.95);
  border: 1px solid var(--border-glass-bright);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  transform: translateX(120%);
  animation: slideToastIn 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.removing {
  animation: slideToastOut 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToastIn {
  to {
    transform: translateX(0);
  }
}

@keyframes slideToastOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

.toast-icon {
  font-size: 20px;
}

.toast-msg {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--emerald-primary);
  color: var(--bg-darker);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: var(--emerald-bright);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass-bright);
}

.btn-outline:hover {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-bright);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--text-secondary);
  border: none;
  padding: 8px 12px;
}

.btn-text:hover {
  color: var(--emerald-bright);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 13, 10, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon-wrapper {
  width: 42px;
  height: 42px;
}

.glowing-logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.4));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.logo-subtitle {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--emerald-bright);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  background: none;
  border: none;
  font-family: var(--font-accent);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 20px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
}

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

.chain-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-accent);
}

.badge-label {
  font-size: 9px;
  color: var(--text-muted);
}

.badge-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}

.feather-icon {
  width: 14px;
  height: 14px;
  color: var(--emerald-bright);
}

.btn-connect {
  border: 1px solid var(--emerald-primary);
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
  box-shadow: none;
}

.btn-connect:hover {
  background: var(--emerald-primary);
  color: var(--bg-darker);
  box-shadow: var(--shadow-neon);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 10, 8, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  background: none;
  border: none;
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--emerald-bright);
  transform: scale(1.1);
}

/* ==========================================================================
   VIEWPORT & PAGES LAYOUT
   ========================================================================== */

.main-viewport {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px 60px 40px;
  min-height: calc(100vh - 120px);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s forwards ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HOME TAB STYLING
   ========================================================================== */

/* Hero Layout */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--emerald-bright);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-bright);
  border-radius: 50%;
  animation: pulseLight 1.5s infinite alternate ease-in-out;
}

@keyframes pulseLight {
  to {
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--emerald-bright);
  }
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald-primary) 50%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 12px;
}

.hero-description-sec {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-arrow span {
  display: inline-block;
  transition: transform 0.3s;
}

.btn-arrow:hover span {
  transform: translateX(-2px);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn-arrow:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon-circle {
  width: 20px;
  height: 20px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Hero Right Components */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

/* Vision Quote Card */
.vision-quote-card {
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}

.quote-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.quote-marks {
  font-size: 32px;
  font-family: serif;
  color: var(--emerald-bright);
  line-height: 0.1;
  margin-top: 10px;
}

.quote-marks-end {
  font-size: 32px;
  font-family: serif;
  color: var(--emerald-bright);
  line-height: 0.1;
  vertical-align: bottom;
}

.quote-tag {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--emerald-bright);
}

.quote-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-primary);
}

/* 3D Glass Box centerpiece styling */
.centerpiece-wrapper {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin: 10px 0;
}

.centerpiece-card {
  position: relative;
  width: 280px;
  height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  cursor: pointer;
}

.glass-box-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 185, 129, 0.05);
  border: 2.5px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(16, 185, 129, 0.2),
    0 0 35px rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(30px);
}

.rotating-glow-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px dashed var(--emerald-bright);
  border-radius: 50%;
  animation: orbitRing 10s infinite linear;
  opacity: 0.45;
}

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

.glowing-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  transform: translateZ(50px);
  filter: drop-shadow(0 0 15px rgba(52, 211, 153, 0.3));
}

.core-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  animation: pulseLogo 4s infinite alternate ease-in-out;
}

@keyframes pulseLogo {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.8));
  }
}

.core-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--emerald-bright);
  margin-top: 2px;
}

.glass-shimmer {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.centerpiece-card:hover .glass-shimmer {
  left: 150%;
}

.platform-base {
  position: absolute;
  bottom: -15px;
  left: 10%;
  width: 80%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  transform: rotateX(75deg);
  filter: blur(5px);
}

/* Creators list */
.creators-list-card {
  padding: 24px;
}

.card-subtitle {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.creators-ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.creator-li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-bullet-icon {
  font-size: 16px;
}

.creator-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   STATISTICS BAR SECTION
   ========================================================================== */

.stats-section {
  margin-bottom: 80px;
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-bright);
}

.stat-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

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

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-glass);
}

/* ==========================================================================
   FEATURES GRID SECTION
   ========================================================================== */

.features-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

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

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

.feature-card {
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-bright);
}

.feature-svg {
  width: 18px;
  height: 18px;
}

.feature-title {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.card-action-hint {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald-bright);
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition-smooth);
}

.feature-card:hover .card-action-hint {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MARKETPLACE SECTION STYLING
   ========================================================================== */

.tab-section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tab-section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.marketplace-filters {
  display: flex;
  gap: 8px;
}

.filter-btn {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-bright);
  color: var(--text-primary);
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* NFT Card Design */
.nft-card {
  overflow: hidden;
  padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nft-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.nft-img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.nft-card:hover .nft-img-placeholder {
  transform: scale(1.05);
}

/* Custom background patterns for mock NFTs */
.art-1 {
  background-image: radial-gradient(circle at 30% 30%, #1e3a8a, #0d1b15);
}

.utility-1 {
  background-image: linear-gradient(135deg, #10b981, #064e3b);
}

.collectible-1 {
  background-image: radial-gradient(circle at 70% 30%, #701a75, #0d1b15);
}

.user-nft {
  background-image: linear-gradient(225deg, #059669, #111827);
}

.category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 13, 10, 0.8);
  border: 1px solid var(--border-glass-bright);
  color: var(--emerald-bright);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.nft-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nft-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.nft-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.author-avatar {
  font-size: 14px;
}

.author-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border-glass);
  margin-bottom: 16px;
}

.nft-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.nft-price {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 6px;
}

/* ==========================================================================
   BANKING SECTION STYLING
   ========================================================================== */

.banking-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.banking-col {
  padding: 30px;
}

.col-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.calculator-box,
.loan-calculator {
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.form-select,
.form-control {
  width: 100%;
  background: rgba(5, 13, 10, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 20px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-select:focus,
.form-control:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.staking-stats-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stake-metric {
  display: flex;
  flex-direction: column;
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-val {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 700;
}

.text-green {
  color: var(--emerald-bright);
}

.btn-full {
  width: 100%;
}

.staked-assets-list,
.active-loans-list {
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.list-title {
  font-size: 14px;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-placeholder {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--border-glass);
  border-radius: 8px;
}

.input-display {
  background: rgba(5, 13, 10, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-glass);
  outline: none;
  margin-top: 12px;
  margin-bottom: 8px;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--emerald-bright);
  cursor: pointer;
  box-shadow: 0 0 10px var(--emerald-bright);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.loan-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Staking and Loans Lists */
.staked-item,
.loan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.item-meta {
  display: flex;
  flex-direction: column;
}

.item-name {
  font-size: 13px;
  font-weight: 700;
}

.item-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.staked-list-wrapper,
.loans-list-wrapper {
  max-height: 220px;
  overflow-y: auto;
}

/* ==========================================================================
   MINTING STUDIO FORM
   ========================================================================== */

.max-width-md {
  max-width: 680px;
  margin: 0 auto;
}

.minting-form {
  padding: 30px;
  margin-top: 20px;
}

.upload-dropzone {
  border: 2px dashed var(--border-glass-bright);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(16, 185, 129, 0.02);
  transition: var(--transition-smooth);
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upload-dropzone:hover {
  border-color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.05);
}

.upload-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.upload-main-text {
  font-size: 14px;
  font-weight: 700;
}

.upload-sub-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.dropzone-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-darker);
}

.dropzone-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.remove-preview-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-glass-bright);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.remove-preview-btn:hover {
  background: var(--emerald-primary);
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.col-half {
  flex: 1;
}

/* ==========================================================================
   COMMUNITY TAB STYLING
   ========================================================================== */

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.community-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.gov-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.voting-active {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-bright);
  color: var(--emerald-bright);
}

.proposal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.voting-meters {
  margin-bottom: 20px;
}

.vote-meter-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 500;
}

.vote-progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.vote-progress-fill {
  height: 100%;
  border-radius: 4px;
}

.yes-fill {
  background: var(--emerald-primary);
}

.no-fill {
  background: var(--text-muted);
}

.voting-actions {
  display: flex;
  gap: 12px;
}

.code-snippet-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
  font-family: monospace;
}

.code-snippet-box pre {
  margin: 0;
}

.code-snippet-box code {
  color: var(--emerald-bright);
}

/* ==========================================================================
   DEVELOPER & CREATOR DOCS STYLING
   ========================================================================== */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  margin-top: 20px;
}

.docs-sidebar {
  padding: 20px;
  height: fit-content;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-sidebar-link {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.docs-sidebar-link:hover,
.docs-sidebar-link.active {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-bright);
}

.docs-content {
  padding: 40px;
  min-height: 400px;
}

.doc-page {
  display: none;
}

.doc-page.active {
  display: block;
  animation: fadeIn 0.4s forwards;
}

.doc-page h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.doc-page p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc-page h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  font-family: var(--font-accent);
}

.doc-page ul,
.doc-page ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.doc-page li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ==========================================================================
   MODAL DIALOGS OVERLAYS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 10, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 90%;
  max-width: 440px;
  padding: 30px;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

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

.modal-title {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-accent);
}

.close-modal-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal-btn:hover {
  color: var(--emerald-bright);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.wallet-option-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.wallet-option-btn:hover {
  border-color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.08);
  transform: translateX(4px);
}

.wallet-icon {
  font-size: 20px;
  margin-right: 14px;
}

.wallet-rec-pill {
  position: absolute;
  right: 16px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-bright);
  font-size: 9px;
  font-family: var(--font-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Connecting Loader overlay inside modal */
.wallet-connecting-status {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-panel-solid);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px stroke var(--border-glass);
  border-top: 3px solid var(--emerald-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 16px;
}

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

.loading-status-text {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-accent);
}

/* Feature modal contents */
.modal-body-content {
  padding-top: 16px;
}

/* Interactive elements inside features modal */
.calculator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calculator-row label {
  font-size: 13px;
  color: var(--text-secondary);
}

.calculator-row input[type="number"] {
  width: 100px;
  margin: 0;
  padding: 8px 12px;
}

.payout-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-glass);
}

.payout-pill {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.pill-lbl {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pill-val {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
}

/* Secure vault modal details */
.vault-drop-simulator {
  border: 2px dashed rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vault-drop-simulator:hover {
  border-color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.03);
}

.node-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.node-indicator {
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.node-indicator.active {
  border-color: var(--emerald-primary);
  color: var(--emerald-bright);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */

.app-footer {
  border-top: 1px solid var(--border-glass);
  background-color: var(--bg-darker);
  padding: 30px 40px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--emerald-bright);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

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

@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    align-items: center;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .stat-item {
    flex: none;
    width: calc(50% - 30px);
  }

  .stat-divider {
    display: none;
  }

  .banking-columns,
  .community-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    width: 100%;
  }

  .docs-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .docs-sidebar-link {
    width: auto;
  }
}

@media (max-width: 768px) {
  .main-viewport {
    padding: 100px 20px 40px 20px;
  }

  .header-container {
    padding: 16px 20px;
  }

  .nav-links,
  .chain-badge {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .hero-title {
    font-size: 34px;
  }

  .stat-item {
    width: 100%;
  }

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

  .creators-ul {
    grid-template-columns: 1fr;
  }
}