:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --card: rgba(90, 90, 90, 0.92);
  --border: rgba(255, 255, 255, 0.18);
}

/* ===== Base page ===== */
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Background image (primary) + subtle overlay (for readability) */
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10)
    ),
    url("/assets/western-bg.png") center bottom / cover no-repeat;

  position: relative;
  overflow: hidden;
}

/* Remove/disable any previous CSS landscape layers */
body::before,
body::after {
  content: none !important;
}

/* Optional: keep a very subtle dust haze overlay.
   If you don’t want any haze, you can delete this class and remove
   <div class="dust-haze"></div> from index.html. */
.dust-haze {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    /* thin horizon haze */
    linear-gradient(
      to bottom,
      transparent 48%,
      rgba(255, 225, 175, 0.10) 60%,
      transparent 72%
    ),
    /* light dust puffs */
    radial-gradient(circle at 22% 62%, rgba(255, 235, 200, 0.07) 0%, transparent 54%),
    radial-gradient(circle at 55% 58%, rgba(255, 235, 200, 0.06) 0%, transparent 56%),
    radial-gradient(circle at 82% 64%, rgba(255, 235, 200, 0.06) 0%, transparent 58%);

  animation: dustFloat 10s ease-in-out infinite;
}

@keyframes dustFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.95; }
  50%      { transform: translate3d(-10px, -6px, 0); opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .dust-haze { animation: none; }
}

/* ===== Card container ===== */
.card {
  width: min(640px, 92vw);
  text-align: center;
  background: var(--card);
  color: var(--text);
  padding: 46px 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);

  position: relative;
  z-index: 2; /* above haze */
}

/* Intro line */
.intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Image in the card */
.image-container {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}

/* 50% larger than the original 120px */
.image-container img {
  width: 180px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Title */
h1 {
  font-size: 34px;
  margin: 0 0 14px;
  font-weight: 700;
}

/* ===== Readability improvements (no “wall of text”) ===== */
.meta {
  margin: 18px auto 10px;
  max-width: 56ch;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.meta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 8px 0;
}

.meta-row + .meta-row {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.meta-label {
  font-size: 12px;
  color: var(--muted);
}

.meta-value {
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
}

/* Message */
.message {
  font-size: 14px;
  color: var(--muted);
  margin: 16px auto 12px;
  line-height: 1.5;
  max-width: 56ch;
}

/* Footer line styling */
.footer {
  font-size: 13px;
  color: var(--muted);
  margin: 0 auto 16px;
  line-height: 1.45;
  max-width: 60ch;
}

/* Contact link */
.contact {
  font-size: 14px;
  display: inline-block;
  margin-top: 6px;
  color: #ffffff;
  text-decoration: underline;
}

/* Mobile polish */
@media (max-width: 520px) {
  .card { padding: 40px 22px; }
  h1 { font-size: 28px; }
  .image-container img { width: 160px; }
}
