* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

#crane-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.bg-glow.one {
    background: #6c3ce0;
    top: -200px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.bg-glow.two {
    background: #2563eb;
    bottom: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(40px, 30px);
    }
}

.container {
    text-align: center;
    z-index: 2;
    padding: 1.5rem 2rem 0;
    position: relative;
    top: -3vh;
}

.logo {
    display: inline-block;
    margin-bottom: 0.5rem;
    animation: logoFadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.logo svg, .logo img {
    width: 360px;
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 12px rgba(108, 60, 224, 0.35)) drop-shadow(0 0 40px rgba(37, 99, 235, 0.15));
    animation: logoGlow 3.5s ease-in-out infinite;
}

.logo .contour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(16px);
        filter: blur(6px);
    }
    60% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(108, 60, 224, 0.35)) drop-shadow(0 0 40px rgba(37, 99, 235, 0.15));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(108, 60, 224, 0.55)) drop-shadow(0 0 60px rgba(37, 99, 235, 0.3)) drop-shadow(0 0 90px rgba(108, 60, 224, 0.15));
    }
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6c3ce0, #2563eb);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.status {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.message {
    font-size: 0.95rem;
    color: #555;
    max-width: 400px;
    line-height: 1.6;
}

.about-block {
    margin: 1.5rem auto 0;
    text-align: left;
    max-width: 600px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 2rem;
}

.dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6c3ce0;
}

.phone {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    padding: 8px 16px;
    pointer-events: none;
}

.phone a {
    pointer-events: auto;
    color: #888;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 8px 16px;
    display: inline-block;
}

@keyframes pulse {
    0%, 80%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.3);
    }
}

h1 {
    font-size: 1.3em;
    font-weight: lighter;
    line-height: normal;
    padding-bottom: 12px;
}

.about-block p {
    padding-bottom: 10px;
}

.contacts-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 14px 40px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(108, 60, 224, 0.6);
    border-radius: 40px;
    background: linear-gradient(90deg, rgba(108, 60, 224, 0.2), rgba(37, 99, 235, 0.2));
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contacts-btn:hover {
    background: linear-gradient(90deg, rgba(108, 60, 224, 0.4), rgba(37, 99, 235, 0.4));
    border-color: rgba(108, 60, 224, 0.9);
}

@media (max-width: 600px) {
    .container {
        padding: 1rem 1rem 0;
        top: -2vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .contacts-btn {
        margin: 1.5rem auto;
    }

    .logo {
        position: fixed;
        right: 8px;
        top: 12px;
        z-index: 3;
        margin-bottom: 0;
        transform: none;
        animation: none;
        opacity: 0.4;
        transition: opacity 0.3s ease;
    }

    .logo.logo-faded {
        opacity: 0.07;
    }

    .logo svg, .logo img {
        width: 110px;
    }

    .logo svg path:first-of-type,
    .logo svg path:last-of-type {
        fill: #ffffff !important;
    }

    .logo svg path {
        stroke: #ffffff !important;
    }

    .divider {
        width: 40px;
        margin: 1rem auto;
    }

    .status {
        font-size: 2.4rem;
        letter-spacing: 2px;
        /*margin-bottom: 1.2rem;*/
        padding-top: 1vh;
        text-align: center;
        margin: 1.5rem auto;
    }

    .message {
        font-size: 0.8rem;
        max-width: 280px;
    }

    .about-block {
        max-width: 280px;
    }

    .bg-glow {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    .dots {
        margin-top: 1.2rem;
    }

    .phone {
        bottom: 14px;
    }

    .phone a {
        font-size: 0.95rem;
        padding: 6px 12px;
    }

    h1 {
        font-size: 1.4em;
        padding-bottom: 12px;
    }
}

@media (max-height: 750px) {
    body {
        overflow-y: auto;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100vh;
    }

    .container {
        top: 0;
        padding: 1.5rem 2rem 120px;
        width: 100%;
    }

    .phone {
        position: absolute;
        bottom: 12px;
    }
}
