/* Mobilim.app Theme — kurumsal vitrin */

:root {
    --color-bg: #eef2f7;
    --color-bg-elevated: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e1;
    --color-primary: #1e3a5f;
    --color-primary-hover: #152a45;
    --color-accent: #2563eb;
    --color-accent-mid: #3b82f6;
    --color-accent-soft: rgba(37, 99, 235, 0.12);
    --color-accent-faint: rgba(37, 99, 235, 0.06);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
    --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.05);
    --shadow-float: 0 20px 50px rgba(15, 23, 42, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1120px;

    /* Üst renk catısı — logo alanındaki lacivert/mavi ile uyum */
    --canopy-edge: #0f2840;
    --canopy-mid: #1e4976;
    --canopy-accent-glow: #3b82f6;
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--color-accent-soft);
    color: var(--color-text);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(1200px 600px at 12% -8%, rgba(59, 130, 246, 0.09), transparent 55%),
        radial-gradient(900px 480px at 92% 4%, rgba(30, 58, 95, 0.06), transparent 50%),
        linear-gradient(168deg, #eef2f7 0%, #f4f7fb 42%, #eef4fc 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* Erişilebilirlik */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    text-decoration: none;
}

/* Üst renk catısı + başlık alanı */
.site-header {
    display: block;
}

.site-canopy {
    height: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(
            102deg,
            var(--canopy-edge) 0%,
            var(--color-primary) 22%,
            var(--canopy-mid) 42%,
            var(--canopy-accent-glow) 62%,
            var(--color-accent) 78%,
            #1e3a8a 92%,
            var(--canopy-edge) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 1px 0 rgba(15, 23, 42, 0.06);
}

/* Üst menü (Theme Settings’ten) */
.site-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.site-nav__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.35rem 1.25rem 0.5rem;
}

.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0.35rem 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-elevated);
    color: var(--color-primary);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
    border-color: var(--color-accent);
    background: var(--color-accent-soft);
    outline: none;
}

.site-nav__toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.site-nav__toggle-line {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: var(--color-primary);
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.site-nav__link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 999px;
    transition:
        color 0.18s var(--ease-out),
        background 0.18s var(--ease-out),
        box-shadow 0.18s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: var(--color-accent);
    background: var(--color-accent-soft);
    outline: none;
}

.site-nav__item--dropdown {
    position: relative;
}

.site-nav__sub {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% - 2px);
    min-width: 220px;
    margin: 0;
    padding: 0.45rem 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    z-index: 300;
}

.site-nav__item--dropdown:hover > .site-nav__sub,
.site-nav__item--dropdown:focus-within > .site-nav__sub {
    display: block;
}

.site-nav__sub-link {
    display: block;
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.site-nav__sub-link:hover,
.site-nav__sub-link:focus-visible {
    color: var(--color-accent);
    background: var(--color-accent-soft);
    outline: none;
}

@media (max-width: 782px) {
    .site-nav__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem 0.75rem;
    }

    .site-nav__toggle {
        display: inline-flex;
        align-self: center;
    }

    .site-nav__list {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0 0;
        border-top: 1px solid var(--color-border);
        margin-top: 0.25rem;
    }

    .site-nav.is-open .site-nav__list {
        display: flex;
    }

    .site-nav__link {
        border-radius: var(--radius-sm);
        text-align: center;
    }

    .site-nav__item--dropdown {
        position: static;
    }

    .site-nav__sub {
        display: block;
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
        background: rgba(15, 23, 42, 0.04);
        padding: 0.35rem 0 0.5rem;
        margin-top: 0.25rem;
        border-radius: var(--radius-sm);
    }

    .site-nav__sub-link {
        text-align: center;
        border-radius: var(--radius-sm);
    }
}

/* Üst çubuk — logo üstte ortada (sayfa ile birlikte kayar) */
.top-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.92) 48%, rgba(255, 255, 255, 0.97) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 32px rgba(15, 23, 42, 0.04);
}

.top-bar__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem 0.5rem;
    text-align: center;
}

.top-bar__search {
    display: flex;
    justify-content: center;
    padding: 0 1.5rem 1rem;
}

.site-brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-brand--logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-brand--logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-brand--logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(868px, calc(100vw - 2rem));
    max-height: 228px;
    object-fit: contain;
}

.site-brand--logo .custom-logo-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.site-brand--logo .custom-logo-link:hover .custom-logo {
    opacity: 0.92;
}

.header-search {
    position: relative;
    width: 100%;
    max-width: min(400px, calc(100vw - 3rem));
}

.app-search-input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 0.875rem 50%;
    background-size: 18px 18px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        border-color 0.18s var(--ease-out),
        box-shadow 0.18s var(--ease-out),
        background-color 0.18s var(--ease-out);
}

.app-search-input::placeholder {
    color: var(--color-text-muted);
}

.app-search-input:hover {
    border-color: #cbd5e1;
}

.app-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-bg-elevated);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: min(320px, calc(100vw - 3rem));
    max-height: 320px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    z-index: 100;
    padding: 0.5rem;
}

.search-results-dropdown:empty {
    display: none;
}

.search-results-dropdown a {
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.12s ease;
}

.search-results-dropdown a:hover,
.search-results-dropdown a:focus-visible {
    background: rgba(241, 245, 249, 0.95);
}

/* Ana içerik */
.main-content {
    display: block;
}

/* Ana sayfa — uygulama slider */
.apps-slider-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0.375rem;
}

@media (min-width: 48rem) {
    .apps-slider-section {
        padding-top: 2rem;
    }
}

.apps-slider {
    position: relative;
    border-radius: var(--radius-md, 14px);
    outline: none;
}

.apps-slider:focus-visible {
    box-shadow:
        0 0 0 3px var(--color-accent-soft),
        0 28px 64px rgba(15, 23, 42, 0.1);
}

.apps-slider[data-single="1"] .apps-slider__viewport {
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.8);
}

.apps-slider__viewport {
    overflow: hidden;
    border-radius: inherit;
    background: radial-gradient(circle at 75% -10%, rgba(96, 165, 250, 0.2), transparent 52%),
        linear-gradient(160deg, #f1f5f9 0%, #eef2ff 40%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 20px 50px rgba(37, 99, 235, 0.08),
        0 4px 16px rgba(15, 23, 42, 0.05);
}

.apps-slider__track {
    display: flex;
    flex-direction: row;
    will-change: transform;
}

.apps-slider__slide {
    flex: 0 0 auto;
}

.apps-slider__link {
    display: block;
    position: relative;
    overflow: hidden;
    /* Tema app_slider kırpımı (~21:9) ile aynı oran */
    aspect-ratio: 1600 / 686;
    min-height: clamp(158px, 28vw, 280px);
    color: inherit;
    text-decoration: none;
}

@media (max-width: 39.999rem) {
    .apps-slider__link {
        aspect-ratio: 1600 / 686;
        min-height: clamp(176px, 48vw, 248px);
    }
}

.apps-slider__media {
    position: absolute;
    inset: 0;
}

.apps-slider__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mobil ekran / ikon üstte kalsın; merkez kırpımla uyumlu */
    object-position: center 28%;
    transform: translateZ(0);
}

.apps-slider__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: clamp(2.75rem, 12vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(145deg, #e8f4ff 0%, #dde7ff 100%);
}

.apps-slider__scrim {
    position: absolute;
    inset: auto 0 0 0;
    height: clamp(54%, 18vw + 52%, 70%);
    background: linear-gradient(
        165deg,
        transparent 8%,
        rgba(14, 30, 55, 0.35) 45%,
        rgba(13, 25, 45, 0.78) 100%
    );
    pointer-events: none;
}

.apps-slider[data-single="0"] .apps-slider__caption {
    bottom: clamp(2.25rem, 7vw, 3.25rem);
}

.apps-slider__caption {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    max-width: min(94%, 32rem);
    padding: clamp(0.875rem, 4vw, 1.625rem)
        clamp(1rem, 4.5vw, 2rem);
    margin: 0;
    font-size: clamp(1.0625rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 14px 32px rgba(0, 0, 0, 0.32);
}

.apps-slider__btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: clamp(2.25rem, 6vw, 2.875rem);
    height: clamp(2.25rem, 6vw, 2.875rem);
    margin-top: -1.4375rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.875rem;
    line-height: 1;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.93);
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.2),
        0 14px 32px rgba(37, 99, 235, 0.12);
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.apps-slider__btn:hover {
    background: #ffffff;
}

.apps-slider__btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 1),
        0 0 0 5px rgba(59, 130, 246, 0.6);
}

.apps-slider__btn--prev {
    left: max(0.6rem, 2%);
}

.apps-slider__btn--next {
    right: max(0.6rem, 2%);
}

.apps-slider__btn-icon {
    display: block;
    margin-bottom: 0.1em;
}

.apps-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
    padding: clamp(0.625rem, 4vw, 1.125rem)
        clamp(0.875rem, 8vw, 2.5rem);
    z-index: 3;
}

.apps-slider__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.15s ease,
        background 0.15s ease,
        opacity 0.15s ease;
}

.apps-slider__dot:hover {
    transform: scale(1.06);
}

.apps-slider__dot.is-active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

.apps-slider__dot:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    .apps-slider__track {
        scroll-behavior: auto;
        transition-duration: 0ms !important;
    }

    .apps-slider__btn,
    .apps-slider__dot {
        transition-duration: 0ms;
    }

    .apps-slider__dot:hover {
        transform: none;
    }
}

.content-section {
    padding: 3.25rem 1.5rem;
}

.content-section--alt {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 55%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 24px 80px rgba(15, 23, 42, 0.035);
}

.content-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Tekil uygulama (apps CPT) */
.app-single-back {
    margin: 0 0 1.25rem;
}

.app-single-back__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.app-single-back__link:hover {
    text-decoration: underline;
}

.app-single-head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 48rem) {
    .app-single-head {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .app-single-media {
        flex: 0 0 min(260px, 36vw);
    }
}

.app-single-media__thumb {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.app-single-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    line-height: 1.15;
}

.app-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.app-single-rating {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.85);
}

.app-single-rating__title {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.app-single-rating__score-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.app-single-rating__score {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.app-single-rating__num {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-text);
    line-height: 1;
}

.app-single-rating__of {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.app-single-rating__meter {
    flex: 1 1 120px;
    min-width: 100px;
    max-width: 240px;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.95);
    overflow: hidden;
}

.app-single-rating__meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fde047 0%, #eab308 100%);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
    transition: width 0.35s ease;
}

.app-single-rating__meter--empty .app-single-rating__meter-fill {
    opacity: 0;
}

.app-single-rating__count {
    margin: 0;
    flex-basis: 100%;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.app-single-rating__score-row--empty .app-single-rating__count {
    flex-basis: auto;
}

.app-single-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.55rem 1.15rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--color-accent-mid) 0%, var(--color-accent) 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28);
    transition:
        filter 0.15s ease,
        transform 0.15s ease;
}

.app-single-store-btn:hover {
    filter: brightness(1.05);
    color: #fff;
}

.app-single-store-btn:active {
    transform: translateY(1px);
}

.app-single-excerpt {
    margin-top: 1rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.app-single-feedback-zone {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    max-width: 32rem;
}

.app-single-feedback-zone .app-card__feedback-heading,
.app-single-feedback-zone .app-card__feedback-msg {
    text-align: left;
}

.app-single-feedback-zone .app-card__stars {
    justify-content: flex-start;
}

.section-head {
    margin-bottom: 2.25rem;
}

.section-head__label {
    display: inline-block;
    margin-bottom: 0.625rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: linear-gradient(135deg, var(--color-accent-faint), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
}

.section-head__title {
    position: relative;
    margin: 0 0 0.625rem;
    padding-bottom: 0;
    font-size: clamp(1.5rem, 2.8vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text);
}

.section-head__title::after {
    content: "";
    display: block;
    width: min(4.5rem, 28%);
    height: 3px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-mid));
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}

.section-head__desc {
    margin: 0;
    max-width: 38rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* Izgara */
.app-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(var(--app-columns, 4), minmax(0, 1fr));
}

/* Kartlar */
.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition:
        border-color 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out),
        transform 0.22s var(--ease-out);
    overflow: hidden;
}

.app-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-mid), #93c5fd);
    opacity: 0;
    transition: opacity 0.22s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover {
    border-color: #cbd5e1;
    border-color: color-mix(in srgb, var(--color-accent) 22%, var(--color-border));
    box-shadow:
        var(--shadow-md),
        0 0 0 1px rgba(37, 99, 235, 0.07),
        0 24px 48px rgba(37, 99, 235, 0.06);
    transform: translateY(-3px);
}

.app-card__link {
    position: relative;
    z-index: 2;
    display: block;
    flex: 0 0 auto;
    padding: 1rem 0.85rem 0.75rem;
    color: inherit;
    text-decoration: none;
}

.app-card__link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.app-card__media {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.app-card__thumb,
.app-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow:
        0 0 0 1px rgba(226, 232, 240, 0.95),
        0 4px 14px rgba(15, 23, 42, 0.07);
}

.app-card__body {
    text-align: center;
}

.app-card__title {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.app-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    min-height: 1.25rem;
}

.app-card__favorite-count {
    margin: 0.35rem 0 0;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
}

/* Kart — veritabanı ortalaması (salt okunur yıldızlar) */
.app-card__avg {
    margin-bottom: 0.45rem;
    min-height: 1.15rem;
}

.app-card__avg-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.45rem;
}

.app-card__avg-inner--empty {
    min-height: 1rem;
}

.app-card__avg-muted {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    text-align: center;
}

.app-card__avg-stars {
    display: inline-flex;
    gap: 0.05rem;
    line-height: 1;
}

.app-card__avg-star-slot {
    position: relative;
    display: inline-block;
    width: 0.95em;
    height: 1em;
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.app-card__avg-star-base,
.app-card__avg-star-front {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    pointer-events: none;
}

.app-card__avg-star-base {
    color: #cbd5e1;
}

.app-card__avg-star-front {
    overflow: hidden;
    color: #eab308;
    text-shadow: 0 1px 1px rgba(234, 179, 8, 0.22);
    white-space: nowrap;
}

.app-card__avg-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.app-card__avg-meta {
    font-size: 0.625rem;
    color: var(--color-text-muted);
}

/* Kart altı — değerlendirme ve yorum */
.app-card__feedback {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    margin-top: auto;
    padding: 0.55rem 0.75rem 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.app-card__feedback-heading {
    margin: 0 0 0.35rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
}

.app-card__stars {
    display: flex;
    justify-content: center;
    gap: 0.08rem;
    margin-bottom: 0.45rem;
}

.app-card__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
    color: #cbd5e1;
    cursor: pointer;
    transition:
        color 0.15s var(--ease-out),
        transform 0.15s var(--ease-out),
        background 0.15s var(--ease-out);
}

.app-card__star:hover {
    color: #fde047;
    transform: scale(1.08);
    background: rgba(250, 204, 21, 0.12);
}

.app-card__star.is-active {
    color: #eab308;
    text-shadow: 0 1px 2px rgba(234, 179, 8, 0.35);
}

.app-card__star:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.app-card__comment-label {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.app-card__comment-input {
    display: block;
    width: 100%;
    margin-bottom: 0.45rem;
    padding: 0.4rem 0.5rem;
    font-family: inherit;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    resize: vertical;
    min-height: 2.5rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.app-card__comment-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.app-card__feedback-submit {
    width: 100%;
    padding: 0.38rem 0.6rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--color-accent-mid) 0%, var(--color-accent) 100%);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition:
        filter 0.15s ease,
        transform 0.15s ease;
}

.app-card__feedback-submit:hover:not(:disabled) {
    filter: brightness(1.05);
}

.app-card__feedback-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.app-card__feedback-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.app-card__feedback-msg {
    margin: 0.4rem 0 0;
    min-height: 1.1rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    text-align: center;
    color: var(--color-accent);
}

.app-card__fav {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 1rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition:
        background 0.18s var(--ease-out),
        color 0.18s var(--ease-out),
        border-color 0.18s var(--ease-out),
        box-shadow 0.18s var(--ease-out);
}

.app-card__fav:hover,
.app-card__fav:focus-visible {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.app-card__fav.is-favorite {
    color: #dc2626;
    border-color: #fca5a5;
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.12);
}

.app-card__fav.is-favorite:hover,
.app-card__fav.is-favorite:focus-visible {
    color: #b91c1c;
    border-color: #f87171;
    background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
}

.app-card__fav:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Rozetler */
.badge {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.badge--new {
    background: linear-gradient(180deg, #e0f2fe 0%, #dbeafe 100%);
    color: #0369a1;
    border-color: rgba(3, 105, 161, 0.15);
}

.badge--recommended {
    background: linear-gradient(180deg, #fef9c3 0%, #fef3c7 100%);
    color: #b45309;
    border-color: rgba(180, 83, 9, 0.14);
}

.badge--coming-soon {
    background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 100%);
    color: #5b21b6;
    border-color: rgba(91, 33, 182, 0.18);
}

/* Footer */
.site-footer {
    position: relative;
    margin-top: auto;
    padding: 2.5rem 1.5rem 2.125rem;
    background:
        radial-gradient(800px 200px at 50% 0%, rgba(96, 165, 250, 0.35), transparent 65%),
        linear-gradient(165deg, #152a45 0%, var(--color-primary) 52%, #0f2840 100%);
    color: rgba(255, 255, 255, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 -12px 48px rgba(15, 23, 42, 0.12);
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.site-footer__nav {
    width: 100%;
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.site-footer__menu-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.875rem;
    font-weight: 500;
}

.site-footer__menu-link:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}

.site-footer--menu-no-underline .site-footer__menu-link,
.site-footer--menu-no-underline .site-footer__menu-link:hover {
    text-decoration: none;
    text-underline-offset: 0;
    text-decoration-thickness: unset;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.site-footer__brand {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.site-footer__corner-logo {
    --footer-logo-slot: 5.75rem;
    --footer-logo-pad-x: 0.5rem;
    --footer-logo-pad-y: 0.45rem;
    position: absolute;
    z-index: 2;
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: calc(var(--footer-logo-slot) + (var(--footer-logo-pad-x) * 2));
    box-sizing: border-box;
    pointer-events: auto;
}

.site-footer__corner-logo-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(var(--footer-logo-slot) + (var(--footer-logo-pad-y) * 2));
    padding: var(--footer-logo-pad-y) var(--footer-logo-pad-x);
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.site-footer__corner-logo-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.95);
}

.site-footer__corner-logo-card:active {
    transform: translateY(0);
}

.site-footer__corner-logo-card:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.site-footer__corner-logo-card img {
    display: block;
    flex-shrink: 0;
    width: var(--footer-logo-slot);
    height: var(--footer-logo-slot);
    max-width: var(--footer-logo-slot);
    max-height: var(--footer-logo-slot);
    object-fit: contain;
}

@media (max-width: 39.999rem) {
    .site-footer {
        padding-bottom: max(5rem, calc(2.125rem + 4.75rem + env(safe-area-inset-bottom)));
    }

    .site-footer__corner-logo {
        --footer-logo-slot: 4.75rem;
        --footer-logo-pad-x: 0.4rem;
        --footer-logo-pad-y: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .app-card {
        transition-duration: 0.01ms;
    }

    .app-card:hover {
        transform: none;
    }

    .site-footer__corner-logo-card:hover,
    .site-footer__corner-logo-card:active {
        transform: none;
    }
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .top-bar__brand {
        padding: 0.875rem 1.25rem 0.375rem;
    }

    .top-bar__search {
        padding: 0 1.25rem 0.875rem;
    }

    .header-search {
        max-width: 100%;
    }

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