/* トレカ基地 西条 — shared styles beyond Tailwind utilities（ダーク×ネオンのホビーショップ テイスト） */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

.font-heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

section[id] {
  scroll-margin-top: 92px;
}

/* Scroll reveal（他サイトと共通の挙動） */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

#site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #14111C;
}
::-webkit-scrollbar-thumb {
  background: #7C5CFF;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C6FF4D;
}

.spinner {
  border: 2px solid rgba(20, 17, 28, 0.3);
  border-top-color: #14111C;
  border-radius: 9999px;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

#mobile-nav {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-nav.open {
  max-height: 700px;
  opacity: 1;
}

/* ============ 円形バッジロゴ（紋章風） ============ */
.badge-logo {
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #8F6DFF, #4E2FB8 70%);
  box-shadow: 0 0 0 2px rgba(198, 255, 77, 0.5), 0 8px 20px -8px rgba(124, 92, 255, 0.6);
}

/* ============ ネオンボーダーカード ============ */
.neon-card {
  background: #1E1930;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 1.25rem;
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.7);
}
.neon-card:hover {
  border-color: rgba(198, 255, 77, 0.5);
}

/* ============ ジャンルカード（写真主体） ============ */
.genre-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 32px -18px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.genre-card:hover {
  transform: translateY(-6px);
}
.genre-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.genre-card .label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.9rem;
  color: #F1EEF9;
  font-weight: 700;
  background: linear-gradient(to top, rgba(20, 17, 28, 0.92), transparent);
}

/* ============ 買取価格リスト ============ */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.price-leader {
  flex: 1 1 auto;
  border-bottom: 2px dotted rgba(241, 238, 249, 0.15);
  margin-bottom: 0.35rem;
  min-width: 1rem;
}

/* ============ バトルデン（対戦スペース）セクション ============ */
.battleden-bg {
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 92, 255, 0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(198, 255, 77, 0.18), transparent 45%),
    #1A1526;
}

.card-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-lift:hover {
  transform: translateY(-6px);
}

/* ============ ステップ・タイムライン（沿革） ============ */
.journey-line {
  position: relative;
}
.journey-line::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 26px;
  right: 26px;
  border-top: 3px dashed rgba(124, 92, 255, 0.4);
  z-index: 0;
}
@media (max-width: 767px) {
  .journey-line::before {
    top: 0;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 0;
    border-top: none;
    border-left: 3px dashed rgba(124, 92, 255, 0.4);
  }
}
.journey-step {
  position: relative;
  z-index: 1;
}
