/*
 * DOSYA YOLU : /module/explore/assets/ex.css   (YENİ DOSYA)
 * AÇIKLAMA   : Keşfet stilleri (önek: ex-): raflar, kategori başlığı, Premium / Music / Kids / Üyelikler / Oyunlar
 *              tanıtım bantları, özellik kartları, oyun kartları ve oyun çerçevesi, Kids teması.
 *              Video kartları ana sayfanın db- stillerini kullanır. Sadece core.css / yt.css değişkenlerine (--st-*) bağlıdır.
 */

.ex-page { width: 100%; max-width: 1800px; margin: 0 auto; padding: 8px 12px 28px; }
.ex-muted { font-size: 13.5px; color: var(--st-text-3); }
.ex-link { font-size: 13px; font-weight: 650; color: var(--st-accent); }
.ex-link:hover { text-decoration: underline; }
.ex-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; color: var(--st-text-2); background: var(--st-surface-2); }
.ex-note svg { flex: none; margin-top: 2px; color: var(--st-accent); }
.ex-note b { color: var(--st-text); }
.ex-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .88); background: linear-gradient(135deg, hsl(var(--ex-h, 260), 62%, 42%), hsl(calc(var(--ex-h, 260) + 55), 68%, 28%)); }
.ex-page .db-grid { padding-left: 0; padding-right: 0; }
@media (min-width: 768px) { .ex-page { padding: 12px 28px 44px; } }

/* ---------- Çipler, başlık, sıralama ---------- */
.ex-chips { position: sticky; z-index: 40; top: calc(var(--st-topbar-h) + var(--st-safe-t)); margin: 0 -12px 8px; padding: 10px 12px; background: var(--st-glass); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); }
@media (min-width: 768px) { .ex-chips { margin: 0 -28px 8px; padding: 12px 28px; } }
.ex-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0 6px; }
.ex-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.ex-title__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--st-accent); background: var(--st-accent-soft); }
.ex-sort { display: inline-flex; padding: 3px; border-radius: 13px; background: var(--st-surface-2); }
.ex-sort__i { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 640; color: var(--st-text-2); transition: background .2s, color .2s; }
.ex-sort__i:hover { color: var(--st-text); }
.ex-sort__i.is-active { background: var(--st-surface-3); color: var(--st-text); }
.ex-pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 0 4px; }
.ex-pager__n { font-size: 13px; color: var(--st-text-2); }
@media (min-width: 768px) { .ex-title { font-size: 26px; } }

/* ---------- Raflar ---------- */
.ex-shelf { margin: 8px 0 22px; }
.ex-shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ex-shelf__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 720; letter-spacing: -.01em; }
.ex-shelf__ic { display: grid; place-items: center; color: var(--st-accent); }
.ex-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.ex-row::-webkit-scrollbar { display: none; }
.ex-row > .db-card { flex: none; width: 250px; scroll-snap-align: start; }
@media (min-width: 768px) { .ex-row { gap: 18px; } .ex-row > .db-card { width: 290px; } }

/* ---------- Tanıtım bantları ---------- */
.ex-hero {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 8px 0 22px; padding: 28px 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #6d4df0, #9a4dff);
}
.ex-hero--premium { background: linear-gradient(135deg, #1a1a2e 0%, #4a3aa7 55%, #b88cff 100%); }
.ex-hero--music { background: linear-gradient(135deg, #ff4d8d, #7c3aed); }
.ex-hero--kids { background: linear-gradient(135deg, #ffb547, #ff6b9d 55%, #6dd5ff); }
.ex-hero--members { background: linear-gradient(135deg, #0ea5a4, #3b82f6); }
.ex-hero--games { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.ex-hero__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ex-hero__title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.ex-hero__text { max-width: 560px; font-size: 15px; line-height: 1.55; opacity: .94; }
.ex-hero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ex-hero .st-btn--primary { color: #111; background: #fff; }
.ex-hero .st-btn--primary.is-on { color: #fff; background: rgba(255, 255, 255, .22); }
.ex-hero .st-btn--subtle { color: #fff; background: rgba(255, 255, 255, .2); }
.ex-hero .st-btn--subtle:hover { background: rgba(255, 255, 255, .3); }
.ex-hero .ex-muted { color: rgba(255, 255, 255, .85); }
@media (min-width: 768px) { .ex-hero { padding: 44px 44px; } .ex-hero__title { font-size: 38px; } .ex-hero__text { font-size: 16.5px; } }

.ex-feats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .ex-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ex-feats { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.ex-feat { padding: 18px; border-radius: 16px; background: var(--st-surface); border: 1px solid var(--st-border); }
.ex-feat__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; color: var(--st-accent); background: var(--st-accent-soft); }
.ex-feat h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15.5px; font-weight: 700; }
.ex-feat h3 small { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--st-warning); background: rgba(255, 181, 71, .16); }
.ex-feat p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--st-text-2); }

/* ---------- Hazır oyunlar ---------- */
.ex-gridg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 640px) { .ex-gridg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 16px; } }
.ex-gridg--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 200px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.ex-gridg--row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .ex-gridg--row { grid-template-columns: none; grid-auto-columns: 230px; } }
.ex-gc { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ex-gc__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--st-surface-2); }
.ex-gc__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--st-ease); }
.ex-gc__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--st-spring); pointer-events: none; }
@media (hover: hover) { .ex-gc:hover .ex-gc__thumb img { transform: scale(1.06); } .ex-gc:hover .ex-gc__play { opacity: 1; transform: none; } }
.ex-gc__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 2px; }
.ex-gc__t { font-size: 14.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-gc__m { font-size: 12.5px; color: var(--st-text-3); }
.ex-gc__del { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .6); }
.ex-gc__del:hover { background: var(--st-danger); }

.ex-crumb { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; font-size: 13.5px; color: var(--st-text-2); }
.ex-crumb a:hover { color: var(--st-accent); }
.ex-crumb b { color: var(--st-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-gframe { position: relative; width: 100%; height: min(72vh, 760px); min-height: 360px; overflow: hidden; border-radius: 16px; background: #000; }
.ex-gframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ex-gframe:fullscreen { height: 100%; border-radius: 0; }
.ex-gbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 22px; }
.ex-gbar__t { font-size: 20px; font-weight: 740; letter-spacing: -.01em; }
@media (max-width: 599px) { .ex-gframe { height: 68vh; height: 68dvh; border-radius: 12px; } }

/* ---------- Yönetici formu ---------- */
.ex-card { margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--st-surface); border: 1px solid var(--st-border); }
.ex-card__title { font-size: 16px; font-weight: 700; }
.ex-card__title small { font-size: 12.5px; font-weight: 500; color: var(--st-text-3); }
.ex-card .ex-muted { margin-top: 4px; }
.ex-card .ex-muted b { color: var(--st-text); }
.ex-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; max-width: 560px; }
.ex-form .st-btn { justify-self: start; }
.ex-file { padding-top: 10px; }

/* ---------- SezTube Kids teması ---------- */
.ex-kids .ex-hero { border-radius: 32px; }
.ex-kids .db-card__thumb { border-radius: 24px; border: 3px solid transparent; transition: border-color .2s, transform .25s var(--st-spring); }
.ex-kids .db-card__title { font-size: 16.5px; font-weight: 700; }
@media (hover: hover) { .ex-kids .db-card:hover .db-card__thumb { border-color: #ffb547; transform: translateY(-3px) rotate(-.4deg); } }
body.st-page-kids .st-main { background: linear-gradient(180deg, rgba(255, 181, 71, .08), transparent 320px); }

/* ---------- Bekleme listesi düğmesi ---------- */
.ex-int.is-on .st-icon { fill: currentColor; fill-opacity: .25; }