/* VN-Biker Root-Startseite /start.php
   Eigenes Launcher-Layout. Keine Footer-Positionierung in dieser Datei. */

:root {
    --vn-root-top-offset: calc(var(--vn-topbar-mini-h, 38px) + 34px);
    --vn-root-footer-clearance: calc(var(--vn-footer-mini-h, 54px) + env(safe-area-inset-bottom, 0px) + 10px);
    --vn-root-stage-pad-x: clamp(18px, 4vw, 64px);
    --vn-root-dock-size: clamp(54px, 6vw, 74px);
    --vn-root-dock-icon: clamp(2.05rem, 4.45vw, 2.85rem);
}

html {
    min-height: 100%;
}

body.root-launch-page {
    min-height: 100svh;
    overflow: hidden;
    background: #030405;
    padding-bottom: 0;
}

body.root-launch-page .forum-main,
body.root-launch-page .seitenrahmen,
body.root-launch-page .content {
    min-height: 0;
}

.root-launch {
    position: fixed;
    inset: var(--vn-root-top-offset) 0 var(--vn-root-footer-clearance) 0;
    z-index: 420;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.root-launch__stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(54px, auto) minmax(210px, 1fr) minmax(84px, auto);
    grid-template-areas:
        "search"
        "hero"
        "dock";
    align-items: center;
    justify-items: center;
    row-gap: clamp(8px, 1.9svh, 20px);
    padding: 0 var(--vn-root-stage-pad-x);
    box-sizing: border-box;
}

.root-launch-search {
    grid-area: search;
    align-self: start;
    justify-self: center;
    pointer-events: auto;
    z-index: 3;
    transition: opacity .18s ease, transform .18s ease;
}

.root-launch-search__form {
    width: min(386px, calc(100vw - 54px));
    min-height: clamp(42px, 4.7svh, 50px);
    display: grid;
    grid-template-columns: clamp(38px, 4.4vw, 46px) minmax(110px, 1fr) clamp(38px, 4.4vw, 46px);
    align-items: center;
    gap: 0;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        radial-gradient(circle at 50% 0, rgba(255,255,255,.055), transparent 56%),
        rgba(8,11,14,.24);
    box-shadow:
        0 10px 26px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.065);
    backdrop-filter: blur(10px) saturate(1.02);
    -webkit-backdrop-filter: blur(10px) saturate(1.02);
}

.root-launch-search__logo,
.root-launch-search__submit {
    width: clamp(34px, 4vw, 42px);
    height: clamp(34px, 4vw, 42px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: rgba(255,255,255,.94);
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.root-launch-search__logo img {
    width: clamp(29px, 3.65vw, 36px);
    height: clamp(29px, 3.65vw, 36px);
    object-fit: contain;
    filter: drop-shadow(0 2px 7px rgba(0,0,0,.7));
}

.root-launch-search__submit {
    cursor: pointer;
    font-size: clamp(1.15rem, 2.05vw, 1.42rem);
}

.root-launch-search__submit:hover,
.root-launch-search__submit:focus-visible {
    color: var(--vn-gold, #ffd75a);
}

.root-launch-search__field {
    display: block;
    min-width: 0;
}

body.root-launch-page .root-launch-search .root-launch-search__input.vn-input {
    width: 100%;
    min-height: clamp(34px, 4svh, 42px);
    color: rgba(255,255,255,.96);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    padding: 0 clamp(8px, 1.8vw, 16px);
    font: inherit;
}

.root-launch-hero-slot {
    grid-area: hero;
    position: relative;
    display: grid;
    place-items: center;
    width: min(44svh, 34vw, 330px);
    min-width: 238px;
    max-width: calc(100vw - 52px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 2;
    transition: opacity .18s ease, transform .18s ease;
}

.root-launch-hero-link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
}

.root-launch-hero {
    position: relative;
    width: 82%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.14), rgba(255,255,255,.03) 32%, transparent 63%),
        radial-gradient(circle at 50% 64%, rgba(0,0,0,.62), rgba(0,0,0,.26) 58%, transparent 76%);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow:
        0 22px 54px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.12);
    overflow: visible;
}

.root-launch-hero__ring {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: radial-gradient(circle, transparent 60%, rgba(255,255,255,.045) 61%, transparent 74%);
    pointer-events: none;
}

.root-launch-hero__ring--inner {
    inset: -3%;
    border-color: rgba(255,255,255,.13);
    background: radial-gradient(circle, transparent 64%, rgba(255,214,90,.045) 66%, transparent 72%);
}

.root-launch-hero__content {
    position: relative;
    z-index: 1;
    width: 86%;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    line-height: .94;
    text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

.root-launch-hero__eyebrow {
    color: var(--vn-gold, #ffd75a);
    font-size: clamp(.68rem, 1.18vw, .86rem);
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.05;
}

.root-launch-hero__date {
    margin-top: 2px;
    color: rgba(255,255,255,.90);
    font-size: clamp(.72rem, 1.18vw, .93rem);
    font-weight: 900;
    letter-spacing: .025em;
    line-height: 1.05;
}

.root-launch-hero__number {
    margin-top: clamp(7px, 1.1svh, 12px);
    color: #fff;
    font-size: clamp(2.25rem, 4.85vw, 3.95rem);
    font-weight: 1000;
    line-height: .78;
}

.root-launch-hero__event {
    color: rgba(255,255,255,.96);
    max-width: 96%;
    font-size: clamp(1.28rem, 2.45vw, 2.08rem);
    font-weight: 1000;
    line-height: .9;
    letter-spacing: -.055em;
    white-space: nowrap;
}

.root-launch-hero__place {
    margin-top: clamp(7px, 1.05svh, 12px);
    color: rgba(255,255,255,.92);
    font-size: clamp(.72rem, 1.34vw, .98rem);
    font-weight: 900;
    line-height: .98;
}

.root-launch-sound {
    position: absolute;
    left: 50%;
    bottom: 9.5%;
    z-index: 4;
    width: clamp(30px, 4svh, 36px);
    height: clamp(30px, 4svh, 36px);
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(255,255,255,.92);
    background: rgba(0,0,0,.18);
    box-shadow: none;
    cursor: pointer;
    pointer-events: auto;
}

body.root-launch-page .root-launch-sound.vn-icon-action,
body.root-launch-page .root-launch-sound.vn-icon-action:hover,
body.root-launch-page .root-launch-sound.vn-icon-action:focus-visible,
body.root-launch-page .root-launch-sound.vn-icon-action.is-playing {
    transform: translateX(-50%);
}

.root-launch-sound i {
    font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.root-launch-sound:hover,
.root-launch-sound:focus-visible,
.root-launch-sound.is-playing {
    color: var(--vn-gold, #ffd75a);
}

.root-launch-dock {
    grid-area: dock;
    align-self: end;
    justify-self: center;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 5.4vw, 72px);
    padding: 0 0 clamp(4px, 1.2svh, 14px);
    pointer-events: auto;
    transition: opacity .18s ease, transform .18s ease;
}

.root-launch-dock__item {
    position: relative;
    width: var(--vn-root-dock-size);
    height: var(--vn-root-dock-size);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.96);
    text-decoration: none;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-shadow: 0 3px 14px rgba(0,0,0,.72);
    transition: color .16s ease, transform .16s ease, opacity .16s ease;
}

.root-launch-dock__item i {
    font-size: var(--vn-root-dock-icon);
    line-height: 1;
}

.root-launch-dock__item:hover,
.root-launch-dock__item:focus-visible {
    color: var(--vn-gold, #ffd75a);
    transform: translateY(-2px);
}

.root-launch-dock__delta {
    position: absolute;
    right: 10%;
    top: 10%;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #070707;
    background: var(--vn-gold, #ffd75a);
    font-size: .72rem;
    font-weight: 900;
}

body.root-launch-page.vn-topbar-is-expanded .root-launch-search,
body.root-launch-page.vn-topbar-is-expanded .root-launch-hero-slot,
body.root-launch-page.vn-topbar-is-expanded .root-launch-dock {
    opacity: 0;
    transform: scale(.965);
    pointer-events: none;
}

body.root-launch-page.vn-footer-is-expanded .root-launch-search,
body.root-launch-page.vn-footer-is-expanded .root-launch-hero-slot,
body.root-launch-page.vn-footer-is-expanded .root-launch-dock {
    opacity: 0;
    transform: scale(.965);
    pointer-events: none;
}

body.root-launch-page .vn-quick-nav {
    right: clamp(12px, 2vw, 22px);
    bottom: calc(var(--vn-footer-mini-h, 54px) + env(safe-area-inset-bottom, 0px) + clamp(96px, 13svh, 140px));
    opacity: .52;
    transition: opacity .16s ease;
}

body.root-launch-page .vn-quick-nav:hover,
body.root-launch-page .vn-quick-nav:focus-within {
    opacity: .92;
}

@media (max-width: 780px) {
    :root {
        --vn-root-top-offset: calc(var(--vn-topbar-mini-h, 38px) + 24px);
        --vn-root-footer-clearance: calc(var(--vn-footer-mini-h, 54px) + env(safe-area-inset-bottom, 0px) + 6px);
        --vn-root-dock-size: clamp(54px, 14vw, 70px);
        --vn-root-dock-icon: clamp(2rem, 9vw, 2.8rem);
    }

    .root-launch__stage {
        grid-template-rows: minmax(48px, auto) minmax(196px, 1fr) minmax(76px, auto);
        row-gap: clamp(6px, 1.5svh, 14px);
        padding-inline: clamp(14px, 4vw, 24px);
    }

    .root-launch-hero-slot {
        width: min(36svh, 72vw, 286px);
        min-width: 220px;
    }

    .root-launch-dock {
        width: 100%;
        justify-content: space-evenly;
        gap: clamp(10px, 3vw, 22px);
    }
}

@media (max-height: 620px) {
    :root {
        --vn-root-top-offset: calc(var(--vn-topbar-mini-h, 34px) + 18px);
    }

    .root-launch__stage {
        grid-template-rows: minmax(44px, auto) minmax(168px, 1fr) minmax(66px, auto);
        row-gap: 6px;
    }

    .root-launch-hero-slot {
        width: min(39svh, 300px);
        min-width: 196px;
    }

    .root-launch-dock__item {
        width: clamp(44px, 7.5svh, 56px);
        height: clamp(44px, 7.5svh, 56px);
    }

    .root-launch-dock__item i {
        font-size: clamp(1.65rem, 5.5svh, 2.25rem);
    }
}

@media (max-width: 520px) {
    .root-launch-search__form {
        width: min(360px, calc(100vw - 28px));
    }

    .root-launch-hero__number {
        font-size: clamp(2rem, 10.5vw, 3rem);
    }

    .root-launch-hero__event {
        font-size: clamp(1.08rem, 6.7vw, 1.78rem);
    }
}
