:root{
  --bg:#07020e;
  --panel:#0d0718;
  --panel2:#130620;
  --white:#faf8ff;
  --muted:#a59ab8;
  --pink:#ff27d8;
  --purple:#8f2cff;
  --cyan:#24e8ff;
  --line:rgba(255,255,255,.12);
  --max:1160px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--white);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;

  background:
    radial-gradient(
      circle at 10% 4%,
      rgba(255,39,216,.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 91% 12%,
      rgba(36,232,255,.1),
      transparent 24%
    ),
    linear-gradient(
      #06020b,
      #0a0314 45%,
      #05020a
    );

  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.wrap{
  width:min(
    var(--max),
    calc(100% - 38px)
  );

  margin:auto;
}

.section{
  padding:105px 0;
}

.eyebrow{
  color:var(--cyan);

  font-size:11px;
  font-weight:900;

  letter-spacing:.2em;
}


/* =========================
   EFFECT
========================= */

.noise{
  position:fixed;
  inset:0;

  z-index:999;

  pointer-events:none;

  opacity:.018;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines{
  position:fixed;
  inset:0;

  z-index:998;

  pointer-events:none;

  opacity:.035;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 3px,
      rgba(255,255,255,.08) 4px
    );
}


/* =========================
   HEADER
========================= */

.header{
  position:fixed;

  top:0;
  left:0;
  right:0;

  z-index:100;

  height:76px;

  padding:
    0 max(
      20px,
      calc((100vw - var(--max))/2)
    );

  display:flex;

  align-items:center;

  justify-content:space-between;

  background:
    rgba(6,2,11,.75);

  border-bottom:
    1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(18px);

  -webkit-backdrop-filter:
    blur(18px);
}

.brand{
  display:flex;

  gap:10px;

  align-items:center;
}

.brand-icon{
  width:38px;
  height:38px;

  border-radius:10px;

  display:grid;

  place-items:center;

  font-weight:900;

  background:
    linear-gradient(
      135deg,
      var(--pink),
      var(--purple)
    );

  box-shadow:
    0 0 25px rgba(255,39,216,.3);
}

.brand strong{
  display:block;
}

.brand small{
  display:block;

  font-size:8px;

  letter-spacing:.18em;

  color:#8f849d;

  margin-top:3px;
}

nav{
  display:flex;

  gap:24px;

  align-items:center;
}

nav a{
  font-size:12px;

  color:#bdb3ca;
}

nav a:hover{
  color:white;
}

.menu{
  display:none;

  background:none;

  border:0;

  width:42px;
}

.menu span{
  display:block;

  height:2px;

  background:white;

  margin:6px;
}


/* =========================
   HERO
========================= */

.hero{
  min-height:100vh;

  padding-top:140px;

  display:grid;

  grid-template-columns:
    1.08fr .92fr;

  align-items:center;

  gap:70px;
}


/* =========================
   クソゲー。
   必ず一行
========================= */

.hero h1{
  font-size:
    clamp(64px,8vw,120px);

  line-height:.84;

  letter-spacing:-.075em;

  margin:
    18px 0 30px;

  display:inline-block;

  width:max-content;

  max-width:none;

  white-space:nowrap !important;

  word-break:keep-all !important;

  overflow-wrap:normal !important;
}


/* =========================
   GLITCH
========================= */

.glitch{
  position:relative;

  display:inline-block;

  width:max-content;

  max-width:none;

  white-space:nowrap !important;

  word-break:keep-all !important;

  overflow-wrap:normal !important;

  text-shadow:
    1.5px 0 var(--pink),
    -1.5px 0 var(--cyan);
}

.glitch::before,
.glitch::after{
  content:attr(data-text);

  position:absolute;

  left:0;
  top:0;

  width:max-content;

  white-space:nowrap !important;

  opacity:.20;

  pointer-events:none;
}

.glitch::before{
  transform:
    translate(1px,-1px);

  color:var(--pink);

  clip-path:
    inset(0 0 55% 0);
}

.glitch::after{
  transform:
    translate(-1px,1px);

  color:var(--cyan);

  clip-path:
    inset(55% 0 0 0);
}


/* =========================
   HERO HEADLINE
========================= */

.hero-headline{
  margin:
    0 0 26px;

  line-height:1;
}


/* 意味不明。 */

.hero-headline-main{
  display:block;

  width:max-content;

  white-space:nowrap;

  font-size:
    clamp(34px,5vw,68px);

  font-weight:700;

  line-height:1.05;
}


/* でも、やめられない */

.hero-headline-sub{
  display:block;

  width:max-content;

  max-width:none;

  margin-top:7px;

  white-space:nowrap !important;

  word-break:keep-all !important;

  overflow-wrap:normal !important;

  color:transparent;

  -webkit-text-stroke:
    1px white;

  font-size:
    clamp(28px,4vw,54px);

  font-weight:700;

  line-height:1.05;

  letter-spacing:-.055em;
}


/* =========================
   HERO BODY
========================= */

.lead{
  color:#b4a9c5;

  line-height:1.95;
}

.actions{
  display:flex;

  gap:12px;

  flex-wrap:wrap;

  margin:
    34px 0 24px;
}

.button{
  padding:
    14px 19px;

  border-radius:14px;

  font-weight:800;

  display:inline-flex;

  justify-content:center;
}

.primary{
  background:
    linear-gradient(
      135deg,
      var(--pink),
      #7c29ff
    );

  box-shadow:
    0 0 34px rgba(255,39,216,.2);
}

.secondary{
  border:
    1px solid var(--line);

  background:
    rgba(255,255,255,.035);
}

.chips{
  display:flex;

  gap:16px;

  flex-wrap:wrap;

  font-size:10px;

  letter-spacing:.16em;

  color:#756b83;
}


/* =========================
   HERO ART
========================= */

.hero-art{
  position:relative;

  display:grid;

  place-items:center;
}

.phone{
  width:
    min(405px,82vw);

  aspect-ratio:
    1242/2688;

  border-radius:46px;

  overflow:hidden;

  position:relative;

  z-index:2;

  border:
    1px solid rgba(255,255,255,.16);

  box-shadow:
    0 0 0 8px rgba(255,255,255,.02),
    0 0 80px rgba(143,44,255,.28);
}

.phone img{
  width:100%;

  height:100%;

  object-fit:cover;
}

.halo{
  position:absolute;

  border:
    1px solid rgba(36,232,255,.25);

  border-radius:50%;
}

.halo1{
  width:520px;

  height:520px;

  animation:
    rot 16s linear infinite;
}

.halo2{
  width:610px;

  height:350px;

  transform:
    rotate(32deg);

  border-color:
    rgba(255,39,216,.24);

  animation:
    rot2 19s linear infinite;
}

@keyframes rot{
  to{
    transform:
      rotate(360deg);
  }
}

@keyframes rot2{
  to{
    transform:
      rotate(392deg);
  }
}


/* =========================
   MARQUEE
========================= */

.marquee{
  overflow:hidden;

  border-block:
    1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.025);
}

.marquee div{
  display:flex;

  gap:70px;

  white-space:nowrap;

  padding:
    16px 0;

  font-weight:900;

  letter-spacing:.08em;

  animation:
    scroll 28s linear infinite;
}

.marquee span:nth-child(odd){
  color:var(--pink);
}

.marquee span:nth-child(even){
  color:var(--cyan);
}

@keyframes scroll{
  to{
    transform:
      translateX(-50%);
  }
}


/* =========================
   SECTION TITLE
========================= */

.section-title{
  display:flex;

  align-items:end;

  justify-content:space-between;

  gap:45px;

  margin-bottom:46px;
}

.section-title h2,
.story h2,
.purchase h2{
  font-size:
    clamp(34px,5vw,60px);

  line-height:1.05;

  margin:
    10px 0 0;
}

.section-title > p{
  max-width:430px;

  color:var(--muted);

  line-height:1.85;
}


/* =========================
   FEATURES
========================= */

.feature-grid{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:16px;
}

.feature-grid article,
.support-grid article{
  padding:26px;

  border:
    1px solid var(--line);

  border-radius:22px;

  background:
    rgba(255,255,255,.025);
}

.feature-grid b{
  color:var(--pink);

  font-size:26px;
}

.feature-grid p,
.support-grid p{
  color:var(--muted);

  line-height:1.7;

  font-size:14px;
}


/* =========================
   GAMES
========================= */

.game-grid{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:15px;
}

.game{
  min-height:242px;

  padding:20px;

  border:
    1px solid rgba(36,232,255,.22);

  border-radius:22px;

  background:
    linear-gradient(
      180deg,
      rgba(20,7,38,.95),
      rgba(9,4,17,.96)
    );

  position:relative;

  overflow:hidden;
}

.game.hot{
  border-color:
    rgba(255,39,216,.46);
}

.game.wide{
  grid-column:span 2;
}

.game.locked{
  opacity:.65;
}

.game > span{
  color:var(--cyan);

  font-size:12px;

  font-weight:900;
}

.icon{
  width:68px;

  height:68px;

  border-radius:18px;

  margin:
    25px 0 17px;

  display:grid;

  place-items:center;

  background:
    radial-gradient(
      circle at 50% 35%,
      #ff4ce0,
      #7f22f5 58%,
      #130d24 100%
    );

  font-weight:900;

  font-size:23px;

  box-shadow:
    0 0 25px rgba(255,39,216,.2);
}

.red{
  color:#fff;

  background:
    radial-gradient(
      circle,
      #ff284e,
      #8a001d 55%,
      #12020b
    );
}

.digits{
  font-family:monospace;

  color:#ff4557;

  background:#16030a;

  text-shadow:
    0 0 12px red;
}

.dad{
  font-size:14px;

  background:#191027;

  color:var(--cyan);
}

.game h3{
  font-size:20px;

  margin:
    0 0 8px;
}

.game p{
  margin:0;

  color:#91869f;

  line-height:1.6;

  font-size:13px;
}


/* =========================
   STORY
========================= */

.story{
  display:grid;

  grid-template-columns:
    1fr 1fr;

  gap:65px;

  align-items:center;
}

.story-text{
  color:var(--muted);

  line-height:1.9;
}

.steps{
  display:grid;

  grid-template-columns:
    1fr 1fr;

  gap:11px;

  margin-top:30px;
}

.steps div{
  padding:16px;

  border:
    1px solid var(--line);

  border-radius:15px;
}

.steps strong{
  display:block;

  color:var(--pink);

  font-size:13px;
}

.steps span{
  display:block;

  color:#a89db7;

  font-size:12px;

  margin-top:5px;
}


/* =========================
   TERMINAL
========================= */

.terminal{
  min-height:445px;

  background:#05040a;

  border:
    1px solid rgba(36,232,255,.28);

  border-radius:23px;

  overflow:hidden;

  box-shadow:
    0 0 55px rgba(36,232,255,.07);
}

.terminal-top{
  height:46px;

  border-bottom:
    1px solid var(--line);

  display:flex;

  align-items:center;

  gap:7px;

  padding:
    0 17px;
}

.terminal-top i{
  width:9px;

  height:9px;

  border-radius:50%;

  background:#393143;
}

.terminal pre{
  white-space:pre-wrap;

  color:#69f7ff;

  line-height:1.8;

  font-size:13px;

  padding:24px;
}


/* =========================
   QUOTE
========================= */

.quote blockquote{
  text-align:center;

  margin:0;

  font-size:
    clamp(32px,6vw,75px);

  line-height:1.08;

  font-weight:900;

  letter-spacing:-.04em;
}

.quote em{
  font-style:normal;

  color:transparent;

  -webkit-text-stroke:
    1px var(--pink);
}


/* =========================
   SCREENSHOTS
========================= */

.shots{
  display:grid;

  grid-auto-flow:column;

  grid-auto-columns:
    minmax(255px,320px);

  gap:16px;

  overflow-x:auto;

  scroll-snap-type:
    x mandatory;

  padding-bottom:20px;

  -webkit-overflow-scrolling:touch;
}

.shots img{
  scroll-snap-align:start;

  width:100%;

  aspect-ratio:
    1242/2688;

  object-fit:cover;

  border:
    1px solid var(--line);

  border-radius:25px;
}


/* =========================
   PURCHASE
========================= */

.purchase-card{
  padding:46px;

  border:
    1px solid rgba(255,39,216,.3);

  border-radius:30px;

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:30px;

  background:
    radial-gradient(
      circle at 83% 32%,
      rgba(255,39,216,.15),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #11051c,
      #08040e
    );
}

.purchase-card p{
  color:var(--muted);

  line-height:1.8;

  max-width:720px;
}


/* =========================
   SUPPORT
========================= */

.support-grid{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:16px;
}

.text-link{
  color:var(--cyan);

  font-weight:800;
}


/* =========================
   PRIVACY
========================= */

.privacy-card{
  padding:35px;

  border:
    1px solid var(--line);

  border-radius:24px;

  background:
    rgba(255,255,255,.025);
}

.privacy-card h3{
  margin-top:30px;
}

.privacy-card h3:first-child{
  margin-top:0;
}

.privacy-card p{
  color:var(--muted);

  line-height:1.85;
}

.policy-date{
  margin-top:
    35px !important;

  color:
    #756c82 !important;

  font-size:12px;
}


/* =========================
   FOOTER
========================= */

footer{
  padding:
    38px 0 65px;

  border-top:
    1px solid var(--line);

  display:flex;

  justify-content:space-between;

  color:#786f84;

  font-size:12px;
}

footer strong{
  color:white;

  margin-right:12px;
}

footer span{
  font-size:9px;

  letter-spacing:.18em;
}


/* =========================
   LIVE BADGE
========================= */

.live-badge{
  display:inline-flex;

  align-items:center;

  gap:10px;

  margin-top:14px;

  margin-bottom:10px;

  padding:
    10px 14px;

  border:
    1px solid rgba(36,232,255,.28);

  border-radius:999px;

  background:
    rgba(36,232,255,.055);

  box-shadow:
    0 0 28px rgba(36,232,255,.08);

  color:white;

  font-weight:800;

  font-size:13px;
}

.live-badge small{
  color:#8f859e;

  font-size:10px;

  font-weight:700;
}

.live-dot{
  width:9px;

  height:9px;

  border-radius:50%;

  background:#32ff8a;

  box-shadow:
    0 0 12px rgba(50,255,138,.95);

  flex:
    0 0 auto;

  animation:
    pulseLive 1.6s ease-in-out infinite;
}

@keyframes pulseLive{
  0%,
  100%{
    transform:scale(1);
    opacity:1;
  }

  50%{
    transform:scale(.72);
    opacity:.55;
  }
}


/* =========================
   DOWNLOAD
========================= */

.download-section{
  padding-top:40px;
}

.download-card{
  padding:52px;

  border:
    1px solid rgba(36,232,255,.25);

  border-radius:32px;

  display:grid;

  grid-template-columns:
    1.35fr .65fr;

  gap:34px;

  align-items:center;

  background:
    radial-gradient(
      circle at 80% 28%,
      rgba(36,232,255,.11),
      transparent 25%
    ),
    radial-gradient(
      circle at 18% 0%,
      rgba(255,39,216,.14),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #10051b,
      #07040d
    );

  box-shadow:
    0 0 60px rgba(143,44,255,.08);
}

.download-card h2{
  font-size:
    clamp(36px,5vw,62px);

  line-height:1.04;

  margin:
    12px 0 20px;
}

.download-card p{
  color:var(--muted);

  line-height:1.85;
}

.status-line{
  display:flex;

  align-items:center;

  gap:10px;

  margin-top:10px;
}

.status-line strong{
  color:#dfffea;

  font-size:15px;
}

.download-note{
  font-size:13px;

  color:
    #8f859d !important;
}

.download-actions{
  display:flex;

  flex-direction:column;

  align-items:flex-start;

  gap:14px;
}

.store-button{
  min-width:250px;

  gap:12px;

  justify-content:flex-start;
}

.store-button .apple-mark{
  font-size:34px;

  line-height:1;
}

.store-button span:last-child{
  display:flex;

  flex-direction:column;

  align-items:flex-start;

  line-height:1.05;
}

.store-button small{
  font-size:10px;

  font-weight:700;

  opacity:.78;
}

.store-button strong{
  font-size:20px;
}


/* =========================
   TABLET
========================= */

@media(max-width:900px){

  nav{
    display:none;

    position:absolute;

    top:76px;

    left:14px;

    right:14px;

    flex-direction:column;

    align-items:stretch;

    padding:18px;

    background:#0b0613;

    border:
      1px solid var(--line);

    border-radius:18px;
  }

  nav.open{
    display:flex;
  }

  .menu{
    display:block;
  }

  .hero{
    grid-template-columns:1fr;

    text-align:center;
  }

  .hero h1{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-headline-main,
  .hero-headline-sub{
    margin-left:auto;
    margin-right:auto;
  }

  .actions,
  .chips{
    justify-content:center;
  }

  .section-title{
    display:block;
  }

  .section-title > p{
    margin-top:18px;
  }

  .feature-grid{
    grid-template-columns:1fr;
  }

  .game-grid{
    grid-template-columns:
      repeat(2,1fr);
  }

  .story{
    grid-template-columns:1fr;
  }

  .support-grid{
    grid-template-columns:1fr;
  }

  .purchase-card{
    display:block;
  }

  .purchase-card .button{
    margin-top:18px;
  }

  .download-card{
    grid-template-columns:1fr;
  }

  .download-actions{
    align-items:stretch;
  }

  .store-button{
    width:100%;
  }
}


/* =========================
   MOBILE
========================= */

@media(max-width:560px){

  .wrap{
    width:
      min(
        var(--max),
        calc(100% - 28px)
      );
  }

  .section{
    padding:
      76px 0;
  }

  .header{
    height:68px;

    padding:
      0 15px;
  }

  nav{
    top:68px;
  }

  .hero{
    padding-top:108px;
  }


  /* クソゲー。をスマホでも必ず1行 */

  .hero h1{
    font-size:
      clamp(52px,16vw,68px);

    width:max-content;

    max-width:none;

    white-space:nowrap !important;

    margin:
      18px auto 30px;

    letter-spacing:-.08em;
  }


  /* グリッチ弱め */

  .glitch{
    text-shadow:
      1px 0 var(--pink),
      -1px 0 var(--cyan);
  }

  .glitch::before{
    transform:
      translate(.5px,-.5px);
  }

  .glitch::after{
    transform:
      translate(-.5px,.5px);
  }

  .glitch::before,
  .glitch::after{
    opacity:.16;
  }


  /* 意味不明。 */

  .hero-headline-main{
    font-size:38px;

    white-space:nowrap;

    margin-left:auto;
    margin-right:auto;
  }


  /* でも、やめられない */

  .hero-headline-sub{
    font-size:
      clamp(25px,8vw,30px);

    letter-spacing:-.065em;

    white-space:nowrap !important;

    word-break:keep-all !important;

    overflow-wrap:normal !important;

    margin:
      7px auto 0;
  }


  .lead br{
    display:none;
  }

  .game-grid{
    grid-template-columns:1fr;
  }

  .game.wide{
    grid-column:auto;
  }

  .steps{
    grid-template-columns:1fr;
  }

  .purchase-card{
    padding:27px;
  }

  footer{
    display:block;
  }

  .live-badge{
    flex-wrap:wrap;

    justify-content:center;

    border-radius:18px;
  }

  .download-card{
    padding:28px;
  }

  .noise{
    opacity:.014;
  }

  .scanlines{
    opacity:.025;
  }
}


/* =========================
   SMALL PHONE
========================= */

@media(max-width:390px){

  .hero h1{
    font-size:
      clamp(49px,15vw,60px);
  }

  .hero-headline-main{
    font-size:36px;
  }

  .hero-headline-sub{
    font-size:26px;

    letter-spacing:-.07em;
  }
}


/* =========================
   VERY SMALL PHONE
========================= */

@media(max-width:350px){

  .hero h1{
    font-size:47px;
  }

  .hero-headline-main{
    font-size:34px;
  }

  .hero-headline-sub{
    font-size:24px;

    letter-spacing:-.075em;
  }
}


/* =========================
   REDUCED MOTION
========================= */

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  .halo1,
  .halo2,
  .marquee div,
  .live-dot{
    animation:none;
  }
}
