:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7fbf8;background:#071611;--bg:#071611;--panel:#0c2119;--panel2:#123225;--line:#244b3b;--accent:#41d18a;--text:#f7fbf8;--muted:#a8c2b5;--red:#ff7a85;--shadow:0 18px 45px rgba(0,0,0,.28)}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% 0,#103d2b 0,transparent 35%),linear-gradient(180deg,#071611,#091b14 60%,#071611);color:var(--text)}a{color:inherit;text-decoration:none}button{font:inherit}.topbar{min-height:72px;padding:0 clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(7,22,17,.86);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.brand{display:flex;gap:10px;align-items:center}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:#042116;font-size:22px;font-weight:900}.brand span:last-child{display:grid}.brand small{color:var(--muted);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:10px}.topbar nav{display:flex;gap:24px;color:var(--muted);font-weight:700}.topbar nav a:hover{color:white}main{width:min(1180px,calc(100% - 32px));margin:auto}.hero{min-height:420px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:48px;padding:68px 0}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-size:12px;font-weight:900;margin:0 0 14px}.hero h1,.game-header h1{font-size:clamp(42px,7vw,84px);line-height:.95;letter-spacing:-.055em;margin:0;max-width:820px}.hero h1 span{color:var(--accent)}.lead,.game-header p{font-size:18px;line-height:1.65;color:var(--muted);max-width:700px}.hero-cards{display:grid;grid-template-columns:repeat(2,130px);gap:16px;justify-content:center;transform:rotate(5deg)}.hero-cards span{aspect-ratio:.72;background:#fff;color:#101414;border-radius:18px;box-shadow:var(--shadow);display:grid;place-items:center;font-size:58px}.hero-cards span:nth-child(2),.hero-cards span:nth-child(4){color:#d93b49}.section-heading{margin-bottom:24px}.section-heading h2{font-size:38px;margin:0}.catalogue{padding:28px 0 76px}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.game-card{background:linear-gradient(145deg,var(--panel),#0a1c15);border:1px solid var(--line);border-radius:24px;padding:24px;display:grid;grid-template-columns:58px 1fr auto;gap:18px;align-items:center;transition:.2s transform,.2s border}.game-card:hover{transform:translateY(-3px);border-color:var(--accent)}.game-card:last-child{grid-column:1/-1}.game-symbol{font-size:42px}.game-symbol.red,.card.red{color:#d6404e}.game-card small{color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.12em}.game-card h3{font-size:26px;margin:3px 0 6px}.game-card p{margin:0;color:var(--muted);line-height:1.5}.game-card>strong{color:var(--accent)}footer{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:28px 0 42px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;color:var(--muted)}.game-main{padding:38px 0 72px}.game-header{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}.game-header h1{font-size:clamp(38px,6vw,68px)}.game-actions{display:flex;gap:10px}.game-actions button,.control{border:0;border-radius:12px;padding:12px 16px;background:var(--accent);color:#042116;font-weight:900;cursor:pointer}.game-actions .secondary,.control.secondary{background:var(--panel2);color:var(--text);border:1px solid var(--line)}.table-wrap{border:1px solid var(--line);border-radius:28px;background:radial-gradient(circle at 50% 0,#145b3c,#0a3c29 50%,#07301f);box-shadow:var(--shadow);overflow:hidden;min-height:570px}.statusbar{height:48px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#d8eee3;font-size:13px;font-weight:800}.game-board{padding:22px;min-height:520px;overflow-x:auto}.row{display:flex;gap:10px;align-items:flex-start}.space-between{justify-content:space-between}.pile{min-width:76px;min-height:106px;border-radius:12px;border:1px dashed rgba(255,255,255,.22);position:relative}.pile-label{font-size:10px;color:rgba(255,255,255,.55);text-transform:uppercase;letter-spacing:.12em;text-align:center;padding-top:42px}.card{width:76px;height:106px;border-radius:10px;background:#f7f7f2;color:#17201b;border:1px solid rgba(0,0,0,.18);box-shadow:0 5px 14px rgba(0,0,0,.22);display:flex;flex-direction:column;justify-content:space-between;padding:7px;font-weight:900;cursor:pointer;user-select:none;position:relative}.card .suit{font-size:22px;align-self:end}.card.selected{outline:4px solid #f6db6a;transform:translateY(-4px)}.card.back{background:repeating-linear-gradient(45deg,#123c73,#123c73 7px,#1c5aa5 7px,#1c5aa5 14px);color:transparent}.tableau{display:grid;grid-template-columns:repeat(7,minmax(76px,1fr));gap:12px;margin-top:28px}.tableau.spider{grid-template-columns:repeat(10,minmax(70px,1fr))}.tableau.freecell{grid-template-columns:repeat(8,minmax(72px,1fr))}.stack{position:relative;min-height:360px}.stack .card{position:absolute;left:0}.stack .card:nth-child(n){transition:.15s transform}.top-row{display:flex;justify-content:space-between;gap:18px}.zone-group{display:flex;gap:10px}.slot{width:76px;height:106px;border-radius:10px;border:1px dashed rgba(255,255,255,.28);display:grid;place-items:center;color:rgba(255,255,255,.45);font-weight:900;cursor:pointer}.draw{display:flex;gap:10px;align-items:center}.pyramid{position:relative;height:460px;min-width:720px;margin:auto}.pyramid .card{position:absolute}.tripeaks{position:relative;height:420px;min-width:780px;margin:auto}.tripeaks .card{position:absolute}.removed{visibility:hidden}.below{margin-top:24px}.rules{max-width:780px;padding:34px 0}.rules h2{font-size:28px;margin-bottom:8px}.rules p{color:var(--muted);line-height:1.7}.message{padding:18px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.18);border-radius:16px;color:#e6f8ef;margin-top:20px}.compact-row{display:flex;gap:12px;flex-wrap:wrap}.counter{padding:10px 14px;border-radius:10px;background:rgba(0,0,0,.2);font-size:13px;color:#d7efe3}@media(max-width:840px){.topbar nav{gap:12px;font-size:13px}.hero{grid-template-columns:1fr;min-height:auto;padding:48px 0}.hero-cards{display:none}.game-grid{grid-template-columns:1fr}.game-card:last-child{grid-column:auto}.game-header{align-items:flex-start;flex-direction:column}.game-board{padding:14px}.card,.pile,.slot{width:64px;min-width:64px;height:90px;min-height:90px}.tableau{gap:7px}.tableau.spider{grid-template-columns:repeat(10,64px)}.tableau.freecell{grid-template-columns:repeat(8,64px)}.pyramid{transform-origin:top left;transform:scale(.82);height:390px}.tripeaks{transform-origin:top left;transform:scale(.78);height:350px}}.cards-story{margin:0 auto 76px;padding:32px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,var(--panel),#0a1c15)}.cards-story h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:0 0 12px}.cards-story>p:not(.eyebrow){max-width:760px;color:var(--muted);line-height:1.7}.story-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.story-links a{padding:12px 15px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);font-weight:850}.story-links a:hover{border-color:var(--accent)}@media(max-width:600px){.cards-story{padding:24px}.story-links a{width:100%}}
