/*
 * Author: Andrej Birac
 * Project: MASTERS UNITED — Coming Soon Landing Page
 * Version: 1.0
 */

/* ─── Reset & Base ─── */

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

:root {
    --mu-navy: #114B6F;
    --mu-gold: #B39D68;
    --mu-white: #FFFFFF;
    --mu-cream: #F8F6F1;
    --mu-text: #333333;
    --mu-text-muted: #5A6B7A;

    --font-heading: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    --font-subheading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--mu-text);
    background: linear-gradient(180deg, var(--mu-white) 0%, var(--mu-cream) 100%);
    min-height: 100vh;
}

/* ─── Landing Container ─── */

.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* ─── Header / Logo ─── */

.landing__header {
    margin-bottom: 2.5rem;
}

.landing__logo {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
}

/* ─── Main Content ─── */

.landing__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.landing__wave-top {
    width: 100vw;
    margin-bottom: 1.5rem;
    line-height: 0;
    pointer-events: none;
}

.landing__wave-top svg {
    width: 100%;
    height: 60px;
}

/* ─── Headline ─── */

.landing__headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--mu-navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

/* ─── Subheadline ─── */

.landing__subheadline {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    color: var(--mu-text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 3rem;
}

/* ─── Countdown Timer ─── */

.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown__digit-wrap {
    width: 90px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mu-navy);
    border-radius: 10px;
    position: relative;
    box-shadow:
        0 6px 20px rgba(17, 75, 111, 0.25),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

/* Pool-side starting block ridge detail */
.countdown__digit-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 6px;
    right: 6px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.countdown__digit-wrap::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--mu-gold);
    border-radius: 2px;
    opacity: 0.7;
}

.countdown__digit {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--mu-gold);
    letter-spacing: 0.04em;
    line-height: 1;
    padding-top: 4px;
}

.countdown__label {
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--mu-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.65rem;
}

.countdown__separator {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--mu-navy);
    opacity: 0.3;
    padding-top: 1.8rem;
    user-select: none;
}

/* ─── CTA Button ─── */

.landing__cta {
    display: inline-block;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--mu-navy);
    background: var(--mu-gold);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(179, 157, 104, 0.35);
}

.landing__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 157, 104, 0.45);
    background: #C4AD78;
}

.landing__cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(179, 157, 104, 0.3);
}

/* ─── Footer ─── */

.landing__footer {
    margin-top: auto;
    padding-top: 3rem;
    width: 100%;
    text-align: center;
}

.landing__wave-bottom {
    width: 100vw;
    line-height: 0;
    pointer-events: none;
    margin-bottom: 1rem;
}

.landing__wave-bottom svg {
    width: 100%;
    height: 40px;
}

.landing__copyright {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--mu-text-muted);
    opacity: 0.7;
}

/* ─── Responsive ─── */

@media (max-width: 600px) {
    .landing {
        padding: 1.5rem 1rem;
    }

    .landing__logo {
        max-width: 220px;
    }

    .landing__headline {
        letter-spacing: 0.05em;
    }

    .landing__subheadline {
        margin-bottom: 2rem;
    }

    .countdown {
        gap: 0.3rem;
    }

    .countdown__digit-wrap {
        width: 68px;
        height: 78px;
    }

    .countdown__digit {
        font-size: 1.8rem;
    }

    .countdown__separator {
        font-size: 1.4rem;
        padding-top: 1.2rem;
    }

    .countdown__label {
        font-size: 0.6rem;
    }

    .landing__cta {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .countdown__digit-wrap {
        width: 58px;
        height: 68px;
    }

    .countdown__digit {
        font-size: 1.5rem;
    }

    .countdown__separator {
        font-size: 1.2rem;
        padding-top: 1rem;
    }
}

@media (min-width: 1200px) {
    .countdown__digit-wrap {
        width: 110px;
        height: 120px;
    }

    .countdown__digit {
        font-size: 3rem;
    }

    .countdown__separator {
        font-size: 2.5rem;
        padding-top: 2.2rem;
    }
}
