:root {
  --v2-bg-1: #0b1220;
  --v2-bg-2: #16243b;
  --v2-accent: #d92390;
  --v2-cta: #313a46;
  --v2-ink: #e8eef7;
  --v2-muted: #94a3b8;
  --v2-border: rgba(255,255,255,.14);
}

/* Hintergrund-Video bleibt, wir legen Orbs/Canvas darüber */

#bgvid {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -3;
  filter: saturate(1.05) brightness(.9);
}

/* animierter Orb-Gradient (dezent) */

.v2-orb-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(50% 50% at 10% 20%, rgba(217,35,144,.18), transparent 60%), radial-gradient(40% 40% at 90% 15%, rgba(56,189,248,.12), transparent 60%), radial-gradient(55% 55% at 50% 85%, rgba(99,102,241,.12), transparent 60%), linear-gradient(180deg, var(--v2-bg-1), var(--v2-bg-2));
  animation: v2-orbs 18s ease-in-out infinite alternate;
}

@keyframes v2-orbs {
  0% {
    filter: hue-rotate(0deg) blur(0px);
  }
  100% {
    filter: hue-rotate(12deg) blur(0.2px);
  }
}

/* Fireworks Canvas on top of orbs, behind modals */

.v2-fireworks {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Corner Buttons */

.v2-corner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.v2-chip {
  --pad: .55rem 1rem;
  padding: var(--pad);
  background: rgba(17,24,39,.6);
  color: var(--v2-ink);
  border: 1px solid var(--v2-border) !important;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, border-color .2s;
}

.v2-chip:hover {
  transform: translateY(-1px);
  background: rgba(17,24,39,.75);
}

.v2-chip:active {
  transform: translateY(0);
}

/* Modal = Glassmorphism */

.v2-glass {
  background: rgba(9,14,24,.72);
  color: var(--v2-ink);
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.modal-header, .modal-footer {
  border-color: var(--v2-border);
}

/* Header mit Logo */

.v2-header {
  align-items: center;
}

.v2-logo-wrap {
  width: 100%;
  text-align: center;
}

.v2-logo {
  width: min(320px, 70%);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

/* Body + Titel */

.v2-body {
  padding-top: 8px;
}

.v2-title {
  margin: .2rem 0 0.2rem;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.1;
  text-align: center;
  font-size: clamp(26px, 3.5vw, 36px);
  background: linear-gradient(90deg, #fff, #dbeafe, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: v2-shine 4.5s linear infinite;
}

@keyframes v2-shine {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
  100% {
    filter: brightness(1);
  }
}

.v2-subtitle {
  text-align: center;
  margin: 0 0 10px;
  color: var(--v2-muted);
  font-size: 0.95rem;
}

.v2-sparkle {
  animation: v2-pop 1.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes v2-pop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.06);
  }
}

/* Alpha-Badge */

.v2-badge {
  display: flex;
  gap: .5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: .35rem;
}

.v2-badge-main {
  padding: .25rem .6rem;
  font-weight: 700;
  border-radius: 999px;
  color: #111;
  background: #e2e8f0;
}

.v2-badge-sub {
  padding: .22rem .55rem;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: .35rem;
  color: #fff;
  background: var(--v2-accent);
  box-shadow: 0 0 14px rgba(217,35,144,.45);
  position: relative;
}

.v2-badge-sub::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: .45rem;
  background: radial-gradient(closest-side, rgba(217,35,144,.35), transparent 70%);
  filter: blur(6px);
  z-index: -1;
  animation: v2-pulse 1.8s ease-in-out infinite;
}

@keyframes v2-pulse {
  0%, 100% {
    opacity: .4;
  }
  50% {
    opacity: .9;
  }
}

/* Inputs & Links */

.v2-input {
  background: rgba(15,23,42,.6);
  color: var(--v2-ink);
  border: 1px solid var(--v2-border);
  height: 44px;
  border-radius: 10px;
}

.v2-input:focus {
  border-color: rgba(217,35,144,.55);
  box-shadow: 0 0 0 .2rem rgba(217,35,144,.15);
  background: rgba(15,23,42,.75);
  color: var(--v2-ink);
}

.v2-link {
  font-size: .95rem;
  color: var(--v2-accent);
  cursor: pointer;
  user-select: none;
}

.v2-link:hover {
  text-decoration: underline;
}

/* CTA Buttons */

.v2-cta {
  background: linear-gradient(180deg, var(--v2-cta), #1f2732);
  color: #fff;
  border: 1px solid var(--v2-border) !important;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .15s ease, filter .15s ease;
}

.v2-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.v2-cta:active {
  transform: translateY(0);
}

.v2-secondary {
  background: rgba(17,24,39,.6);
  color: var(--v2-ink);
  border: 1px solid var(--v2-border) !important;
  border-radius: 999px;
  padding: .6rem 1.2rem;
  font-weight: 600;
}

/* Spinner Overlay */

.v2-spinner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(9,14,24,.93);
}

.sk-cube-grid {
  width: 280px;
  height: 280px;
  opacity: .7;
}

.sk-cube-grid .sk-cube {
  background-color: #1e2a39;
}

/* Modal Backdrop etwas dunkler */

.modal-backdrop.show {
  opacity: .6;
}

/* Buttons global ohne Standard-Border */

button {
  border: none !important;
}

/* Responsives Feintuning */

@media (max-width: 420px) {
  .v2-chip {
    padding: .45rem .8rem;
    font-size: .95rem;
  }
}

@media (max-width: 420px) {
  .v2-cta {
    font-size: 1rem;
  }
}

/* Big, short-lived background title */

.v2-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.v2-hero-text {
  font-weight: 900;
  font-size: clamp(42px, 12vw, 160px);
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(90deg,#ffffff,#dbeafe,#ffffff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.35));
}

/* Shine + Fade kurz einblenden */

.v2-hero.play .v2-hero-text {
  animation: v2-hero-shine 2.2s linear infinite, v2-hero-flash 2.6s ease forwards;
}

@keyframes v2-hero-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes v2-hero-flash {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(1.02);
  }
  12% {
    opacity: .25;
  }
  28% {
    opacity: .35;
  }
  52% {
    opacity: .22;
  }
  72% {
    opacity: .12;
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(1);
  }
}

.v2-cta {
  background: linear-gradient(180deg, var(--v2-cta), #1f2732);
  color: #fff !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .15s ease, filter .15s ease;
}

.v2-cta:visited {
  color: #fff !important;
}

/* falls Browser visited einfärbt */

.v2-cta:disabled {
  opacity: .55;
  color: #fff !important;
}

