/* ═══════════════════════════════════════════════
   Copy Promt — Premium UI · Ciddi & Çekici
   ═══════════════════════════════════════════════ */

body {
    background: var(--bg);
    overflow-x: hidden;
}

.page-bg-orb {
    filter: blur(100px);
    opacity: 0.22;
    animation: orbDrift 24s ease-in-out infinite;
}

.orb-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(26,54,93,0.5), transparent 68%);
    top: -160px; left: -100px;
}

.orb-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(15,36,64,0.35), transparent 68%);
    top: 40%; right: -120px;
    animation-delay: -8s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(63,63,70,0.2), transparent 68%);
    bottom: -80px; left: 30%;
    animation-delay: -16s;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(16px, -12px); }
}

/* ─── Header ─── */
.header-blur {
    background: rgba(244,244,242,0.88);
    border-bottom: 1px solid var(--line);
}

.header-glow {
    background: linear-gradient(90deg, transparent, rgba(26,54,93,0.25), transparent);
}

.tabs-track {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.nav-pill.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 10px rgba(26,54,93,0.25);
}

.nav-pill.active .tab-icon { color: #fff; }

.store-tab.is-active {
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(26,54,93,0.25);
}

.store-tab.is-active .tab-icon { color: #fff; }

/* ─── Price chips ─── */
.price-chip.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 10px rgba(26,54,93,0.2);
}

.price-chip:hover { border-color: rgba(26,54,93,0.25); color: var(--accent); }
.price-chip.active:hover { color: #fff; }

/* ─── Cards ─── */
.card-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    overflow: hidden;
}

.store-intro-inner {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
}

/* ─── Hero ─── */
.hero-card {
    border: 1px solid var(--line);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.hero-card-visual {
    background: linear-gradient(145deg, #1a365d 0%, #0f2440 55%, #1e3a2f 100%);
}

.hero-card:hover {
    box-shadow: var(--shadow-lg);
}

.hero-eyebrow {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-kicker { color: rgba(255,255,255,0.7); }

.btn-blue {
    background: #fff;
    color: var(--accent);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-blue:hover {
    background: #fff;
    color: var(--accent-hover);
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ─── App icon — premium feel ─── */
.squircle {
    background: linear-gradient(145deg, var(--accent, #1a365d), color-mix(in srgb, var(--accent, #1a365d) 75%, #000));
    box-shadow: var(--shadow-icon);
}

.app-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.icon-shine {
    position: absolute;
    inset: 0;
    border-radius: 22%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.55s var(--ease);
    pointer-events: none;
}

.app-row:hover .icon-shine,
.app-tile:hover .icon-shine {
    transform: translateX(120%);
}

.icon-md {
    width: 72px;
    height: 72px;
    border-radius: 22%;
}

.icon-md span { font-size: 1.65rem; }

.icon-lg {
    width: 128px;
    height: 128px;
}

/* ─── App rows — download appeal ─── */
.app-row {
    padding: 18px 22px;
    gap: 18px;
    transition: background 0.25s, transform 0.35s var(--ease), box-shadow 0.35s;
    position: relative;
}

.app-row::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
    transition: transform 0.3s var(--ease);
}

.app-row:hover {
    background: rgba(26,54,93,0.03);
    transform: translateX(2px);
    box-shadow: none;
}

.app-row:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.app-row-top h3 {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.app-row-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-row-meta {
    margin-top: 6px;
    font-size: 0.76rem;
    color: var(--text-tertiary);
}

.meta-dot { opacity: 0.5; }

.stars { color: #92600a; letter-spacing: -1px; font-size: 0.72rem; }
.stars.sm { font-size: 0.68rem; }
.stars .dim { color: #d4d4d8; }

/* GET button — App Store style */
.app-row-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: 76px;
}

.get-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 34px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.get-btn.get-free {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1.5px solid rgba(26,54,93,0.2);
}

.get-btn.get-paid {
    background: var(--gold-soft);
    color: var(--gold);
    border: 1.5px solid rgba(146,96,10,0.25);
    min-width: 88px;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 700;
}

.app-row:hover .get-btn.get-free {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(26,54,93,0.3);
}

.app-row:hover .get-btn.get-paid {
    background: var(--cta);
    color: #fff;
    border-color: var(--cta);
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.get-btn.sm {
    min-width: 72px;
    height: 30px;
    font-size: 0.68rem;
    margin-top: 10px;
}

.cta-sub {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-align: center;
    max-width: 80px;
    line-height: 1.2;
}

/* ─── Tiles ─── */
.app-tile {
    padding: 16px 12px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}

.app-tile:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26,54,93,0.15);
}

.app-tile .squircle { margin: 0 auto 14px; }

.app-tile h3 {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tile-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-tertiary);
    margin: 6px 0 4px;
}

.app-tile:hover .get-btn {
    transform: scale(1.05);
}

/* ─── Story cards ─── */
.story-card {
    transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 56px rgba(0,0,0,0.22);
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
    pointer-events: none;
}

/* ─── Primary buttons ─── */
.btn-primary {
    background: var(--cta) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
}

.btn-primary:hover {
    background: var(--cta-hover) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22) !important;
}

.brand:hover .brand-mark {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(26,54,93,0.25));
}

.brand-mark { transition: transform 0.35s var(--ease), filter 0.3s; }

.store-search input:focus {
    box-shadow: 0 0 0 3px rgba(26,54,93,0.12);
    border: 1px solid rgba(26,54,93,0.2);
}

/* Section titles — no gradient text */
.section-head h2 {
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
    font-weight: 800;
}

/* Publisher badge */
.publisher-badge {
    background: rgba(26,54,93,0.06);
    border-color: rgba(26,54,93,0.12);
}

.publisher-badge svg { color: #92600a; }

.price-free { background: var(--success-soft); color: var(--success); }
.price-paid { background: var(--gold-soft); color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
    .page-bg-orb { animation: none !important; }
}

/* ─── Screenshots Gallery ─── */
.screenshots-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 12px;
    margin: 12px 0 24px;
}
.screenshot-item {
    flex-shrink: 0;
    width: 280px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.screenshot-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

