@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  color: #333;
  font:
    1.2em / 1.5 "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  padding: 0;
  margin: 0;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10/11 */
  user-select: none;         /* Standard */
}

p { margin-top: 3em; }

.roboto-roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

::-webkit-scrollbar {
  width: 0;
  display: none;
}

* { box-sizing: border-box; }

/* Background video */
#video-background {
  background: #000;
  position: fixed;
  inset: 0;
  z-index: -99;
}

#video-foreground,
#video-background iframe {
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  #video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  #video-foreground { width: 300%; left: -100%; }
}

#vidtop-content {
  top: 0;
  color: #fff;
  position: sticky;
}

#bgmusic { display: none; }

#vid-info {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  border-radius: 0 0 0 50px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  padding: 1rem;
  font-family: Avenir, Helvetica, sans-serif;
  font-weight: bold;
}

#volumeicon {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 30px;
}

@media all and (max-width: 600px) {
  #vid-info { width: 50%; padding: .5rem; }
  #vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
  #vid-info #acronym { display: none; }
}

/* Fade helper */
@keyframes disappear {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.fade-out { animation: disappear .5s forwards; }

/* Infobox modal */
#infobox {
  font-family: Avenir, Helvetica, sans-serif;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 9999;
}
#infoboxcontent {
  background: #fff;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,.2);
  text-align: center;
}
#infoboxbutton {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #4CAF50;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
#infoboxbutton:hover { background-color: #45a049; }

/* Glow button */
.center {
  margin: 0;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}
#glow-on-hover:before {
  content: "";
  background: linear-gradient(45deg,#f00,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#7a00ff,#ff00c8,#f00);
  position: absolute;
  top: -2px; left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}
#glow-on-hover:hover:before { opacity: 1; }
#glow-on-hover:active { color: #000; }
#glow-on-hover:active:after { background: transparent; }
#glow-on-hover:after {
  z-index: -1;
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 10px;
}
@keyframes glowing {
  0%   { background-position:   0   0; }
  50%  { background-position: 400%  0; }
  100% { background-position:   0   0; }
}

/* Section overlay */
#section2 {
  font-family: "Roboto", sans-serif;
  height: 100%;
  width: 100%;
  backdrop-filter: invert(80%) blur(2px);
  margin: 0;
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sticky { position: sticky; top: 0; }

/* Embeds */
iframe {
  border: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating ball */
.ball {
  border-radius: 25px;
  width: 50px;
  height: 50px;
  backdrop-filter: sepia(100%) invert(80%) opacity(100%) blur(50px);
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1s;
}

/* Demo main box */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 660px;
  height: 400px;
  border: 1px solid #ccc;
  padding: 20px;
}

/* Click ripple */
div.clickEffect {
  position: fixed;
  box-sizing: border-box;
  border-style: solid;
  border-color: #000;
  border-radius: 50%;
  animation: clickEffect .4s ease-out;
  z-index: 99999;
}
@keyframes clickEffect {
  0% {
    opacity: 1;
    width: .5em; height: .5em;
    margin: -.25em;
    border-width: .5rem;
  }
  100% {
    opacity: .2;
    width: 15em; height: 15em;
    margin: -7.5em;
    border-width: .03rem;
  }
}

/* Scrolling & info badge */
#scroll-container {
  width: 100%;
  padding: 2em;
  box-sizing: border-box;
}
#location-overlay {
  position: fixed;
  bottom: 1em;
  left: 1em;
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: .5em 1em;
  border-radius: .5em;
  font-family: sans-serif;
  font-size: 1em;
  z-index: 9999;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

/* Countdown cards */
.timer-card {
  margin: .75em 0;
  padding: 1em 1.25em;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  color: #fff;
  font: 600 1rem/1.25 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.timer-card .t {
  font: 700 1.25rem/1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .3px;
}
.timer-card.reached {
  opacity: .8;
  filter: grayscale(.6);
}

/* ===== YouTube preloader overlay ===== */
#yt-preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.92);
  z-index: 10000;
  color: #fff;
  transition: opacity .35s ease;
}
#yt-preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
#yt-pre-box {
  width: min(92vw, 520px);
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  text-align: center;
  font: 600 16px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
#yt-pre-spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  margin: 0 auto 12px;
  animation: ytspin 1s linear infinite;
}
#yt-pre-bar {
  height: 6px;
  width: 100%;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}
#yt-pre-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  opacity: .9;
  transition: width .25s ease;
  border-radius: 999px;
}
@keyframes ytspin { to { transform: rotate(360deg); } }

/* ===== Right-Side Footer Drawer (hsi.kim look) ===== */
:root {
  --sf-bg: #0b0f17;
  --sf-fg: #e5e7eb;
  --sf-accent: #71C9F1;
  --sf-border: rgba(255,255,255,.14);
  --sf-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* Halbkreis-Tab (rechts am Rand) */
#side-footer-tab {
  position: fixed;
  right: 0;
  bottom: 27px;
  z-index: 1000; /* über dem Video etc. */
  width: 46px;
  height: 110px;
  border: none;
  border-radius: 30px 0 0 30px;            /* Halbkreis links */
  background: rgba(11,15,23,.35);
  color: var(--sf-accent);
  font: 900 22px/92px system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--sf-shadow);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-left: 1px solid var(--sf-border);
  transition: transform .18s ease, opacity .18s ease;
}
#side-footer-tab:hover { transform: translateX(-2px); }

/* Panel */
#side-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: min(420px, 92vw);
  height: min(56vh, 420px);
  border-radius: 10px 0 0 0;            
  transform: translateX(100%);            /* versteckt rechts */
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  background:
    radial-gradient(1200px 600px at 120% 120%, rgba(113,201,241,.14), transparent 60%),
    rgba(0,0,0,.42);
  color: var(--sf-fg);
  border-left: 1px solid var(--sf-border);
  box-shadow: var(--sf-shadow);
  backdrop-filter: blur(22px) saturate(140%) invert(80%) brightness(150%);;
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  display: flex;
  flex-direction: column;
  gap: 0.8em;   /* nur kleiner Abstand zwischen den Blöcken */
}
#side-footer.open { transform: translateX(0); }

/* Panel-Content */
#side-footer .sf-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;       /* header | content | footer */
  height: 100%;
  padding: 14px 16px;
  gap: 10px;
}
#side-footer .sf-head h3 {
  margin: 0;
  font: 700 15px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .2px;
  color: var(--sf-fg);
}

#side-footer .sf-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--sf-border);
  padding-top: 10px;
}
#side-footer .sf-copy small {
  font: 600 12px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  opacity: .9;
}

/* Responsiv: Tab etwas höher wenn Tastleisten o.ä. da sind */
@media (max-width: 700px) {
  #side-footer { height: min(60vh, 420px); width: min(96vw, 420px); }
  #side-footer-tab { bottom: 18px; height: 84px; width: 42px; line-height: 84px; border-radius: 42px 0 0 42px; }
}

/* Beachtet Nutzer, die reduzierte Bewegung wünschen */
@media (prefers-reduced-motion: reduce) {
  #side-footer, #side-footer-tab { transition: none !important; }
}

#sf-liveframe {
    background: transparent; 
    box-shadow: none;
    border: none;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    height: 260px !important;
    border-radius: 10px;
  }


.linktree-title {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0.2em 0;
}

.linktree-link {
  font-size: 1.05em;
  color: #71C9F1;
  text-decoration: none;
}

.linktree-link:hover {
  text-decoration: underline;
}

