:root {
  --bg-navy: #0f1a2b;
  --text-main: #f4ecd8;
  --text-cream: #f4ecd8;
  --gold: #c9a45c;
  --gold-soft: #e6d3a3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  background: radial-gradient(circle at top, #16233a, var(--bg-navy));
  color: var(--text-main);
  min-height: 100vh;
}

.support-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.support-header {
  text-align: center;
  margin-bottom: 48px;
}

.thanks {
  font-size: 0.9rem;
  opacity: 0.85;
}

.support-message,
.support-about {
  text-align: center;
  margin-bottom: 44px;
}

.support-message p,
.support-about p {
  line-height: 1.9;
  margin-bottom: 46px;
}

.support-about {
  font-size: 0.95rem;
  opacity: 0.95;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 64px;
}

/* =========================
   共通ボタン
========================= */

.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: rgba(201, 164, 92, 0.15);
}

.btn.subtle {
  border-color: transparent;
  opacity: 0.7;
}

/* 感想ボタン（見た目だけ統一） */
.support-btn {
  appearance: none;
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.support-btn:hover {
  background: rgba(201, 164, 92, 0.15);
}

/* Instagram 未実装 */
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* =========================
   フッター
========================= */

.footer-links {
  margin-top: 16px;
  text-align: center;
}

.footer-links a,
.footer-links a:visited {
  font-size: 12px;
  color: rgba(244, 236, 216, 0.6);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(244, 236, 216, 0.9);
  text-decoration: underline;
}

.footer-credit {
  margin-top: 18px;
  font-size: 11px;
  text-align: center;
  opacity: 0.45;
  letter-spacing: 0.1em;
  user-select: none;
}

/* =========================
   感想モーダル（ふわっと表示）
========================= */

.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 32, 0.75);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: auto;
}

.modal.hidden {
  display: none;
  pointer-events: none;
}

/* ★ ここが追加ポイント */
.modal-content {
  background: radial-gradient(circle at top, #16233a, #0f1a2b);
  border: 1px solid rgba(201, 164, 92, 0.8);
  border-radius: 20px;
  padding: 28px 24px 24px;
  width: 92%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-cream);
  box-shadow:
    0 0 24px rgba(201, 164, 92, 0.15),
    inset 0 0 12px rgba(255, 255, 255, 0.03);

  /* ふわっと用 */
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* 表示時だけアクティブ */
.modal:not(.hidden) .modal-content {
  opacity: 1;
  transform: translateY(0);
}

.modal-content h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.modal-content textarea {
  width: 100%;
  min-height: 150px;
  background: rgba(5, 10, 20, 0.8);
  color: var(--text-cream);
  border: 1px solid rgba(201, 164, 92, 0.6);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.modal-content textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.4);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.modal-actions button {
  flex: 1;
  padding: 12px 0;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(201, 164, 92, 0.8);
  color: var(--text-cream);
  font-size: 14px;
  cursor: pointer;
}

.modal-actions button:hover {
  background: rgba(201, 164, 92, 0.12);
  box-shadow: 0 0 12px rgba(201, 164, 92, 0.3);
}

.modal-close {
  margin-top: 18px;
  width: 100%;
  background: none;
  border: none;
  color: rgba(244, 236, 216, 0.6);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-cream);
}
