/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'font/family/JP', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #151119;
  min-height: 100vh;
  color: #ffffff;
}

/* Header */
header {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  padding: 5px 0 5px 32px;
}

@media (max-width: 768px) {
  header {
    padding: 0px 10px;
  }
}

.logo-badge img {
  height: 60px;
  width: 120px;
  display: block;
}

@media (max-width: 768px) {
  .logo-badge img {
    height: 50px;
    width: 100px;
  }
}

/* Container: ベースコンテナ */
.container {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 40px 24px;
}

/* @media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
} */

/* Page Title */
.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .page-title {
    gap: 20px;
    font-size: 18px;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
  }
}

.page-title .plus {
  /* 旧テキスト版は残すが未使用 */
}

.plus-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .plus-icon {
    width: 12px;
    height: 12px;
  }
}

/* Main Card: auth/sign_inのメインカードと同じ */
.main-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.-plan .main-card {
  max-width: 1080px;
  height: 478px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.12); /* bg-white-12 */
  border: 1px solid rgba(255, 255, 255, 0.12); /* border-white-12 */
  border-radius: 12px; /* rounded-xl */
}
@media (max-width: 768px) {
  .-plan .main-card {
    height: auto;
    padding: 48px 24px;
  }
}

/* ライブページ専用のMain Card */
.main-card.-live {
  height: auto;
  background-color: transparent;
  border: none;
}

/* ライブページ専用のMain Card Content */
.main-card.-live .main-card-content {
  padding: 0; /* 横幅を最大化 */
}

/* Player */
.player-wrapper {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* modern browsers */
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;  
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 51, 85, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 51, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 85, 0);
  }
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 76px;
}

@media (max-width: 768px) {
  footer {
    height: 57px;
  }
}

.footer-content {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-content {
    font-size: 11px;
  }
}

/* Main Title: auth/sign_inのメインタイトルと同じスタイル */
.main-title {
  color: #ffffff;
  font-size: 1.625rem; /* body xlg = 26px */
  font-weight: 700; /* bold */
  line-height: 1.5;
  text-align: center;
  margin: 0 0 24px 0;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 22px;
  }
}


/* Content Stack: auth/sign_inのStackと同じ */
.content-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Main Description */
.main-desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.7); /* --color-white-70 */
  font-size: 0.875rem; /* body sm = 14px */
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

/* Form: フォーム自体は見た目に影響しない */
#fanyIdSignupForm {
  display: contents; /* フォームを透明にしてレイアウトに影響させない */
}

/* Login Button: auth/sign_inのボタンと同じ */
.login-button {
  width: 340px;
  height: auto;
  padding: 20px 10px; /* py={20}, px=10 */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #920ef8 0%, #c20ff3 100%);
  transition: all 0.2s ease;
}

.login-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  background-color: #464548;
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
  opacity: 1;
}

/* ボタン内部のコンテンツ配置: MainGradientButtonのinner設定と同じ */
.login-button .button-inner {
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: white;
}

@media (max-width: 480px) {
  .login-button {
    width: 100%;
    max-width: 340px;
  }
}
