/* dewsmoke.com home - Thefter-first layout (2026-11-19). Big hero carousel, news row, a feature section per game,
   then the rest of DewSmoke. Works with the shared nav/footer from site.js and the base style.css. */
:root { --tf: #ffb21e; --tf2: #ff7a14; --ice: #9fd8ff; --ink: #050507; --card: #111116; --line2: rgba(255, 255, 255, .09); }
body[data-page="home"] { background: var(--ink); }
.hx { font-family: Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.sec { padding: 64px max(16px, 5vw); position: relative; z-index: 2; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-h h2 { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: clamp(34px, 5vw, 58px); margin: 0; letter-spacing: .01em; }
.sec-h .all { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--tf); padding-bottom: 2px; white-space: nowrap; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tf); }

/* ---------- hero carousel ---------- */
.hero2 { position: relative; height: min(88vh, 860px); min-height: 520px; overflow: hidden; background: #000; z-index: 2; }
.hero2 .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero2 .slide.on { opacity: 1; pointer-events: auto; }
.hero2 .bg, .hero2 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; image-rendering: pixelated; }
.hero2 .slide.on .bg { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero2 .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(5,5,7,1) 0%, rgba(5,5,7,0) 30%); }
.hero2 .copy { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 120px; max-width: 620px; }
.hero2 .tagline { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em; padding: 6px 10px; background: var(--tf); color: #000; border-radius: 3px; margin-bottom: 14px; }
.hero2 h1, .hero2 .h { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: clamp(56px, 10vw, 128px); line-height: .9; margin: 0 0 12px; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero2 .thefter-logo { background: linear-gradient(180deg, #ffe25a 0%, #ff8a1e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px #000; filter: drop-shadow(0 6px 0 #000); }
.hero2 p { font-size: clamp(16px, 2vw, 20px); color: #e8e4f0; margin: 0 0 22px; max-width: 540px; }
.hero2 .when { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: clamp(22px, 3vw, 32px); color: var(--ice); margin-bottom: 18px; letter-spacing: .02em; }
.b2 { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 4px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; border: 2px solid transparent; cursor: pointer; font-family: Inter, sans-serif; transition: transform .15s, background .2s; }
.b2:hover { transform: translateY(-2px); }
.b2.solid { background: #fff; color: #000; }
.b2.tf { background: var(--tf); color: #000; }
.b2.line { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.7); }
.btns2 { display: flex; gap: 12px; flex-wrap: wrap; }
.hero2 .bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 0; padding: 0 max(24px, calc((100vw - 1180px) / 2)); z-index: 3; }
.hero2 .bar button { flex: 1; background: none; border: 0; color: #bbb; text-align: left; padding: 14px 12px 22px 0; cursor: pointer; font: 800 12px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; position: relative; min-width: 0; }
.hero2 .bar button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero2 .bar button i { position: absolute; left: 0; right: 12px; top: 0; height: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.hero2 .bar button i b { position: absolute; inset: 0; width: 0; background: #fff; }
.hero2 .bar button.on { color: #fff; }
.hero2 .bar button.on i b { animation: prog var(--dur, 7s) linear forwards; }
.hero2.paused .bar button.on i b { animation-play-state: paused; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.hero2 .pause { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 70px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(0,0,0,.4); color: #fff; cursor: pointer; font-size: 14px; }

/* ---------- news row ---------- */
.news2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.news2::-webkit-scrollbar { height: 6px; } .news2::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.nc { scroll-snap-align: start; background: var(--card); border-radius: 8px; overflow: hidden; text-decoration: none; color: #fff; border: 1px solid var(--line2); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.nc:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.nc .im { aspect-ratio: 16/9; background-size: cover; background-position: center; image-rendering: pixelated; }
.nc .tx { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nc .gm { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--tf)); }
.nc b { font-size: 17px; line-height: 1.25; }
.nc time { margin-top: auto; color: #8a8a96; font-size: 13px; }

/* ---------- Thefter feature ---------- */
.tf-sec { background: radial-gradient(ellipse at 70% 0%, rgba(255,122,20,.14), rgba(5,5,7,0) 60%), linear-gradient(180deg, #08090f, #050507); border-top: 1px solid var(--line2); }
.tf-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: center; }
.tf-video { position: relative; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.6); border: 1px solid var(--line2); }
.tf-video video { width: 100%; display: block; aspect-ratio: 16/9; image-rendering: pixelated; }
.tf-txt .logo { font-family: Anton, Impact, sans-serif; font-size: clamp(64px, 9vw, 110px); line-height: .85; background: linear-gradient(180deg, #ffe25a, #ff8a1e); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px #000; filter: drop-shadow(0 5px 0 #000); margin: 6px 0 4px; }
.tf-txt .when { font-family: Anton, Impact, sans-serif; font-size: 28px; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.tf-txt p { color: #d6d2e0; font-size: 17px; margin: 0 0 14px; }
.tf-txt ul { margin: 0 0 20px; padding-left: 18px; color: #c8c4d4; }
.tf-txt li { margin: 3px 0; }
.feat { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 40px; padding-bottom: 10px; }
.feat::-webkit-scrollbar { height: 6px; } .feat::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.fc { scroll-snap-align: start; position: relative; border-radius: 8px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; border: 1px solid var(--line2); cursor: zoom-in; }
.fc .im { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; image-rendering: pixelated; }
.fc:hover .im { transform: scale(1.05); }
.fc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 75%); }
.fc .tx { position: relative; z-index: 2; padding: 18px; }
.fc .tx b { display: block; font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 6px; }
.fc .tx span { color: #d0ccdc; font-size: 15px; }
.cast { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cast .pic { border-radius: 8px; overflow: hidden; border: 1px solid var(--line2); cursor: zoom-in; }
.cast .pic img { width: 100%; display: block; image-rendering: pixelated; }
.cast dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.cast dt { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: 22px; color: #fff; line-height: 1; }
.cast dd { margin: 0 0 4px; color: #b8b4c4; font-size: 15px; }
.shots { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shots img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; cursor: zoom-in; image-rendering: pixelated; border: 1px solid var(--line2); transition: transform .2s; }
.shots img:hover { transform: scale(1.03); }
.mapcard { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mapcard .m { border-radius: 8px; overflow: hidden; border: 1px solid var(--line2); background: #0a0f1a; position: relative; cursor: zoom-in; }
.mapcard .m img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; max-height: 420px; }
.mapcard .m b { position: absolute; left: 14px; bottom: 12px; font-family: Anton, Impact, sans-serif; font-size: 26px; text-transform: uppercase; text-shadow: 0 2px 8px #000; }

/* lightbox + trailer modal */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img, .lb video { max-width: 100%; max-height: 92vh; border-radius: 6px; image-rendering: pixelated; }
.lb video { width: min(1280px, 100%); cursor: default; }
.lb .x { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 34px; cursor: pointer; background: none; border: 0; }

/* ---------- other games as big panels ---------- */
.gpan { position: relative; border-radius: 10px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; border: 1px solid var(--line2); margin-bottom: 22px; }
.gpan .im { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gpan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 80%); }
.gpan .tx { position: relative; z-index: 2; padding: 34px; max-width: 620px; }
.gpan .tx h3 { font-family: Anton, Impact, sans-serif; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: .95; margin: 8px 0; }
.gpan .tx p { color: #d6d2e0; margin: 0 0 18px; }
.gpan .live { margin-bottom: 14px; }
.lib-head { margin-top: 10px; }
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.explore .hub-tile { min-height: 0; }

@media (max-width: 900px) {
  .tf-top, .cast, .mapcard { grid-template-columns: 1fr; }
  .explore { grid-template-columns: 1fr 1fr; }
  .hero2 .copy { bottom: 110px; right: 20px; }
  .hero2 .bar button { font-size: 10px; }
  .hero2 .shade { background: linear-gradient(0deg, rgba(5,5,7,1) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.25) 100%); }
  .gpan { min-height: 360px; } .gpan .tx { padding: 22px; }
  .fc { min-height: 280px; }
}
@media (max-width: 520px) {
  .hero2 { min-height: 600px; }
  .hero2 .bar button span { display: none; }
  .explore { grid-template-columns: 1fr; }
  .news2, .feat { grid-auto-columns: 82%; }
}
/* the home page sits on solid dark panels (the rest of the site keeps the animated pink background) */
body[data-page="home"] .sec { background: #07070b; }
body[data-page="home"] .sec:nth-of-type(even) { background: #0b0b11; }
body[data-page="home"] .sec.tf-sec { background: radial-gradient(ellipse at 70% 0%, rgba(255,122,20,.14), rgba(5,5,7,0) 60%), linear-gradient(180deg, #08090f, #050507); }
body[data-page="home"] .ticker { position: relative; z-index: 2; }

/* page headers for the separate pages (/thefter, /games, /watch, /community, /about) */
.phead{position:relative;z-index:2;padding:110px max(16px,5vw) 54px;background:linear-gradient(90deg,rgba(5,6,10,.94) 0%,rgba(5,6,10,.7) 50%,rgba(5,6,10,.35) 100%),var(--pbg) center/cover;border-bottom:1px solid rgba(255,255,255,.08);image-rendering:pixelated}
.phead h1{font-family:Anton,Impact,sans-serif;font-size:clamp(64px,11vw,140px);line-height:.9;margin:8px 0 10px;text-transform:uppercase;color:#fff}
body[data-page="thefter"] .phead h1{background:linear-gradient(180deg,#ffe25a,#ff8a1e);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:2px #000;filter:drop-shadow(0 6px 0 #000)}
.phead p{color:#d6d2e0;font-size:clamp(16px,2vw,20px);max-width:640px}
body:not([data-page="home"]) .sec{background:#07070b}
body:not([data-page="home"]) .sec:nth-of-type(even){background:#0b0b11}
body .sec.tf-sec{background:radial-gradient(ellipse at 70% 0%,rgba(255,122,20,.14),rgba(5,5,7,0) 60%),linear-gradient(180deg,#08090f,#050507)}
.tf-gpan{min-height:380px}
/* home: explore tiles */
.tiles2{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:220px;gap:14px}
.t2{position:relative;border-radius:8px;overflow:hidden;text-decoration:none;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;border:1px solid rgba(255,255,255,.09);background:var(--im) center/cover;image-rendering:pixelated;transition:transform .2s}
.t2::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.15) 65%)}
.t2:hover{transform:translateY(-4px)}
.t2 *{position:relative}
.t2 b{font-family:Anton,Impact,sans-serif;font-size:40px;text-transform:uppercase;line-height:1}
.t2 span{font-size:13px;color:#cfcbd8;margin-bottom:4px}
.t2.big{grid-column:span 2;grid-row:span 2}
.t2.big b{font-size:clamp(56px,7vw,96px);background:linear-gradient(180deg,#ffe25a,#ff8a1e);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:2px #000}
.t2.big span{color:var(--ice);font-family:Anton,Impact,sans-serif;font-size:22px;text-transform:uppercase}
@media (max-width:900px){.tiles2{grid-template-columns:1fr 1fr;grid-auto-rows:180px}.phead{padding:80px 16px 40px}}
@media (max-width:520px){.tiles2{grid-template-columns:1fr}.t2.big{grid-column:span 1;grid-row:span 2}}
.hero2{padding:0}
