/* Front page: one full-screen photo, the FORGE wordmark and one button to the login page. */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/poppins-latin-900-normal.woff2") format("woff2");
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #07110a; }

.front {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 24px 24px 120px;
    color: #fff;
    font-family: "Inter Variable", "Inter", "Segoe UI", system-ui, sans-serif;
    background: #07110a url("../images/hero-gym.jpg") 72% center / cover no-repeat;
}

/* Green wash on the left (where the type sits) plus a light overall darkening so white text stays readable. */
.front::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 110, 30, 0.78) 0%, rgba(10, 70, 25, 0.45) 38%, rgba(0, 0, 0, 0) 70%),
        rgba(0, 8, 14, 0.38);
    pointer-events: none;
}

.front-title {
    position: relative;
    margin: 0;
    text-align: center;
    font-family: "Poppins", "Arial Black", system-ui, sans-serif;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    transform: translateX(-4%);
}
.front-name {
    display: block;
    font-size: clamp(76px, 14.5vw, 224px);
    letter-spacing: -0.01em;
}
.front-tag {
    display: block;
    margin-top: 0.04em;
    font-size: clamp(30px, 6.1vw, 94px);
    letter-spacing: 0.005em;
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

.front-start {
    position: absolute;
    left: clamp(24px, 5.6vw, 96px);
    bottom: clamp(32px, 15vh, 140px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
    border: 2px solid #fff;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: "Poppins", "Arial Black", system-ui, sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.front-start:hover { background: #fff; color: #0b130d; }
.front-start:focus-visible { outline: 3px solid #7ee08f; outline-offset: 4px; }

@media (max-width: 700px) {
    .front { background-position: 78% center; padding-bottom: 150px; }
    .front::before {
        background:
            linear-gradient(180deg, rgba(0, 8, 14, 0.2) 0%, rgba(10, 70, 25, 0.55) 100%),
            rgba(0, 8, 14, 0.38);
    }
    .front-title { transform: none; }
    .front-tag { -webkit-text-stroke-width: 1px; }
    .front-start { left: 50%; transform: translateX(-50%); bottom: 56px; width: min(320px, calc(100% - 48px)); }
}

@media (prefers-reduced-motion: reduce) {
    .front-start { transition: none; }
}
