/* =============================================
   SPLASH PAGE — Standalone Styles
   ============================================= */

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

html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    background: none;
}

.splash-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ── SGW Banner (matches site.css exactly) ── */
.sgw-banner {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 18vh;
    background-color: #111;
    color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    text-align: center;
    border: 3px solid #fff;
    flex-shrink: 0;
}

.sgw-text {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: clamp(23px, 4.5vw, 30px);
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sgw-orange-line {
    height: 3px;
    background-color: #C15A2B;
    width: 100%;
}

/* ── Main Content Area ── */
.splash-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 16px;
}

/* ── Logo ── */
.splash-logo {
    max-width: 320px;
    width: 75%;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* ── Buttons ── */
.splash-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 340px;
}

.splash-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border: 2.5px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .splash-btn:active {
        transform: scale(0.97);
    }

.splash-btn-login {
    background: #C15A2B;
    color: #fff;
}

    .splash-btn-login:hover {
        color: #fff;
    }

.splash-btn-register {
    background: #5C5A3C;
    color: #fff;
}

    .splash-btn-register:hover {
        color: #fff;
    }

.splash-btn-remove {
    background: #5C5A3C;
    color: #fff;
}

    .splash-btn-remove:hover {
        color: #fff;
    }

/* ── Footer ── */
.splash-footer {
    flex-shrink: 0;
}

.splash-copyright {
    background: #2D2A26;
    border-top: 2px solid #AA9A84;
    border-bottom: 2px solid #AA9A84;
    padding: 10px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .splash-copyright p {
        color: rgba(255,255,255,0.5);
        font-size: 11px;
        margin: 0;
    }

.splash-links {
    background: #5C5A3C;
    padding: 10px 16px;
    text-align: center;
}

    .splash-links a {
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-family: 'Oswald', Arial Narrow, sans-serif;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.15s ease;
    }

        .splash-links a:hover {
            color: #D35400;
        }

.splash-pipe {
    color: rgba(255,255,255,0.3);
    margin: 0 8px;
}

/* ── Gate ── */
html.precheck body {
    visibility: hidden;
}

.blocked .splash-page {
    filter: blur(4px);
    pointer-events: none;
}

/* Gate modals — dark theme to match site-wide modals */
#desktopBlocker .modal-content,
#orientationBlocker .modal-content {
    background: #2D2A26;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(45,42,38,0.16);
}

#desktopBlocker .modal-header,
#orientationBlocker .modal-header {
    background: transparent;
    padding-bottom: 0;
}

#desktopBlocker .modal-title,
#orientationBlocker .modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #D35400;
}

#desktopBlocker .modal-body,
#orientationBlocker .modal-body {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

#desktopBlocker .modal-body .text-muted,
#orientationBlocker .modal-body .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

#desktopBlocker .modal-body strong,
#orientationBlocker .modal-body strong {
    color: #D35400;
}
