
:root{
  color-scheme:light;
  --bg:#eef7ff;
  --bg2:#fffaf1;
  --surface:#ffffff;
  --surface-2:#f5fbff;
  --card:#ffffff;
  --line:#c7def3;
  --line-strong:#91b8da;
  --text:#153050;
  --muted:#54708f;
  --navy:#143764;
  --cyan:#1fbfe8;
  --cyan-deep:#0f93c8;
  --gold:#ffbe45;
  --gold-deep:#f09b0f;
  --purple:#9b6dff;
  --shadow:0 22px 70px rgba(20,55,100,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--text);
  line-height:1.68;
  background:
    radial-gradient(circle at 12% 0%, rgba(102,224,255,.38), transparent 22%),
    radial-gradient(circle at 95% 6%, rgba(255,193,82,.30), transparent 22%),
    linear-gradient(180deg, #f7fcff 0%, #eef7ff 50%, #fffaf1 100%);
}
a{color:inherit}
img{display:block;max-width:100%}
.wrap{width:min(1150px,calc(100% - 36px));margin-inline:auto}
header{
  position:sticky;top:0;z-index:10;
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(145,184,218,.55);
  box-shadow:0 8px 30px rgba(34,92,156,.08);
}
nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{font-weight:950;font-style:italic;letter-spacing:.07em;font-size:1.3rem;text-decoration:none;color:var(--navy)}
.brand span{color:var(--gold-deep)}
.links{display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.links a{text-decoration:none;color:#4d6c8f;font-size:.93rem;font-weight:700;padding:8px 0}
.links a:hover,.links a[aria-current=page]{color:var(--cyan-deep)}
.hero{
  position:relative;margin-top:26px;min-height:480px;display:flex;align-items:flex-end;overflow:hidden;
  border-radius:30px;border:1px solid rgba(153,197,231,.75);background:#dcefff;box-shadow:var(--shadow)
}
.hero>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg, rgba(248,252,255,.99) 0%, rgba(248,252,255,.95) 34%, rgba(248,252,255,.72) 52%, rgba(248,252,255,.24) 76%)}
.hero::after{content:'';position:absolute;left:-4%;bottom:-18%;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(31,191,232,.16),transparent 65%)}
.hero-content{position:relative;z-index:1;padding:clamp(24px,4vw,38px);max-width:640px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);border:1px solid rgba(193,220,243,.95);border-radius:28px;box-shadow:0 18px 50px rgba(19,55,100,.16);margin:clamp(18px,2.4vw,30px)}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:900;color:var(--cyan-deep)}
h1,h2,h3{line-height:1.12;margin:.42em 0;color:var(--navy)}
.hero h1{font-size:clamp(2.35rem,5vw,4.8rem);letter-spacing:-.045em;color:#17365f;text-shadow:none}
.hero h1 em{font-style:normal;color:var(--gold-deep)}
h2{font-size:clamp(1.7rem,3vw,2.65rem);letter-spacing:-.03em}
p{color:var(--muted)}
.hero p{max-width:545px;color:#2f4f76;font-size:1.03rem;font-weight:600}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line-strong);text-decoration:none;background:#fff;padding:12px 19px;border-radius:14px;font-weight:800;font-size:.95rem;transition:transform .2s,background .2s,box-shadow .2s;box-shadow:0 10px 25px rgba(51,119,194,.08)}
.btn:hover{transform:translateY(-2px);background:#f8fcff;box-shadow:0 16px 35px rgba(51,119,194,.15)}
.btn.primary{color:#07213d;background:linear-gradient(130deg,#73ecff,#ffe39e);border:0}
.btn.primary:hover{background:linear-gradient(130deg,#89f0ff,#ffe9b4)}
.section{padding:82px 0}
.section.tight{padding-top:30px}
.section-head{margin-bottom:25px}.section-head p{max-width:720px}
.game{display:grid;grid-template-columns:1.08fr .92fr;gap:32px;align-items:center}
.feature,.visual-card{
  border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff
}
.feature img,.visual-card img{width:100%;height:auto}
.game-title{display:flex;align-items:center;gap:14px}
.game-title img{width:86px;height:86px;object-fit:cover;border-radius:24px;border:2px solid #cdeaf7;box-shadow:0 12px 26px rgba(31,191,232,.12)}
.pill{display:inline-block;padding:6px 12px;border-radius:100px;background:#edf8ff;border:1px solid #b8dff4;color:var(--navy);font-weight:800;font-size:.72rem;letter-spacing:.07em}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}
.card{padding:24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#fff,#f5fbff);min-height:168px;box-shadow:0 16px 40px rgba(29,92,156,.07)}
.card .symbol{font-size:1.9rem}
.card h3{font-size:1.13rem;margin-bottom:10px}
.card p{margin:4px 0}
.info,.panel{
  border:1px solid var(--line);background:linear-gradient(180deg,#ffffff,#f5fbff);border-radius:26px;padding:clamp(22px,4vw,38px);box-shadow:var(--shadow)
}
.panel-astronaut{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center}
.panel-astronaut img{width:100%;border-radius:26px;border:1px solid var(--line)}
.muted{color:var(--muted)}
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}
.shot{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.shot img{width:100%;height:100%;object-fit:cover;background:#eff8ff}
.shot .cap{padding:14px 16px 18px}
.shot h3{font-size:1rem;margin:.2em 0 .3em}
.badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.badges span{padding:8px 12px;border-radius:999px;background:#f3fbff;border:1px solid #c9e6f6;color:#315378;font-size:.85rem;font-weight:700}
footer{border-top:1px solid var(--line);margin-top:60px;padding:30px 0;color:var(--muted);font-size:.88rem;background:rgba(255,255,255,.45)}
footer .foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}footer a{color:#386490;text-decoration:none}
.text-page{max-width:860px;padding-top:54px}
.text-page h1{font-size:clamp(2rem,4vw,3.3rem)}
.text-page h2{font-size:1.42rem;margin-top:36px}.text-page li{color:var(--muted);margin:8px 0}
.notice{background:#fff7df;border:1px solid #f2ce75;color:#7a5a11;border-radius:16px;padding:16px 18px;margin:20px 0;font-weight:700}
.text-page p,.text-page li{line-height:1.82}.small{font-size:.86rem}
a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:900px){.panel-astronaut{grid-template-columns:1fr}.panel-astronaut img{max-width:220px}}
@media(max-width:760px){
 nav{height:auto;min-height:68px;align-items:flex-start;flex-direction:column;padding:15px 0}
 .links{gap:10px 17px}
 .hero{min-height:470px}.hero>img{object-position:60% center}.hero::before{background:linear-gradient(180deg, rgba(248,252,255,.97) 0%, rgba(248,252,255,.90) 58%, rgba(248,252,255,.45) 100%)}
 .game,.panel-astronaut,.gallery{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.section{padding:56px 0}.hero-content{padding:26px 22px;margin:18px}.game-title img{width:68px;height:68px}
}

/* V3: Brand artwork and website text live in separate areas.
   No overlay can obscure the KRIDANAUT lettering in the supplied banner. */
.hero-brand{margin-top:28px;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow)}
.hero-brand-art{background:#04112d;line-height:0}
.hero-brand-art img{display:block;width:100%;height:auto;object-fit:contain}
.hero-brand-copy{padding:clamp(24px,4vw,52px);background:linear-gradient(105deg,#fff 0%,#f2fbff 66%,#fff9e9 100%)}
.hero-brand-copy h1{font-size:clamp(2rem,4.1vw,3.65rem);margin:.22em 0;color:#183c68;line-height:1.12}
.hero-brand-copy h1 em{color:#ec9207;font-style:normal}
.hero-brand-copy p{max-width:800px;color:#325475;font-size:1.07rem;font-weight:600;margin:18px 0}
.hero-brand-copy .actions{margin-top:24px}
@media(max-width:760px){.hero-brand{margin-top:18px;border-radius:20px}.hero-brand-copy{padding:25px 20px}.hero-brand-copy h1{font-size:clamp(1.8rem,7.5vw,2.7rem)}}

/* V4: Keep full artwork and headline within the first desktop viewport.
   Artwork is never covered or cropped; text remains beside it. */
.hero-brand{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(360px,.86fr);align-items:stretch;margin-top:20px;min-height:0}
.hero-brand-art{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#071a43}
.hero-brand-art img{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-brand-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,3.3vw,48px);background:linear-gradient(130deg,#fff,#eefaff 80%,#fff6e4)}
.hero-brand-copy h1{font-size:clamp(2.05rem,3.3vw,3.35rem);line-height:1.12}
.hero-brand-copy p{font-size:1.02rem;line-height:1.6;margin:12px 0}
.hero-brand-copy .actions{margin-top:16px}
.home-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-intro h2{font-size:clamp(1.5rem,2.5vw,2.2rem)}
.home-intro p{margin:8px 0 0}
@media(max-width:860px){
 .hero-brand{grid-template-columns:1fr}
 .hero-brand-art img{height:auto;width:100%}
 .hero-brand-copy{padding:25px}
 .home-intro{flex-direction:column;align-items:flex-start}
}
