:root {
  --bg: #05070d;
  --bg-alt: #080b14;
  --card: #0d1117;
  --card-hover: #141a25;
  --primary: #6366f1;
  --primary2: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent: #f472b6;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --border: #1e293b;
}

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


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}


body {
  font-family: "Inter", sans-serif;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(244, 114, 182, 0.08), transparent),
    radial-gradient(circle at top, #0b0f1a, var(--bg));
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 16px 48px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--primary2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

nav a.active {
  color: white;
  background: rgba(99, 102, 241, 0.2);
}

/* Responsive nav toggle and dropdown */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  color: var(--text);
  position: relative;
  z-index: 1201;
}
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg) translate(5px, -5px); }

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

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; z-index: 1300; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    padding-top: 64px;
    background: rgba(5, 7, 13, 0.98);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 1200;
    max-height: calc(100vh - 0px);
    overflow-y: auto;
  }
  .nav-links.show { transform: translateY(0); }
  .navbar { padding: 12px 16px; }
  .nav-links a { font-size: 16px; padding: 12px; display: block; }
  .btn { padding: 10px 16px; }
}

/* BUTTONS */
.btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary2) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.primary:hover::before {
  opacity: 1;
}

#filters {
  gap: 12px;
  margin-top: 20px;
  margin-right: 10px;
  margin-bottom: 10px;


}
#filters:hover {
  transform: scale(1.03);
}

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

.secondary:hover {
  border-color: var(--primary);
  color: white;
  background: rgba(99, 102, 241, 0.1);
}

.glow:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  display: flex-start;
  justify-content: space-between;
  padding: 160px 60px 0;
  align-items: center;
  min-height: 100vh;
  background: 
    radial-gradient(
      ellipse 100% 80% at 20% 10%,
      rgba(99, 102, 241, 0.12),
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 80%,
      rgba(244, 114, 182, 0.06),
      transparent 40%
    );
}

.hero-left {
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary2);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

h1 {
  font-size: 80px;
  font-weight: 800;
  margin: 24px 0;
  line-height: 1.05;
  letter-spacing: -2px;
}

h1 span {
  background: linear-gradient(135deg, var(--primary2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.buttons {
  margin: 30px 0;
}

/* TERMINAL */
.terminal {
  margin-top: 40px;
  background: rgba(13, 17, 23, 0.8);
  padding: 24px;
  border-radius: 16px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 100%
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dots span:nth-child(1){background: #ff5f56;}
.dots span:nth-child(2){background: #ffbd2e;}
.dots span:nth-child(3){background: #27c93f;}

.terminal p {
  margin: 6px 0;
  color: var(--text-muted);
}

.ok { 
  color: #34d399; 
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}
.cmd { 
  color: #f472b6; 
}

.terminal-line {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.3s; }
.terminal-line:nth-child(3) { animation-delay: 0.5s; }
.terminal-line:nth-child(4) { animation-delay: 0.7s; }

/* Feat */
.discord {
  background: rgba(13, 17, 23, 0.8);
  padding: 24px;
  border-radius: 16px;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.helperx_img {
 
  max-width: 100%;
  margin-bottom: 24px;
  border-radius: 10px;
  transition: transform 1s ease, box-shadow 1s ease;
  
}
.helperx_img:hover {
  transform: translateY(-5px);
  -webkit-box-shadow:0px 0px 17px 4px rgba(45,255,196,0.9);
  -moz-box-shadow: 0px 0px 17px 4px rgba(45,255,196,0.9);
  box-shadow: 0px 0px 17px 4px rgba(45,255,196,0.9);

}
 
.dot-discord {
  display: none;
}

#discord-image {
  display: none;
}

.dot-discord span:nth-child(1){background: #ff5f56; box-shadow: 0 0 10px #ff5f56;}
.dot-discord span:nth-child(2){background: #ffbd2e; box-shadow: 0 0 10px #ffbd2e;}
.dot-discord span:nth-child(3){background: #27c93f; box-shadow: 0 0 10px #27c93f;}

#discord-ticket {
    color: lightblue;
    text-decoration: none;
}

.hero-cards {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
  width: 100%;
}

.hero-cards .terminal,
.hero-cards .discord {
  margin-top: 0;
  flex: 1;
  max-width: none;
  min-width: 0;
}


@media (max-width: 640px) {
  .hero-cards {
    flex-direction: column;
  }
}





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

/* Grid */
.hero-right {
  position: relative;
}

.grid {
  width: 500px;
  height: 500px;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  animation: float 8s ease-in-out infinite, gridPulse 4s ease-in-out infinite;
  position: relative;
  left: -100px;
  border-radius: 20px;
  transform: perspective(1000px) rotateX(60deg);
}

.grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2), transparent 70%);
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}




.navhr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #888, transparent);
 
    
}

/* ANIMATION */
@keyframes float {
  0%,100% { transform: perspective(1000px) rotateX(60deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateX(60deg) translateY(-20px); }
}

/* LINK STYLES */
.bot_einladen, #link-kaufen, #cad_system {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 32px 60px;
  }

  .hero-left {
    max-width: 100%;
  }

  h1 {
    font-size: 56px;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-right {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .grid {
    left: 0;
    width: 100%;
    max-width: 400px;
    height: 300px;
  }

  .hero-cards {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 12px 20px;
  }

  nav a:not(.btn) {
    display: none;
  }

  /* When mobile panel is open, show the links inside it */
  .nav-links.show a:not(.btn) {
    display: block;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}