/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-spmgy68mz5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-spmgy68mz5] {
    flex: 1;
}

.site-footer[b-spmgy68mz5] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: center;
    color: rgba(200, 200, 200, 0.5);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

    .site-footer small[b-spmgy68mz5] {
        font-size: inherit;
    }

.sidebar[b-spmgy68mz5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-spmgy68mz5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-spmgy68mz5]  a, .top-row[b-spmgy68mz5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-spmgy68mz5]  a:hover, .top-row[b-spmgy68mz5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-spmgy68mz5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-spmgy68mz5] {
        justify-content: space-between;
    }

    .top-row[b-spmgy68mz5]  a, .top-row[b-spmgy68mz5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-spmgy68mz5] {
        flex-direction: row;
    }

    .sidebar[b-spmgy68mz5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-spmgy68mz5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-spmgy68mz5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-spmgy68mz5], article[b-spmgy68mz5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-spmgy68mz5] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-spmgy68mz5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Index.razor.rz.scp.css */
*[b-6neat174ra] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body[b-6neat174ra], html[b-6neat174ra] {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: 'Trebuchet MS', Tahoma, Verdana, Arial, sans-serif;
}

/* Full-viewport stage. Establishes a containing block for the
   absolutely-positioned background / overlay / scanlines / footer
   layers so they always cover the entire screen. */
.hl2-page[b-6neat174ra] {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* respects dynamic browser chrome on mobile */
    overflow: hidden;
    background-color: #000;
}

/* The 3D Background Map Illusion */
.background[b-6neat174ra] {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background-image: url('assets/background04_widescreen.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.8);
    z-index: 1;
}

/* Source Engine Greenish/Grey Overlay */
.overlay[b-6neat174ra] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 20, 15, 0.8) 0%, rgba(20, 25, 20, 0.4) 50%, rgba(10, 15, 10, 0.7) 100%);
    z-index: 2;
}

/* Scanlines for the classic CRT/2004 monitor feel */
.scanlines[b-6neat174ra] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 3;
    pointer-events: none;
}

.menu-container[b-6neat174ra] {
    position: absolute;
    top: 15%;
    left: 10%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* HL2 Logo */
@property --logo-mask-edge {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.logo[b-6neat174ra] {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: inline-block;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    line-height: 1;
    padding-left: 35px; /* gutter where the cursor parks */
    padding-right: 25px; /* room for cursor at end of sweep */
}

    .logo .logo-text[b-6neat174ra] {
        --logo-mask-edge: 0%;
        display: inline-block;
        padding-top: 0.1em; /* nudge caps down to visually center against the cursor */
        white-space: nowrap;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent var(--logo-mask-edge), #000 var(--logo-mask-edge), #000 100%);
        mask-image: linear-gradient(90deg, transparent 0, transparent var(--logo-mask-edge), #000 var(--logo-mask-edge), #000 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        animation: logoTextMaskCycle-b-6neat174ra 10s linear infinite;
        will-change: --logo-mask-edge;
        backface-visibility: hidden;
    }

    .logo span[b-6neat174ra] {
        color: #ffb400;
        font-size: 4rem;
    }

    .logo .cursor[b-6neat174ra] {
        position: absolute;
        top: 0;
        left: 0;
        width: 25px;
        height: 100%;
        background: red;
        z-index: 2;
        animation: cursorSweep-b-6neat174ra 10s linear infinite, blinker-b-6neat174ra 1s ease-in-out infinite;
        will-change: left;
    }

@keyframes blinker-b-6neat174ra {
    0%, 100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.85;
    }
}

/* 10s cycle:
   0% - 70%   -> idle (cursor parked at left, text fully visible)
   70% - 85%  -> cursor sweeps right (1.5s), mask edge follows it, hiding chars
   85% - 92.5% -> cursor snaps back left (0.75s = half the sweep-right time), mask restores
   92.5% - 100% -> idle again at rest
*/
@keyframes cursorSweep-b-6neat174ra {
    0%, 70% {
        left: 0;
    }

    85% {
        left: calc(100% - 25px);
    }

    92.5%, 100% {
        left: 0;
    }
}

@keyframes logoTextMaskCycle-b-6neat174ra {
    0%, 70% {
        --logo-mask-edge: 0%;
    }

    85% {
        --logo-mask-edge: 100%;
    }

    92.5%, 100% {
        --logo-mask-edge: 0%;
    }
}

.nav-menu[b-6neat174ra] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .nav-menu li[b-6neat174ra] {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
        font-size: 1.4rem;
        font-weight: bold;
        color: #c8c8c8;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
        transition: color 0.1s ease, transform 0.1s ease;
        width: fit-content;
        padding: 2px 5px 2px 0;
    }

        /* The iconic Source engine hover color */
        .nav-menu li:hover[b-6neat174ra] {
            color: #ffb400;
            text-shadow: 0px 0px 8px rgba(255, 180, 0, 0.4), 1px 1px 2px rgba(0,0,0,0.9);
        }

        .nav-menu li:active[b-6neat174ra] {
            transform: scale(0.98);
        }

        .nav-menu li.disabled[b-6neat174ra] {
            color: #555;
            cursor: not-allowed;
        }

            .nav-menu li.disabled:hover[b-6neat174ra] {
                color: #555;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
                transform: none;
            }

/* Fade in effect on load */
.fade-in[b-6neat174ra] {
    animation: fadeIn-b-6neat174ra 2s ease-out forwards;
}

@keyframes fadeIn-b-6neat174ra {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes cameraSway-b-6neat174ra {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10px, -5px) scale(1.02);
    }
}

/* Legal / attribution footer pinned to the bottom of the stage. */
.site-footer[b-6neat174ra] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0px 14px;
    text-align: center;
    color: rgba(200, 200, 200, 0.55);
    font-family: 'Trebuchet MS', Tahoma, Verdana, Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    z-index: 5;
    pointer-events: none;
}

    .site-footer small[b-6neat174ra] {
        font-size: inherit;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Disable the cursor-sweep illusion on mobile: the parked cursor
       gutter wastes space, the sweep clips wrapped text, and the
       mask animation hides TREVOR once it drops to the next line. */
    .logo[b-6neat174ra] {
        max-width: 100%;
        line-height: 1.1;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

        .logo .logo-text[b-6neat174ra] {
            white-space: normal;
            animation: none;
            -webkit-mask-image: none;
            mask-image: none;
            --logo-mask-edge: 100%;
        }

            /* TREVOR drops onto its own line. */
            .logo .logo-text span[b-6neat174ra] {
                display: block;
                margin-top: 4px;
            }

        .logo .cursor[b-6neat174ra] {
            display: none;
            animation: none;
        }

    .nav-menu li[b-6neat174ra] {
        font-size: 1.2rem;
    }

    .menu-container[b-6neat174ra] {
        top: 10%;
        left: 5%;
    }

    .site-footer[b-6neat174ra] {
        font-size: 10px;
        padding: 8px 12px;
        line-height: 1.4;
    }
}

/* Combine Scanner */
#combine-scanner[b-6neat174ra] {
    position: fixed;
    top: -25px;
    right: -25px;
    width: 220px;
    height: auto;
    cursor: crosshair;
    z-index: 50;
    transform-origin: 50% 50%;
    filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

    #combine-scanner img[b-6neat174ra] {
        display: block;
        width: 100%;
        height: auto;
        pointer-events: none;
        -webkit-user-drag: none;
    }

    #combine-scanner:hover[b-6neat174ra] {
        animation: scanner-hover-b-6neat174ra 10.2s ease-in-out;
        animation-iteration-count: infinite;
    }

@keyframes scanner-hover-b-6neat174ra {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }

    20% {
        transform: translate(-2px, 1px) rotate(-2deg) scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }

    40% {
        transform: translate(1px, -1px) rotate(2deg) scale(1.1);
        filter: drop-shadow(0 0 12px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }

    60% {
        transform: translate(-1px, 1px) rotate(-1deg) scale(1.1);
        filter: drop-shadow(0 0 16px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }

    80% {
        transform: translate(1px, -1px) rotate(1deg) scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
    }
}

.scanner-flash[b-6neat174ra] {
    position: fixed;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 1.8s ease-out;
}

    .scanner-flash.is-flashing[b-6neat174ra] {
        opacity: 1;
        transition: opacity 0s;
    }

@media (prefers-reduced-motion: reduce) {
    #combine-scanner[b-6neat174ra],
    #scanner-flash[b-6neat174ra] {
        display: none !important;
    }
}
