@charset "utf-8";

/* --- Grundlayout --- */

body {
  margin: 0;
  background: #000;
  color: #f5f5f7;
  font-family: system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

/* --- Fullscreen Video --- */
#bgVideo {
  opacity: 0;
  transition: opacity 0.6s ease;
  position: fixed;
  inset: 0;              /* ersetzt top/left/width/height */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

#bgVideo.loaded {
  opacity: 1;
}

/*overlay header*/
.overlay-header {
  padding-left: 1.75rem;
}

.overlay-header,
.overlay-main {
  position: relative;
  z-index: 1;
}


.logo {
  font-family: "JetBrains Mono", monospace;
	  align-self: flex-start;  
	margin-top: 0.5em;
  font-size: 0.9rem;
	color: aqua;
  letter-spacing: 0.18em;
}

/* --- Overlay Layer --- */

.moat-overlay {
  position: relative;
  z-index: 10;
  width: 100%;

  min-height: 100vh;
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* statt center */
  align-items: center;
  text-align: center;

  padding: 14vh 8vw 10vh;        /* oben mehr, unten weniger */
  max-width: 900px;
  margin: 0 auto;
}



/* Matte Tiefenfläche */
.moat-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: -1;
}

/* --- Formel --- */

.moat-formula {
  text-align: center;
  width: 100%;
	color: aqua;
  font-size: 1.5rem;
  opacity: 0.8;
  margin-bottom: 1.0rem;
}

/* --- 65%-Skala --- */

.moat-scale {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto 2.5rem;

  display: grid;
  grid-template-columns:
    7fr 10fr 18fr 23fr 13fr   /* Ordnung 65% */
    20fr                      /* Kritikalität */
    10fr                      /* Chaos */
    5fr;                      /* Reorganisation */

  height: 26px;
  border-radius: 999px;
  overflow: hidden;
}

.moat-scale span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
  white-space: nowrap;
}

/* Farben */
.g1 { background: #22543d; }
.g2 { background: #276749; }
.g3 { background: #2f855a; }
.g4 { background: #38a169; }
.g5 { background: #48bb78; }

.crit { background: #d69e2e; }
.chaos { background: #e53e3e; }
.reorg { background: #4299e1; }

/* --- Claim --- */

.moat-claim {
  font-size: 2.6rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
}

.moat-sub {
  font-size: 1.1rem;
  opacity: 0.75;
  margin: 0.2rem 0;
}
.moat-mini a{
  font-size:1rem;
	color: aqua;
  font-weight: 100;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
/* --- Action Button --- */

.moat-action {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: #4fd1c5;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
