/*
 * Search Not Found Page - Scout Rescue
 * Simplified, focused design for frustrated users
 */

@layer pages {
    /* ============================================================
       PAGE LAYOUT - Single focused section
       ============================================================ */
    .snf-page {
        --scout-green: #34a853;
        --scout-green-rgb: 52, 168, 83;
        --scout-yellow: #ffd314;
        --scout-yellow-rgb: 255, 211, 20;
        min-height: calc(100vh - 200px); /* Account for header/footer */
        display: flex;
        flex-direction: column;
    }

    .snf-hero {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 24px 40px;
        background:
            radial-gradient(ellipse 70% 50% at 30% 70%, rgba(var(--scout-green-rgb), 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 50% 40% at 80% 30%, rgba(var(--scout-yellow-rgb), 0.08) 0%, transparent 50%),
            linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    }

    /* ============================================================
       HERO INNER - Scout + Content side by side
       ============================================================ */
    .snf-hero-inner {
        display: flex;
        align-items: center;
        gap: 35px;
        max-width: 900px;
        width: 100%;
    }

    /* Scout Image */
    .snf-scout-visual {
        flex-shrink: 0;
    }

    .snf-scout-img {
        width: 200px;
        height: auto;
        filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.4));
        animation: snf-float 4s ease-in-out infinite;
    }

    @keyframes snf-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    /* ============================================================
       MAIN CONTENT
       ============================================================ */
    .snf-content {
        flex: 1;
        min-width: 0;
        position: relative;
        top: -12px;
    }

    /* Context line - acknowledges the failed search */
    .snf-context {
        font: 400 14px/1.5 "Jost", sans-serif;
        color: rgba(255, 255, 255, 0.5);
        margin: 0 0 8px;
    }

    .snf-context strong {
        color: var(--scout-yellow);
        font-weight: 500;
    }

    /* Main headline */
    .snf-content h1 {
        font: 700 clamp(28px, 4vw, 38px)/1.2 "Jost", sans-serif;
        color: var(--white);
        margin: 0 0 12px;
    }

    /* Subtitle - Scout's introduction */
    .snf-subtitle {
        font: 400 15px/1.6 "Jost", sans-serif;
        color: rgba(255, 255, 255, 0.7);
        margin: 0 0 24px;
        max-width: 480px;
    }

    /* Search box */
    .snf-search-box {
        max-width: 480px;
        margin-bottom: 16px;
    }

    .snf-search-box #snfScoutInput {
        padding-left: 0px !important;
    }

    /* ============================================================
       QUICK EXAMPLES - Inline suggestions
       ============================================================ */
    .snf-examples {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .snf-examples-label {
        font: 500 14px/1 "Jost", sans-serif;
        color: rgba(255, 255, 255, 0.4);
    }

    .snf-example {
        font: 400 14px/1 "Jost", sans-serif;
        color: #999;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 14px;
        border-radius: 100px;
        cursor: pointer;
        transition: all 0.15s ease;
    }

    .snf-example:hover {
        color: #fff;
        background: rgba(var(--scout-yellow-rgb), 0.15);
        border-color: rgba(var(--scout-yellow-rgb), 0.3);
    }

    /* ============================================================
       ALTERNATIVES - Simple browse links
       ============================================================ */
    .snf-alternatives {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid #444;
        max-width: 900px;
        width: 100%;
    }

    .snf-alt-label {
        font: 400 16px/1 "Jost", sans-serif;
        color: #999;
    }

    .snf-alt-link {
        font: 500 16px/1 "Jost", sans-serif;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 6px;
        transition: all 0.15s ease;
    }

    .snf-alt-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    /* ============================================================
       RESPONSIVE - TABLET
       ============================================================ */
    @media (max-width: 768px) {
        .snf-hero {
            padding: 30px 20px 40px;
        }

        .snf-hero-inner {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }

        .snf-scout-img {
            width: 160px;
        }

        .snf-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        .snf-search-box {
            margin-left: auto;
            margin-right: auto;
        }

        .snf-examples {
            justify-content: center;
        }

        .snf-alternatives {
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 40px;
        }
    }

    /* ============================================================
       RESPONSIVE - MOBILE
       ============================================================ */
    @media (max-width: 480px) {
        .snf-hero {
            padding: 20px 16px 30px;
        }

        .snf-scout-img {
            width: 130px;
        }

        .snf-content h1 {
            font-size: 26px;
        }

        .snf-subtitle {
            font-size: 14px;
        }

        .snf-examples {
            gap: 6px;
        }

        .snf-example {
            font-size: 12px;
            padding: 6px 12px;
        }

        .snf-alternatives {
            margin-top: 30px;
            padding-top: 20px;
        }

        .snf-alt-link {
            font-size: 12px;
            padding: 6px 10px;
        }
    }

} /* end @layer pages */
