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

:root{
  --bg:#000000;
  --accent:#ff6fa3;
  --accent-2:#9b5cff;
  --accent-dark:#ffb300;
  --muted:#f0e6f8;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#fff;
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.topbar{
  position:fixed;
  top:16px;
  right:20px;
  display:flex;
  gap:12px;
  align-items:center;
  z-index:40;
}

.brand{
  position:fixed;
  left:18px;
  top:18px;
  color:var(--muted);
  font-weight:700;
  opacity:0.9;
}

.lang-switch{display:flex; gap:8px}
.lang-btn{background:transparent; border:1px solid rgba(255,255,255,0.08); color:var(--muted); padding:6px 10px; border-radius:6px; cursor:pointer}
.lang-btn.active{background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:white; border:0; box-shadow:0 6px 18px rgba(155,92,255,0.12)}

.center{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px;
}

.play-area{position:relative; width:100%; max-width:820px}

.sign{
  text-align:center;
  transform:translateY(-10px);
  padding:32px 28px;
  border-radius:16px;
  backdrop-filter: blur(6px) saturate(120%);
}

.graphic-placeholder{width:220px; height:140px; margin:0 auto 8px auto}

/* playful title + localized content */
.title{color:var(--accent); font-size: clamp(26px,6vw,56px); margin:12px 0 6px 0; letter-spacing:4px}
.sub{color:var(--muted); margin:0; font-size:16px}

/* language visibility */
.lang{display:none}
body.lang-en .lang.en{display:block}
body.lang-jp .lang.jp{display:block}
body.lang-jp .lang.en{display:none}
body.lang-en .lang.jp{display:none}

/* small responsive tweaks */
@media (max-width:460px){
  .icon{width:120px}
  h1{letter-spacing:3px}
  .brand{display:none}
}

h1{
  color:var(--accent);
  font-size: clamp(28px, 6vw, 72px);
  letter-spacing: 6px;
  margin:0 0 8px 0;
  text-transform:uppercase;
  text-shadow:
    0 0 10px rgba(255,204,0,0.12),
    0 6px 18px rgba(0,0,0,0.6);
  animation: neon 3s ease-in-out infinite;
}

.sub{
  color:var(--muted);
  margin:0;
  font-size:16px;
}

@keyframes neon{
  0%,100%{filter:brightness(1); text-shadow: 0 0 6px rgba(255,204,0,0.08), 0 0 18px rgba(255,153,0,0.06)}
  50%{filter:brightness(1.1); text-shadow: 0 0 20px rgba(255,204,0,0.2), 0 0 36px rgba(255,153,0,0.12)}
}

/* small responsive tweaks */
@media (max-width:460px){
  .icon{width:120px}
  h1{letter-spacing:3px}
}
