
/* Leimar Games — static studio website, design draft 01 */
:root { color-scheme:dark; --bg:#0c0e13; --panel:#13161d; --text:#f4f3ef; --muted:#a7adb9; --line:#2b303b; --cyan:#74e5e5; --pink:#f08bc7; --max:1200px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; background:var(--bg); color:var(--text); font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; line-height:1.6; }
a { color:inherit; text-decoration:none; }
a,button,label { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,label:focus-visible { outline:3px solid var(--cyan); outline-offset:6px; }
a:hover { color:var(--cyan); }
img { display:block; max-width:100%; }
p,h1,h2,h3,figure { margin:0; }
::selection { background:var(--cyan); color:var(--bg); }
.wrap { width:min(var(--max),calc(100% - 96px)); margin-inline:auto; }
.skip { position:absolute; left:20px; top:-100px; z-index:20; padding:12px 18px; background:var(--cyan); color:var(--bg); }
.skip:focus { top:12px; }
.topline { height:3px; background:linear-gradient(90deg,#64dcd6 0%,#c7eb57 22%,#ffc342 41%,#30a5e9 62%,#a968e3 80%,#ec4388 100%); }
.site-header { min-height:96px; display:flex; align-items:center; justify-content:space-between; gap:32px; border-bottom:1px solid var(--line); }
.logo { display:block; position:relative; overflow:hidden; aspect-ratio:1775/587; flex-shrink:0; }
.logo img { position:absolute; width:115.3803%; max-width:none; height:auto; left:-7.32394%; top:-120.954%; }
.brand { width:180px; }
.header-right,nav,.languages { display:flex; align-items:center; }
.header-right { gap:42px; }
nav { gap:30px; font-size:14px; }
.languages { gap:13px; font-size:12px; letter-spacing:.05em; padding-left:24px; border-left:1px solid var(--line); }
.languages a { color:var(--muted); padding-block:10px; }
.languages a[aria-current=page] { color:var(--text); text-decoration:underline; text-decoration-color:var(--cyan); text-underline-offset:6px; }
.hero { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:50px; padding-block:75px 70px; }
.eyebrow { font-size:11px; font-weight:700; letter-spacing:.17em; text-transform:uppercase; color:var(--muted); }
.hero h1 { font-size:clamp(42px,5.25vw,72px); font-weight:800; line-height:1.03; letter-spacing:-.06em; margin:18px 0 25px; }
.hero h1 span { color:var(--cyan); }
.hero-copy { max-width:510px; font-size:17px; color:var(--muted); }
.hero-art { position:relative; padding:42px 5px; }
.hero-art::before { content:''; position:absolute; inset:-25px; background:radial-gradient(ellipse at 65% 60%,#ed4aac0b,transparent 65%),radial-gradient(ellipse at 35% 40%,#42d5ed0b,transparent 65%); pointer-events:none; }
.hero-logo { width:100%; transform:rotate(-3deg); }
.hero-art p { text-align:center; margin-top:25px; font-size:10px; color:#858d9d; letter-spacing:.26em; text-transform:uppercase; }
.text-link { display:inline-flex; align-items:center; gap:15px; font-size:14px; margin-top:28px; font-weight:700; }
.text-link span { color:var(--cyan); font-size:20px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-block:25px; border-top:1px solid var(--line); }
.section-heading h2 { font-size:13px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.section-heading p { color:var(--muted); font-size:12px; }
.game { padding-block:42px 60px; }
.game + .game { border-top:1px solid var(--line); padding-top:60px; }
.game-grid { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:55px; }
.game-grid.reverse { grid-template-columns:1.2fr .8fr; }
.reverse .game-copy { grid-column:2; grid-row:1; }
.reverse .game-visual { grid-column:1; grid-row:1; }
.status { display:inline-flex; align-items:center; gap:8px; margin-bottom:17px; color:var(--cyan); font-size:10px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
.status::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.mob .status { color:var(--pink); }
.game-number { color:#647084; margin-right:12px; font-size:11px; }
.game h3 { font-size:clamp(36px,4.3vw,60px); line-height:1.03; letter-spacing:-.055em; margin-bottom:14px; font-weight:800; }
.tagline { font-weight:600; font-size:18px; line-height:1.4; margin-bottom:20px; }
.description { font-size:15px; color:var(--muted); max-width:440px; }
.features { list-style:none; padding:0; margin:24px 0; font-size:12px; color:#c3cad6; display:flex; flex-wrap:wrap; gap:8px 15px; }
.features li { padding-bottom:5px; border-bottom:1px solid #3c4954; }
.button { display:inline-flex; align-items:center; justify-content:space-between; gap:23px; background:var(--cyan); color:#102027; font-weight:700; font-size:13px; padding:14px 21px; min-height:49px; border:1px solid var(--cyan); border-radius:3px; transition:background .15s,transform .15s; }
.button:hover { background:#b2f5f3; color:#102027; transform:translateY(-2px); }
.button svg { width:19px; height:19px; flex-shrink:0; }
.mob .button { background:transparent; color:var(--pink); border-color:#845677; }
.mob .button:hover { background:#382534; color:#ffcaec; }
.platforms { font-size:10px; color:#858e9e; margin-top:13px; letter-spacing:.025em; }
.game-visual { min-width:0; }
.screen { background:var(--panel); border:1px solid #323945; border-radius:5px; overflow:hidden; }
.screen-top { display:flex; justify-content:space-between; gap:12px; padding:10px 14px; font-size:9px; letter-spacing:.12em; text-transform:uppercase; color:#a9b3c1; border-bottom:1px solid #323945; }
.screen-top span:last-child { color:#728091; }
.main-shot { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.thumbs { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.thumbs img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border:1px solid #303745; border-radius:3px; }
.thumbs figcaption { color:#8d97a8; font-size:10px; margin-top:7px; }
.about { margin-top:40px; padding:65px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; }
.about h2 { font-size:clamp(32px,3.5vw,46px); line-height:1.1; letter-spacing:-.045em; margin-top:18px; }
.about h2 span { color:var(--pink); }
.about-copy { padding-top:2px; }
.about-copy p { color:var(--muted); font-size:16px; margin-bottom:17px; }
.about-copy strong { color:var(--text); font-weight:500; }
.signature { display:flex; gap:12px; align-items:center; margin-top:26px; }
.signature-mark { width:37px; height:37px; display:grid; place-items:center; background:#20232d; color:var(--cyan); border-left:2px solid var(--pink); font-size:13px; font-weight:700; }
.signature small { display:block; font-size:10px; color:var(--muted); }
.signature b { font-size:12px; font-weight:600; }
.contact { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:54px 0; }
.contact h2 { font-size:26px; letter-spacing:-.035em; }
.contact p { font-size:14px; color:var(--muted); margin-top:7px; }
.contact .text-link { margin:0; white-space:nowrap; }
footer { border-top:1px solid var(--line); padding:25px 0 32px; display:flex; gap:20px; align-items:center; justify-content:space-between; color:#939cac; font-size:10px; }
.footer-links { display:flex; gap:20px; flex-wrap:wrap; }
.draft { color:#b3bfca; border:1px solid #38414f; padding:3px 7px; font-size:9px; white-space:nowrap; }
.legal { max-width:760px; min-height:65vh; padding:70px 0; }
.legal h1 { font-size:42px; line-height:1.1; margin-bottom:20px; }
.legal h2 { margin-top:35px; font-size:23px; }
.legal p { color:var(--muted); margin-top:15px; }
@media(min-width:1600px) { .hero { padding-block:88px; } }
@media(max-width:1000px) { .wrap { width:calc(100% - 56px); } .game-grid,.game-grid.reverse { gap:30px; grid-template-columns:1fr 1.25fr; } .game-grid.reverse { grid-template-columns:1.25fr 1fr; } .hero { gap:25px; } .game h3 { font-size:40px; } .about { gap:40px; } }
@media(max-width:740px) { .wrap { width:calc(100% - 40px); } .site-header { min-height:83px; gap:16px; } .brand { width:140px; } .header-right { gap:18px; } nav { gap:16px; } nav a { font-size:12px; } nav a:nth-child(3) { display:none; } .languages { padding-left:14px; gap:10px; } .hero { padding:43px 0 40px; gap:24px; grid-template-columns:1fr; } .hero-art { grid-row:1; max-width:360px; width:82%; padding:8px 0 18px; margin:auto; } .hero-art p { display:none; } .hero h1 { font-size:50px; max-width:540px; } .hero-copy { font-size:16px; } .eyebrow { font-size:10px; letter-spacing:.12em; } .section-heading p { font-size:10px; } .game { padding-top:27px; padding-bottom:42px; } .game + .game { padding-top:40px; } .game-grid,.game-grid.reverse { grid-template-columns:1fr; gap:29px; } .reverse .game-copy,.reverse .game-visual { grid-column:auto; grid-row:auto; } .game h3 { font-size:48px; } .description { max-width:600px; } .tagline { margin-bottom:14px; } .features { margin:20px 0; } .about { margin-top:15px; grid-template-columns:1fr; gap:28px; padding:40px 0; } .about h2 { font-size:38px; } .contact { flex-direction:column; align-items:flex-start; gap:20px; padding:35px 0; } footer { flex-wrap:wrap; gap:15px; } .footer-links { gap:15px; } }
@media(max-width:400px) { .brand { width:117px; } nav { gap:12px; } .header-right { gap:12px; } .languages { gap:8px; padding-left:10px; } .hero h1 { font-size:43px; } .game h3 { font-size:43px; } .section-heading p { max-width:125px; text-align:right; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none!important; } }


/* Revision 02 — contact and legal pages */
.contact-links { display:flex; flex-direction:column; align-items:flex-end; gap:9px; min-width:0; }
.contact-email { overflow-wrap:anywhere; white-space:normal!important; }
.contact-steam { color:var(--muted); font-size:12px; }
.legal { margin-inline:auto; max-width:790px; }
.legal h1 { font-size:clamp(31px,4.2vw,48px); letter-spacing:-.04em; overflow-wrap:anywhere; }
.legal .legal-date { font-size:12px; margin-top:0; }
.legal-toc { display:flex; flex-wrap:wrap; gap:12px 25px; padding:25px 0 20px; border-bottom:1px solid var(--line); }
.legal-toc a { font-size:14px; }
.legal section { padding-top:15px; }
.legal #privacy { border-top:1px solid var(--line); margin-top:48px; padding-top:20px; }
.legal h2 { font-size:30px; letter-spacing:-.025em; line-height:1.2; }
.legal h3 { font-size:18px; margin:30px 0 0; line-height:1.4; }
.legal p { line-height:1.8; }
.legal address { font-style:normal; color:var(--text); line-height:1.8; margin-top:18px; }
.legal p a, .legal address a { color:var(--cyan); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.pending { color:#f3c787; font-size:13px; display:inline-block; padding:8px 10px; border:1px solid #775836; margin-top:8px; }
.rights-box { border-left:3px solid var(--cyan); background:var(--panel); padding:20px 23px; margin-top:30px; }
.rights-box h3 { margin-top:0; }
@media(max-width:740px) { .contact-links { align-items:flex-start; width:100%; } .contact .text-link { font-size:13px; gap:10px; } .legal { padding-top:40px; } .legal p,.legal address { font-size:15px; } }

/* Revision 03 — lightbox, clips, developer notes, subtle motion */
.zoom { display:block; position:relative; width:100%; padding:0; margin:0; border:0; background:none; color:inherit; cursor:zoom-in; font:inherit; }
.zoom::after { content:''; position:absolute; right:10px; bottom:10px; width:30px; height:30px; border-radius:50%; background:#0c0e13cc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f3ef' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center/14px no-repeat; opacity:0; transition:opacity .2s; pointer-events:none; }
.zoom:hover::after,.zoom:focus-visible::after { opacity:1; }
.zoom:focus-visible { outline-offset:3px; }
@media(hover:none) { .zoom::after { opacity:.85; } }

.lightbox { position:fixed; inset:0; width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:0; border:0; background:transparent; color:var(--text); overflow:hidden; }
.lightbox[open] { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:20px; }
.lightbox::backdrop { background:rgba(5,6,9,.94); }
.lb-frame { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; min-width:0; height:100%; }
.lb-stage { display:flex; justify-content:center; min-width:0; max-width:100%; touch-action:pan-y; }
.lb-image { max-width:100%; max-height:calc(100vh - 150px); max-height:calc(100dvh - 150px); width:auto; height:auto; object-fit:contain; border:1px solid #303745; border-radius:3px; background:var(--panel); user-select:none; -webkit-user-drag:none; }
.lb-caption { font-size:15px; text-align:center; color:var(--text); min-height:1.6em; max-width:70ch; }
.lb-count { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-top:-6px; }
.lb-btn { display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid #3a4250; border-radius:50%; background:#13161de6; color:var(--text); cursor:pointer; transition:border-color .15s,color .15s; }
.lb-btn:hover { border-color:var(--cyan); color:var(--cyan); }
.lb-btn svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lb-btn:focus-visible { outline:3px solid var(--cyan); outline-offset:3px; }
.lb-close { position:absolute; top:16px; right:16px; z-index:1; }
.lb-single .lb-prev,.lb-single .lb-next,.lb-single .lb-count { visibility:hidden; }
html.lb-open { overflow:hidden; }
@media(max-width:740px) {
    .lightbox[open] { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); padding:12px; }
    .lb-prev,.lb-next { position:absolute; bottom:18px; z-index:1; width:44px; height:44px; background:#13161df2; }
    .lb-prev { left:16px; }
    .lb-next { right:16px; }
    .lb-image { max-height:calc(100vh - 190px); max-height:calc(100dvh - 190px); }
    .lb-caption { font-size:14px; padding-inline:52px; }
    .lb-count { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); margin:0; }
    .lb-close { top:10px; right:10px; width:44px; height:44px; }
}

.clip { margin-top:12px; background:var(--panel); border:1px solid #323945; border-radius:5px; overflow:hidden; }
.clip video { display:block; width:100%; height:auto; aspect-ratio:16/9; background:#000; }
.clip figcaption { display:flex; justify-content:space-between; gap:12px; padding:9px 14px; font-size:9px; letter-spacing:.12em; text-transform:uppercase; color:#a9b3c1; border-top:1px solid #323945; }
.clip figcaption span:last-child { color:#728091; }

.dev-note { position:relative; max-width:440px; margin-top:28px; padding:14px 18px 15px 20px; background:var(--panel); border-left:2px solid var(--cyan); border-radius:0 4px 4px 0; }
.mob .dev-note { border-left-color:var(--pink); }
.dev-note-label { display:block; margin-bottom:6px; font-size:9px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--cyan); }
.mob .dev-note-label { color:var(--pink); }
.dev-note p { font-size:14px; font-style:italic; line-height:1.55; color:#d2d7e0; }

/* Link accent: short underline in the logo colours on hover */
nav a,.footer-links a,.contact-steam,.text-link { background:linear-gradient(90deg,#64dcd6,#c7eb57,#ffc342,#30a5e9,#a968e3,#ec4388) no-repeat left bottom/0 2px; transition:background-size .3s ease,color .15s; }
nav a,.footer-links a { padding-block:4px; }
nav a:hover,.footer-links a:hover,.contact-steam:hover,.text-link:hover,
nav a:focus-visible,.footer-links a:focus-visible,.contact-steam:focus-visible,.text-link:focus-visible { background-size:100% 2px; }

/* Reveal on scroll: only active when the visitor has not asked for reduced motion */
@media(prefers-reduced-motion:no-preference) {
    .reveal { opacity:0; transform:translateY(14px); transition:opacity .7s ease,transform .7s ease; }
    .reveal.is-visible { opacity:1; transform:none; }
    .game-visual.reveal { transition-delay:.1s; }
}
@media(prefers-reduced-motion:reduce) { .reveal { opacity:1; transform:none; } .zoom::after { transition:none; } }
