/* Shared styles for per-game SEO detail pages (/scripts/<slug>.html) */
html, body { background: #050507; }
body { min-height: 100vh; position: relative; }
body::before { content:''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(184,92,223,0.16), transparent 58%),
    radial-gradient(820px 620px at 100% 90%, rgba(255,45,142,0.12), transparent 55%); }

.detail-nav { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto;
  padding: 22px clamp(20px,5vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.detail-nav .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; }
.detail-nav .brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.detail-nav .links { display: flex; gap: 20px; }
.detail-nav .links a, .back { color: var(--muted); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.detail-nav .links a:hover, .back:hover { color: #fff; }

.detail { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; padding: 10px clamp(20px,5vw,40px) 90px; }
.detail-hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
  min-height: 300px; display: flex; align-items: flex-end; padding: 32px; background: #0d0d12; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.detail-hero::after { content:''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,4,7,0.95) 0%, rgba(4,4,7,0.45) 55%, rgba(4,4,7,0.3) 100%); }
.detail-hero-text { position: relative; z-index: 1; }
.detail-eyebrow { font-family: var(--font-display); font-size: 13px; color: var(--accent-light); margin-bottom: 10px; }
.detail-title { font-family: var(--font-display); font-size: clamp(30px, 6vw, 56px); letter-spacing: -0.05em; line-height: 1.05; }
.detail-tagline { color: #cfcfcf; font-size: clamp(14px,1.6vw,16px); margin-top: 12px; max-width: 580px; line-height: 1.5; }

.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.panel { border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 26px 28px;
  background: linear-gradient(158deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 16px 44px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.14); }
.panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.feat-list { list-style: none; display: grid; gap: 11px; }
.feat-list li { display: flex; gap: 11px; font-size: 14px; color: #d5d5d5; line-height: 1.5; }
.feat-list li::before { content: '✓'; color: var(--accent-light); flex-shrink: 0; font-weight: 600; }

.buy-panel { position: sticky; top: 24px; }
.buy-panel h2 { color: #fff; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: -0.01em; margin-bottom: 6px; }
.buy-panel p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.buy-panel .cta { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; margin-bottom: 10px;
  background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 13px; border-radius: 12px;
  box-shadow: 0 0 22px rgba(255,255,255,0.25); transition: transform 0.2s; }
.buy-panel .cta:hover { transform: translateY(-2px); }
.buy-panel .cta-ghost { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 500; font-size: 14px; padding: 13px; border-radius: 12px; }
.coupon { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: center; }
.coupon b { color: var(--accent-light); }

.more { margin-top: 40px; }
.more h2 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.more-grid a { display: block; padding: 14px 16px; border-radius: 12px; font-size: 13px; font-weight: 500; color: #cfcfd8;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.more-grid a:hover { color: #fff; border-color: rgba(206,122,240,0.5); transform: translateY(-2px); }

.ft { max-width: 1000px; margin: 0 auto; padding: 24px clamp(20px,5vw,40px); color: var(--muted); font-size: 12px; text-align: center; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } .buy-panel { position: static; } .detail-nav .links { display: none; } }
