/* Kutko – under construction */

:root {
    --red: #c8262b;
    --red-dark: #8f1a1e;
    --bg: #121214;
    --bg-light: #1c1c20;
    --text: #f2f2f2;
    --muted: #a3a3ab;
}

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

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(ellipse at top, var(--bg-light) 0%, var(--bg) 70%);
    -webkit-font-smoothing: antialiased;
}

/* Decorative triangles inspired by the logo */
.bg-shape {
    position: fixed;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    pointer-events: none;
    z-index: 0;
}

.bg-shape--one {
    left: -120px;
    bottom: -60px;
    border-width: 0 260px 300px 260px;
    border-bottom-color: var(--red);
    opacity: 0.12;
}

.bg-shape--two {
    right: -80px;
    top: -140px;
    border-width: 300px 200px 0 200px;
    border-top-color: var(--red);
    opacity: 0.07;
}

.wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    padding: 48px 24px;
    text-align: center;
    animation: fadeIn 0.9s ease-out both;
}

.logo {
    display: block;
    width: 260px;
    max-width: 75%;
    height: auto;
    margin: 0 auto;
}

.divider {
    width: 64px;
    height: 3px;
    margin: 36px auto 32px;
    background: var(--red);
    border-radius: 2px;
}

.title {
    font-size: clamp(1.75rem, 5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.lead {
    font-size: clamp(1rem, 2.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--muted);
}

.progress {
    width: 220px;
    max-width: 70%;
    height: 4px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.progress__bar {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--red-dark), var(--red));
    border-radius: 4px;
    animation: loading 1.8s ease-in-out infinite;
}

.footer {
    position: relative;
    z-index: 1;
    padding: 24px;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

@media (min-height: 500px) {
    .footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(250%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wrapper,
    .progress__bar {
        animation: none;
    }
}
