/* Created by Yezid — Twinvault */
/* Holographic Web3 Design System */
:root {
  --font-logo: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  
  --bg-deep: #05020c;
  --text-main: #f1f0f5;
  --text-muted: #827e8d;
  
  --neon-violet: #8a2be2;
  --neon-cyan: #00f0ff;
  --neon-emerald: #10b981;
  
  --panel-bg: rgba(18, 14, 28, 0.7);
  --panel-border: rgba(138, 43, 226, 0.2);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Background Canvas */
.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0d061f 0%, #040108 100%);
}

.monospaced {
  font-family: 'Courier New', Courier, monospace;
}

/* Header */
.nexus-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5,2,12,0.8) 0%, rgba(5,2,12,0) 100%);
}
.logo {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.zero-cookie-badge {
  display: inline-block;
  font-size: 0.75rem;
  border: 1px solid var(--panel-border);
  padding: 6px 14px;
  border-radius: 20px;
  background-color: rgba(138, 43, 226, 0.05);
  margin-right: 16px;
  color: var(--neon-cyan);
}
.wallet-btn {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.wallet-btn:hover {
  background-color: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

/* Linear Narrative Slides */
.narrative-container {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.narrative-slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  
  /* Morph / Hide inactive states */
  opacity: 0.1;
  filter: blur(8px);
  transform: scale(0.9) translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 1s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}

.narrative-slide.active-slide {
  opacity: 1;
  filter: none;
  transform: scale(1) translateY(0);
}

.slide-content {
  max-width: 750px;
  width: 100%;
  text-align: center;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 30px rgba(138,43,226,0.1);
}

.glow-title {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.slide-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.scroll-prompt {
  font-size: 0.8rem;
  color: var(--neon-cyan);
  animation: bounceScroll 1.5s infinite;
}
@keyframes bounceScroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.slide-content h2 {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Wallet Card styling */
.wallet-status-card {
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  background-color: rgba(255,255,255,0.02);
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
}
.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 10px 0;
}
.status-row:last-child {
  border-bottom: none;
}
.text-alert {
  color: var(--neon-violet);
  font-weight: 600;
}
.text-success {
  color: var(--neon-emerald);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Webhook Signature Visualizer console */
.webhook-visualizer {
  background-color: #04010a;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}
.panel-head {
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.webhook-console {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #38bdf8;
  height: 180px;
  overflow-y: auto;
}
.webhook-log-line {
  margin-bottom: 8px;
}
.webhook-log-sig {
  color: var(--neon-cyan);
}
.webhook-input-group {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.action-btn {
  background: var(--neon-violet);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(138,43,226,0.3);
  transition: transform 0.2s, background-color 0.2s;
}
.action-btn:hover {
  transform: translateY(-2px);
  background-color: #7b1fa2;
}

.compliance-row {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px dashed var(--panel-border);
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer & Progress Indicator */
.nexus-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--panel-border);
  z-index: 100;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.progress-bar-indicator {
  width: 150px;
  height: 4px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar-indicator .bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-violet));
  transition: width 0.3s ease-out;
}

/* Responsive */
@media(max-width: 750px) {
  .nexus-header, .nexus-footer {
    padding: 16px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .zero-cookie-badge {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .slide-content {
    padding: 24px;
  }
}
