/* S7 homepage visual (t1064/t1065). Scoped to body.v2-home so other pages stay on the published HOME-CTA CSS.
   Hero scene is the user-provided transparent PNG (WebP derivative in <picture>). Do not crop the bitmap. */

.v2-home{
  --ink:#24172B;
  --mu:#6b5a70;
  --bg:#FFF6F1;
  --cream:#FFFCFA;
  --card:#fff;
  --line:#f0ddd3;
  --deep:#32104F;
  --magenta:#E4409A;
  --pink:#FF4B8B;
  --orange:#FF8A3D;
  --yellow:#FFE566;
  --hdr:72px;
}
.v2-home.v2-page{background:var(--bg);color:var(--ink)}
.v2-home .hd{
  background:var(--cream);
  border-bottom:1px solid #f3e6de;
  box-shadow:0 1px 0 rgba(255,255,255,.8);
}
.v2-home .hdi{height:64px;gap:12px}
.v2-home .brand img{height:40px;width:auto;max-width:min(198px,48vw)}
.v2-home .v2-wrap{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.v2-home #main,#kesfet,#kategoriler,#yayincilar,#rehberler,#sss,#hero,
.v2-home [id]{scroll-margin-top:var(--hdr)}

/* Tools: search + menu */
.v2-hdi-tools{display:flex;align-items:center;gap:6px;margin-inline-start:auto;flex:none}
.v2-search{position:relative}
.v2-search>summary{
  list-style:none;cursor:pointer;box-sizing:border-box;
  width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid #ead7cd;background:#fff;color:var(--ink);
}
.v2-search>summary::-webkit-details-marker{display:none}
.v2-search>summary:focus-visible,.v2-home .mn summary:focus-visible{outline:3px solid #f5c542;outline-offset:2px}
.v2-search>summary svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.v2-search-panel{
  position:absolute;inset-inline-end:0;top:52px;z-index:40;
  width:min(320px,calc(100vw - 24px));
  background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:0 16px 40px rgba(36,23,43,.16);
  padding:12px;
}
.v2-search-panel label{display:block;font-size:.78rem;font-weight:700;margin:0 0 6px;color:var(--mu)}
.v2-search-panel input[type="search"]{
  width:100%;box-sizing:border-box;min-height:44px;border-radius:12px;
  border:1px solid var(--line);padding:0 12px;font:inherit;background:#fffaf7;
}
.v2-search-list{list-style:none;margin:8px 0 0;padding:0;max-height:240px;overflow:auto}
.v2-search-list a{display:block;padding:8px 10px;border-radius:10px;text-decoration:none;color:var(--ink);font-weight:600;font-size:.9rem}
.v2-search-list a:hover,.v2-search-list a:focus{background:#fff3ea}
.v2-search-list li[hidden]{display:none}
.v2-home .mn summary{
  list-style:none;cursor:pointer;min-height:44px;min-width:44px;
  border:1px solid #ead7cd;border-radius:999px;padding:0 14px;
  font-weight:700;color:var(--ink);background:#fff;
  display:inline-flex;align-items:center;justify-content:center;
}

/* Desktop nav from 1100px so 6 links + search never overflow */
@media (max-width:1099px){
  .v2-home .nv{display:none !important}
  .v2-home .mn{display:block !important}
}
@media (min-width:1100px){
  .v2-home .nv{display:flex !important;gap:16px;flex-wrap:nowrap}
  .v2-home .nv a{font-size:.9rem;padding:8px 0;border-bottom:2px solid transparent;color:var(--ink)}
  .v2-home .nv a:hover,.v2-home .nv a:focus-visible{border-color:var(--pink)}
  .v2-home .mn{display:none !important}
}

/* ===== HERO (v2hv-* isolated from 1E .v2-hero grid) =====
   ROOT CAUSE (parent 1280/1366/1440 QA):
   1E s7-v2-social-1125.css still had
     .v2-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:28px;...}
   The homepage markup is <section class="v2-hero"> with a SINGLE child
   .v2-hero-inner.v2-wrap. Our later file restyled the INNER grid but never
   reset display/grid-template-columns on .v2-home .v2-hero, so the 1E rule
   kept winning for those properties (equal elements, earlier file does not
   matter when we simply omitted the properties). The inner wrapper landed
   in column 1 (~half the section). Column 2 was empty — the blank right
   half of the screenshot. Nested inside that already-halved cell, our
   minmax(20rem,0.82fr) left track ate 320px and the PNG track was ~238px
   at 1280 (see report arithmetic). New v2hv-* names do not match .v2-hero
   at all, so the 1E grid cannot apply.
*/
.v2hv-stage{
  display:block;
  width:100%;
  box-sizing:border-box;
  position:relative;
  color:#fff;
  padding:18px 0 36px;
  overflow-x:clip;
  background:
    radial-gradient(ellipse 55% 80% at 88% 42%, rgba(255,90,190,.85) 0%, rgba(196,40,140,.45) 32%, transparent 64%),
    radial-gradient(ellipse 40% 55% at 72% 88%, rgba(122,28,255,.45) 0%, transparent 58%),
    linear-gradient(105deg, #32104F 0%, #3f125c 38%, #7a186c 68%, #d42a8c 100%);
}
.v2hv-inner{
  display:grid;
  box-sizing:border-box;
  width:min(1360px,calc(100% - 32px));
  margin-inline:auto;
  grid-template-columns:minmax(28rem,1fr) minmax(28rem,1.15fr);
  grid-template-areas:"copy visual" "feats visual";
  column-gap:32px;
  row-gap:16px;
  align-items:start;
  padding:8px 0 12px;
}
.v2hv-copy{grid-area:copy;min-width:0;max-width:36rem;padding:8px 0 0}
.v2hv-visual{
  grid-area:visual;
  position:relative;
  justify-self:stretch;
  align-self:center;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0;
  background:transparent;
  border-radius:0;
  overflow:visible;
  aspect-ratio:auto;
  max-height:none;
  min-height:0;
}
.v2hv-feats{grid-area:feats;min-width:0}

.v2hv-pill{
  display:inline-flex;align-items:center;gap:8px;
  margin:0 0 14px;padding:6px 12px 6px 8px;
  border-radius:999px;
  background:rgba(72,28,96,.55);
  border:1px solid rgba(255,255,255,.22);
  color:#f4e9ff;
  font-weight:700;font-size:.82rem;letter-spacing:.01em;
  text-decoration:none;
}
.v2hv-pill svg{width:18px;height:18px;flex:none}
.v2hv-pill:hover{background:rgba(90,36,120,.7)}
.v2hv-pill:focus-visible{outline:3px solid var(--yellow,#FFE566);outline-offset:2px}

.v2hv-copy h1,
.v2hv-stage #hero h1,
#hero.v2hv-stage h1{
  margin:0;
  max-width:none;
  font-family:"Segoe UI", "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-style:italic;
  font-weight:800;
  font-size:clamp(1.85rem, 2.6vw, 2.7rem);
  line-height:1.14;
  letter-spacing:-.03em;
  color:#fff;
  overflow-wrap:normal;
  word-break:normal;
}
.v2hv-h1a,.v2hv-h1b{display:block;overflow-wrap:normal;word-break:normal}
.v2hv-accent{font-style:italic;font-weight:800;color:var(--yellow,#FFE566)}

.v2hv-copy .v2-lead{
  margin:14px 0 0;
  max-width:32rem;
  color:rgba(245,240,250,.86);
  font-size:1.02rem;
  line-height:1.5;
}

.v2hv-links{margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.v2hv-links a{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 16px;border-radius:14px;
  text-decoration:none;font-weight:750;font-size:.95rem;
  box-sizing:border-box;
  max-width:100%;
}
.v2hv-links a.pri{
  background:linear-gradient(90deg,#FF4B8B 0%,#FF8A3D 100%);
  color:#fff;
  border:0;
  box-shadow:0 8px 20px rgba(255,75,139,.28);
}
.v2hv-links a.pri:hover{filter:brightness(1.06)}
.v2hv-links a.ghost{
  background:rgba(58,18,90,.35);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.72);
}
.v2hv-links a.ghost:hover{background:rgba(58,18,90,.55)}
.v2hv-links a:focus-visible{outline:3px solid var(--yellow,#FFE566);outline-offset:3px}
.v2hv-links a svg{width:18px;height:18px;flex:none}

.v2hv-visual img,
.v2hv-scene{
  position:static;
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  object-position:center right;
  pointer-events:none;
  background:transparent;
  border-radius:0;
  inset:auto;
}
.v2hv-visual::before{
  content:"";
  position:absolute;inset:10% 0 12% 8%;
  background:radial-gradient(circle at 60% 45%, rgba(255,120,210,.35), transparent 70%);
  z-index:-1;
  pointer-events:none;
}

.v2hv-feats{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;
}
.v2hv-feats li{display:flex;align-items:flex-start;gap:8px;min-width:0}
.v2hv-feats .ico{
  width:36px;height:36px;border-radius:12px;flex:none;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
}
.v2hv-feats .ico svg{width:18px;height:18px}
.v2hv-feats b{display:block;font-size:.82rem;line-height:1.25;color:#fff;overflow-wrap:normal;word-break:normal}
.v2hv-feats span{display:block;font-size:.72rem;line-height:1.3;color:rgba(245,240,250,.78);overflow-wrap:normal;word-break:normal}
.v2-feat-a .ico{background:#ff5b9a}
.v2-feat-b .ico{background:#7b5cff}
.v2-feat-c .ico{background:#3aa0ff}
.v2-feat-d .ico{background:#2ec98a}

/* Keep the already-passed stack below 1280 (768 / 1024 / iPad landscape). */
@media (max-width:1279px){
  .v2hv-inner{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "visual" "feats";
    row-gap:16px;
    padding:4px 0 10px;
    align-items:stretch;
    width:min(1180px,calc(100% - 32px));
  }
  .v2hv-copy{padding-top:4px;max-width:none}
  .v2hv-copy h1, #hero.v2hv-stage h1{
    font-size:clamp(1.7rem, 6vw, 2.45rem);
    line-height:1.15;
  }
  .v2hv-links{flex-direction:column;align-items:stretch}
  .v2hv-links a{width:100%;white-space:normal}
  .v2hv-visual{
    width:100%;
    max-width:min(640px,100%);
    margin-inline:auto;
    justify-self:center;
  }
  .v2hv-visual img, .v2hv-scene{object-position:center}
  .v2hv-feats{grid-template-columns:1fr 1fr;gap:12px 10px}
  .v2hv-stage{padding:12px 0 28px}
}
@media (max-width:400px){
  .v2hv-copy h1, #hero.v2hv-stage h1{font-size:1.7rem}
}

/* ===== 6 category tray ===== */
.v2-cat-tray-wrap{background:var(--bg);padding:0 0 8px;margin-top:-22px;position:relative;z-index:2}
.v2-cat-tray{
  background:#fff;
  border:1px solid #f2e2d8;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(50,16,79,.06);
  padding:14px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
.v2-home .v2-cat{
  position:relative;
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  min-height:0;padding:14px 12px 12px;
  border:0;background:#fbf7f4;
  border-radius:16px;
  text-decoration:none;color:inherit;
}
.v2-home .v2-cat:hover{background:#fff3ea;transform:translateY(-1px)}
.v2-home .v2-cat:focus-visible{outline:3px solid #f5c542;outline-offset:2px}
.v2-home .v2-cat .ico{width:36px;height:36px;border-radius:12px}
.v2-home .v2-cat h3{
  margin:0;
  font-size:.9rem;
  line-height:1.25;
  font-weight:750;
  padding-inline-end:0;
  overflow-wrap:normal;
  word-break:normal;
  word-wrap:normal;
  hyphens:manual;
}
.v2-home .v2-cat p,
.v2-home .v2-cat span.more{display:none}
.v2-cat-go{
  position:absolute;top:10px;inset-inline-end:10px;
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background:#fff;color:var(--ink);
  box-shadow:0 1px 0 rgba(36,23,43,.06);
}
.v2-cat-go svg{width:12px;height:12px}
.v2-cat--video .ico{background:#ffd2e3;color:#c01463}
.v2-cat--live .ico{background:#ffe1c2;color:#c45a08}
.v2-cat--games .ico{background:#e7dcff;color:#5b2bc2}
.v2-cat--lang .ico{background:#d6ebff;color:#0e5ea8}
.v2-cat--friends .ico{background:#d8f6e6;color:#0d8a54}
.v2-cat--community .ico{background:#eee4ff;color:#6b3aad}

.v2-cat-tray-wrap .v2-sec-kicker{display:none} /* no extra heading inside the tray */

@media (max-width:1023px){
  .v2-cat-tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}
  .v2-home .v2-cat h3{font-size:.84rem}
}
@media (max-width:480px){
  .v2-cat-tray{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;gap:8px;border-radius:20px}
  .v2-home .v2-cat{padding:10px 8px 10px;gap:6px}
  .v2-home .v2-cat h3{font-size:.8rem;line-height:1.3;padding-inline-end:0}
  .v2-home .v2-cat .ico{width:32px;height:32px}
  .v2-cat-go{width:18px;height:18px;top:8px;inset-inline-end:8px}
}

/* ===== Products ===== */
.v2-home #kesfet{padding:28px 0 16px}
.v2-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.v2-sec-head h2{margin:0;display:flex;align-items:center;gap:8px;font-size:clamp(1.35rem,2.6vw,1.8rem)}
.v2-ico-flame,.v2-ico-book{display:inline-flex;width:28px;height:28px;border-radius:8px;align-items:center;justify-content:center;background:#ffe0c4;flex:none}
.v2-ico-flame svg,.v2-ico-book svg{width:16px;height:16px}
.v2-all-pill{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:0 14px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--ink);
  font:inherit;font-weight:700;font-size:.88rem;cursor:pointer;text-decoration:none;
}
.v2-all-pill[aria-pressed="true"],.v2-all-pill:hover{background:var(--deep);color:#fff;border-color:var(--deep)}
.v2-home .v2-filters{margin:12px 0 8px}
.v2-home .v2-filters button{border-radius:999px}
.v2-home .v2-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.v2-home .v2-card{
  padding:12px;border-radius:18px;border:1px solid #f0ddd3;
  box-shadow:0 4px 14px rgba(50,16,79,.04);
}
.v2-home .v2-card .facts,
.v2-home .v2-card .price{display:none}
.v2-home .v2-card .sum{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:.82rem;line-height:1.4;min-height:2.8em;
}
.v2-home .v2-card-h img{width:44px;height:44px;border-radius:12px;flex-basis:44px}
.v2-home .v2-card-h h3{font-size:.95rem}
.v2-home .v2-links{flex-direction:column;align-items:stretch;gap:6px}
.v2-home .v2-links a{
  justify-content:center;min-height:40px;border-radius:12px;text-align:center;
  font-size:.8rem;overflow-wrap:anywhere;hyphens:auto;
}
.v2-home .v2-links a.pri{
  background:linear-gradient(90deg,#FF4B8B 0%,#FF8A3D 100%);
  color:#fff;border-color:transparent;
}
.v2-home .v2-links a.pri:hover{filter:brightness(1.05);background:linear-gradient(90deg,#FF4B8B 0%,#FF8A3D 100%)}
.v2-home .v2-guide{border-style:solid;border-color:#ead0ff}

@media (max-width:1279px){
  .v2-home .v2-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:819px){
  .v2-home .v2-grid{grid-template-columns:1fr;gap:10px}
  /* compact vertical list — not a wall of tall cards */
  .v2-home .v2-card{padding:10px 12px}
  .v2-home .v2-plats,.v2-home .v2-tags{display:none}
  .v2-home .v2-links{flex-direction:row;flex-wrap:wrap}
  .v2-home .v2-links a{flex:1 1 auto}
}

/* ===== Social games banner ===== */
.v2-game-banner-wrap{padding:8px 0 28px}
.v2-game-banner{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  align-items:center;gap:12px 24px;
  border-radius:28px;overflow:hidden;
  min-height:200px;
  padding:18px 22px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,180,80,.55), transparent 55%),
    linear-gradient(105deg,#7a187c 0%,#c92d8d 48%,#ff7a3c 100%);
  color:#fff;
}
.v2-game-art{justify-self:center;max-width:340px;width:100%}
.v2-game-art img{display:block;width:100%;height:auto;object-fit:contain}
.v2-game-copy h2{margin:0;font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.02em}
.v2-game-copy p{margin:8px 0 0;color:rgba(255,255,255,.9);line-height:1.45;max-width:32rem}
.v2-game-copy a{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:16px;min-height:44px;padding:0 18px;border-radius:999px;
  background:#fff;color:var(--deep);text-decoration:none;font-weight:750;
}
.v2-game-copy a:hover{background:#fff4ea}
.v2-game-copy a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}

@media (max-width:760px){
  .v2-game-banner{grid-template-columns:1fr;padding:16px 16px 20px;text-align:center}
  .v2-game-art{max-width:260px;order:-1}
  .v2-game-copy p{margin-inline:auto}
}

/* ===== Guides ===== */
.v2-home #rehberler{padding:12px 0 28px}
.v2-home .v2-posts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v2-guide-card{
  display:flex;flex-direction:column;gap:8px;
  background:#fff;border:1px solid var(--line);border-radius:18px;
  overflow:hidden;text-decoration:none;color:inherit;
}
.v2-guide-card img{
  width:100%;
  height:auto;
  aspect-ratio:1200/630;
  object-fit:contain;
  object-position:center;
  background:#efe6f4;
  display:block;
}
.v2-guide-card h3{margin:0;padding:0 14px;font-size:1rem;line-height:1.3}
.v2-guide-card p{margin:0 0 14px;padding:0 14px;color:var(--mu);font-size:.88rem;line-height:1.4}
.v2-guide-card:hover{background:#fffaf3}
.v2-blog-all{margin:14px 0 0}
.v2-blog-all a{font-weight:700;color:var(--ink)}

@media (max-width:819px){
  .v2-home .v2-posts{grid-template-columns:1fr}
}

/* ===== Streamers (structure/hrefs conserved; visual only) ===== */
.v2-home #yayincilar{padding:12px 0 28px}
.v2-home .v2-host{border-radius:18px;border-color:#f0ddd3;box-shadow:0 4px 14px rgba(50,16,79,.04)}
.v2-home .v2-host-start{
  background:linear-gradient(90deg,#FF4B8B 0%,#FF8A3D 100%);
  color:#fff !important;
  border-radius:12px;
}
.v2-home .v2-hosts-more a{font-weight:700}

.v2-home #sss{padding:8px 0 36px}

@media (max-width:640px){
  .v2-home{--hdr:64px}
  .v2-home .hdi{height:56px}
  .v2-home .brand img{height:34px}
  .v2-home .v2-wrap{width:min(1180px,calc(100% - 20px))}
}
