:root {
  --navy: #1c2a3a;
  --navy-dark: #142030;
  --gold: #c9a24b;
  --cream: #faf7f0;
  --text: #2c2c2c;
  --muted: #6b6b6b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  background: var(--cream);
  color: var(--text);
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #f1ede3;
  padding: 40px 24px;
}

.sidebar .brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--gold);
}

.sidebar .brand-sub {
  font-size: 0.8rem;
  color: #cbd2dc;
  margin-bottom: 36px;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav li + li {
  margin-top: 6px;
}

.sidebar nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #e7e4da;
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sidebar nav a:hover {
  background: rgba(201, 162, 75, 0.12);
}

.sidebar nav a.active {
  background: rgba(201, 162, 75, 0.18);
  border-left-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.content {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.content .prayer-image {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 12px 32px rgba(28, 42, 58, 0.18);
  margin-bottom: 32px;
}

.content h1 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.content p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 14px;
}

.verse {
  margin-top: 26px;
  padding: 18px 22px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-style: italic;
  color: var(--muted);
}

.page-card {
  background: #fff;
  border-radius: 14px;
  padding: 48px 56px;
  box-shadow: 0 12px 32px rgba(28, 42, 58, 0.1);
}

.page-card h1 {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 500;
}

.page-card .value {
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 700;
  margin: 0;
}

@media (max-width: 640px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: auto;
  }
  .page-card {
    padding: 32px 24px;
  }
}
