/* Local Zero-Latency High Performance Fonts */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2'),
       url('assets/fonts/outfit-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('assets/fonts/inter-latin.woff2') format('woff2'),
       url('assets/fonts/inter-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('assets/fonts/jetbrainsmono-latin.woff2') format('woff2'),
       url('assets/fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/jetbrainsmono-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('assets/fonts/jetbrainsmono-latin.woff2') format('woff2');
}

/* Premium Modern CSS */
:root {
  --bg-dark: #030712;
  --bg-surface: rgba(17, 24, 39, 0.6);
  --border-light: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --brand-cyan: #06b6d4;
  --brand-cyan-glow: rgba(6, 182, 212, 0.5);
  --brand-green: #10b981;
  --brand-green-glow: rgba(16, 185, 129, 0.5);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

/* Animated Background Globs */
.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-cyan);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-green);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 50px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Typography */
h1, h2, h3, .brand {
  font-family: var(--font-display);
}

h1 {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(to bottom right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 20px;
}

/* Shell Layout */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar (Glassmorphism) */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

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

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  color: var(--brand-cyan);
  text-shadow: 0 0 10px var(--brand-cyan-glow);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.button) {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:not(.button):hover {
  color: white;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-cyan), #3b82f6);
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(4px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.button-discord {
  background: #5865F2;
  color: white;
}

.button-discord:hover {
  background: #4752C4;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

/* Sections */
.section {
  padding: 8rem 0;
}

.section-heading-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.green-underline {
  color: var(--brand-cyan);
  border-bottom: 2px dashed var(--brand-cyan);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Terminal Card */
.terminal-card {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.terminal-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.terminal-top {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-top span:nth-child(1) { background: #ff5f56; }
.terminal-top span:nth-child(2) { background: #ffbd2e; }
.terminal-top span:nth-child(3) { background: #27c93f; }

.terminal-top strong {
  margin-left: auto;
  color: var(--text-muted);
  font-family: monospace;
}

.terminal-body {
  padding: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.terminal-body .cyan { color: var(--brand-cyan); }
.terminal-body .green { color: var(--brand-green); }
.terminal-body .muted { color: var(--text-muted); }
.terminal-status {
  margin-top: 1.5rem;
  color: var(--brand-green);
  text-shadow: 0 0 10px var(--brand-green-glow);
}

/* Grids */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Glass Cards */
.step-card, .version-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card::before, .version-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.step-card:hover::before, .version-card:hover::before {
  opacity: 1;
}

.step-card:hover, .version-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
}

/* Feature Cards (Animated Borderlines) */
.feature-card {
  position: relative;
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: none;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 70%, var(--brand-cyan) 80%, transparent 100%);
  animation: spin 3s linear infinite;
  z-index: -2;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.feature-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-surface);
  border-radius: 23px;
  z-index: -1;
  pointer-events: none;
}

.roblox-card::before {
  background: conic-gradient(from 0deg, transparent 70%, #f97316 80%, transparent 100%);
}

.discord-card::before {
  background: conic-gradient(from 0deg, transparent 70%, #5865F2 80%, transparent 100%);
}

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

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealAnim 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.feature-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-grid .feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-grid .feature-card:nth-child(3) { animation-delay: 0.3s; }

.step-card span {
  color: var(--brand-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-card h3, .feature-card h3 {
  margin: 1rem 0;
  font-size: 1.4rem;
}

/* Version Card & Check-list */
.premium-card {
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
  text-align: center;
}

.version-head {
  margin-bottom: 2rem;
}

.pulse-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.15);
  color: var(--brand-cyan);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.check-list {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: bold;
}

.version-button {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 0;
  margin-top: 6rem;
  background: rgba(0, 0, 0, 0.3);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-center p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-center span {
  color: var(--brand-cyan);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  top: -40px;
  background: var(--brand-cyan);
  color: #000;
  padding: 8px 16px;
  z-index: 999;
  font-weight: bold;
}
.skip-link:focus { top: 0; }

/* New Interactive Elements */
.tag-orange {
  display: inline-block;
  border: 1px solid #f97316;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.tag-discord {
  display: inline-block;
  border: 1px solid #5865F2;
  color: #5865F2;
  background: rgba(88, 101, 242, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.animate-pulse {
  animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.discord-card h3 {
  color: #5865F2;
}

.card-actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Smooth Page Transitions */
body { opacity: 0; animation: fadeInPage 0.4s ease-out forwards; }
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }
body.fade-out { opacity: 0; transition: opacity 0.3s ease; }
