/* htmltoapp.dev /html-games/ hub: split hero with a fanned phone stack, genre chips,
   list rows, a coverage table, licence, timeline and an end bar. Uses the site's dark tokens. */
.gh{padding-bottom:40px}
.gh h2,.gh-h2{font-size:26px;line-height:1.2;color:var(--ink);font-weight:800;letter-spacing:-.4px;margin:0 0 16px}

/* hero */
.gh-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:26px 0 34px}
.gh-kicker{display:inline-block;font:700 12px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--cyan);padding:7px 10px;border:1px solid rgba(34,211,238,.35);border-radius:6px}
.gh-copy h1{font-size:44px;line-height:1.08;letter-spacing:-1px;color:var(--ink);margin:16px 0 14px;font-weight:800}
.gh-copy h1::after{content:"";display:block;width:84px;height:4px;margin-top:16px;border-radius:4px;background:linear-gradient(90deg,var(--accent),var(--cyan))}
.gh-copy p{font-size:17px;margin:0;max-width:560px}
.gh-buy{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:24px}
.gh-buy span{font-size:13.5px;color:var(--muted)}
.gh-fan{position:relative;height:480px}
.gh-phone{position:absolute;top:24px;left:50%;width:176px;border-radius:26px;overflow:hidden;border:6px solid #05070c;box-shadow:0 30px 60px -25px rgba(0,0,0,.9),0 0 0 1px var(--line-2)}
.gh-phone img{display:block;width:100%;height:auto}
.gh-phone.p0{transform:translateX(-120%) rotate(-10deg) translateY(30px)}
.gh-phone.p1{transform:translateX(-50%);z-index:2;top:0}
.gh-phone.p2{transform:translateX(20%) rotate(10deg) translateY(30px)}

/* list */
.gh-list{padding-top:18px}
.gh-listhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.gh-listhead h2{margin:0}
.gh-chips{display:flex;flex-wrap:wrap;gap:8px}
.gh-chip{padding:8px 14px;border-radius:999px;border:1px solid var(--line-2);background:transparent;color:var(--body);font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
.gh-chip:hover{color:var(--ink)}
.gh-chip.on{background:var(--accent-wash);border-color:var(--accent-ring);color:var(--ink)}
.gh-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gh-row{display:flex;gap:16px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-soft);border-left:4px solid var(--c)}
.gh-row[hidden]{display:none}
.gh-thumb{flex:0 0 96px;height:150px;border-radius:12px;overflow:hidden;background:var(--c)}
.gh-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}
.gh-info{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.gh-no{position:absolute;right:0;top:0;font:700 13px/1 var(--mono);color:var(--muted)}
.gh-info h3{margin:0;padding-right:30px;font-size:19px;color:var(--ink)}
.gh-info h3 a{color:inherit}
.gh-info h3 small{display:block;margin-top:3px;font-size:12.5px;font-weight:600;color:var(--muted)}
.gh-info p{margin:0;font-size:14.5px;line-height:1.5}
.gh-facts{font-size:13px!important;color:var(--muted)}
.gh-facts b{color:var(--ink)}
.gh-links{display:flex;gap:16px;margin-top:auto;font-size:14px;font-weight:700}
.gh-links a:first-child{color:var(--cyan)}

/* covers + licence */
.gh-split{display:grid;grid-template-columns:1.3fr 1fr;gap:34px;margin-top:56px}
.gh-table{width:100%;border-collapse:collapse;font-size:14.5px}
.gh-table th,.gh-table td{text-align:left;vertical-align:top;padding:11px 12px;border-bottom:1px solid var(--line)}
.gh-table th{width:38%;color:var(--ink);font-weight:700}
.gh-table th::before{content:"✓";color:var(--ok);margin-right:8px}
.gh-licence{padding:22px;border-radius:var(--radius);border:1px solid var(--line-2);background:linear-gradient(160deg,var(--accent-wash),transparent 60%)}
.gh-licence h3{margin:14px 0 6px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.gh-licence ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:14.5px}
.gh-yes li::before{content:"+ ";color:var(--ok);font-weight:800}
.gh-nope li::before{content:"– ";color:var(--danger);font-weight:800}
.gh-small{font-size:13px;margin:14px 0 0}

/* timeline */
.gh-time{margin-top:56px}
.gh-time ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;counter-reset:s}
.gh-time li{position:relative;padding:34px 16px 0 0;counter-increment:s}
.gh-time li::before{content:counter(s);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#0a0d14;font:800 12px/1 var(--mono)}
.gh-time li::after{content:"";position:absolute;left:30px;right:6px;top:11px;height:2px;background:var(--line-2)}
.gh-time li:last-child::after{display:none}
.gh-time b{display:block;color:var(--ink);font-size:17px;margin-bottom:4px}
.gh-time span{font-size:14.5px;line-height:1.5}

/* end bar */
.gh-end{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:40px;padding:22px 26px;border-radius:var(--radius);background:linear-gradient(90deg,rgba(139,108,255,.22),rgba(34,211,238,.12));border:1px solid var(--accent-ring)}
.gh-end b{display:block;color:var(--ink);font-size:19px}
.gh-end span{font-size:14.5px}

@media(max-width:900px){
  .gh-hero{grid-template-columns:1fr;gap:10px}
  .gh-fan{height:330px}
  .gh-phone{width:150px}
  .gh-rows{grid-template-columns:1fr}
  .gh-split{grid-template-columns:1fr}
  .gh-time ol{grid-template-columns:1fr 1fr;row-gap:22px}
  .gh-time li:nth-child(2)::after{display:none}
}
@media(max-width:560px){
  .gh-copy h1{font-size:31px}
  .gh-fan{height:270px}
  .gh-phone{width:122px;border-width:4px;border-radius:18px}
  .gh-thumb{flex-basis:78px;height:126px}
  .gh-time ol{grid-template-columns:1fr}
  .gh-time li::after{display:none}
  .gh-end{flex-direction:column;align-items:flex-start}
  .gh-buy .btn{width:100%;text-align:center}
}
