:root {
    --brand: #0B5ED7;
    --brand-2: #198754;
    --ink: #0b1320;
    --muted: #6b7280;
    --bg: #f6f7fb;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

.hero {
    background: radial-gradient(1200px 600px at 10% 0%, rgba(11,94,215,.18), transparent 60%),
                radial-gradient(900px 500px at 90% 10%, rgba(25,135,84,.16), transparent 55%),
                linear-gradient(180deg, #ffffff, #f7f9ff);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 16px;
}

.soft-card {
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 10px 30px rgba(17,24,39,.06);
    border-radius: 16px;
    background: #fff;
}

.badge-soft {
    background: rgba(11,94,215,.1);
    color: var(--brand);
    border: 1px solid rgba(11,94,215,.2);
}

.footer {
    border-top: 1px solid rgba(17,24,39,.08);
    color: var(--muted);
}

.link-muted {
    color: var(--muted);
    text-decoration: none;
}
.link-muted:hover {
    color: var(--ink);
    text-decoration: underline;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 4px 12px rgba(17,24,39,.08);
}

.app-icon-lg {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid rgba(17,24,39,.08);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.category-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.1);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .875rem;
    transition: all .2s;
}

.category-pill:hover,
.category-pill.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.rating-text {
    font-size: .875rem;
    color: var(--muted);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.meta-item {
    background: var(--bg);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(17,24,39,.06);
}

.meta-item span {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
}

.meta-item strong {
    color: var(--brand);
    font-size: 1rem;
}

.app-content {
    font-size: 1.06rem;
    line-height: 1.85;
}

.app-content h2, .app-content h3 {
    margin-top: 1.2em;
    margin-bottom: .5em;
    font-weight: 800;
    color: var(--ink);
}

.app-content p { margin-bottom: 1rem; }

.screenshot-swiper {
    border-radius: 16px;
    overflow: hidden;
}

.screenshot-swiper .swiper-slide img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(17,24,39,.08);
}

.related-app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(17,24,39,.06);
    transition: background .2s;
}

.related-app-item:hover {
    background: rgba(11,94,215,.04);
    color: inherit;
}

.related-app-item img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.sticky-side {
    position: sticky;
    top: 90px;
}

.latest-tag {
    display: inline-block;
    background: #fff;
    border: 1px solid rgba(17,24,39,.08);
    padding: 6px 12px;
    border-radius: 8px;
    margin: 4px;
    font-size: .85rem;
    font-weight: 600;
}

.latest-tag a {
    color: var(--brand);
    text-decoration: none;
}

.latest-tag a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .sticky-side { position: static; }
}
