/* =========================================
   VOXELRABBIT – strona tymczasowa
   ========================================= */

:root {
    --bg: #050607;
    --panel: #0b0d0f;
    --panel-soft: #111417;
    --white: #ffffff;
    --text: #d6d9dc;
    --muted: #888f96;
    --orange: #f47b00;
    --orange-light: #ff9a32;
    --border: rgba(255, 255, 255, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    overscroll-behavior-y: none;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;

    color: var(--white);

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(244, 123, 0, 0.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #030405,
            #090b0d
        );

    background-color: var(--bg);

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
    overscroll-behavior-y: none;
}

body::before {
    position: fixed;
    inset: 0;
    pointer-events: none;

    content: "";
    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image: linear-gradient(
        to bottom,
        #000,
        transparent 92%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000,
        transparent 92%
    );
}

a {
    color: inherit;
}

.construction-page {
    position: relative;
    z-index: 1;

    display: grid;

    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;

    place-items: center;

    padding: 36px 20px;

    background: transparent;
    overflow: hidden;
}

.construction-card {
    width: min(100%, 920px);
    padding: 48px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    text-align: center;
}

.logo-box {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.logo {
    display: block;

    width: min(100%, 390px);
    height: auto;

    border-radius: 4px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;
    padding: 9px 15px;

    border: 1px solid rgba(244, 123, 0, 0.38);

    color: var(--orange-light);
    background: rgba(244, 123, 0, 0.07);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: var(--orange);

    box-shadow:
        0 0 14px var(--orange);

    animation: pulse 1.5s infinite;
}

h1 {
    margin: 0 0 20px;

    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.description {
    max-width: 690px;

    margin: 0 auto 42px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.75;
}

.printer {
    max-width: 500px;

    margin: 0 auto 38px;
}

.printer-frame {
    position: relative;

    height: 260px;

    border: 10px solid #252a2f;
    border-top-width: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            transparent
        ),
        #080a0c;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.07),
        0 24px 55px rgba(0, 0, 0, 0.42);
}

.printer-frame::before,
.printer-frame::after {
    position: absolute;

    top: 0;
    bottom: 0;

    width: 5px;

    background: #343a40;

    content: "";
}

.printer-frame::before {
    left: 20px;
}

.printer-frame::after {
    right: 20px;
}

.printer-top {
    position: absolute;

    top: 22px;
    right: 34px;
    left: 34px;

    height: 8px;

    background: #3d444b;
}

.printer-head {
    position: absolute;

    top: -5px;
    left: 0;

    width: 64px;
    height: 44px;

    border-bottom: 4px solid var(--orange);

    background:
        linear-gradient(
            145deg,
            #444b52,
            #191d21
        );

    animation:
        print-head 4s ease-in-out infinite alternate;
}

.printer-head::after {
    position: absolute;

    bottom: -17px;
    left: 27px;

    width: 10px;
    height: 14px;

    background: #bfc4c8;

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 100%,
        0 100%
    );

    content: "";
}

.head-light {
    position: absolute;

    top: 12px;
    right: 10px;

    width: 7px;
    height: 7px;

    background: var(--orange);

    box-shadow:
        0 0 10px var(--orange);
}

.print-area {
    position: absolute;

    right: 50px;
    bottom: 28px;
    left: 50px;

    height: 150px;
}

.printer-bed {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 16px;

    background:
        linear-gradient(
            180deg,
            #353b40,
            #15191c
        );

    transform:
        perspective(260px)
        rotateX(35deg);

    transform-origin: bottom;
}

.print-model {
    position: absolute;
    z-index: 2;

    bottom: 13px;
    left: 50%;

    width: 150px;
    height: 116px;

    transform:
        translateX(-50%);
}

.model-layer {
    position: absolute;

    left: 50%;

    height: 16px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    background:
        linear-gradient(
            90deg,
            #d8dadd,
            #ffffff,
            #aeb3b7
        );

    box-shadow:
        inset 0 -4px 0 rgba(0, 0, 0, 0.12);

    transform:
        translateX(-50%);

    animation:
        layer-glow 2.4s infinite;
}

.layer-1 {
    bottom: 0;
    width: 150px;
}

.layer-2 {
    bottom: 16px;
    width: 136px;
    animation-delay: 0.2s;
}

.layer-3 {
    bottom: 32px;
    width: 122px;
    animation-delay: 0.4s;
}

.layer-4 {
    bottom: 48px;
    width: 105px;
    animation-delay: 0.6s;
}

.layer-5 {
    bottom: 64px;
    width: 86px;
    animation-delay: 0.8s;
}

.layer-6 {
    bottom: 80px;
    width: 62px;
    animation-delay: 1s;
}

.progress {
    padding-top: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;

    margin-bottom: 9px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.progress-track {
    height: 8px;

    overflow: hidden;

    background: #1a1e22;
}

.progress-fill {
    display: block;

    width: 76%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #d96200,
            var(--orange-light)
        );

    box-shadow:
        0 0 18px rgba(244, 123, 0, 0.5);

    animation:
        progress-glow 1.8s infinite alternate;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: var(--muted);

    font-size: 14px;
}

.contact a {
    color: var(--white);

    font-weight: 700;
    text-decoration: none;
}

.contact a:hover {
    color: var(--orange-light);
}

@keyframes print-head {
    from {
        left: 0;
    }

    to {
        left: calc(100% - 64px);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@keyframes layer-glow {
    0%,
    100% {
        filter: brightness(0.82);
    }

    50% {
        filter: brightness(1.15);
    }
}

@keyframes progress-glow {
    from {
        filter: brightness(0.85);
    }

    to {
        filter: brightness(1.18);
    }
}

@media (max-width: 640px) {
    html,
    body {
        min-height: 100%;
        background-color: var(--bg);
        overscroll-behavior-y: none;
    }

    body {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }

    .construction-page {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;

        padding: 18px 12px;

        overflow: hidden;
    }

    .construction-card {
        padding: 30px 18px;
    }

    .logo {
        width: min(100%, 300px);
    }

    h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .description {
        margin-bottom: 34px;

        font-size: 15px;
        line-height: 1.65;
    }

    .printer {
        margin-bottom: 32px;
    }

    .printer-frame {
        height: 220px;
    }

    .print-area {
        right: 34px;
        left: 34px;

        height: 125px;
    }

    .print-model {
        transform:
            translateX(-50%)
            scale(0.78);

        transform-origin: bottom;
    }

    .contact {
        align-items: center;
        flex-direction: column;
        gap: 5px;

        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}