:root {
    --copper: #c6947b;
    --cream: #f6efe9;
    --navy: #05070a;
    --text: #c8c4bf;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Lexend", sans-serif;
    background: var(--navy) url("../images/dubai-bg.jpg") center center / cover no-repeat fixed;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.72);
    z-index: 0;
}

.page,
.credit {
    position: relative;
    z-index: 1;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px 32px;
}

.logo {
    height: 64px;
    width: auto;
    max-width: 280px;
    margin-bottom: 48px;
}

h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    max-width: 820px;
}

.subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 36px;
    max-width: 560px;
}

.countdown {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.unit {
    min-width: 92px;
    padding: 20px 16px 16px;
    background: rgba(246, 239, 233, 0.06);
    border: 1px solid rgba(198, 148, 123, 0.28);
    border-radius: 16px;
}

.unit strong {
    display: block;
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    color: var(--copper);
    margin-bottom: 8px;
}

.unit span {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px 28px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
}

.credit-logo {
    height: 32px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

@media (max-width: 767px) {
    .logo {
        height: 48px;
        margin-bottom: 36px;
    }

    h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .unit {
        min-width: 72px;
        padding: 16px 12px 12px;
    }

    .unit strong {
        font-size: 28px;
    }

    .credit-logo {
        height: 26px;
    }
}
