:root {
    --scene-scale: 1.6;
    --camera-x:750;
    --camera-y:180;
}

html {
    background: #000;
}

body {
    background: #000;
}

.world {
    background: #000;
}

.scene {
    background: #000;
}


    .countdown {
        transform: translateX(-50%) scale(0.82);
        transform-origin: top center;
    }
}

html, body {
    margin: 0;
    padding: 0;
    overflow: auto;
    background: #000;
    font-family: Arial, sans-serif;
}

/* Ez a nagy, scrollozható terület */
.world {
    position: relative;
    width: calc(1920px * var(--scene-scale));
    height: calc(1080px * var(--scene-scale));
    overflow: hidden;
}

/* Ez maga a 1920x1080-as virtuális vászon */
.scene {
    position: relative;
    width: 1920px;
    height: 1080px;
    transform: scale(var(--scene-scale));
    transform-origin: top left;
}

/* Videó mindig a 1920x1080 frame-ben */
.background-video {
    position: absolute;
    inset: 0;
    width: 1920px;
    height: 1080px;
    object-fit: fill;
    z-index: 0;
}

/* SVG rétegek */
.svg-layer {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.svg-one {
    width: 1000px;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
}

.svg-two {
    width: 180px;
    right: 35px;
    bottom: 35px;
}


.ui-layer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
}

.ui-layer .countdown,
.ui-layer .invite-box,
.ui-layer .bottom-link {
    pointer-events: auto;
}

.countdown {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0,0,0,0.65);
    color: silver;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
}

.invite-box {
    position: absolute;
    top: 375px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0,0,0,0.65);
    color: silver;
    padding: 14px 18px;
    border-radius: 12px;
    width: min(90%, 550px);
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

.bottom-link {
    position: absolute;
    top: 475px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0,0,0,0.65);
    padding: 12px 20px;
    border-radius: 12px;
}

.countdown button {
    display: block;
    width: 260px;
    margin: 12px auto;
    padding: 12px;
    font-size: 17px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.countdown a {
    color: silver;
    font-size: 12px;
}

.bottom-link a {
    color: silver;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.counter {
    font-size: 48px;
    font-weight: bold;
}

.subtitle {
    font-size: 18px;
    margin: 10px 0;
}

.smalltext {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.4;
}

@media (hover: none) and (pointer: coarse) {
    .ui-layer {
        position: fixed;
        width: 100vw;
        height: 100vh;
        overflow: visible;
    }

    .countdown {
        top: 16px;
        left: 50%;
        transform: translateX(-50%) scale(0.78);
        transform-origin: top center;
    }

    .invite-box {
        top: auto;
        top: 325px;
        left: 50%;
        transform: translateX(-50%);
        width: 82vw;
        font-size: 13px;
    }

    .bottom-link {
        top: auto;
        top: 425px;
        left: 50%;
        transform: translateX(-50%);
    }
}
