* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Michroma", sans-serif;
    color: #161616;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    background-color: #ffffff;
    padding-bottom: 80px;
}

.bodycont {

}
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-image1 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(420px, 18vw, 500px);
    height: clamp(420px, 18vw, 500px);
    opacity: 0.15;
    z-index: 0;
    object-fit: cover;
}

.bg-image2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(420px, 22vw, 500px);
    height: clamp(420px, 22vw, 500px);
    opacity: 0.15;
    z-index: 0;
    transform: scaleX(-1);
    object-fit: cover;
}

.logo-cont {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.logo-no-text {
    background-color: #131313;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logo-mark-breathe 3.2s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes logo-mark-breathe {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(19, 19, 19, 0);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 10px 28px rgba(19, 19, 19, 0.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-no-text {
        animation: none;
    }
}

.logo-no-text img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.container {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 600px;
    width: 100%;
}

.container img,
.container .construction-svg {
    width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.container img {
    max-width: 250px;
}

.construction-image {
    animation: cone-jump 8s ease-in-out infinite;
    transform-origin: bottom center;
    will-change: transform;
}

@keyframes cone-jump {
    /* Idle */
    0%, 70% {
        transform: translateY(0) scaleX(1) scaleY(1);
    }

    /* Squish before jump */
    72% {
        transform: translateY(8px) scaleX(1.15) scaleY(0.85);
    }

    /* Launch upward */
    76% {
        transform: translateY(-120px) scaleX(0.9) scaleY(1.1);
    }

    /* Hang time */
    80% {
        transform: translateY(-100px) scaleX(0.95) scaleY(1.05);
    }

    /* Land */
    84% {
        transform: translateY(0) scaleX(1.2) scaleY(0.8);
    }

    /* Small bounce */
    88% {
        transform: translateY(-25px) scaleX(0.97) scaleY(1.03);
    }

    /* Settle */
    92% {
        transform: translateY(5px) scaleX(1.05) scaleY(0.95);
    }

    100% {
        transform: translateY(0) scaleX(1) scaleY(1);
    }
}

.container .construction-svg {
    max-width: min(100%, 400px);
}

.construction-svg {
    overflow: visible;
}

.construction-svg .construction-part {
    transform-box: fill-box;
}

.construction-svg .construction-part--base {
    transform-origin: 50% 95%;
    animation: construction-base-shift 4.2s ease-in-out infinite;
}

.construction-svg .construction-part--cone-left {
    transform-origin: 22% 86%;
    animation: construction-cone-left 2.35s ease-in-out infinite;
    animation-delay: 0.1s;
}

.construction-svg .construction-part--frame {
    transform-origin: 50% 52%;
    animation: construction-frame 3.05s ease-in-out infinite;
    animation-delay: 0.25s;
}

.construction-svg .construction-part--cone-right {
    transform-origin: 84% 86%;
    animation: construction-cone-right 2.55s ease-in-out infinite;
    animation-delay: 0.05s;
}

.construction-svg .construction-part--rails {
    transform-origin: 45% 70%;
    animation: construction-rails 2.85s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes construction-cone-left {
    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }
    50% {
        transform: rotate(-2.4deg) translateY(-1.2px);
    }
}

@keyframes construction-cone-right {
    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }
    50% {
        transform: rotate(2.4deg) translateY(-1.2px);
    }
}

@keyframes construction-frame {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, -2px);
    }
}

@keyframes construction-base-shift {
    0%,
    100% {
        transform: translateY(0) scaleX(1);
    }
    50% {
        transform: translateY(0.5px) scaleX(1.008);
    }
}

@keyframes construction-rails {
    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(1px) rotate(0.4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .construction-svg .construction-part {
        animation: none !important;
    }
}

.title {
    line-height: 1.3;
    margin: 20px 0;
    letter-spacing: 0.5px;
    font-weight: 900;
    color: #ff0000;
}

.subtitle {
    font-size: 0.7rem;
    color: #5c5c5c;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.logo {
    position: fixed;
    /* background-color: #131313; */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 12px;
    max-width: 130px;
    height: auto;
    display: block;
}

.logo:hover {
    opacity: 1;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #5c5c5c;
    z-index: 10;
    text-align: center;
    color: #acacac;
    font-size: 0.9rem;
    z-index: 2;
    background-color: #1a1919;
}

.btlogo {
    /* Background-color: #131313; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.footer p {
    margin: 0;
}

/* Desktop - larger screens */
@media (min-width: 901px) {
    .construction-image {
        width: 350px;
        max-width: none;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .logo {
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 140px;
    }

    .container {
        padding: 60px 40px;
    }
}

/* Tablet - medium screens */
@media (min-width: 601px) and (max-width: 900px) {
    .construction-image {
        width: 280px;
        max-width: none;
    }

    .title {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        bottom: 90px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 130px;
    }

    .container {
        padding: 50px 30px;
    }
}

/* Mobile - small screens */
@media (max-width: 664px) {
    body {
        padding-bottom: 70px;
    }

    .bodycont {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex: 1;
        min-height: 0;
    }

    .bg-image1 {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 260px;
        height: 260px;
    }

    .bg-image2 {
        display: none;
    }

    .logo-cont {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 14px;
    }

    .logo-no-text {
        width: 55px;
        height: 55px;
        border-radius: 7px;
        padding: 7px;
    }

    .construction-image {
        animation: cone-jump-mobile 3s ease-in-out infinite;
    }

    .container img,
    .container .construction-svg {
        width: 150px;
    }

    .title {
        font-size: 1rem;
        font-weight: 900;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .logo {
        position: fixed;
        bottom: 70px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 100px;
    }

    .container {
        padding: 30px 20px;
        margin-top: 0;
    }

    .footer {
        padding: 15px 10px;
        font-size: 0.8rem;
    }
}

@keyframes cone-jump-mobile {
    /* Idle */
    0%, 70% {
        transform: translateY(0) scaleX(1) scaleY(1);
    }

    /* Squish before jump */
    72% {
        transform: translateY(6px) scaleX(1.12) scaleY(0.88);
    }

    /* Smaller mobile jump */
    76% {
        transform: translateY(-39px) scaleX(0.92) scaleY(1.08);
    }

    /* Hang time */
    80% {
        transform: translateY(-32px) scaleX(0.96) scaleY(1.04);
    }

    /* Landing squash */
    84% {
        transform: translateY(0) scaleX(1.15) scaleY(0.85);
    }

    /* Tiny bounce */
    88% {
        transform: translateY(-12px) scaleX(0.98) scaleY(1.02);
    }

    /* Settle */
    92% {
        transform: translateY(2px) scaleX(1.03) scaleY(0.97);
    }

    100% {
        transform: translateY(0) scaleX(1) scaleY(1);
    }
}

