/* ==========================================================================
   PORTAL / ENTRANCE SPECIFIC STYLES
   ========================================================================== */

.portal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-paper);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

.portal-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: hidden;
}

.portal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  filter: brightness(0.65) contrast(1.05);
  z-index: 0;
}

.portal-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(22, 23, 27, 0.45) 0%, rgba(22, 23, 27, 0.85) 100%),
              linear-gradient(to bottom, rgba(22, 23, 27, 0.3) 0%, rgba(22, 23, 27, 0.95) 100%);
  z-index: 1;
}

.portal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  color: #ffffff;
}

.portal-kicker {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-gold-light);
  margin-bottom: 8px;
  display: block;
}

.portal-title {
  font-family: 'Great Vibes', 'Alex Brush', cursive;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 400;
  color: #FAF8F5;
  line-height: 1.15;
  margin: 6px 0 12px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.portal-subtitle {
  font-family: var(--font-serif-jp);
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

.portal-subtitle-part {
  display: inline-block;
  white-space: nowrap;
}

.portal-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--primary-gold-light);
}

/* ポータル選択セクション */
.portal-selection-section {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: -36px auto 60px;
  padding: 0 20px;
  flex: 1;
}

.portal-selection-header {
  text-align: center;
  margin-bottom: 28px;
}

.portal-selection-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.portal-selection-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.portal-choice-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.portal-choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portal-choice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-gold);
}

.portal-choice-card:hover::before {
  opacity: 1;
}

.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.portal-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-gold-light);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.portal-choice-card:hover .portal-card-icon {
  background: var(--primary-gold);
  color: #ffffff;
  transform: scale(1.08);
}

.portal-card-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.portal-card-badge.badge-gold {
  background: rgba(200, 157, 66, 0.12);
  color: var(--primary-gold-hover);
  border: 1px solid rgba(200, 157, 66, 0.3);
}

.portal-card-badge.badge-silver {
  background: rgba(110, 115, 128, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(110, 115, 128, 0.2);
}

.portal-card-title {
  font-family: var(--font-serif-jp);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.portal-card-en {
  font-family: var(--font-serif-en);
  font-size: 0.95rem;
  color: var(--primary-gold-hover);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.portal-card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.portal-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.portal-card-action-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-gold-hover);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-choice-card:hover .portal-card-action-text {
  text-decoration: underline;
}

.portal-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.portal-choice-card:hover .portal-card-arrow {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #ffffff;
  transform: translateX(4px);
}
