/* Shields and Assassins — game page skin.
   Taken from the game's look: a marble-and-stone miniature diorama, royal gold trim, soft cinematic light.
   Serif display type (Cinzel), a classical italic for accents, checkerboard motifs. */

.sa {
    --bg: #0c0b0a;
    --bg-2: #12100e;
    --surface: #171512;
    --surface-2: #1e1b17;
    --line: rgba(239, 230, 210, 0.08);
    --line-2: rgba(239, 230, 210, 0.16);
    --text: #e9e3d6;
    --muted: #a39b8c;
    --dim: #6c665b;
    --marble: #efe9dd;
    --stone: #8f8d88;
    --gold: #d6b25e;
    --gold-2: #f0d790;
    --gold-glow: rgba(214, 178, 94, 0.32);
    --move: #4b8fe2;
    --exit: #63b56b;
    --danger: #c9473f;
    --ice: var(--gold);
    --ice-2: var(--gold-2);
    --ice-glow: var(--gold-glow);

    --font-display: "Cinzel", Georgia, serif;
    --font-accent: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;

    background: var(--bg);
    color: var(--text);
}
.sa .eyebrow { color: var(--gold); letter-spacing: 0.34em; font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.sa .h-xl, .sa .h-lg, .sa .h-md { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
.sa .h-lg { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
.sa .lead { color: #cfc7b8; }
.sa em.accent, .sa .accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--gold-2); letter-spacing: 0; }
.sa .btn { border-radius: 2px; font-family: var(--font-body); letter-spacing: 0.14em; font-size: 13px; font-weight: 700; }
.sa .btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1306; box-shadow: 0 10px 30px -12px var(--gold-glow); }
.sa .btn-primary:hover { background: var(--gold-2); }
.sa .chip { border-radius: 2px; }
.sa .chip.is-gold { color: var(--gold-2); border-color: rgba(214, 178, 94, 0.45); }
.sa .chip .dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.sa .nav.is-solid { background: rgba(12, 11, 10, 0.86); }
.sa .footer { background: var(--bg-2); }
.sa .brand img { filter: none; }

/* thin gold rule with a diamond in the middle */
.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 0 auto; max-width: 360px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* checkerboard strip */
.checker {
    height: 14px;
    background:
        conic-gradient(var(--marble) 25%, #2a2723 0 50%, var(--marble) 0 75%, #2a2723 0) 0 0 / 28px 28px;
    opacity: 0.16;
}

/* ---------- hero ---------- */

.sa-hero {
    position: relative;
    min-height: min(100svh, 980px);
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 60px) 0 90px;
    isolation: isolate;
    overflow: hidden;
}
.sa-hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.sa-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: heroDrift 30s ease-in-out infinite alternate; }
.sa-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 90% at 75% 40%, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, 0.5) 70%),
        linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(12, 11, 10, 0.7) 38%, rgba(12, 11, 10, 0.05) 75%),
        linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 10, 0) 35%);
}
.sa-hero .hero-content { max-width: 640px; }
.sa-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7.2vw, 100px); line-height: 0.98; margin: 0 0 26px; color: var(--marble); text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.sa-title .amp { display: block; font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 0.55em; color: var(--gold-2); margin: 0.08em 0 0.02em; line-height: 1; }
.sa-hero .tagline { font-family: var(--font-accent); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); color: var(--gold-2); margin-bottom: 18px; line-height: 1.2; }
.sa-hero .lead { margin-bottom: 32px; }
.sa-hero .hero-kicker { margin: 28px 0 0; }

/* ---------- intro split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.framed { position: relative; padding: 12px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.framed::before, .framed::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--gold); }
.framed::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.framed::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contrast { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contrast li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contrast b { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; color: var(--gold); padding-top: 2px; }
.contrast span { color: #cfc7b8; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- the King's handicap: two mini boards ---------- */

.boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; }
.board-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; text-align: center; }
.board-card h4 { font-family: var(--font-display); font-size: 18px; margin: 18px 0 6px; color: var(--marble); }
.board-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.mini { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); aspect-ratio: 1; max-width: 240px; margin: 0 auto; border: 2px solid #3a352d; box-shadow: 0 20px 40px -20px #000; }
.mini span { position: relative; display: grid; place-items: center; background: #d9d2c3; min-height: 0; overflow: hidden; }
.mini span:nth-child(even) { background: #4a453d; }
.mini span.mv::after { content: ""; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--move); box-shadow: 0 0 12px rgba(75, 143, 226, 0.7); }
.mini span.no::after { content: ""; width: 30%; aspect-ratio: 1; background: linear-gradient(45deg, transparent 44%, var(--danger) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--danger) 44% 56%, transparent 56%); opacity: 0.85; }
.mini span.k { font-size: clamp(20px, 2.6vw, 30px); line-height: 1; color: #b8862b; text-shadow: 0 1px 0 #fff6; }
@media (max-width: 560px) { .boards { grid-template-columns: 1fr; } }

/* ---------- how a level plays ---------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); counter-reset: s; }
.step { padding: 28px 22px; border-right: 1px solid var(--line); background: var(--surface); position: relative; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: s; content: counter(s, upper-roman); font-family: var(--font-display); font-size: 26px; color: var(--gold); display: block; margin-bottom: 14px; }
.step h4 { font-family: var(--font-display); font-size: 17px; color: var(--marble); margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* ---------- features ---------- */

.virtues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.virtue { background: var(--bg-2); padding: 34px 30px; }
.virtue .glyph { font-size: 34px; line-height: 1; color: var(--gold); margin-bottom: 18px; display: block; }
.virtue h3 { font-family: var(--font-display); font-size: 19px; color: var(--marble); margin-bottom: 10px; }
.virtue p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .virtues { grid-template-columns: 1fr; } }

/* ---------- difficulty staircase ---------- */

.stairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; }
.stair { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 22px 22px; }
.stair h4 { font-size: 20px !important; }
.stair p { font-size: 15px !important; }
.stair:nth-child(1) { min-height: 140px; }
.stair:nth-child(2) { min-height: 180px; }
.stair:nth-child(3) { min-height: 220px; }
.stair:nth-child(4) { min-height: 260px; }
.stair:nth-child(5) { min-height: 300px; background: linear-gradient(180deg, rgba(214, 178, 94, 0.12), var(--surface) 70%); }
.stair .n { font-family: var(--font-display); color: var(--gold); font-size: 14px; letter-spacing: 0.14em; }
.stair h4 { font-family: var(--font-display); font-size: 17px; color: var(--marble); margin: 8px 0 8px; }
.stair p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .stairs { grid-template-columns: 1fr; } .stair:nth-child(n) { min-height: 0; } }

/* ---------- gallery ---------- */

.sa-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sa-gallery a { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-2); grid-column: span 2; aspect-ratio: 16 / 10; }
.sa-gallery a.big { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.sa-gallery a.half { grid-column: span 3; }
.sa-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.sa-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .sa-gallery a, .sa-gallery a.big, .sa-gallery a.half { grid-column: span 6; grid-row: auto; aspect-ratio: 16 / 10; } }

/* ---------- audience ---------- */

.audience { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.audience span { font-family: var(--font-accent); font-style: italic; font-size: 22px; color: var(--marble); padding: 8px 22px; border: 1px solid var(--line-2); background: var(--surface); }

/* ---------- roadmap ---------- */

.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line-2)); }
.road div { position: relative; padding: 36px 24px 0 0; }
.road div::before { content: ""; position: absolute; top: 4px; left: 0; width: 14px; height: 14px; transform: rotate(45deg); background: var(--bg); border: 2px solid var(--dim); }
.road div.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px var(--gold-glow); }
.road b { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 6px; }
.road h4 { font-family: var(--font-display); font-size: 20px; color: var(--marble); margin-bottom: 8px; }
.road p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) {
    .road { grid-template-columns: 1fr; gap: 28px; }
    .road::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line-2)); }
    .road div { padding: 0 0 0 36px; }
}

/* ---------- FAQ ---------- */

.sa .faq details { border-bottom: 1px solid var(--line); }
.sa .faq details:first-child { border-top: 1px solid var(--line); }
.sa .faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-size: 18px; color: var(--marble); }
.sa .faq summary::-webkit-details-marker { display: none; }
.sa .faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--gold); transition: transform 0.2s; }
.sa .faq details[open] summary::after { transform: rotate(45deg); }
.sa .faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- final ---------- */

.sa-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 160px) 0; }
.sa-final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sa-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(12, 11, 10, 0.62), rgba(12, 11, 10, 0.96)); }
.sa-final .h-xl { font-family: var(--font-display); margin: 18px auto 18px; max-width: 18ch; }
.sa-final .lead { margin: 0 auto 34px; }
.sa-final .hero-cta { justify-content: center; }
.sa .brand span { font-family: "Chakra Petch", system-ui, sans-serif; }
