/* haruka specific styles */
.haruka-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Title */
.haruka-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* Main Visual */
.haruka-visual {
  width: 100%;
  margin-bottom: 4rem;
  overflow: hidden;
}

.haruka-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Introduction */
.haruka-intro {
  margin-bottom: 4rem;
}

.haruka-intro p {
  font-size: 1.1rem;
  line-height: 2;
  color: #ffffff;
  text-align: left;
}

/* Section */
.haruka-section {
  margin-bottom: 3rem;
}

.haruka-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  text-align: left;
}

.haruka-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #e0e0e0;
  text-align: left;
}

.haruka-section ul {
  list-style: none;
  padding-left: 0;
}

.haruka-section li {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #e0e0e0;
  margin-bottom: 0.8rem;
  padding-left: 1.5em;
  position: relative;
  text-align: left;
}

.haruka-section li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #ffffff;
}

.haruka-section a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.haruka-section a:hover {
  color: #999999;
}

/* カード状のレイアウト */
.haruka-info-cards {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  flex: 1;
  padding: 2rem;
  background-color: #252525;
  border: 1px solid #333333;
}

.info-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-align: left;
}

.info-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #e0e0e0;
  text-align: left;
}

/* Play modes section */
.play-modes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.play-mode-item {
  background-color: #252525;
  border: 1px solid #333333;
  padding: 1.5rem;
  text-align: left;
}

.play-mode-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.play-mode-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #cccccc;
}

/* Media reveal toggle */
.media-reveal-wrapper {
  margin-top: 1rem;
}

.media-reveal-button {
  background: none;
  border: 1px dashed #666666;
  color: #cccccc;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.media-reveal-button:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.media-reveal-content {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background-color: #1a1a1a;
  border-left: 3px solid #888888;
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.8;
}

.media-reveal-content.hidden {
  display: none;
}

/* live toggle */
.live-wrapper {
  margin-top: 1rem;
}

.live-button {
  background: none;
  border: 1px dashed #666666;
  color: #cccccc;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.live-button:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.live-content {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background-color: #1a1a1a;
  border-left: 3px solid #888888;
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.8;
}

.live-content.hidden {
  display: none;
}

/* Start Button Section with Modes */
.haruka-start {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.haruka-start-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.haruka-start-subtext {
  font-size: 0.95rem;
  color: #aaaaaa;
  margin-bottom: 2rem;
}

.mode-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 560px;
  margin: 0 auto;
}

.start-mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2rem;
  background-color: #ffffff;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
}

.start-mode-btn .btn-sub {
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.3rem;
  color: #555555;
  transition: color 0.3s ease;
}

.start-mode-btn:hover:not(.disabled) {
  background-color: #1a1a1a;
  color: #ffffff;
}

.start-mode-btn:hover:not(.disabled) .btn-sub {
  color: #cccccc;
}

/* Disabled button */
.start-mode-btn.disabled {
  background-color: #333333;
  border-color: #444444;
  color: #777777;
  cursor: not-allowed;
  pointer-events: none;
}

.start-mode-btn.disabled .btn-sub {
  color: #666666;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
}

.modal-content {
  background-color: #222222;
  border: 1px solid #444444;
  padding: 2.5rem;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: left;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #888888;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  border: 2px solid transparent;
}

.modal-btn-sub {
  background-color: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

.modal-btn-sub:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

.modal-btn-primary {
  background-color: transparent;
  color: #ffffff;
  border-color: #666666;
}

.modal-btn-primary:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .haruka-container {
    padding: 2rem 1.5rem;
  }

  .haruka-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .haruka-intro p {
    font-size: 1rem;
  }

  .haruka-section h2 {
    font-size: 1.5rem;
  }

  .haruka-section p,
  .haruka-section li {
    font-size: 0.95rem;
  }

  .haruka-start {
    margin-top: 4rem;
  }

  .haruka-info-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-card h2 {
    font-size: 1.2rem;
  }

  .start-mode-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .modal-btn {
    width: 100%;
    text-align: center;
  }
}
