/* ==========================================================================
   Jupsy Bot - Modern Aesthetic CSS Design System
   Color Palette: Deep Dark (#0A0B10, #121520), Magenta-Purple & Orange Gradients
   ========================================================================== */

:root {
  --bg-dark: #0A0B10;
  --bg-card: rgba(18, 21, 32, 0.75);
  --bg-card-hover: rgba(26, 31, 48, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(224, 40, 112, 0.3);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --primary-magenta: #E02870;
  --primary-purple: #7B2CBF;
  --primary-orange: #FF8800;
  
  --gradient-main: linear-gradient(135deg, #7B2CBF 0%, #E02870 50%, #FF8800 100%);
  --gradient-btn: linear-gradient(135deg, #E02870 0%, #FF8800 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Background Glow Effects */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-purple);
  top: -200px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--primary-magenta);
  top: 30%;
  right: -150px;
}

.orb-3 {
  width: 550px;
  height: 550px;
  background: var(--primary-orange);
  bottom: -200px;
  left: 20%;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

/* Typography & Badges */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--primary-magenta);
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(224, 40, 112, 0.12);
  border: 1px solid rgba(224, 40, 112, 0.3);
  color: #FF5A96;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #FFF;
  box-shadow: 0 8px 24px rgba(224, 40, 112, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 40, 112, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-glass:hover {
  border-color: var(--primary-magenta);
  box-shadow: 0 0 20px rgba(224, 40, 112, 0.2);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}


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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 160px 24px 100px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

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

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

/* Discord Mock Card Preview */
.hero-preview-wrapper {
  position: relative;
}

.discord-card-preview {
  background: #1E1F29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(224, 40, 112, 0.15);
  position: relative;
  overflow: hidden;
}

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

.bot-avatar {
  display: flex;
  align-items: center;
}

.bot-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.bot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
}

.bot-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.bot-tag {
  background: #5865F2;
  color: #FFF;
  font-size: 0.65rem;
  padding: 4px 7px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.bot-time {
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.discord-embed-body {
  background: #2B2D31;
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.embed-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-magenta);
}

.embed-header-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
}

.embed-address-box {
  background: #1E1F22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  word-break: break-all;
}

.embed-address-box code {
  font-family: var(--font-mono);
  color: #DBEAFE;
  font-size: 0.85rem;
  background: transparent;
  padding: 0;
}

.embed-btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.embed-btn-row.mt-12 {
  margin-top: 14px;
  margin-bottom: 0;
}

.embed-action-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  color: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.embed-action-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-green {
  background: #059669;
}

.btn-red {
  background: #DC2626;
}

.btn-dark-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #F3F4F6;
}

.icon-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.icon-green {
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.icon-red {
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.embed-balance-row {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.balance-label {
  color: #FFFFFF;
}

.balance-value {
  background: #1E1F22;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  color: #F9FAFB;
  font-size: 1.05rem;
}

.embed-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

.embed-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.embed-token-list {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.embed-token-list div {
  color: #9CA3AF;
}

.token-sym {
  color: #60A5FA;
}

.embed-token-list code {
  background: #1E1F22;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #E5E7EB;
  font-size: 0.85rem;
}

.embed-footer-text {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.mention-blue {
  color: #38BDF8;
  font-weight: 600;
  cursor: pointer;
}

/* Sections Layout */
.nft-section, .features-section, .roadmap-section, .docs-section, .faq-section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* NFT Section */
.nft-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  margin-top: 48px;
}

.nft-mint-card, .nft-perks-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.mint-preview-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: #141722;
  padding: 24px;
  text-align: center;
}

.nft-card-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.nft-badge-upcoming {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #F59E0B;
  color: #F59E0B;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.upcoming-tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.token-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(224, 40, 112, 0.12);
  border: 1px solid rgba(224, 40, 112, 0.3);
  color: #FF5E96;
  font-weight: 600;
}

.token-badge-gold {
  background: rgba(255, 136, 0, 0.12);
  border-color: rgba(255, 136, 0, 0.3);
  color: #FFA533;
}

.nft-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.upcoming-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.upcoming-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.spec-card .spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-card .spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.coming-soon-status-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #FCD34D;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: pulse-dot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-disabled-coming-soon {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed !important;
  opacity: 0.85;
}

.perks-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.perk-icon {
  font-size: 1.5rem;
  padding: 10px;
  background: rgba(224, 40, 112, 0.1);
  border-radius: 12px;
}

.perk-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.perk-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.gradient-1 { background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(224, 40, 112, 0.2)); }
.gradient-2 { background: linear-gradient(135deg, rgba(224, 40, 112, 0.2), rgba(255, 136, 0, 0.2)); }
.gradient-3 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(56, 189, 248, 0.2)); }
.gradient-4 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2)); }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Roadmap */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.phase-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
}

.phase-done { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.phase-current { background: rgba(224, 40, 112, 0.2); color: #FF5A96; }
.phase-future { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

.roadmap-phase-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Docs Section */
.docs-wrapper {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.docs-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
}

.doc-tab-btn {
  flex: 1;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.doc-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.doc-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--primary-magenta);
  background: rgba(224, 40, 112, 0.05);
}

.tab-cmd {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: #38BDF8;
}

.tab-sub {
  font-size: 0.8rem;
  margin-top: 4px;
}

.docs-content {
  padding: 36px;
}

.doc-pane {
  display: none;
}

.doc-pane.active {
  display: block;
}

.doc-pane-header h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.doc-pane-header p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.doc-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-text {
  font-size: 0.95rem;
}

.step-text code {
  background: #191B26;
  padding: 2px 6px;
  border-radius: 4px;
  color: #38BDF8;
  font-family: var(--font-mono);
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 40px;
  background: rgba(10, 11, 16, 0.95);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
  .hero-container, .nft-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 14px;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 8px;
    white-space: nowrap;
  }

  .nav-logo-img {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }

  .hero-section {
    padding: 120px 16px 60px;
  }

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

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

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

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

  .docs-tabs {
    flex-direction: column;
  }

  .footer {
    padding: 40px 16px 30px;
  }

  .footer-container {
    text-align: center;
    gap: 16px;
    align-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    font-size: 0.85rem;
    width: 100%;
  }

  .footer-links a {
    white-space: nowrap;
  }

  .footer-copy {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 95%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 10px 12px;
  }

  .brand-logo {
    font-size: 1.05rem;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .nav-mint-btn .btn-label {
    display: none;
  }

  .nav-mint-btn::after {
    content: "Pass";
  }

  .nav-invite-btn .btn-label {
    display: none;
  }

  .nav-invite-btn::after {
    content: "Discord";
  }

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

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

  .nft-mint-card, .nft-perks-card {
    padding: 20px 16px;
  }

  .discord-card-preview {
    padding: 16px;
  }
}

/* ==========================================================================
   Documentation Portal Styling System
   ========================================================================== */

.docs-page {
  background-color: #08090E;
  min-height: 100vh;
}

.docs-navbar {
  background: rgba(8, 9, 14, 0.88);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.mobile-sidebar-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
}

.docs-version-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  letter-spacing: 0.02em;
}

/* Search Bar in Navbar */
.docs-search-wrapper {
  flex: 1;
  max-width: 480px;
  margin: 0 24px;
}

.docs-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  gap: 10px;
  transition: var(--transition-fast);
}

.docs-search-box:focus-within {
  border-color: var(--primary-magenta);
  box-shadow: 0 0 16px rgba(224, 40, 112, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.docs-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.docs-search-box input::placeholder {
  color: var(--text-dim);
}

.search-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

.search-kbd {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
}

/* 3-Column Docs Layout */
.docs-layout-container {
  display: flex;
  max-width: 1440px;
  margin: 75px auto 0;
  position: relative;
  min-height: calc(100vh - 75px);
  z-index: 1;
}

/* Left Sidebar Navigation */
.docs-sidebar {
  width: 290px;
  flex-shrink: 0;
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  overflow-y: auto;
  border-right: 1px solid var(--border-color);
  background: rgba(8, 9, 14, 0.6);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.docs-sidebar::-webkit-scrollbar {
  width: 5px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.sidebar-inner {
  padding: 28px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
  padding-left: 10px;
}

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

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.sidebar-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-link.active {
  color: #FFF;
  background: linear-gradient(90deg, rgba(224, 40, 112, 0.18) 0%, rgba(224, 40, 112, 0.04) 100%);
  border-left: 3px solid var(--primary-magenta);
  font-weight: 600;
}

.sidebar-link code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38BDF8;
  background: transparent;
  padding: 0;
}

.link-icon {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

/* Main Content Area */
.docs-main {
  flex: 1;
  min-width: 0;
  padding: 40px 56px 80px;
}

.docs-content-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Breadcrumbs */
.docs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.docs-breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.docs-breadcrumbs a:hover {
  color: var(--text-main);
}

.bc-sep {
  opacity: 0.4;
}

.bc-current {
  color: #E02870;
  font-weight: 600;
}

/* Section Typography & Badges */
.doc-section {
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border-color);
}

.doc-section:last-of-type {
  border-bottom: none;
}

.section-badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(123, 44, 191, 0.15);
  border: 1px solid rgba(123, 44, 191, 0.4);
  color: #C084FC;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.doc-h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.doc-h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.doc-h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.doc-lead {
  font-size: 1.15rem;
  color: #D1D5DB;
  line-height: 1.7;
  margin-bottom: 24px;
}

.doc-p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.doc-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px;
}

.doc-feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.doc-feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

.doc-external-link {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-external-link:hover {
  color: #7DD3FC;
}

/* Callouts */
.callout {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.callout-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-info {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #BAE6FD;
}

.callout-tip {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #A7F3D0;
}

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FDE68A;
}

/* Feature Trio Grid */
.feature-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.trio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition-fast);
}

.trio-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.trio-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.trio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trio-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Command Box with Copy Button */
.command-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #12141D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 16px 0 24px;
}

.command-box code {
  font-family: 'JetBrains Mono', var(--font-mono);
  font-size: 0.95rem;
  color: #38BDF8;
  font-weight: 600;
  word-break: break-all;
}

.copy-cmd-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: 12px;
  flex-shrink: 0;
}

.copy-cmd-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFF;
}

.copy-cmd-btn.copied {
  background: #10B981;
  color: #FFF;
  border-color: #10B981;
}

/* Vertical Steppers */
.stepper-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-card-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Spec / Param Tables */
.spec-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.spec-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

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

.spec-table code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #E2E8F0;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-req {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-opt {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Discord Mock Previews in Docs */
.doc-discord-card {
  margin: 28px 0;
  max-width: 680px;
}

/* Scenario Workflow Box */
.scenario-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 20px 0;
}

.scenario-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FF8800;
  margin-bottom: 12px;
}

.scenario-steps {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.scenario-steps strong {
  color: var(--text-main);
}

/* Command Grid */
.cmd-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.cmd-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cmd-item-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cmd-item-card .command-box {
  margin-top: 0;
  margin-bottom: 12px;
}

/* Right Table of Contents Sidebar */
.docs-toc {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  overflow-y: auto;
  border-left: 1px solid var(--border-color);
  background: rgba(8, 9, 14, 0.6);
  backdrop-filter: blur(12px);
  padding: 28px 18px 48px;
}

.toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: var(--transition-fast);
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-link:hover {
  color: var(--text-main);
}

.toc-link.active {
  color: var(--primary-magenta);
  font-weight: 600;
  background: rgba(224, 40, 112, 0.08);
}

.toc-resources {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-resources-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.toc-resource-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.toc-resource-link:hover {
  color: #38BDF8;
}

/* Dynamic Live Search Results Overlay */
.search-results-box {
  background: #141724;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.clear-search-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  cursor: pointer;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  display: block;
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(224, 40, 112, 0.15);
  transform: translateX(4px);
}

.search-res-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFF;
  margin-bottom: 4px;
}

.search-res-snippet {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Documentation Footer */
.docs-footer {
  margin-top: 0;
}

/* Responsive Breakpoints for Documentation */
@media (max-width: 1200px) {
  .docs-toc {
    display: none;
  }

  .docs-main {
    padding: 36px 36px 60px;
  }
}

@media (max-width: 900px) {
  .mobile-sidebar-toggle {
    display: flex;
  }

  .docs-sidebar {
    position: fixed;
    top: 75px;
    left: -320px;
    width: 300px;
    height: calc(100vh - 75px);
    z-index: 99;
    background: #0D0F17;
    transition: left 0.3s ease;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
  }

  .docs-sidebar.open {
    left: 0;
  }

  .docs-main {
    padding: 24px 20px 60px;
  }

  .feature-trio-grid {
    grid-template-columns: 1fr;
  }

  .cmd-grid-2 {
    grid-template-columns: 1fr;
  }

  .doc-h1 {
    font-size: 2.2rem;
  }

  .doc-h2 {
    font-size: 1.6rem;
  }

  .docs-search-wrapper {
    max-width: 260px;
    margin: 0 12px;
  }
}

@media (max-width: 640px) {
  .docs-search-wrapper {
    display: none;
  }

  .nav-back-btn .btn-label {
    display: none;
  }

  .nav-back-btn::after {
    content: "Home";
  }

  .doc-h1 {
    font-size: 1.85rem;
  }
}


