/* Chalk Rivals guide and sale pages (guide.php, forsale.php, the 404). Built on the landing page's styles in chalk.css. */
.sg{--accent:var(--gold);background:#0e1012}
.sg main{overflow:hidden}
.lp-bar.no-strip{top:env(safe-area-inset-top)}
.sg-dot{width:9px;height:9px;border-radius:50%;flex:none;box-shadow:0 0 0 3px rgba(255,255,255,.06)}
.sg .lp-menu a{font-size:15px;padding:0 11px}

/* hero */
.sg-hero{position:relative;display:flex;align-items:flex-end;min-height:min(720px,92svh);padding:calc(var(--strip) + 76px + clamp(40px,8vh,90px)) clamp(16px,4vw,56px) clamp(44px,7vh,72px);
  background:linear-gradient(90deg,rgba(14,16,18,.97) 0%,rgba(14,16,18,.82) 45%,rgba(14,16,18,.35) 100%),linear-gradient(0deg,#0e1012 0%,rgba(14,16,18,0) 40%),var(--hero) 70% 50%/cover no-repeat}
.sg-sale .sg-hero{padding-top:calc(76px + clamp(40px,8vh,90px))}
.sg-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--accent),transparent 70%);opacity:.8}
.sg-hero-copy{position:relative;max-width:760px}
.sg-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:22px;font-size:14px;color:#9d9a91}
.sg-crumbs a{color:#cfcabd;text-decoration:none}.sg-crumbs a:hover{color:#fff}
.sg-hero h1{margin:18px 0 0;font:italic 800 clamp(48px,6.4vw,92px)/.92 var(--display);text-transform:uppercase;text-shadow:0 4px 30px rgba(0,0,0,.45)}
.sg-hero h1 em,.sg h2 em{font-style:inherit;color:var(--gold);background:linear-gradient(180deg,#f1d9a3,#c9a96c 60%,#9c7f48);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.sg-lead{margin:24px 0 0;max-width:640px;font-size:clamp(18px,1.6vw,21px);line-height:1.55;color:var(--muted)}
.sg-hero .lp-cta{margin-top:32px}
.sg-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:620px;margin:40px 0 0;border:1px solid var(--line);border-radius:10px;background:rgba(14,16,18,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sg-specs div{padding:16px 18px;border-left:1px solid var(--line)}.sg-specs div:first-child{border-left:0}
.sg-specs dt{font:italic 800 34px/1 var(--display)}
.sg-specs dd{margin:6px 0 0;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a9a59a}

/* intro */
.sg-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center}
.sg h2{margin:10px 0 0;font:italic 800 clamp(36px,4vw,54px)/1 var(--display);text-transform:uppercase}
.sg-intro p{margin:18px 0 0;font-size:18px;line-height:1.65;color:#c4c0b5}
.sg-link{display:inline-flex;align-items:center;gap:8px;margin-top:22px;color:var(--gold);font-weight:700;font-size:17px;text-decoration:none}
.sg-link svg,.sg-more-card b svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2}
.sg-link:hover{color:#f1d9a3}
.sg-intro-art{margin:0}
.sg-intro-art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;border:1px solid var(--line);border-bottom:3px solid var(--accent);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.sg-intro-art figcaption{margin-top:12px;font-size:14px;color:#8f8c84}

/* numbered rules / included items */
.sg-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:0;padding:0;list-style:none;counter-reset:sp}
.sg-steps-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1101px){.sg-steps:has(>li:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}.sg-steps:has(>li:nth-child(5):last-child)>li{grid-column:span 2}.sg-steps:has(>li:nth-child(5):last-child)>li:nth-child(n+4){grid-column:span 3}}
@media(max-width:1100px) and (min-width:701px){.sg-steps:not(.sg-steps-3){grid-template-columns:repeat(2,minmax(0,1fr))}.sg-steps:has(>li:nth-child(5):last-child)>li:last-child{grid-column:1/-1}}
.sg-steps li{position:relative;padding:26px 24px 24px;border-radius:8px;background:linear-gradient(180deg,#1c1f22,#17191c);border:1px solid var(--line);counter-increment:sp}
.sg-steps li::before{content:counter(sp,decimal-leading-zero);display:block;margin-bottom:14px;font:italic 800 30px/1 var(--display);color:var(--accent)}
.sg-steps h3{margin:0;font-size:21px;font-weight:700}
.sg-steps p{margin:10px 0 0;font-size:16.5px;line-height:1.6;color:#bdbab0}

/* fouls / stack card */
.sg-fouls-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,4vw,56px);padding:clamp(24px,4vw,48px);border-radius:10px;background:linear-gradient(120deg,#1e2124,#191b1e);border:1px solid var(--line)}
.sg-fouls-card p{margin:16px 0 0;font-size:17.5px;line-height:1.6;color:#c4c0b5}
.sg-note{font-size:15.5px!important;color:#9d9a91!important}
.sg-fouls-list{display:grid;gap:10px;margin:0;padding:0;list-style:none;align-content:center}
.sg-fouls-list li{position:relative;padding:14px 16px 14px 48px;border-radius:8px;background:rgba(255,255,255,.035);border:1px solid var(--line);font-size:16.5px;line-height:1.5;color:#dcd8cd}
.sg-fouls-list li::before{content:"\00d7";position:absolute;left:15px;top:50%;display:grid;place-items:center;width:20px;height:20px;margin-top:-10px;border-radius:50%;background:rgba(208,69,59,.16);box-shadow:inset 0 0 0 1.5px rgba(232,104,92,.7);color:#f08a7f;font-size:15px;font-weight:700;line-height:1}
.sg-stack{display:grid;gap:0;margin:0;align-content:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.sg-stack div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:13px 18px;border-top:1px solid var(--line)}.sg-stack div:first-child{border-top:0}
.sg-stack dt{font-weight:700;color:#f1d9a3}.sg-stack dd{margin:0;color:#c4c0b5}

/* controls: the landing's feature row without icons */
.sg-controls .lp-feature h3{font-size:22px}

/* online / sale terms card */
.sg-online-card{display:flex;align-items:center;gap:clamp(24px,4vw,56px);padding:clamp(26px,4vw,52px);border-radius:10px;background:radial-gradient(120% 140% at 0% 0%,rgba(201,169,108,.16),transparent 60%),linear-gradient(110deg,#1e2124,#25282c);border:1px solid rgba(201,169,108,.35)}
.sg-online-card p{margin:16px 0 0;max-width:760px;font-size:18px;line-height:1.6;color:#c4c0b5}
.sg-online-card .lp-cta{flex:none;margin:0 0 0 auto}

/* FAQ */
.sg-faq-list{display:grid;gap:10px;max-width:980px}
.sg-faq-list details{border-radius:8px;background:#17191c;border:1px solid var(--line);transition:border-color .15s}
.sg-faq-list details[open]{border-color:rgba(201,169,108,.4)}
.sg-faq-list summary{display:flex;align-items:center;gap:16px;padding:18px 22px;cursor:pointer;list-style:none}
.sg-faq-list summary::-webkit-details-marker{display:none}
.sg-faq-list summary::after{content:"+";margin-left:auto;font-size:26px;line-height:1;color:var(--gold);transition:transform .2s}
.sg-faq-list details[open] summary::after{transform:rotate(45deg)}
.sg-faq-list h3{margin:0;font-size:19px;font-weight:700}
.sg-faq-list p{margin:0;padding:0 22px 20px;font-size:17px;line-height:1.6;color:#bdbab0}

/* other games */
.sg-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sg-more-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sg-more-card{display:flex;flex-direction:column;overflow:hidden;border-radius:8px;background:#1c1f22;border:1px solid var(--line);text-decoration:none;color:inherit;transition:transform .15s,border-color .15s}
.sg-more-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.2)}
.sg-more-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-bottom:3px solid var(--accent)}
.sg-more-card span{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
.sg-more-card strong{font:italic 800 30px/1 var(--display);text-transform:uppercase}
.sg-more-card small{font-size:15.5px;line-height:1.5;color:#bdbab0}
.sg-more-card b{display:inline-flex;align-items:center;gap:7px;margin-top:auto;padding-top:6px;color:var(--gold);font-size:15px}

.sg-tff{margin-top:0}
.sg-tff h2{margin:4px 0 0;font:italic 800 34px/1 var(--display);text-transform:uppercase;color:#f3e2c2}
.sg-tff .lp-tff-links span{display:flex;flex-direction:column}

/* 404 */
.sg-404{display:grid;place-items:center;min-height:100svh;padding:24px;background:radial-gradient(90% 70% at 50% 0%,rgba(201,169,108,.12),transparent 60%),#0e1012}
.sg-404-card{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:560px;text-align:center}
.sg-404-card img{height:56px;width:auto;margin-bottom:18px}
.sg-404-card h1{margin:0;font:italic 800 clamp(56px,10vw,96px)/.95 var(--display);text-transform:uppercase}
.sg-404-card h1 em{font-style:inherit;color:var(--gold)}
.sg-404-card p{margin:0;font-size:18px;color:#bdbab0}
.sg-404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:8px 0 4px}
.sg-404-links a{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#17191c;color:#eee;text-decoration:none;font-weight:600}
.sg-404-links a i{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.sg-404 .lp-cta{justify-content:center;margin-top:10px}

@media(max-width:1100px){
  .sg-steps-3,.sg-more-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sg-fouls-card,.sg-intro{grid-template-columns:minmax(0,1fr)}
  .sg-online-card{flex-direction:column;align-items:flex-start}.sg-online-card .lp-cta{margin:0}
}
@media(max-width:700px){
  .sg-hero{min-height:0;padding:calc(var(--strip) + 64px + 36px) 18px 40px;background:linear-gradient(180deg,rgba(14,16,18,.55) 0%,rgba(14,16,18,.92) 55%,#0e1012 100%),var(--hero) 60% 0/cover no-repeat}
  .sg-sale .sg-hero{padding-top:calc(64px + 36px)}
  .sg-hero h1{font-size:clamp(42px,12vw,60px)}
  .sg-lead{font-size:17px}
  .sg-hero .lp-cta .btn{flex:1 1 auto;min-height:52px;padding:0 20px;font-size:17px}
  .sg-specs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px}
  .sg-specs div:nth-child(3){border-left:0}.sg-specs div:nth-child(n+3){border-top:1px solid var(--line)}
  .sg-specs dt{font-size:28px}
  .sg h2{font-size:clamp(32px,9vw,42px)}
  .sg-steps,.sg-steps-3,.sg-more-grid,.sg-more-4{grid-template-columns:minmax(0,1fr)}
  .sg-steps li{padding:20px 18px}
  .sg-fouls-card{padding:22px 18px}
  .sg-stack div{grid-template-columns:minmax(0,1fr);gap:2px}
  .sg-faq-list summary{padding:16px 18px}.sg-faq-list p{padding:0 18px 18px}
  .sg-faq-list h3{font-size:17.5px}
  .sg-online-card{padding:24px 18px}
  .sg-online-card .lp-cta{width:100%}.sg-online-card .lp-cta .btn{flex:1 1 auto}
}
.sg-sale .sg-hero-copy{max-width:900px}.sg-sale .sg-hero h1{font-size:clamp(44px,5.6vw,84px)}
