:root {
  --bg: #08060c;
  --bg-card: #120d1b;
  --border: #2a1f3d;
  --text: #ffffff;
  --text-muted: #a69db5;
  --purple: #a020f0;
  --purple-light: #c77dff;
  --purple-dark: #6a0dad;
  --glow: rgba(160, 32, 240, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse at 100% 100%, var(--glow), transparent 55%),
    radial-gradient(ellipse at 0% 0%, rgba(106, 13, 173, 0.10), transparent 45%),
    var(--bg);
  background-attachment: fixed;
}

.page {
  min-height: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

/* ---------- Hero ---------- */
.hero-title {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-title .accent {
  color: var(--purple);
  text-shadow: 0 0 28px rgba(160, 32, 240, 0.55);
}

.hero-text {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Login-Karte ---------- */
.login-wrap {
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 0 60px rgba(160, 32, 240, 0.12);
}

.login-title {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 14px;
}

.login-sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #0b0712;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder {
  color: #5f5570;
}

.field input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(160, 32, 240, 0.25);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 24px;
  font-size: 13px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
}

.link {
  color: var(--purple-light);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}

.btn:hover {
  filter: brightness(1.15);
}

.btn:active {
  transform: translateY(1px);
}

.register {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: clamp(22px, 7vw, 36px);
    margin-bottom: 24px;
  }
}

/* ======================================================
   HUB / STARTSEITE (index.html)
   ===================================================== */

/* Nutzt die Farben/Variablen aus style.css (:root) */

.hub-body {
  min-height: 100%;
}

/* ---------- Navigation ---------- */
.hub-nav-wrap {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 20px;
}

.hub-nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 26px;
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--border);
}

.hub-logo {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.hub-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.hub-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hub-links a:hover {
  color: var(--purple-light);
}

.hub-badge {
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--purple-dark);
  border-radius: 3px;
}

.hub-user {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.hub-user:hover {
  border-color: var(--purple);
}

/* ---------- Hero ---------- */
.hub-hero {
  position: relative;
  overflow: hidden;
  padding: 220px 20px 180px;
  text-align: center;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.05) 38% 78%, transparent 78%),
    linear-gradient(180deg, #7a1fd1 0%, var(--purple-dark) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hub-pill {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--border);
}

.hub-domain {
  margin: 28px 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
}

.hub-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.hub-sub {
  margin: 20px 0 36px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}


.hub-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hub-chips a,
.hub-btn {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--border);
  transition: box-shadow 0.15s;
}

.hub-chips a:hover,
.hub-btn:hover {
  box-shadow: 0 0 0 2px var(--purple);
}

/* ---------- Pixel-Wolken ---------- */
.cloud {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 80px;
  background: #f3f0f8;
  border-bottom: 18px solid #b9aed0;
  clip-path: polygon(0 100%, 0 40%, 20% 40%, 20% 0, 80% 0, 80% 40%, 100% 40%, 100% 100%);
}

.c1 { top: 160px; left: 6%; }
.c2 { top: 100px; right: 6%; width: 200px; height: 96px; }
.c3 { top: 370px; left: 22%; width: 110px; height: 52px; border-bottom-width: 12px; }
.c4 { top: 370px; right: 10%; width: 120px; height: 56px; border-bottom-width: 12px; }

/* ---------- Skins-Bereich ---------- */
.hub-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.hub-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hub-section-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.hub-card {
  padding: 16px;
  background: var(--bg-card);
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 0 2px var(--border);
}

.hub-card h3 {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Platzhalter-Figur, später durch Skin-Bild ersetzen */
.hub-skin {
  height: 180px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70px 150px;
  image-rendering: pixelated;
}

.hub-skin.s1 { background-image: linear-gradient(var(--purple), var(--purple)); }
.hub-skin.s2 { background-image: linear-gradient(var(--purple-light), var(--purple-light)); }
.hub-skin.s3 { background-image: linear-gradient(var(--purple-dark), var(--purple-dark)); }
.hub-skin.s4 { background-image: linear-gradient(#5a3a85, #5a3a85); }
.hub-skin.s5 { background-image: linear-gradient(#8e5ccf, #8e5ccf); }
.hub-skin.s6 { background-image: linear-gradient(#3d2a5c, #3d2a5c); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .hub-links { display: none; }
}

@media (max-width: 600px) {
  .hub-nav-wrap { top: 16px; }
  .hub-hero { padding: 150px 16px 130px; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud { display: none; }
}

    /* Zusätzlicher Stil für den Microsoft-Button (falls noch nicht in style.css vorhanden) */
    .btn-microsoft {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background-color: #2f2f2f;
      color: #ffffff;
      border: 1px solid #444;
      margin-bottom: 20px;
      transition: background-color 0.2s;
    }
    .btn-microsoft:hover {
      background-color: #3f3f3f;
    }
    .btn-microsoft img {
      width: 18px;
      height: 18px;
    }
    .login-divider {
      display: flex;
      align-items: center;
      text-align: center;
      margin: 15px 0;
      color: #888;
      font-size: 0.9rem;
    }
    .login-divider::before,
    .login-divider::after {
      content: '';
      flex: 1;
      border-bottom: 1px solid #333;
    }
    .login-divider:not(:empty)::before {
      margin-right: .75em;
    }
    .login-divider:not(:empty)::after {
      margin-left: .75em;
    }

    :root {
      --bg-color: #0b0b0b;
      --accent-red: #7a1fd1;
      --text-main: #ffffff;
      --text-muted: #a0a0a0;
    }
    
    body.hub-body {
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: 'Poppins', sans-serif;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    /* Header & Navigation über die volle Breite */
    .hub-nav-wrap {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(11, 11, 11, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hub-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px 40px;
      box-sizing: border-box;
    }

    .hub-logo {
      font-family: 'Press Start 2P', monospace;
      font-size: 1rem;
      color: var(--text-main);
      text-decoration: none;
      letter-spacing: 1px;
    }

    .hub-links {
      display: flex;
      gap: 30px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .hub-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .hub-links a:hover {
      color: var(--text-main);
    }

    .hub-badge {
      background: var(--accent-red);
      color: white;
      font-size: 0.65rem;
      padding: 2px 6px;
      border-radius: 4px;
      vertical-align: middle;
      font-weight: 700;
    }

    .hub-user {
      color: var(--text-main);
      text-decoration: none;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.2);
      padding: 8px 18px;
      border-radius: 6px;
      transition: all 0.2s;
    }

    .hub-user:hover {
      border-color: var(--accent-red);
      background: rgba(255, 42, 42, 0.1);
    }

    /* Hero Sektion – Vollkommen zentriert */
    .hub-hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 120px 20px 60px 20px;
      position: relative;
      background: radial-gradient(circle at 50% 45%, rgba(255, 42, 42, 0.08) 0%, transparent 60%), var(--bg-color);
      box-sizing: border-box;
    }

    .hub-hero-inner {
      max-width: 900px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin: 0 auto;
    }

    .hub-hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .hub-hero-content h1 {
      font-family: 'Press Start 2P', monospace;
      font-size: clamp(2rem, 4vw, 3.8rem);
      line-height: 1.35;
      margin: 0 0 24px 0;
      text-transform: uppercase;
      color: var(--text-main);
      text-align: center;
    }

    .hub-hero-content h1 span {
      color: var(--accent-red);
      display: block;
      margin-top: 8px;
    }

    .hub-hero-content p {
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.6;
      max-width: 620px;
      margin: 0 auto 35px auto;
      text-align: center;
    }

    .hub-search-box {
      display: flex;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 6px;
      width: 100%;
      max-width: 520px;
      align-items: center;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .hub-search-box input {
      background: transparent;
      border: none;
      outline: none;
      color: white;
      padding: 10px 14px;
      font-size: 0.95rem;
      width: 100%;
    }

    .hub-search-box button {
      background: var(--accent-red);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s;
      white-space: nowrap;
    }

    .hub-search-box button:hover {
      opacity: 0.9;
    }

    /* Standard Sektionen */
    .hub-section {
      max-width: 1300px;
      margin: 0 auto;
      padding: 80px 40px;
    }

    .hub-section-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }

    .hub-section-head h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin: 0;
    }

    .hub-btn {
      color: var(--text-main);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .hub-btn:hover {
      color: var(--accent-red);
    }

    .hub-grid {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 40px;
      text-align: center;
      color: var(--text-muted);
    }

    footer {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 40px;
    }

    footer a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    footer a:hover {
      color: var(--text-main);
    }

    @media(max-width: 768px) {
      .hub-links {
        display: none;
      }
    }
    /* ======================================================
   FOOTER
   ===================================================== */

.site-footer {
  margin-top: 60px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 40px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

/* ---------- Marke ---------- */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.footer-brand p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Spalten ---------- */
.footer-col h4 {
  margin-bottom: 18px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-logo:hover {
  color: var(--purple-light);
}

/* ---------- Unterer Bereich ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  color: var(--text-muted);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-social a:hover {
  color: var(--purple-light);
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal .footer-note {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 40px 20px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal {
    text-align: left;
  }
}