/* 1. 高級フォント「Cinzel」を読み込み */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* 全体のリセットとベース設定 */
body {
  margin: 0; padding: 0;
  background-color: #0a0a0a; /* より深い黒 */
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}

/* --- ゴールドタイトルの共通設定 --- */
.gold-text {
  font-family: 'Cinzel', serif; /* 高級セリフ体 */
  text-transform: uppercase; /* 全て大文字 */
  
  /* 金属光沢グラデーション */
  background: linear-gradient(
    180deg,
    #fff9e6 0%,    /* 上部：ハイライト（ほぼ白） */
    #ffd700 40%,   /* 中部：純金 */
    #b8860b 100%   /* 下部：影（ダークゴールド） */
  );
  
  /* テキストの形に背景を切り抜く */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* 輝きのドロップシャドウ */
  filter: drop-shadow(0 2px 0px rgba(0,0,0,0.5)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

/* ヘッダー */
header {
  background: rgba(0,0,0,0.9); padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  /* ゴールドクラスを適用するために継承 */
  font-family: 'Cinzel', serif;
  background: linear-gradient(180deg, #fff9e6 0%, #ffd700 40%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0px rgba(0,0,0,0.5));
}

nav a {
  color: #888; text-decoration: none; margin-left: 15px; 
  font-size: 0.8rem; letter-spacing: 1px; transition: 0.3s;
  font-family: 'Cinzel', serif; /* メニューも合わせる */
}
nav a:hover, nav a.active { color: #ffd700; }

/* メインエリア */
main {
  flex: 1; padding: 20px; max-width: 600px; width: 100%;
  margin: 0 auto; box-sizing: border-box; text-align: center;
}

/* ヒーローセクション等のタイトル(h2)にも適用 */
h2 {
  /* .gold-text と同じスタイルを適用 */
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff9e6 10%, #ffd700 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8));
  letter-spacing: 3px;
}

/* ボタン */
.btn-primary {
  display: inline-block; width: 100%; max-width: 300px; padding: 15px 0;
  background: linear-gradient(135deg, #ff0080 0%, #ff8c00 100%);
  color: white; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: bold;
  cursor: pointer; text-decoration: none; box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
  transition: transform 0.1s;
  font-family: "Helvetica Neue", Arial, sans-serif; /* ボタンは読みやすさ重視 */
}
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: #333; color: #ccc; border: 1px solid #555;
  padding: 8px 20px; border-radius: 5px; text-decoration: none; font-size: 0.8rem;
  display: inline-block; margin: 0;
}

/* フッター */
footer {
  text-align: center; padding: 20px; font-size: 0.7rem; color: #444; border-top: 1px solid #222;
  font-family: 'Cinzel', serif; letter-spacing: 1px;
}
footer a { color: #666; text-decoration: none; }

/* --- 演出アニメーション --- */
.pulse-text { animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

.shake-hard { animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.flash-gold {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: white;
  animation: flashGold 0.8s ease-out forwards;
}
@keyframes flashGold {
  0% { background: white; opacity: 1; }
  30% { background: #ffd700; opacity: 0.8; }
  100% { background: transparent; opacity: 0; }
}

.card-pop { animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hidden { display: none !important; }