#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#app:has(.loading-progress) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.loading-progress {
    position: relative;
    display: block;
    width: 6rem;
    height: 6rem;
    inset: auto;
    margin: 0;
}

    .loading-progress circle {
        fill: none;
        stroke: #e5e7eb;
        stroke-width: 0.5rem;
        stroke-linecap: round;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.15s ease-in-out;
        }

.loading-progress-text {
    position: relative;
    inset: auto;
    margin-top: -3.6rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4b5563;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --bg: #08090d;
    --bg-soft: #101219;
    --surface: #14161e;
    --surface-hover: #1a1d27;
    --text: #f5f7fb;
    --text-muted: #9da3b2;
    --border: rgba(255,255,255,.08);
    --accent: #7c5cff;
    --accent-2: #9b87ff;
    --max-width: 1180px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


a {
    color: inherit;
    text-decoration: none;
}


.site {
    min-height: 100vh;
}


/* =========================
   NAVBAR
   ========================= */

.navbar {
    height: 76px;
    max-width: var(--max-width);
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}


.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient( 135deg, #7c5cff, #b06cff );
    color: white;
    font-weight: 800;
}


.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 32px;
}


    .nav-links a {
        color: var(--text-muted);
        font-size: 14px;
        transition: color .2s ease;
    }


        .nav-links a:hover {
            color: var(--text);
        }


/* =========================
   LANGUAGE DROPDOWN
   ========================= */

.lang-dropdown {
    position: relative;
    margin-left: 8px;
    font-size: 14px;
}

    /* Üstte görünen TR / EN alanı */
    .lang-dropdown > summary {
        list-style: none;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 38px;
        padding: 7px 11px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.035);
        color: var(--text);
        cursor: pointer;
        user-select: none;
        transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

        /* Chrome / Safari varsayılan oku */
        .lang-dropdown > summary::-webkit-details-marker {
            display: none;
        }

        /* Firefox */
        .lang-dropdown > summary::marker {
            display: none;
        }

        .lang-dropdown > summary:hover {
            background: rgba(255, 255, 255, 0.075);
            border-color: rgba(255, 255, 255, 0.14);
        }

    /* Menü açıkken üst buton */
    .lang-dropdown[open] > summary {
        background: rgba(124, 92, 255, 0.12);
        border-color: rgba(124, 92, 255, 0.4);
        box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
    }


    /* Bayrak */
    .lang-dropdown .flag {
        font-size: 18px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* TR / EN / PT */
    .lang-dropdown .code {
        min-width: 22px;
        color: var(--text);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .05em;
    }

    /* Chevron */
    .lang-dropdown .chevron {
        width: 7px;
        height: 7px;
        margin-left: 3px;
        border-right: 1.5px solid var(--text-muted);
        border-bottom: 1.5px solid var(--text-muted);
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s ease, border-color .2s ease;
    }

    .lang-dropdown > summary:hover .chevron {
        border-color: var(--text);
    }

    /* Açılınca chevron yukarı */
    .lang-dropdown[open] .chevron {
        transform: rotate(225deg) translate(-1px, -1px);
    }


    /* =========================
   DROPDOWN MENU
   ========================= */

    .lang-dropdown > ul {
        position: absolute;
        top: calc(100% + 9px);
        right: 0;
        z-index: 1000;
        width: 175px;
        margin: 0;
        padding: 6px;
        list-style: none;
        background: rgba(20, 22, 30, .97);
        border: 1px solid rgba(255, 255, 255, .09);
        border-radius: 13px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .45), 0 4px 12px rgba(0, 0, 0, .2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        animation: languageDropdownIn .16s ease-out;
    }

@keyframes languageDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Menü seçenekleri */
.lang-dropdown li {
    margin: 0;
    padding: 0;
}

    .lang-dropdown li a {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        border-radius: 9px;
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: background .15s ease, color .15s ease;
    }

        .lang-dropdown li a:hover {
            background: rgba(255, 255, 255, .07);
            color: var(--text);
        }

        /* Menüdeki bayrak */
        .lang-dropdown li a .flag {
            width: 22px;
            font-size: 18px;
        }

        /* Aktif dil */
        .lang-dropdown li a.active {
            background: rgba(124, 92, 255, .14);
            color: var(--text);
            font-weight: 600;
        }

            .lang-dropdown li a.active::after {
                content: "✓";
                margin-left: auto;
                color: var(--accent-2);
                font-size: 13px;
                font-weight: 700;
            }


/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .lang-dropdown {
        margin-left: 0;
    }

        .lang-dropdown > summary {
            min-height: 36px;
            padding: 6px 9px;
        }

        .lang-dropdown > ul {
            right: 0;
            width: 165px;
        }
}

/* =========================
   HERO
   ========================= */

.hero {
    max-width: var(--max-width);
    min-height: 620px;
    margin: auto;
    padding: 70px 24px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
}


.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}


.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}


.hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 800;
}


.hero-description {
    max-width: 560px;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}


.hero-actions {
    margin-top: 34px;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 19px;
    border-radius: 11px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s ease, background .2s ease;
}


    .btn-primary:hover {
        transform: translateY(-2px);
        background: #ffffff;
    }


    .btn-primary span {
        font-size: 18px;
    }


/* =========================
   HERO VISUAL
   ========================= */

.hero-visual {
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 1;
    height: auto;
    margin-inline: auto;
    container-type: inline-size; /* cqw birimi için */

    --ring: 36cqw; /* kartların küreye uzaklığı */
}

/* Ortadaki küre: mevcut background/gradient/blur kurallarını koru,
   sadece boyut ve konumu bununla değiştir */
.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32cqw;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1; /* kartların (z-index: 2) arkasında */
    pointer-events: none;
    background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 35%), radial-gradient(circle at 50% 50%, #7c5cff 0%, #4b3fd6 55%, #1d1b4d 100%);
    box-shadow: 0 0 60px 10px rgba(124,92,255,.45), 0 0 140px 40px rgba(124,92,255,.2), inset -12px -16px 40px rgba(0,0,0,.35);
}

.floating-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20cqw;
    height: 20cqw;
    padding: 2.4cqw;
    border-radius: 5cqw;
    background: rgba(20,22,30,.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    z-index: 2;
    --a: calc(var(--i) * 360deg / 7); /* çember üzerindeki açı */
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--ring) * -1)) rotate(calc(var(--a) * -1)) /* dönüşü geri al, ikon dik kalsın */
    rotate(var(--tilt)); /* hafif eğim */
}

    .floating-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 3.6cqw;
        display: block;
    }

    .floating-card:nth-child(1) {
        --i: 0;
        --tilt: -8deg;
    }

    .floating-card:nth-child(2) {
        --i: 1;
        --tilt: 6deg;
    }

    .floating-card:nth-child(3) {
        --i: 2;
        --tilt: -5deg;
    }

    .floating-card:nth-child(4) {
        --i: 3;
        --tilt: 7deg;
    }

    .floating-card:nth-child(5) {
        --i: 4;
        --tilt: -6deg;
    }

    .floating-card:nth-child(6) {
        --i: 5;
        --tilt: 5deg;
    }

    .floating-card:nth-child(7) {
        --i: 6;
        --tilt: -4deg;
    }


/* =========================
   SECTIONS
   ========================= */

.intro-section,
.featured-section,
.apps-list-section,
.cta-section {
    max-width: var(--max-width);
    margin: auto;
    padding: 90px 24px;
}


.section-heading {
    max-width: 700px;
}


.section-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}


.section-heading h2,
.section-header h2,
.cta-content h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -2px;
}


.section-heading p,
.cta-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 16px;
    margin-top: 18px;
}


/* =========================
   APP GRID
   ========================= */

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}


.section-link {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    gap: 10px;
}


.app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


.app-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.app-card {
    padding: 25px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}


    .app-card:hover {
        transform: translateY(-4px);
        background: var(--surface-hover);
        border-color: rgba(124,92,255,.35);
    }


.app-card-top {
    display: flex;
    gap: 18px;
    align-items: center;
}


.app-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 17px;
    object-fit: cover;
}


.app-card-content h3 {
    margin: 0 0 7px;
    font-size: 19px;
}


.app-card-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}


.app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}


.learn-more {
    font-size: 14px;
    font-weight: 600;
}


.play-badge {
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 11px;
}


/* =========================
   CTA
   ========================= */

.cta-section {
    padding-top: 120px;
    padding-bottom: 140px;
}


.cta-content {
    padding: 65px;
    border-radius: 25px;
    background: radial-gradient( circle at 80% 20%, rgba(124,92,255,.2), transparent 40% ), var(--surface);
    border: 1px solid var(--border);
}


/* =========================
   PAGE HERO
   ========================= */

.page-hero {
    max-width: 850px;
    margin: auto;
    padding: 100px 24px 60px;
    text-align: center;
}


    .page-hero h1 {
        margin: 0;
        font-size: clamp(42px, 6vw, 64px);
        letter-spacing: -3px;
    }


    .page-hero p {
        max-width: 650px;
        margin: 22px auto 0;
        color: var(--text-muted);
        line-height: 1.7;
    }


/* =========================
   APP DETAIL
   ========================= */

.app-detail {
    max-width: var(--max-width);
    margin: auto;
    padding: 100px 24px 120px;
}


.app-detail-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 850px;
}


.app-detail-icon {
    width: 180px;
    height: 180px;
    border-radius: 38px;
    object-fit: cover;
    box-shadow: 0 25px 70px rgba(0,0,0,.4);
}


.app-detail-info h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -3px;
}


.app-detail-info p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 17px;
    max-width: 650px;
}


.google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 11px 17px;
    background: #fff;
    color: #08090d;
    border-radius: 10px;
}


    .google-play-button small {
        display: block;
        font-size: 9px;
    }


    .google-play-button strong {
        display: block;
        font-size: 15px;
    }


.google-play-icon {
    font-size: 22px;
}


.app-detail-links {
    display: flex;
    gap: 25px;
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}


    .app-detail-links a {
        color: var(--text-muted);
        font-size: 14px;
    }


        .app-detail-links a:hover {
            color: var(--text);
        }


/* =========================
   LEGAL
   ========================= */

.legal-page {
    max-width: 900px;
    margin: auto;
    padding: 90px 24px 120px;
}


.legal-header {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}


    .legal-header h1 {
        margin: 0;
        font-size: 48px;
        letter-spacing: -2px;
    }


.legal-content {
    padding-top: 45px;
    color: #c7cbd5;
    line-height: 1.8;
}


.legal-placeholder {
    color: var(--text-muted);
}


/* =========================
   FOOTER
   ========================= */

.footer {
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}


.footer-inner {
    max-width: var(--max-width);
    margin: auto;
    padding: 50px 24px;
    display: flex;
    justify-content: space-between;
}


    .footer-inner strong {
        color: var(--text);
    }


    .footer-inner p {
        max-width: 350px;
        line-height: 1.6;
        font-size: 13px;
    }


.footer-links a {
    font-size: 14px;
}


.footer-bottom {
    max-width: var(--max-width);
    margin: auto;
    padding: 20px 24px 30px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .navbar {
        height: 68px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
        min-height: auto;
    }

        .hero h1 {
            font-size: 48px;
            letter-spacing: -2.5px;
        }

    .hero-visual {
        height: 350px;
    }

    .hero-orb {
        width: 230px;
        height: 230px;
    }

    .floating-card {
        width: 82px;
        height: 82px;
        border-radius: 18px;
    }

    .card-one {
        left: 15px;
        top: 35px;
    }

    .card-two {
        right: 10px;
        top: 130px;
    }

    .card-three {
        left: 55px;
        bottom: 20px;
    }

    .app-grid,
    .app-grid-large {
        grid-template-columns: 1fr;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }

    .app-detail {
        padding-top: 60px;
    }

    .app-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .app-detail-info p {
        text-align: center;
    }

    .app-detail-links {
        flex-direction: column;
    }

    .cta-content {
        padding: 35px 25px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
    }
}

/* =========================
   GOOGLE PLAY BUTTON ICON
   ========================= */

.google-play-button svg,
.google-play-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: block;
}


/* =========================
   APP SCREENSHOTS GALLERY
   ========================= */

.app-screenshots {
    margin-top: 100px;
}

.screenshots-header {
    margin-bottom: 28px;
}

    .screenshots-header h2 {
        margin: 0;
        font-size: clamp(26px, 3vw, 38px);
        letter-spacing: -1.5px;
    }


/* Portrait screenshots: horizontal snap scroll */
.screenshot-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 8px 4px 32px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.18) transparent;
    -webkit-overflow-scrolling: touch;
}

    .screenshot-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .screenshot-scroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.18);
        border-radius: 999px;
    }

    .screenshot-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

.screenshot-item {
    flex: 0 0 auto;
    width: 240px;
    aspect-ratio: 9 / 19.5;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 22px 55px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.02);
    scroll-snap-align: start;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

    .screenshot-item:hover {
        transform: translateY(-6px);
        border-color: rgba(124,92,255,.45);
        box-shadow: 0 30px 65px rgba(0,0,0,.55), 0 0 0 6px rgba(124,92,255,.08);
    }

    .screenshot-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


/* Square image grid */
.square-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.square-item {
    margin: 0;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .28s ease, border-color .28s ease;
}

    .square-item:hover {
        transform: translateY(-5px);
        border-color: rgba(124,92,255,.45);
    }

    .square-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.not-found-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem 1rem;
    gap: 0.75rem;
}

.not-found-code {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: #1b6ec2;
    opacity: 0.25;
}

.not-found-page h1 {
    font-size: 1.75rem;
    margin: 0;
}

.not-found-page p {
    color: #6b7280;
    max-width: 32rem;
    margin: 0 0 0.5rem 0;
}


/* Responsive */
@media (max-width: 760px) {

    .app-screenshots {
        margin-top: 65px;
    }

    .screenshot-scroll {
        gap: 14px;
        padding-bottom: 22px;
    }

    .screenshot-item {
        width: 180px;
        border-radius: 22px;
    }

    .square-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .square-item {
        border-radius: 16px;
    }
}

/* =========================
   APP VIDEO
   ========================= */

.app-video {
    margin-top: 100px;
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 6px rgba(124,92,255,.05);
}

    .video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

@media (max-width: 760px) {
    .app-video {
        margin-top: 65px;
    }

    .video-frame {
        border-radius: 16px;
    }
}