/* =========================================================
   Daily Hymns — Luminous / Glory Theme (FULL REWRITE)
   + Refined typography (Inter + Fraunces)
   - 밝은 아이보리 배경 + 소프트 블루 + 은은한 골드 포인트
   - 기존 HTML 클래스 유지 (index/about/releases/playlist/contact 공통)
   ========================================================= */

/* ===== Design Tokens ===== */
:root{
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f5ff;

  --text: #0f172a;
  --muted: #475569;

  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);

  --blue: #3b82f6;
  --blue-2: #60a5fa;

  --gold: #d9a441;
  --gold-2: #f0c870;

  --radius-lg: 22px;
  --radius-md: 16px;
  --pill: 999px;

  --focus: 0 0 0 4px rgba(59, 130, 246, 0.22);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, serif;
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body{
  background:
    radial-gradient(900px 500px at 50% -200px, rgba(96,165,250,0.20), transparent 60%),
    radial-gradient(700px 420px at 15% 0%, rgba(240,200,112,0.18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

/* ===== Layout ===== */
.page-wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 16px 72px;
}

/* ===== Hero / Header ===== */
.site-header{
  position: relative;
  height: 360px;
  overflow: hidden;
  color: #fff;
}

.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../assets/images/snow_forest.jpg") center/cover no-repeat;
  /* 더 밝고 ‘환희’ 톤: 어둡게 누르지 않고, 따뜻한 빛만 살림 */
  filter: brightness(0.92) saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.site-header::after{
  /* 빛나는 “글로리” 오버레이 */
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 50% 18%, rgba(240,200,112,0.38), transparent 55%),
    radial-gradient(900px 520px at 50% 0%, rgba(96,165,250,0.26), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.35), rgba(2,6,23,0.55));
}

.header-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* top bar */
.header-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
}

.brand-mark{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* nav */
.main-nav{
  display:flex;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a{
  position: relative;
  padding: 7px 12px;
  border-radius: var(--pill);
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.96;
  font-weight: 500;
}

.main-nav a:hover{
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.26);
  border-color: rgba(255,255,255,0.34);
}

.main-nav a.active{
  background: rgba(255,255,255,0.16);
  border-color: rgba(240,200,112,0.70);
}

/* hero title */
.header-main{
  text-align: center;
  margin-bottom: 22px;
}

.header-main h1{
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 44px rgba(2,6,23,0.55);
}

.header-main p{
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
  text-shadow: 0 10px 28px rgba(2,6,23,0.45);
  font-weight: 400;
}

/* ===== Sections ===== */
.section{ margin-top: 42px; }

.section-label{
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(71,85,105,0.85);
  margin-bottom: 6px;
  font-weight: 600;
}

.section-title{
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.section-subtitle{
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 400;
}

/* text blocks */
.lead{
  font-size: 16px;
  color: rgba(15,23,42,0.80);
  font-weight: 400;
}

/* ===== Buttons ===== */
.btn-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  font-weight: 600;
}

.btn-primary{
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: #fff;
  box-shadow: 0 12px 26px rgba(217,164,65,0.22);
}

.btn-primary:hover{ transform: translateY(-1px); }

.btn-ghost{
  background: rgba(255,255,255,0.74);
  border-color: rgba(15,23,42,0.14);
  color: rgba(15,23,42,0.88);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
  border-color: rgba(15,23,42,0.20);
}

/* ===== Cards ===== */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card{
  background:
    radial-gradient(600px 220px at 50% -80px, rgba(96,165,250,0.18), transparent 60%),
    radial-gradient(420px 160px at 85% -60px, rgba(240,200,112,0.18), transparent 60%),
    var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 10px;
  border: 1px solid rgba(15,23,42,0.08);
}

.card-title{
  font-family: var(--font-sans);
  font-weight: 500;   /* lighter, refined */
  font-size: 15px;
  line-height: 1.35;
  margin: 6px 0 6px;
  color: rgba(15,23,42,0.86);
}

.card-meta{
  font-size: 12px;
  color: rgba(71,85,105,0.78);
  margin-bottom: 10px;
  font-weight: 400;
}

/* If you later add descriptions */
.card p,
.card .card-desc{
  font-size: 13px;
  color: rgba(71,85,105,0.85);
  margin: 0 0 14px;
  font-weight: 400;
}

/* ===== Badges / Chips ===== */
.chip-row{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip{
  border-radius: var(--pill);
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid rgba(59,130,246,0.18);
  color: rgba(15,23,42,0.80);
  background: rgba(96,165,250,0.14);
  font-weight: 500;
}

/* ===== Embeds ===== */
.embed-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.embed-box{
  background:
    radial-gradient(520px 200px at 50% -80px, rgba(240,200,112,0.14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow);
}

.embed-box h3{
  margin: 4px 0 6px;
  font-size: 15px;
  color: rgba(15,23,42,0.90);
  font-weight: 600;
}

.embed-box iframe{
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 26px;
}

.contact-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card h3{
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer{
  border-top: 1px solid rgba(15,23,42,0.10);
  padding-top: 18px;
  margin-top: 52px;
  font-size: 12px;
  color: rgba(71,85,105,0.82);
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.site-footer a{
  color: rgba(59,130,246,0.95);
  text-decoration: none;
}

.site-footer a:hover{ text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .card-grid,
  .embed-grid,
  .contact-grid{ grid-template-columns: 1fr; }

  .site-header{ height: 340px; }
}

@media (max-width: 720px){
  .header-inner{ padding: 20px 16px; }
  .header-main h1{ font-size: 36px; }
  .main-nav{ gap: 10px; }
  .main-nav a{ padding: 6px 10px; font-size: 12px; }
}
