:root {
    --bg-color: #0a0d10;
    --text-color: #fff4e6; /* warm white */
    --primary-color: #06d6a0; /* neon green */
    --secondary-color: #ff9800; /* warm orange */
    --warning: #ffcc00;
    --card-bg: rgba(18, 22, 27, 0.75);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    --accent-color: #ffb84d; /* golden highlight */
    --border-strong: rgba(255, 184, 77, 0.35);
}

/* Background */
body {
    background: radial-gradient(1200px 600px at 10% 10%, #121417 0%, #0a0d10 60%) no-repeat,
                repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px);
    color: var(--text-color);
    font-family: 'Roboto', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, label {
    color: var(--text-color);
    text-shadow: 0 2px 18px rgba(255, 152, 0, 0.22), 0 0 2px rgba(6, 214, 160, 0.45);
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000; /* über den Partikeln */
  margin-top: 25px;
}
.particles {
  position: fixed;  /* oder absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* klickt nicht die Navigation weg */
  z-index: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
  }
  .nav-links {
    justify-content: center;
  }
}
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Components */
.form-container {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    width: 92%;
    max-width: 1100px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 200, 150, 0.10);
}

/* Inputs & buttons */
input, select, textarea, button {
    background-color: rgba(22, 27, 34, 0.85);
    color: var(--text-color);
    border: 1px solid rgba(255, 168, 76, 0.25);
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 15px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.25);
    border-color: var(--secondary-color);
}
button.modern-button {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #1a1005;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .2px;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
    width: auto;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
}
button.modern-button.big { padding: 14px 24px; font-size: 16px; }
button.modern-button:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.05); }
button.modern-button:active { transform: translateY(-1px) scale(0.99); }
button.modern-button.outline {
    background: transparent;
    border: 1.5px dashed var(--secondary-color);
    box-shadow: none;
    color: var(--text-color);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background: rgba(18, 22, 27, 0.75);
    color: var(--text-color);
    margin: 0 5px;
}
.modern-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background: rgba(18, 22, 27, 0.75);
    color: var(--text-color);
    margin: 0 5px;
}
.nav-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(255,152,0,0.25), 0 0 12px rgba(6,214,160,0.25);
    border-color: var(--secondary-color);
}

/* Responsive Header */
@media (max-width: 768px) {
    .nav {
        flex-wrap: nowrap;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        border-radius: 0 0 12px 12px;
        box-shadow: var(--card-shadow);
        display: none;
        width: 200px;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(18, 22, 27, 0.75); /* dunkler Hintergrund für Kontrast */
  color: var(--text-color);
  text-decoration: none;
  text-shadow: 
    0 0 8px rgba(6, 214, 160, 0.6),
    0 0 14px rgba(255, 152, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.brand-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(6, 214, 160, 0.4),
              0 0 24px rgba(255, 152, 0, 0.3);
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.brand-name {
  color: var(--text-color); /* immer lesbar */
  font-weight: 900;
}

a.brand-link::after {
  display: none !important;
}


/* CTA Row */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
}

/* Pixel/Neon flavor */
.pixel-card {
    border: 2px solid rgba(6, 214, 160, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 152, 0, 0.16), var(--card-shadow);
    position: relative;
}
.pixel-card:before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(6,214,160,0.10), rgba(255,152,0,0.10));
    filter: blur(8px);
    z-index: -1;
}

.glow-border {
    border: 1px solid var(--border-strong);
    box-shadow: 0 0 24px rgba(6, 214, 160, 0.15), 0 0 40px rgba(255, 152, 0, 0.12) inset;
}

.neon {
  text-shadow:
    0 0 12px rgba(6, 214, 160, 0.45),
    0 0 18px rgba(255, 152, 0, 0.35),
    0 0 24px rgba(255, 184, 77, 0.25);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), #20e3b2, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero background */
.hero-bg {
    position: absolute;
    inset: -10px 0 auto 0;
    height: 320px;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(6,214,160,.28), rgba(255,152,0,.20), rgba(255,184,77,.18));
    filter: blur(10px) saturate(120%);
    pointer-events: none;
    border: 1px solid rgba(255, 184, 77, 0.25);
}
.tilt { transform-style: preserve-3d; }

.hero {
  max-width: 1200px;
  margin: 0 auto 20px; /* kein Abstand nach oben */
  padding: 24px;
  text-align: center;
  position: relative;
}

/* Snippet frame */
.snippet-frame {
    margin: 28px auto 8px;
    max-width: 1000px;
    border-radius: 14px;
    padding: 10px;
    background: rgba(10,12,14,.6);
    border: 1px solid rgba(255,184,77,.25);
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
    overflow-x: auto;
}
.snippet-img {
    width: 100%;
    border-radius: 10px;
    display: block;
    height: auto;
}

/* Terminal block */
.terminal {
    background: #0b0f14;
    border: 1px solid rgba(255,184,77,.25);
    border-radius: 10px;
    padding: 12px;
    box-shadow: inset 0 0 24px rgba(255,152,0,.06);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    max-height: 320px;
    overflow: auto;
    color: var(--text-color);
}
.terminal code {
    display: block;
    white-space: pre;
    overflow-x: auto;
    line-height: 1.5;
}
.terminal .keyword { color: var(--primary-color); font-weight: bold; }
.terminal .string { color: var(--secondary-color); }
.terminal .annotation { color: var(--accent-color); }
.terminal .comment { color: rgba(255, 255, 255, 0.6); font-style: italic; }
.terminal .number { color: var(--warning); }
.terminal .method { color: #4dd0e1; }
.terminal .class-name { color: #ffd54f; font-weight: bold; }

/* Perks & Stats */
.perk-list { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.perk-list li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: rgba(12,16,20,.6); border: 1px dashed rgba(255,184,77,.26); border-radius: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat { background: rgba(12,16,20,.6); border: 1px solid rgba(255,184,77,.25); border-radius: 10px; padding: 10px; text-align: center; }
.num { font-size: 28px; font-weight: 800; display: block; }

/* Server Dashboard */
.server-dashboard {
  background: rgba(10,12,14,0.6);
  border: 1px solid rgba(255,184,77,.25);
  border-radius: 14px;
  padding: 16px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}
.server-dashboard h3 { margin: 0 0 14px; font-size: 1.3rem; text-align: center; }
.stat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stat-row span:first-child { flex: 0 0 70px; font-weight: bold; }
.bar { flex: 1; height: 14px; background: rgba(18,22,27,0.8); border-radius: 7px; overflow: hidden; border: 1px solid rgba(255,184,77,.25); }
.fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: width 0.5s ease-out; }
.value { flex: 0 0 70px; text-align: right; font-weight: bold; }

/* Responsive Dev section */
@media (max-width: 1024px) {
    #dev .grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr !important; }
    #dev .grid { grid-template-columns: 1fr; }
    .card { padding: 14px; }
    .terminal { font-size: 0.85rem; }
    .perk-list li { font-size: 0.9rem; padding: 6px 8px; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .server-dashboard { padding: 12px; }
    .stat-row span:first-child { flex: 0 0 55px; font-size: 0.85rem; }
    .value { flex: 0 0 55px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
    body { padding: 10px; }
    h1, h2, h3 { font-size: 1rem; }
    .hero p { font-size: 0.9rem; }
    .nav-links a, .modern-button, .nav-pill { padding: 8px 12px; font-size: 0.85rem; }
    .stats { grid-template-columns: 1fr; }
    .stat { padding: 8px; }
    .terminal { font-size: 0.8rem; }
}

/* Plugin cards */
.plugin-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255,184,77,.25);
    box-shadow: var(--card-shadow);
    transition: transform .3s ease;
}

.plugin-card:hover {
    transform: translateY(-4px);
}

.plugin-card .plugin-media {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255,184,77,.25);
}

.plugin-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.plugin-card:hover img {
    transform: scale(1.04) rotate(.2deg);
}

.plugin-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-pill.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(255,152,0,0.25), 0 0 12px rgba(6,214,160,0.25);
    border-color: var(--secondary-color);
}

/* Spacing */
.section-gap { margin-top: 30px; }

/* Plugins heading */
.plugins-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}
.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--accent-color);
  margin-top: -8px;
  margin-bottom: 20px;
  opacity: 0.9;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; /* statt right: 0 */
    background: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--card-shadow);
    display: none; /* wichtig: Standard = unsichtbar */
    width: 200px;
    z-index: 999;
  }

  .nav-links.show {
    display: flex; /* wird vom JS ein-/ausgeschaltet */
  }

  .nav-toggle {
    display: block;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
  }
  
  .nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* JuByte links, Button rechts */
  padding: 0.5rem 1rem;
}
}

