/* =========================================================
   EMAK — Luxury Landing Page
   ========================================================= */

:root {
    --green-deep: #07150f;
    --green-mid: #0c2118;
    --gold: #c7aa6a;
    --gold-soft: #dfc994;
    --cream: #f2eee4;
    --white-soft: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    background: var(--green-deep);
    color: var(--cream);

    font-family: "Inter", Arial, sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------
   Main Background
   --------------------------------------------------------- */

.landing-page {
    position: relative;

    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 42%,
            rgba(25, 62, 44, 0.55) 0%,
            rgba(7, 21, 15, 0.95) 55%,
            #050e0a 100%
        );
}

/*
    Very subtle background illumination.
    This moves slowly so the page doesn't feel static.
*/

.ambient-glow {
    position: absolute;

    width: 65vw;
    height: 65vw;

    max-width: 900px;
    max-height: 900px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(199, 170, 106, 0.055) 0%,
            rgba(199, 170, 106, 0.02) 30%,
            transparent 70%
        );

    filter: blur(20px);

    animation: ambientFloat 14s ease-in-out infinite alternate;
}

/* ---------------------------------------------------------
   Main Content
   --------------------------------------------------------- */

.content {
    position: relative;
    z-index: 2;

    width: min(90%, 700px);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

/* ---------------------------------------------------------
   Logo
   --------------------------------------------------------- */

.logo-container {
    opacity: 0;

    transform:
        translateY(18px)
        scale(0.97);

    animation:
        logoReveal 1.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.25s
        forwards;
}

.logo {
    display: block;

    width: auto;
    max-width: min(420px, 72vw);
    max-height: 220px;

    object-fit: contain;

    /*
        A very subtle gold atmosphere around the logo.
        If your actual logo already contains strong colors,
        remove this filter.
    */

    filter:
        drop-shadow(
            0 8px 30px rgba(0, 0, 0, 0.30)
        );
}

/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */

.divider {
    width: 0;
    height: 1px;

    margin-top: 42px;
    margin-bottom: 27px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.7;

    animation:
        dividerReveal 1.4s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.05s
        forwards;
}

/* ---------------------------------------------------------
   Subtitle
   --------------------------------------------------------- */

.subtitle {
    margin: 0 0 34px;

    opacity: 0;

    color: var(--gold-soft);

    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;

    letter-spacing: 0.42em;
    text-transform: uppercase;

    transform: translateY(10px);

    animation:
        textReveal 1.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.3s
        forwards;
}

/* ---------------------------------------------------------
   Building Website Button
   --------------------------------------------------------- */

.building-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    min-width: 245px;

    padding: 16px 24px;

    color: var(--cream);

    border: 1px solid rgba(199, 170, 106, 0.42);

    background:
        linear-gradient(
            135deg,
            rgba(199, 170, 106, 0.08),
            rgba(199, 170, 106, 0.015)
        );

    text-decoration: none;

    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;

    letter-spacing: 0.19em;
    text-transform: uppercase;

    opacity: 0;

    transform: translateY(12px);

    overflow: hidden;

    transition:
        border-color 0.5s ease,
        background 0.5s ease,
        box-shadow 0.5s ease,
        transform 0.5s ease;

    animation:
        buttonReveal 1.3s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.65s
        forwards;
}

/*
    Moving highlight across the button.
*/

.building-link::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.8s ease;
}

.building-link:hover::before {
    left: 140%;
}

.building-link:hover {
    border-color: rgba(223, 201, 148, 0.8);

    background:
        linear-gradient(
            135deg,
            rgba(199, 170, 106, 0.14),
            rgba(199, 170, 106, 0.035)
        );

    box-shadow:
        0 10px 45px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(199, 170, 106, 0.06);

    transform: translateY(-2px);
}

.building-link:active {
    transform: translateY(0);
}

/* ---------------------------------------------------------
   Arrow
   --------------------------------------------------------- */

.arrow {
    color: var(--gold-soft);

    font-size: 17px;
    font-weight: 300;
    line-height: 1;

    transition:
        transform 0.4s ease,
        color 0.4s ease;
}

.building-link:hover .arrow {
    color: var(--cream);
    transform: translateX(5px);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.footer {
    position: absolute;

    bottom: 28px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;

    color: rgba(242, 238, 228, 0.25);

    font-family: "Inter", Arial, sans-serif;
    font-size: 8px;
    font-weight: 400;

    letter-spacing: 0.45em;
    text-transform: uppercase;

    opacity: 0;

    animation:
        footerReveal 1.2s ease
        2.2s
        forwards;
}

.footer a {
    color: inherit;
    text-decoration: none;

    transition:
        color 0.4s ease,
        opacity 0.4s ease;
}

.footer a:hover {
    color: var(--gold-soft);
}

/* ---------------------------------------------------------
   Animations
   --------------------------------------------------------- */

@keyframes logoReveal {

    0% {
        opacity: 0;

        transform:
            translateY(18px)
            scale(0.97);

        filter:
            blur(8px)
            drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
    }

    100% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter:
            blur(0)
            drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
    }
}

@keyframes dividerReveal {

    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 180px;
        opacity: 0.7;
    }
}

@keyframes textReveal {

    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonReveal {

    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerReveal {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ambientFloat {

    0% {
        transform: translate(-2%, -1%) scale(1);
    }

    100% {
        transform: translate(2%, 2%) scale(1.08);
    }
}

/* ---------------------------------------------------------
   Reduced Motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .logo {
        max-width: 75vw;
        max-height: 170px;
    }

    .divider {
        margin-top: 34px;
        margin-bottom: 23px;
    }

    .subtitle {
        font-size: 9px;
        letter-spacing: 0.34em;
        margin-bottom: 30px;
    }

    .building-link {
        width: min(88vw, 300px);
        padding: 15px 20px;
        font-size: 10px;
    }

    .footer {
        bottom: 20px;
        font-size: 7px;
    }
}