@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");

/* base */

body {
  margin: 0;
  font-family: 'Orbitron', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  text-align: center;
}

/*
.banner img {
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #b01a1a;
}*/

.banner img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  transition: all 1s ease-in-out;
  will-change: transform, filter;
}

h1 {
  font-size: 2.5rem;
  margin-top: 40px;
  color: #d8d8d8;
  text-shadow: 0 0 10px #b01a1a;
}

.highlight {
  color: #6bbf3a;
  text-shadow: 0 0 12px #8ee652;
}

p {
  font-size: 1.2rem;
  margin: 20px auto 40px;
  width: 80%;
  line-height: 1.5;
  color: #c4c4c4;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #6bbf3a;
  color: #121212;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 0 15px #6bbf3a88;
  transition: all 0.3s ease;
}

.discord-button:hover {
  background-color: #8ee652;
  transform: scale(1.05);
}

.discord-button img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

footer {
  margin-top: 60px;
  padding: 20px;
  color: #8c8c8c;
  font-size: 0.9rem;
  border-top: 1px solid #2f2f2f;
}

.server-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: stretch; /* alle gleich hoch */
  margin: 2rem auto;
  max-width: 90%;
}

.greenbox {
  background: #1a1a1a;
  border: 2px solid #6bbf3a;
  border-radius: 12px;
  padding: 1rem;
  flex: 1 1 500px; /* wächst mit, min 280px breit */
  max-width: 500px;
  color: #e0e0e0;
  font-family: 'Orbitron', system-ui, Arial, sans-serif;
  box-shadow: 0 0 24px #6bbf3a55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px; /* gleiche Höhe */
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

/* 🔥 Kleine Hover-Animation */
.greenbox:hover {
  transform: scale(1.03);
  box-shadow: 0 0 32px #6bbf3a99;
}

/* Button-Position */
.greenbox .discord-button {
  margin-top: auto;
  align-self: center;
}
/* for the help images  */

.imgbox{
  border: 2px solid #6bbf3a;
  border-radius: 12px;
  height:25%;
  box-shadow: 0 0 24px #6bbf3a55;
  padding: 0;
  margin: 5rem;
}

.serverlogo{
  height: 8rem;
  filter: drop-shadow(1rem 1rem 1rem #6bbf3a55) drop-shadow(1rem -1rem 1rem #6bbf3a55)
    drop-shadow(-1rem 1rem 1rem #6bbf3a55) drop-shadow(-1rem -1rem 1rem #6bbf3a55);
}

/* spin add ons */

    .slot-machine {
      width: 320px;
      height: 320px;
      margin: 0 auto;
      border: 4px solid #6bbf3a;
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 30px #6bbf3a77;
      background: radial-gradient(circle at center, #222 60%, #111 100%);
    }

    .slot-item {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .slot-item img {
      width: 96px;
      height: 96px;
      object-fit: contain;
      filter: drop-shadow(0 0 10px #6bbf3a);
    }

    .description {
      background: #1a1a1a;
      border: 2px solid #6bbf3a;
      border-radius: 12px;
      padding: 1rem;
      max-width: 720px;
      margin: 5rem auto;
      color: #e0e0e0;
      box-shadow: 0 0 24px #6bbf3a55;
    }

    button {
      margin-top: 30px;
      padding: 12px 30px;
      background: #6bbf3a;
      border: none;
      border-radius: 8px;
      color: #111;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    button:hover {
      background: #8ef34a;
    }

.tracking-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.tracking-player.active {
  color: #121212;
  background-color: #8ee652;
  border-color: #8ee652;
  box-shadow: 0 0 12px #8ee652;
}

.trackingdata {
  width: max-content;
  min-width: 75%;
  margin: 0 auto;
  border-collapse: collapse;
}

.trackingdata td,
.trackingdata th {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  text-align: left;
  white-space: nowrap;
}

.trackingdata th {
  font-size: 0.95rem;
  font-weight: bold;
  border-bottom: 1px solid white;
}

.content-tabs {
  width: 100%;
  margin: 2rem auto 0;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 90%;
  margin: 0 auto 2rem;
  border-bottom: 1px solid #2f2f2f;
}

.tab-button {
  margin: 0;
  padding: 0.8rem 1.25rem;
  color: #c4c4c4;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  font-size: 1rem;
}

.tab-button:hover,
.tab-button:focus-visible {
  color: #e0e0e0;
  background: #1a1a1a;
  outline: none;
}

.tab-button[aria-selected="true"] {
  color: #8ee652;
  background: #1a1a1a;
  border-bottom-color: #6bbf3a;
  box-shadow: 0 0 12px #6bbf3a55;
}

.tab-panel[hidden] {
  display: none;
}

.data-table-scroll {
  width: 100%;
  overflow-x: auto;
}


.data-table {
  margin: auto;
  width: 90%;
  border-collapse: collapse;
}

.data-table tbody tr:nth-child(even) {
  background-color: #222222;
}

.data-table tr td,
.data-table tr th {
  padding: .5rem 1rem;
  text-align: start;
  font-size: 1rem;
  border-right: 1px solid #888;
  border-bottom: 1px solid #888;
}

.data-table tr th {
  font-size: 1.5rem;
  font-weight: bold;
}

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

.data-table tr td:last-child,
.data-table tr th:last-child {
  border-right: none;
}

/* Markdown-Dokumentation */

.markdown-page,
.markdown-content {
  box-sizing: border-box;
}

.markdown-page {
  width: min(1100px, 92%);
  margin: 0 auto;
}

md[file] {
  display: block;
  min-height: 4rem;
}

.tab-panel .markdown-content {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.markdown-content {
  color: #e0e0e0;
  text-align: left;
  line-height: 1.65;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  color: #8ee652;
  scroll-margin-top: 1rem;
}

.markdown-content h1 {
  margin: 2rem 0 1.5rem;
}

.markdown-content h2 {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #2f2f2f;
}

.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  margin: 1.75rem 0 0.75rem;
}

.markdown-content p {
  width: auto;
  margin: 0 0 1rem;
  color: #c4c4c4;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
}

.markdown-content a {
  color: #8ee652;
}

.markdown-content a:hover {
  color: #b6f28e;
}

.markdown-content ul,
.markdown-content ol {
  margin: 0 0 1rem;
  padding-left: 2rem;
  font-family: system-ui, sans-serif;
}

.markdown-content blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  color: #c4c4c4;
  background: #1a1a1a;
  border-left: 4px solid #6bbf3a;
}

.markdown-content blockquote p {
  margin: 0;
}

.markdown-content code {
  padding: 0.15rem 0.35rem;
  color: #d6f7c1;
  background: #242424;
  border-radius: 4px;
}

.markdown-content pre {
  padding: 1rem;
  overflow-x: auto;
  background: #1a1a1a;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
}

.markdown-content pre code {
  padding: 0;
  background: transparent;
}

.markdown-content table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
}

.markdown-content th,
.markdown-content td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border: 1px solid #444;
}

.markdown-content th {
  color: #8ee652;
  background: #1a1a1a;
}

.markdown-content img {
  max-width: 100%;
  height: auto;
}

.markdown-toc {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: #1a1a1a;
  border: 1px solid #6bbf3a;
  border-radius: 8px;
  box-shadow: 0 0 14px #6bbf3a33;
  font-family: 'Orbitron', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.markdown-toc-title {
  margin-bottom: 0.75rem;
  color: #8ee652;
  font-size: 1.2rem;
  font-weight: bold;
}

.markdown-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
}

.markdown-toc li {
  margin: 0.25rem 0;
}

.markdown-toc details > ul {
  margin-top: 0.35rem;
}

.markdown-toc summary {
  width: fit-content;
  cursor: pointer;
}

.markdown-toc-level-1 { font-size: 1.5rem; }
.markdown-toc-level-2 { margin-left: 0.8rem !important; font-size: 1.2rem; }
.markdown-toc-level-3 { margin-left: 1.6rem !important; font-size: 0.9rem; }
.markdown-toc-level-4 { margin-left: 2.4rem !important; font-size: 0.8rem; }
.markdown-toc-level-5 { margin-left: 3.2rem !important; font-size: 0.8rem; }
.markdown-toc-level-6 { margin-left: 4rem !important; font-size: 0.8rem; }

.markdown-toc .markdown-toc-root {
  margin-left: 0 !important;
}
