/* =======================================================
   register_email.css
   - login_userpage.css と同じ世界観
   - 背景particles（常時）
======================================================= */

* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "ヒラギノ明朝 ProN W6", "游明朝", "MS 明朝", serif;
  color: #fff;
  overflow: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0.80) 0%,
      rgba(0,0,0,0.87) 55%,
      rgba(0,0,0,0.95) 100%
    );
  z-index: 0;
  pointer-events: none;
}

#particles-js{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.container{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 430px;
  width: min(92%, 430px);
  padding: 0 10px;
}

.container img.icon{
  width: 120px;
  height: auto;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.60));
}

.page-label{
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: #d8c27a;
  margin-bottom: 0.6rem;
}

.catchphrase{
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.subtext{
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.3rem;
}

form{
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.40);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

input[type="email"]{
  width: 92%;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.85);
  font-size: 1rem;
  text-align: center;
}

input[type="email"]:focus{
  outline: none;
  background: #fff;
}

input[type="submit"]{
  width: 100%;
  padding: 0.8rem;
  background-color: #BF4E4E;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.08s ease;
}

input[type="submit"]:hover{
  background-color: #ffd74a;
}

input[type="submit"]:active{
  transform: translateY(1px);
}

.error{
  width: 100%;
  margin: 0;
  color: #ff7d7d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.info{
  width: 100%;
  margin: 0;
  color: #8fe3c4;
  font-size: 0.92rem;
  line-height: 1.7;
}

.bottom-links{
  margin-top: 1rem;
  text-align: center;
}

.bottom-links a{
  color: #f3d37a;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(243, 211, 122, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bottom-links a:hover{
  color: #ffe8a3;
  border-bottom-color: rgba(255, 232, 163, 0.75);
}

.hp-wrap{
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 420px){
  .container img.icon{ width: 104px; }
  .catchphrase{ font-size: 1.18rem; }
  .subtext{ font-size: 0.9rem; }
  form{ padding: 1.2rem; }
}