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

:root {
  --bg-main: #07080c;
  --bg-surface: #0b0e17;
  --bg-card: #0e111d;
  --bg-card-hover: #131726;
  --bg-card-featured: #101423;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 255, 255, 0.18);
  
  --color-primary: #10b981;
  --color-primary-glow: rgba(16, 185, 129, 0.35);
  --color-accent: #00ffa3;
  --color-gold: #f59e0b;
  --color-purple: #8b5cf6;
  --color-discord: #5865F2;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --dock-bg: rgba(13, 16, 26, 0.82);
  --dock-border: rgba(255, 255, 255, 0.1);
  --dock-hover-bg: rgba(255, 255, 255, 0.07);

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

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

.ambient-blob-1 {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(6, 78, 59, 0.05) 60%, transparent 80%);
  filter: blur(80px);
  animation: blobFloat1 12s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.16) 0%, transparent 70%);
  filter: blur(90px);
  animation: blobFloat2 15s ease-in-out infinite alternate;
}

.ambient-blob-3 {
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 450px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  filter: blur(85px);
  animation: blobFloat3 14s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
  0% { transform: translateX(-50%) scale(1) translateY(0); }
  50% { transform: translateX(-48%) scale(1.08) translateY(20px); }
  100% { transform: translateX(-52%) scale(0.95) translateY(-15px); }
}

@keyframes blobFloat2 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(30px, -25px); }
}

@keyframes blobFloat3 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-25px, 20px); }
}

/* Grid overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Main Container */
.app-container {
  width: 100%;
  max-width: 1240px;
  padding: 24px 20px 140px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ========================================================================= */
/* TOP HOTBAR NAVIGATION (Requested by user)                                 */
/* ========================================================================= */
.top-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding: 10px 18px;
  background: rgba(14, 18, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 16px;
  z-index: 90;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  padding: 4px 8px;
}

.brand-logo-small {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Center Hotbar Menu */
.hotbar-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hotbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hotbar-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hotbar-item.active {
  color: #05070a;
  background: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.hotbar-item.active svg {
  stroke: #05070a;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 12px 5px 6px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.user-avatar-small {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  object-fit: cover;
}

/* ========================================================================= */
/* PAGE VIEW CONTROLLER WITH TOUGH ENTRANCE ANIMATIONS                      */
/* ========================================================================= */
.page-view {
  width: 100%;
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: toughViewEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toughViewEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* ========================================================================= */
/* SECTION 1: HOME PAGE VIEW (/home) WITH TOUGH ANIMATIONS                   */
/* ========================================================================= */
.home-hero {
  text-align: center;
  max-width: 820px;
  margin: 10px 0 45px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-accent);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  animation: badgeFloat 3.5s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); box-shadow: 0 0 10px rgba(16, 185, 129, 0.15); }
  100% { transform: translateY(-4px); box-shadow: 0 0 20px rgba(0, 255, 163, 0.35); }
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .text-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #00ffa3 40%, #ffffff 50%, #00ffa3 60%, #10b981 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmerEmerald 4s linear infinite;
  display: inline-block;
}

@keyframes textShimmerEmerald {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #059669 100%);
  color: #04080f;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.5);
  animation: primaryBtnPulse 3.5s infinite;
}

.btn-primary-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: all 0.65s ease;
}

.btn-primary-cta:hover::after {
  left: 130%;
}

.btn-primary-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px -4px rgba(0, 255, 163, 0.6);
  background: linear-gradient(135deg, #34d399 0%, var(--color-primary) 100%);
}

.btn-primary-cta:active {
  transform: scale(0.96);
}

@keyframes primaryBtnPulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 8px 30px -2px rgba(0, 255, 163, 0.7); }
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.btn-secondary-cta:active {
  transform: scale(0.96);
}

/* Stats Ticker Row */
.stats-ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 50px;
}

.stat-ticker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-ticker-card:hover {
  border-color: rgba(0, 255, 163, 0.45);
  transform: translateY(-5px) scale(1.02);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.25);
}

.stat-ticker-num {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-ticker-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Home Features Grid */
.home-section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.section-main-heading {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 60px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 255, 163, 0.35);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.15);
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 8px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-box:hover .feature-box-icon {
  transform: scale(1.14) rotate(-6deg);
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.45);
}

.feature-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-box-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* How to Execute 3 Step Banner */
.quickstart-banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 17, 28, 0.85) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 22px;
  padding: 38px 34px;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.quickstart-banner:hover {
  border-color: rgba(0, 255, 163, 0.45);
  box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.15);
}

.quickstart-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #04080f;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
  animation: stepNumPulse 3s infinite alternate ease-in-out;
}

@keyframes stepNumPulse {
  0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.3); transform: scale(1); }
  100% { box-shadow: 0 0 22px rgba(0, 255, 163, 0.7); transform: scale(1.05); }
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ========================================================================= */
/* SECTION 2: SCRIPTS HUB VIEW (/scripts)                                    */
/* ========================================================================= */
.scripts-header {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
  max-width: 800px;
}

.scripts-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
}

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

.scripts-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: #ffffff;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.scripts-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-primary);
  color: var(--color-accent);
  font-weight: 600;
}

.btn-upload-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #d8b4fe;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-upload-trigger:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

/* Scripts Grid Cards */
.scripts-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
  width: 100%;
}

.script-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.script-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 255, 163, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.2);
}

.script-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.script-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-accent);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  transition: all 0.25s ease;
}

.script-card:hover .script-game-badge {
  box-shadow: 0 0 16px rgba(0, 255, 163, 0.5);
  background: rgba(16, 185, 129, 0.28);
}

.script-meta-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.script-version-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.script-loads-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.script-loads-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
}

.script-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.script-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  min-height: 38px;
}

.script-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.script-features-list li {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.script-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-copy-loadstring {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-accent);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-loadstring:hover {
  background: var(--color-primary);
  color: #04080f;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-preview-script {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preview-script:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================================= */
/* SECTION 3: KEY SYSTEM VIEW (/key) - FREE vs PREMIUM SELECTION             */
/* ========================================================================= */
.key-header {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 580px;
  line-height: 1.5;
}

/* Free vs Premium Switcher Cards */
.key-mode-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 720px;
  margin-bottom: 36px;
}

.key-mode-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.key-mode-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

.key-mode-card:active {
  transform: scale(0.97);
}

.key-mode-card.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.28), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transform: scale(1.02);
  animation: neonBorderPulse 3s infinite alternate ease-in-out;
}

.key-mode-card.premium-mode.active {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--color-gold);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transform: scale(1.02);
  animation: goldBorderPulse 3s infinite alternate ease-in-out;
}

@keyframes neonBorderPulse {
  0% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2), 0 10px 25px -10px rgba(0, 0, 0, 0.7); }
  100% { box-shadow: 0 0 30px rgba(0, 255, 163, 0.45), 0 15px 35px -10px rgba(0, 0, 0, 0.8); }
}

@keyframes goldBorderPulse {
  0% { box-shadow: 0 0 18px rgba(245, 158, 11, 0.25), 0 10px 25px -10px rgba(0, 0, 0, 0.7); }
  100% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.5), 0 15px 35px -10px rgba(0, 0, 0, 0.8); }
}

.mode-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.key-mode-card.active .mode-icon-wrap {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--color-primary);
  color: var(--color-accent);
}

.key-mode-card.premium-mode.active .mode-icon-wrap {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--color-gold);
  color: #fbbf24;
}

.mode-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.mode-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mode-badge-exclusive {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0d14;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

/* ========================================================================= */
/* HOCHKANTES (VERTICAL) DISCORD STATUS WIDGET (Requested by User)           */
/* ========================================================================= */
.premium-discord-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.vertical-discord-card {
  width: 100%;
  max-width: 440px; /* Hochkant / Portrait proportions */
  background: linear-gradient(180deg, #101426 0%, #0c0f1c 100%);
  border: 1.5px solid rgba(88, 101, 242, 0.4);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(88, 101, 242, 0.2);
  animation: pulseCard 4s infinite alternate ease-in-out;
}

@keyframes pulseCard {
  0% { border-color: rgba(88, 101, 242, 0.35); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8), 0 0 25px rgba(88, 101, 242, 0.15); }
  100% { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8), 0 0 35px rgba(245, 158, 11, 0.25); }
}

.discord-card-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #0b0d14;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.discord-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: var(--color-discord);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 16px;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45);
}

.discord-server-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.discord-server-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 22px;
}

/* Online and Members Counter Boxes in Portrait */
.discord-metrics-vertical-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.discord-metric-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
}

.total-dot {
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  display: inline-block;
}

.metric-num {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

/* Premium Perks list in Discord Card */
.premium-perks-list {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 24px;
}

.premium-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.btn-join-discord-hero {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45);
}

.btn-join-discord-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(88, 101, 242, 0.65);
  background: linear-gradient(135deg, #6c78fa 0%, #5865F2 100%);
}

/* ========================================================================= */
/* FREE KEY SYSTEM: 3 CARDS GRID                                             */
/* ========================================================================= */
.key-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1140px;
  margin-bottom: 30px;
}

.key-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.key-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.key-card.featured {
  background: var(--bg-card-featured);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  box-shadow: 
    0 0 0 1px rgba(245, 158, 11, 0.2),
    0 15px 45px -10px rgba(245, 158, 11, 0.15),
    0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transform: scale(1.02);
}

.key-card.featured:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow: 
    0 0 0 1px rgba(245, 158, 11, 0.4),
    0 25px 50px -12px rgba(245, 158, 11, 0.25),
    0 15px 40px -10px rgba(0, 0, 0, 0.8);
}

.card-ambient-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.key-card.featured .card-ambient-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
}

.card-icon-wrapper {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.key-card:hover .card-icon-wrapper {
  transform: scale(1.08) rotate(-2deg);
}

.card-icon-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 16px rgba(16, 185, 129, 0.35));
}

.key-card.featured .card-icon-svg {
  filter: drop-shadow(0 8px 20px rgba(245, 158, 11, 0.4));
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.card-badge-recommended {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fcd34d;
  margin-bottom: 8px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.card-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 24px;
  min-height: 42px;
}

.card-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 10px;
  text-align: left;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.card-features li .feature-arrow {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}

.key-card:hover .card-features li .feature-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

.key-card.featured:hover .card-features li .feature-arrow {
  color: var(--color-gold);
}

.btn-claim-key {
  width: 100%;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-claim-key:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.key-card.featured .btn-claim-key {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0d14;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.key-card.featured .btn-claim-key:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

/* ========================================================================= */
/* DOCK BAR (Socials) - ONLY VISIBLE ON KEY SYSTEM PAGE                     */
/* ========================================================================= */
.dock-wrapper {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: auto;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-wrapper.dock-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 45px) scale(0.92);
}

.dock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dock-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--dock-border);
  border-radius: 9999px;
  padding: 8px 12px;
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 9999px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.dock-item:hover {
  color: #ffffff;
  background: var(--dock-hover-bg);
  transform: translateY(-4px) scale(1.04);
}

.dock-item.discord:hover {
  background: rgba(88, 101, 242, 0.15);
  color: #a5b4fc;
}

.dock-item.rscripts:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.dock-item.scriptblox:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
}

.dock-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2px;
}

/* ========================================================================= */
/* MODALS                                                                    */
/* ========================================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-box {
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.1);
  transform: scale(0.95) translateY(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.05);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.modal-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

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

/* Modal Form Styles (For Script Upload & Key Verification) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input, .form-textarea {
  width: 100%;
  background: #080a12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-textarea {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 100px;
  resize: vertical;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
}

/* Key Display Box in Claim Modal */
.key-result-container {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.key-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #090a10;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.key-code-text {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  word-break: break-all;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-code:hover {
  background: var(--color-primary);
  color: #000;
}

.key-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.roblox-box {
  margin-top: 16px;
  background: #080a10;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
}

.roblox-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.roblox-box-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.roblox-code-pre {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: #040508;
  padding: 10px;
  border-radius: 8px;
  color: #38bdf8;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111422;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--color-primary);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  font-size: 0.88rem;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.error {
  border-left-color: #ef4444;
}

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

/* Responsive Media Queries */
@media (max-width: 960px) {
  .top-nav {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 12px;
  }
  .hotbar-menu {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .hero-headline {
    font-size: 2.3rem;
  }
  .stats-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .quickstart-steps-grid {
    grid-template-columns: 1fr;
  }
  .key-cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .key-mode-selector-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-headline {
    font-size: 1.85rem;
  }
  .dock-bar {
    padding: 6px 10px;
    gap: 4px;
  }
  .dock-item {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}

