/* ─────────────────────────────────────────────────────────────
   Pinguru — ana sayfa mobil (yalnızca 760 px altı; inc/assets.php media="(max-width: 759.98px)" ile yükler)
   Sıra: kısa hero kartı, popüler oyunlar, çok satanlar (yatay), tüm oyunlar, kampanya kartları, yeni eklenenler,
   nasıl çalışır, SEO (KOD_AKTARIM 96). Masaüstü kuralları (home.css, cards.css) değişmez.
   ───────────────────────────────────────────────────────────── */

/* ── Mobilde gizlenenler: güven şeridi, büyük Bonus Kasa bölümü, "Neden Pinguru?", büyük kampanya ve davet bantları ── */
.home-page .trust, .home-page .loyalty, .home-page .why, .home-page section[aria-labelledby="kampanya-baslik"], .home-page .invite { display: none; }
.home-page.flow-page { padding-bottom: 36px; }

/* ── Bölüm aralığı ve ortak başlık düzeni: küçük mor üst etiket + 22 px başlık + sağda "Tümü →" ── */
.m-sec { display: block; }
.home-page .section, .home-page .arrivals { padding-block: 0; }
.home-page .m-sec, .home-page .best, .home-page .arrivals, .home-page .how, .home-page .seo-block { margin-top: 28px; }
.m-head, .best__head, .arrivals__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; margin-bottom: 14px; }
.m-head__kicker, .best__kicker, .arrivals__head .kicker, .how .kicker, .seo-block__kicker {
  display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light);
}
.m-head__kicker::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 2px; background: currentColor; }
.best__kicker .icon { width: 13px; height: 13px; }
.m-head__title, .best__title, .arrivals__head .section-head__title, .how__title, .seo-block__title {
  margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase;
}
.m-head__all, .best__all {
  display: inline-flex; height: auto; align-items: center; gap: 4px; padding: 0 0 2px; border: 0; background: none; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--brand-light);
}
.m-head__all .icon, .best__all .icon { width: 14px; height: 14px; }
.best__all:hover { background: none; }
.arrivals__head .kicker, .arrivals__head .section-head__title { grid-column: 1; }
.arrivals__head .m-head__all { grid-column: 2; grid-row: 1 / span 2; }

/* ── a) Kısa hero kartı: 220 px, köşe 20 px ── */
.home-page .hero { margin: 12px var(--gutter) 0; height: 220px; border-radius: 20px; border: 1px solid rgb(167 139 250 / .28); box-shadow: 0 18px 40px -24px rgb(0 0 0 / .9); }
.home-page .hero__art { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
.home-page .hero__img { object-position: 78% 40%; }
.home-page .hero__shade { background: linear-gradient(90deg, rgb(7 12 26 / .95) 0%, rgb(7 12 26 / .74) 48%, rgb(7 12 26 / .12) 86%), linear-gradient(to top, rgb(7 12 26 / .65), transparent 60%); }
.home-page .hero__inner { display: flex; height: 100%; margin: 0; align-items: center; padding: 18px; }
.home-page .hero__content { max-width: 70%; }
.hero__badge { height: 26px; gap: 5px; padding: 0 10px; border-radius: 999px; background: rgb(245 158 11 / .14); box-shadow: inset 0 0 0 1px rgb(251 191 36 / .45); font-size: 11px; font-weight: 600; color: #fde68a; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero__badge .icon { width: 12px; height: 12px; color: #fbbf24; }
.hero__badge .hl-gold { margin-inline: 0; font-weight: 800; color: #fbbf24; }
.hero__badge-d, .hero__badge--d { display: none; }
.hero__badge-m { display: inline; }
.hero__badge--m { display: inline-flex; }
.hero__title { margin-top: 10px; font-size: clamp(20px, 6.4vw, 26px); line-height: 1.06; }
.hero__text, .hero__search, .hero__popular, .hero__stats { display: none; }
.hero__mcta { display: inline-flex; margin-top: 14px; height: 38px; gap: 6px; padding-inline: 14px; border-radius: 12px; background: var(--brand-grad); box-shadow: 0 12px 24px -12px rgb(124 58 237 / .95); font-size: 12.5px; }
.hero__mcta .icon { width: 15px; height: 15px; }

/* ── b) Popüler oyunlar: 68 px kapaklar yatay kayar ── */
.m-pop__list { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.m-pop__item { display: flex; width: 72px; flex-direction: column; align-items: center; gap: 6px; scroll-snap-align: start; color: var(--soft); }
.m-pop__cover { position: relative; display: grid; width: 68px; height: 68px; place-items: center; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, var(--from), var(--to)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 10px 20px -12px rgb(0 0 0 / .9); }
.m-pop__img { width: 100%; height: 100%; object-fit: cover; }
.m-pop__emblem { font-size: 20px; font-weight: 800; color: #fff; }
.m-pop__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; min-height: 2.4em; font-size: 11.5px; line-height: 1.2; font-weight: 600; text-align: center; }
.m-pop__item:active .m-pop__cover { transform: scale(.96); }

/* ── c) Çok satanlar: filtre hapları ve kompakt kartlar yatay kayar ── */
.best__head { grid-template-areas: "text all" "chips chips"; }
.best__head > div:first-child { grid-area: text; min-width: 0; }
.best__text { display: none; }
.best__tools { display: contents; }
.best__all { grid-area: all; display: inline-flex; }
.best__all-d { display: none; }
.best__all .m-only { display: inline; }
.best .chips { grid-area: chips; margin-top: 12px; flex-wrap: nowrap; scrollbar-width: none; }
.best .chip { height: 34px; padding-inline: 14px; font-size: 13px; }
.best__grid {
  margin: 0 calc(var(--gutter) * -1); display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72vw, 270px); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 16px; scrollbar-width: none;
}
.best__grid > * { scroll-snap-align: start; }
.best__grid > .best__empty { grid-column: auto; width: calc(100vw - var(--gutter) * 2); }

/* Kompakt cam kart (çok satanlar + yeni eklenenler): yayıncı, fiyat etiketi, teslimat satırı ve favori yok;
   köşede yuvarlak eylem butonu (+ sepete ekle / paketleri gör / ID gir / satın al / ✓ eklendi). */
.home-page .pglass__pub, .home-page .pglass__label, .home-page .pglass__delivery, .home-page .pglass > .fav { display: none; }
.home-page .pglass__body { padding: 10px 12px 12px; }
.home-page .pglass__title { margin-top: 0; font-size: 14.5px; }
.home-page .pglass__price { margin-top: 6px; min-height: 42px; align-items: center; padding-right: 52px; }
.home-page .pglass__amount strong { font-size: 16px; }
.home-page .pglass__amount s { font-size: 11px; }
.home-page .pglass__cta {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; margin: 0; gap: 0; padding: 0; border-radius: 50%;
  font-size: 0; box-shadow: 0 10px 20px -10px rgb(124 58 237 / .95);
}
.home-page .pglass__cta .icon { width: 18px; height: 18px; }
.home-page .pglass__cta .icon--d { display: none; }
.home-page .pglass__cta .icon.icon--m { display: block; }
.home-page .pglass__cta [data-cta-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.home-page .pglass__cta.is-added .icon--m { stroke-width: 2.5; }

/* ── d) Tüm oyunlar: 2 sütun, 16:11 kutucuklar ── */
.m-all__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-all__tile { position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 14px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); color: #fff; }
.m-all__cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.m-all__cover .cover__img { width: 100%; height: 100%; object-fit: cover; }
.m-all__tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(7 12 26 / .94) 0%, rgb(7 12 26 / .35) 52%, transparent 78%); }
.m-all__deal { position: absolute; top: 8px; left: 8px; }
.m-all__info { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 9px; }
.m-all__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.m-all__price { display: flex; align-items: baseline; gap: 4px; font-size: 10.5px; color: var(--soft); }
.m-all__price strong { font-size: 13px; font-weight: 800; color: #fff; }
.m-all__btn { margin-top: 14px; height: 46px; gap: 6px; border-radius: 12px; }
.m-all__btn .icon { width: 16px; height: 16px; }

/* ── e) Kampanya kartları: 82vw, yatay kayar ── */
.m-promos__list { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.m-promos__list > li { flex: 0 0 82vw; scroll-snap-align: start; }
.m-promo { position: relative; isolation: isolate; display: flex; width: 100%; height: 100%; min-height: 160px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 16px; border-radius: 18px; text-align: left; color: #fff; }
.m-promo--coupon { background: radial-gradient(80% 90% at 100% 0%, rgb(251 191 36 / .28), transparent 60%), linear-gradient(135deg, #3d2b07, #140e04 75%); box-shadow: inset 0 0 0 1px rgb(251 191 36 / .5); }
.m-promo--case { padding-right: 118px; background: radial-gradient(70% 90% at 100% 100%, rgb(245 158 11 / .3), transparent 62%), linear-gradient(135deg, #5b21b6, #1e1440 72%); box-shadow: inset 0 0 0 1px rgb(251 191 36 / .45); }
.m-promo--invite { background: radial-gradient(80% 90% at 100% 0%, rgb(196 181 253 / .25), transparent 60%), linear-gradient(135deg, #6d28d9, #1e1b4b 75%); box-shadow: inset 0 0 0 1px rgb(196 181 253 / .45); }
.m-promo__kicker { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c4b5fd; }
.m-promo--coupon .m-promo__kicker { color: #fde68a; }
.m-promo__kicker .icon { width: 13px; height: 13px; }
.m-promo__title { margin-top: 6px; font-size: 19px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.m-promo__title .hl { color: #c4b5fd; }
.m-promo--coupon .m-promo__title .hl, .m-promo--case .m-promo__title .hl { color: #fbbf24; }
.m-promo__text { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--soft); }
.m-promo__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.m-promo__code { padding: 5px 10px; border-radius: 8px; border: 1px dashed rgb(251 191 36 / .7); font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #fbbf24; }
.m-promo__go { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.m-promo__go .icon { width: 15px; height: 15px; }
.m-promo--case .m-promo__go { height: 34px; padding-inline: 12px; border-radius: 10px; background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1a1206; }
.m-promo__chest { position: absolute; right: 6px; bottom: 12px; z-index: -1; width: 112px; height: auto; filter: drop-shadow(0 10px 16px rgb(0 0 0 / .5)); }

/* ── f) Yeni eklenenler: kompakt kartlı kayan bant (akış ve dokunarak sürükleme: pinguru-marquee.js) ── */
.home-page .arrivals__viewport { padding-block: 4px 16px; }
.home-page .arrivals__row { gap: 12px; padding-right: 12px; }
.home-page .arrivals__item { width: min(62vw, 230px); }
.home-page .arrivals .pglass__price { min-height: 38px; padding-right: 46px; }
.home-page .arrivals .pglass__cta { width: 38px; height: 38px; }
.home-page .arrivals .pglass__cta .icon { width: 16px; height: 16px; }
.home-page .pglass__new { display: inline-grid; background: linear-gradient(135deg, #8b5cf6, #6d28d9); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }

/* ── g) Nasıl çalışır: 3 kompakt satır (maskot + numara + başlık + kısa metin) ── */
.how__list { margin-top: 14px; gap: 10px; }
.how__item { filter: none; }
.how__card { display: grid; min-height: 0; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.how__img { position: static; grid-row: 1; grid-column: 1; width: 64px; height: 64px; max-width: none; object-fit: contain; object-position: center; }
.how__body { display: grid; grid-row: 1; grid-column: 2; max-width: none; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; padding: 0; }
.how__num { font-size: 13px; font-weight: 800; color: var(--brand-light); }
.how__name { margin: 0; font-size: 15px; }
.how__text { grid-column: 1 / -1; margin-top: 3px; font-size: 12.5px; line-height: 1.45; }
.how__arrow { display: none; }

/* ── h) SEO: ilk paragraf + "Devamını oku", ilk 3 soru + "Tüm soruları gör (N)" ── */
.home-page .seo-block { padding-top: 0; }
.seo-block--collapse:not(.is-more) .seo-block__paras p:nth-child(n+2) { display: none; }
.seo-block--collapse:not(.is-all) .seo-faq__item:nth-child(n+4) { display: none; }
.seo-block__more { display: inline-flex; margin-top: 10px; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand-light); }
.seo-block__more .icon { width: 15px; height: 15px; }
.seo-block__all { display: flex; width: 100%; height: 44px; margin-top: 12px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgb(167 139 250 / .35); background: rgb(124 58 237 / .08); font-size: 13.5px; font-weight: 700; color: var(--lilac); }
.seo-block__more[hidden], .seo-block__all[hidden] { display: none; }
