/* =========================================
   RESET
========================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    background: #080a0c;
}


/* =========================================
   MAIN PAGE
========================================= */

.maintenance-page {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;

    overflow: hidden;

    background: #080a0c;
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.background-image {
    position: absolute;

    inset: 0;

    z-index: 0;

    background-image: url("img/background.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.01);
}


/* =========================================
   DARK OVERLAY
========================================= */

.overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            rgba(8, 10, 12, 0.90) 0%,
            rgba(8, 10, 12, 0.92) 45%,
            rgba(8, 10, 12, 0.22) 100%
        );
}


/* =========================================
   CONTAINER
========================================= */

.container {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1380px;

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

    margin: 0 auto;

    padding: 40px 70px;

    display: flex;
    flex-direction: column;
}


/* =========================================
   HEADER
========================================= */

.header {
    flex-shrink: 0;

    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;

    width: 75px;
    height: auto;
}


/* =========================================
   MAIN CONTENT
========================================= */

.content {
    width: 100%;
    max-width: 760px;

    margin-top: auto;
    margin-bottom: auto;

    padding: 35px 0;

    flex-shrink: 1;
}


/* =========================================
   STATUS / LOADING
========================================= */

.eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: #e53935;

    animation: statusText 1.8s ease-in-out infinite;
}


/* =========================================
   STATUS DOT
========================================= */

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

    flex-shrink: 0;

    border-radius: 50%;

    background: #e53935;

    box-shadow:
        0 0 0 rgba(229, 57, 53, 0.7);

    animation: statusDot 1.4s ease-in-out infinite;
}


/* =========================================
   STATUS TEXT ANIMATION
========================================= */

@keyframes statusText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}


/* =========================================
   STATUS DOT ANIMATION
========================================= */

@keyframes statusDot {

    0% {
        opacity: 1;

        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(229, 57, 53, 0.7);
    }

    50% {
        opacity: 0.35;

        transform: scale(0.75);

        box-shadow:
            0 0 0 5px rgba(229, 57, 53, 0);
    }

    100% {
        opacity: 1;

        transform: scale(1);

        box-shadow:
            0 0 0 0 rgba(229, 57, 53, 0);
    }
}


/* =========================================
   MAIN TITLE
========================================= */

h1 {
    margin-bottom: 22px;

    font-size: clamp(48px, 5.8vw, 84px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 600;
}

h1 span {
    color: rgba(255, 255, 255, 0.45);
}


/* =========================================
   INTRO
========================================= */

.intro {
    margin-bottom: 12px;

    font-size: 20px;

    line-height: 1.45;

    font-weight: 500;

    color: #ffffff;
}


/* =========================================
   DESCRIPTION
========================================= */

.description {
    max-width: 650px;

    font-size: 14px;

    line-height: 1.75;

    color: rgba(255, 255, 255, 0.58);
}

.description strong {
    color: rgba(255, 255, 255, 0.9);

    font-weight: 600;
}


/* =========================================
   CONTACTS
========================================= */

.contacts {
    display: flex;

    gap: 55px;

    margin-top: 38px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* =========================================
   CONTACT ITEM
========================================= */

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    min-width: 0;
}


/* =========================================
   CONTACT ICON
========================================= */

.contact-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

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

    border-radius: 50%;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.8);
}


/* =========================================
   CONTACT LABEL
========================================= */

.contact-label {
    display: block;

    margin-bottom: 6px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.38);
}


/* =========================================
   CONTACT LINKS
========================================= */

.contact-item a {
    display: block;

    width: fit-content;

    margin-bottom: 2px;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.45;

    text-decoration: none;

    transition: opacity 0.25s ease;
}

.contact-item a:hover {
    opacity: 0.55;
}


/* =========================================
   SOCIAL
========================================= */

.social-section {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 28px;
}

.social-label {
    font-size: 10px;

    font-weight: 500;

    color: rgba(255, 255, 255, 0.4);
}

.social-links {
    display: flex;

    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

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

    border-radius: 50%;

    color: #ffffff;

    font-size: 11px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.social-links a:hover {
    background: #ffffff;

    border-color: #ffffff;

    color: #101214;

    transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    flex-shrink: 0;

    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
    font-size: 9px;

    line-height: 1.5;

    color: rgba(255, 255, 255, 0.3);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .maintenance-page {
        overflow: hidden;
    }

    .container {
        padding: 30px 40px;
    }

    .logo img {
        width: 60px;
    }

    .content {
        max-width: 680px;

        padding: 25px 0;
    }

    .contacts {
        gap: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }


    .maintenance-page {
        min-height: 100dvh;
        height: auto;

        overflow: visible;

        display: block;
    }


    /* Background */

    .background-image {
        position: fixed;

        background-position: center center;
    }


    /* Overlay */

    .overlay {
        position: fixed;

        background:
            linear-gradient(
                180deg,
                rgba(8, 10, 12, 0.96) 0%,
                rgba(8, 10, 12, 0.92) 100%
            );
    }


    /* Container */

    .container {
        min-height: 100dvh;
        height: auto;

        padding: 25px 24px;

        overflow: visible;
    }


    /* Logo */

    .logo img {
        width: 55px;
    }


    /* Content */

    .content {
        max-width: 100%;

        margin-top: 0;
        margin-bottom: 0;

        padding: 70px 0 60px;
    }


    /* Status */

    .eyebrow {
        margin-bottom: 18px;

        font-size: 9px;

        letter-spacing: 0.15em;
    }


    /* Title */

    h1 {
        margin-bottom: 18px;

        font-size: clamp(40px, 12.5vw, 58px);

        line-height: 0.98;
    }


    /* Intro */

    .intro {
        font-size: 17px;

        line-height: 1.4;
    }


    /* Description */

    .description {
        font-size: 13px;

        line-height: 1.65;
    }


    /* Contacts */

    .contacts {
        flex-direction: column;

        gap: 20px;

        margin-top: 30px;

        padding-top: 22px;
    }


    /* Social */

    .social-section {
        margin-top: 25px;
    }


    /* Footer */

    .footer {
        margin-top: 0;

        padding-top: 20px;

        padding-bottom: 20px;
    }

    .footer p {
        font-size: 8px;

        line-height: 1.6;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .container {
        padding: 20px 18px;
    }

    .logo img {
        width: 50px;
    }

    .content {
        padding: 55px 0 45px;
    }

    .eyebrow {
        margin-bottom: 14px;

        font-size: 8px;
    }

    h1 {
        font-size: 38px;

        margin-bottom: 15px;
    }

    .intro {
        font-size: 16px;
    }

    .description {
        font-size: 12px;

        line-height: 1.55;
    }

    .contacts {
        margin-top: 22px;

        padding-top: 17px;

        gap: 16px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;

        font-size: 11px;
    }

    .contact-item a {
        font-size: 12px;
    }

    .social-section {
        margin-top: 18px;
    }

    .footer p {
        font-size: 7.5px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .eyebrow,
    .status-dot {
        animation: none;
    }

    .social-links a,
    .contact-item a {
        transition: none;
    }

}