body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
  transition: background 0.3s ease, opacity 0.8s ease-in-out;
  opacity: 0;
}

body.loaded {
  opacity: 1;
}

[data-bs-theme="dark"] body {
  background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
  color: #ddd;
}

.glass-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255 255 255 / 0.75);
  backdrop-filter: saturate(180%) blur(12px);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 2.5rem 3rem;
  color: #222;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-bs-theme="dark"] .glass-card {
  background: rgba(20 20 20 / 0.75);
  color: #ddd;
}

.farewell {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  color: #444;
}

[data-bs-theme="dark"] .farewell {
  color: #bbb;
}

h1 {
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

h2 {
  font-weight: 500;
  color: #555;
  margin-bottom: 2rem;
}

[data-bs-theme="dark"] h2 {
  color: #aaa;
}

p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.glass-card p {
  text-align: justify;
  hyphens: auto;
}

em small {
  display: block;
  margin-top: 2rem;
  color: #777;
}

[data-bs-theme="dark"] em small {
  color: #999;
}

.theme-toggle-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 1050;
}

.theme-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}