/* Shared button styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: none;
  text-align: center;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn:focus,
.btn:focus-visible {
  outline: none;
}

.btn:focus-visible {
  box-shadow: none;
}

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

.btn-cream,
.btn-accent {
  background: rgba(255, 255, 255, 0.08);
  color: #e5edff;
  border: none;
  box-shadow: none;
  line-height: 1.05;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-glass {
  background: rgba(8, 12, 28, 0.45);
  color: #c7d2fe;
  border: none;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover,
.btn-glass:focus-visible {
  background: rgba(15, 20, 45, 0.55);
  color: #e0e7ff;
}

.btn-glass--cta {
  background: rgba(5, 7, 16, 0.8);
  color: #e5edff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--cta {
  min-width: 260px;
  height: 56px;
  padding: 0 26px;
  border-radius: 9999px;
  font-size: clamp(14px, 1.6vw, 18px);
}

.theme-toggle {
  min-width: 110px;
}

body:not(.light-ui) .dfw-theme-toggle {
  background: #0b1220;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body:not(.light-ui) .dfw-theme-toggle:hover,
body:not(.light-ui) .dfw-theme-toggle:focus-visible {
  background: #111a2d;
  color: #f8fafc;
}

body.light-ui .dfw-theme-toggle {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.light-ui .dfw-theme-toggle:hover,
body.light-ui .dfw-theme-toggle:focus-visible {
  background: #e2e8f0;
  color: #0f172a;
}

body.light-ui .btn-glass {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

body.light-ui .btn-glass:hover,
body.light-ui .btn-glass:focus-visible {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

body.light-ui .btn-cream,
body.light-ui .btn-accent {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}
