@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');

:root{
  --navy:#000a28; --blue:#00004a; --teal:#2fa8a0;
  --card-w:260px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--navy);color:#fff;font-family:'Comfortaa',sans-serif;overflow-x:hidden}
a{color:inherit}

.bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(180deg,#000a28 0%,#00004a 100%)}
.bg .layer{position:absolute;left:0;right:0;bottom:0}
.bg .inner{position:absolute;inset:0;background-repeat:repeat-x;background-position:0 100%}
.l1{height:74vh;opacity:.2}
.l2{height:58vh;opacity:.26}
.l3{height:42vh;opacity:.34}
.l1 .inner{background-size:1600px 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='500' viewBox='0 0 1600 500' preserveAspectRatio='none'%3E%3Cpolygon fill='%23c9d3ff' points='0,500 0,260 200,120 380,240 560,40 760,230 940,110 1140,250 1340,70 1480,200 1600,260 1600,500'/%3E%3C/svg%3E")}
.l2 .inner{background-size:1200px 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='500' viewBox='0 0 1200 500' preserveAspectRatio='none'%3E%3Cpolygon fill='%23aab6f0' points='0,500 0,300 150,170 300,290 480,120 640,280 820,160 1000,290 1120,230 1200,300 1200,500'/%3E%3C/svg%3E")}
.l3 .inner{background-size:1000px 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='500' viewBox='0 0 1000 500' preserveAspectRatio='none'%3E%3Cpolygon fill='%238f9ce0' points='0,500 0,340 120,240 260,330 420,210 560,320 720,240 880,330 1000,340 1000,500'/%3E%3C/svg%3E")}

.wrap{max-width:1180px;margin:0 auto;padding:0 clamp(20px,6vw,96px)}
.hero{padding-top:clamp(50px,9vh,100px);padding-bottom:90px}
.hero h1{font-size:clamp(2.8rem,7vw,4.6rem);font-weight:400;margin:0 0 .45em;line-height:1.1}
.hero p{font-size:clamp(1.15rem,2.1vw,1.55rem);line-height:1.65;max-width:960px;margin:0}
.hero-links{display:flex;flex-direction:column;gap:26px;margin-top:36px;align-items:flex-start}
.hl small{display:block;font-size:clamp(1.1rem,1.8vw,1.4rem);margin-bottom:12px}
.hl a{display:inline-flex;align-items:center;justify-content:center;min-width:207px;height:102px;padding:0 30px;border-radius:28px;
  font-weight:700;font-size:1.7rem;text-decoration:none;background:var(--bg,#fff);color:var(--fg,#111);transition:transform .2s}
.hl a:hover{transform:scale(1.05)}
.hl a.img{padding:0;min-width:0;height:auto;background:none;border-radius:28px}
.hl a.img img{display:block;height:102px;width:auto;border-radius:28px}

.games-head{padding-top:10px;padding-bottom:26px}
.games-head h2{font-size:clamp(2rem,5vw,3rem);font-weight:400;margin:0}
.table{position:relative;overflow:hidden;min-height:640px;padding:90px 24px;
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:60px 50px;
  background:#5f4230;border-top:6px solid #2a1b12;border-bottom:6px solid #2a1b12}
.table .wood{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;z-index:0}
.foot{padding:50px 20px 60px;text-align:center;font-size:.85rem;opacity:.5}

.slot{position:relative;z-index:2;visibility:hidden}
.slot.landed:hover{z-index:4}

.card{display:block;position:relative;width:var(--card-w);aspect-ratio:63/88;font-size:calc(var(--card-w) / 20);
  color:#241c10;text-decoration:none;background:#e6bf3a;border-radius:.8em;padding:.55em;
  box-shadow:.3em .45em 0 rgba(0,0,0,.4);transition:transform .2s ease-out}
.slot.landed .card:hover{transform:rotate(calc(var(--r) * -1)) scale(1.1)}
.card:focus-visible{outline:3px solid #fff;outline-offset:4px}
.card .body{height:100%;display:flex;flex-direction:column;gap:.4em;padding:.5em .55em .4em;
  background:#f4edd2;border:.08em solid #8a6d12}
.c-top{display:flex;justify-content:space-between;align-items:flex-start}
.c-title small{display:block;font-size:.6em;font-style:italic;font-weight:700;opacity:.7;letter-spacing:.04em}
.c-title b{font-size:1.4em;line-height:1.1}
.c-hp{font-weight:700;font-size:1.1em;display:flex;align-items:baseline;gap:.25em}
.c-hp small{font-size:.55em}
.c-hp i{width:.95em;height:.95em;border-radius:50%;background:#b9b6ab;border:.1em solid #6d6a60;align-self:center}
.c-art{border:.22em solid #c9c9c4;outline:.08em solid #8a6d12;background:#1c2a6b;height:11.4em}
.c-art div{height:100%;background:center/cover no-repeat}
.c-strip{font-size:.64em;font-style:italic;text-align:center;padding:.3em 0;background:#e3d9b0;border-top:.1em solid #8a6d12;border-bottom:.1em solid #8a6d12}
.c-atk{flex:1;display:flex;flex-direction:column;gap:.35em;padding-top:.3em}
.c-line{display:flex;align-items:center;gap:.5em}
.c-line .e{width:1.05em;height:1.05em;border-radius:50%;background:#b9b6ab;border:.1em solid #6d6a60;flex:none}
.c-line b{flex:1;font-size:1.05em}
.c-line span{font-weight:700;font-size:1.15em}
.c-atk p{margin:0;font-size:.82em;line-height:1.5}
.c-foot{display:flex;justify-content:space-between;font-size:.52em;opacity:.65;letter-spacing:.03em}

.hand{position:absolute;z-index:5;right:13%;top:-20px;width:144px;height:496px;pointer-events:none;display:none;
  transform-origin:50% 80%;transform:translate(620px,0) rotate(62deg)}
.hand.show{display:block}
.hand canvas{position:absolute;image-rendering:pixelated}
.hand .tip{position:absolute;left:76px;top:424px;width:1px;height:1px}

.skip{position:absolute;z-index:6;left:20px;bottom:20px;padding:0;border:0;background:none;cursor:pointer;display:none;
  filter:drop-shadow(4px 4px 0 rgba(0,0,0,.4))}
.skip.show{display:block}
.skip canvas{display:block;image-rendering:pixelated}
.skip:hover{transform:translateY(-4px)}
.skip:active{transform:translateY(2px);filter:none}
.skip:focus-visible{outline:3px solid #fff;outline-offset:4px}

.mail{padding:110px 20px 20px;text-align:center}
.msgbox{position:relative;display:inline-block;width:320px;height:240px;cursor:pointer}
.msgbox canvas{display:block;width:100%;height:100%;image-rendering:pixelated;filter:drop-shadow(8px 8px 0 rgba(0,0,0,.35))}
.msgbox .hole{position:absolute;left:112px;top:132px;width:96px;height:64px}
.msgbox:hover canvas{animation:wob .35s steps(2) 2}
.msgbox:focus-visible{outline:3px solid #fff;outline-offset:8px}
.mail p{margin:18px 0 0;font-size:1.1rem;opacity:.8}
@keyframes wob{0%{transform:rotate(0)}33%{transform:rotate(-2deg)}66%{transform:rotate(2deg)}}
@media (max-width:820px){.msgbox{width:240px;height:180px}.msgbox .hole{left:84px;top:99px;width:72px;height:48px}}

.msgpage{background:#000;font-family:'Press Start 2P',monospace;color:#fff}
.msgpage .back{font-family:inherit;font-size:.7rem;border-radius:0;background:#000;border:4px solid #fff;backdrop-filter:none;padding:.9em 1.1em}
.msgpage .back:hover{background:#fff;color:#000}
.msgs{max-width:760px;margin:0 auto;padding:120px 20px 80px;animation:fadein .6s both}
.msgs h1{font-size:clamp(1rem,3.4vw,1.5rem);font-weight:400;margin:0 0 70px;line-height:1.5}
.msg{margin:0 0 70px}
.msg h2{font-size:clamp(.8rem,2.4vw,1.05rem);font-weight:400;line-height:1.6;margin:0 0 12px}
.msg time{display:block;font-size:.6rem;opacity:.6;margin-bottom:22px}
.msg p{font-size:.68rem;line-height:2.1;margin:0 0 1.4em}
.msg + .msg{border-top:4px dashed rgba(255,255,255,.25);padding-top:70px}
.msgpage .foot{font-size:.55rem}
@keyframes fadein{from{opacity:0}}

.fly{position:fixed;z-index:9999;background:center/cover no-repeat;
  transition:left .65s cubic-bezier(.7,0,.2,1),top .65s cubic-bezier(.7,0,.2,1),width .65s cubic-bezier(.7,0,.2,1),height .65s cubic-bezier(.7,0,.2,1)}

.back{position:fixed;top:18px;left:20px;z-index:20;text-decoration:none;font-weight:700;font-size:.95rem;
  padding:.65em 1.1em;border-radius:999px;background:rgba(0,10,40,.6);backdrop-filter:blur(6px)}
.g-hero{position:relative;height:100vh;min-height:520px;background:#1c2a6b center/cover no-repeat;display:flex;align-items:flex-end}
.g-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,10,40,.3) 0%,transparent 28%,rgba(0,10,40,.75) 82%,#000a28 100%)}
.g-hero-in{position:relative;z-index:1;width:100%;padding-bottom:9vh;animation:rise .8s .3s both}
.g-stage{margin:0;font-size:.85rem;font-weight:700;letter-spacing:.25em;opacity:.85}
.g-hero h1{font-size:clamp(3.4rem,13vw,9.5rem);line-height:.95;margin:.12em 0 .15em;font-weight:700;text-shadow:0 .03em .25em rgba(0,0,0,.45)}
.g-tag{margin:0;font-size:clamp(1.05rem,2vw,1.5rem);font-weight:300;max-width:680px;line-height:1.5}
@keyframes rise{from{opacity:0;transform:translateY(24px)}}

.g-main{display:grid;grid-template-columns:var(--card-w) minmax(0,1fr);gap:clamp(36px,7vw,110px);padding-top:80px;padding-bottom:100px;align-items:start}
.g-side{position:sticky;top:36px}
.g-side .card{transform:rotate(-3deg);cursor:default}
.g-body h2{font-size:clamp(1.6rem,3.4vw,2.2rem);font-weight:400;margin:0 0 .6em}
.g-body section{margin-bottom:70px}
.g-body section:last-child{margin-bottom:0}
.facts{margin:0;border-top:1px solid rgba(255,255,255,.22)}
.facts div{display:grid;grid-template-columns:9rem 1fr;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.facts dt{margin:0;opacity:.6;font-size:.95rem}
.facts dd{margin:0;font-weight:700}
.about p{font-size:clamp(1.1rem,1.8vw,1.35rem);line-height:1.75;font-weight:300;margin:0 0 1.1em;max-width:44rem}
.feat{list-style:none;margin:0;padding:0;counter-reset:f}
.feat li{display:grid;grid-template-columns:3.4rem 1fr;padding:22px 0;border-top:1px solid rgba(255,255,255,.16)}
.feat li:last-child{border-bottom:1px solid rgba(255,255,255,.16)}
.feat li::before{counter-increment:f;content:counter(f,decimal-leading-zero);color:var(--teal);font-weight:700}
.feat b{display:block;font-size:1.2rem;margin-bottom:.3em}
.feat span{font-size:1.05rem;line-height:1.7;font-weight:300;opacity:.9}
.warn{font-weight:700;opacity:.75}
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.shots img{width:100%;display:block;border:4px solid #2a1b12;image-rendering:auto}
.g-links{display:flex;flex-wrap:wrap;gap:14px}
.g-links a{display:inline-block;padding:1em 1.8em;border-radius:20px;background:#fff;color:#111;font-weight:700;text-decoration:none;transition:transform .2s}
.g-links a:nth-child(2n){background:#fa5c5c;color:#fff}
.g-links a:hover{transform:scale(1.05)}

@media (max-width:820px){
  :root{--card-w:230px}
  .back{position:absolute}
  .g-main{grid-template-columns:1fr;justify-items:stretch}
  .g-side{position:static;display:flex;justify-content:center}
  .hl a{min-width:170px;height:84px;font-size:1.4rem}
  .hl a.img img{height:84px}
}
@media (prefers-reduced-motion:reduce){
  .g-hero-in{animation:none}
  .msgs{animation:none}
  .msgbox:hover canvas{animation:none}
}


.not-found-page {
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: 'Press Start 2P', monospace;
}

.not-found {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.not-found-content {
  width: min(100%, 1000px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 6vh, 64px);
}

.not-found-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(6rem, 20vw, 15rem);
  line-height: 1;
  font-weight: 400;
}

.not-found h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.55rem, 1.5vw, 0.9rem);
  line-height: 2;
  font-weight: 400;
}

.not-found-copy {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.not-found-copy p {
  margin: 0;
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  line-height: 2.2;
}

.not-found-copy .not-found-aside {
  opacity: 0.6;
  font-size: clamp(0.5rem, 1vw, 0.65rem);
}

.not-found-home {
  display: inline-block;
  padding: 16px 20px;
  border: 3px solid #fff;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.65rem;
  line-height: 1.8;
  transition: background 0.15s, color 0.15s;
}

.not-found-home:hover {
  background: #fff;
  color: #000;
}

.not-found-home:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

@media (max-width: 600px) {
  .not-found {
    padding: 48px 20px;
  }

  .not-found h1 {
    font-size: clamp(5rem, 25vw, 9rem);
  }

  .not-found h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.55rem, 1.5vw, 0.9rem);
  line-height: 2;
  font-weight: 400;
  opacity: 0.6;
}

  .not-found-copy {
    gap: 20px;
  }
}
found-copy{gap:20px}
}
