﻿/* ============================================================
   shared.css — 全站共用樣式
   ============================================================ */

/* ── Base ── */
body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Noto Sans TC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
}

/* ── Card blocks ── */
.general-block {
  background: rgba(18, 18, 18, 0.78);
  color: #f0f0f0;
  border-radius: 1rem;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.75rem 1.25rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.general-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

/* ── Section headers ── */
.general-block .h4,
.general-block .h5,
.general-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid rgba(126, 200, 227, 0.5);
  color: #7ec8e3;
}
.general-block h2 p {
  color: #7ec8e3;
  margin-bottom: 0;
}

/* ── Lists inside cards ── */
.general-block ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.general-block ul li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
  font-size: 0.93rem;
}
.general-block p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(240,240,240,0.9);
}

/* ── Profile block ── */
.profile-block {
  background: rgba(30,30,30,0);
  color: #fff;
  border-radius: 1.5rem;
  box-shadow: none;
  margin-bottom: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
  backdrop-filter: blur(0px);
}
.profile-block * {
  font-weight: bold !important;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.85), 0 0 4px rgba(0,0,0,0.6);
}
.profile-block .h1 {
  font-size: 2rem;
}

/* ── Button ── */
.btn-outline-light {
  border-radius: 2rem;
  font-size: 0.9rem;
  padding: 0.5rem 1.75rem;
  transition: all 0.25s;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.18) !important;
  transform: translateY(-1px);
}

/* ── Shared button inline style helper ── */
.btn-card {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ── Footer ── */
.site-footer {
  opacity: 0.7;
}
