body {
  margin: 0;
  padding: 16px;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", "Open Sans", sans-serif;
  color: #444444;
  background: #f7f3f1;
}

a {
  color: #f79221;
  text-decoration: none;
  font-weight: 600;
}

p { text-align: center; }

/* Flyer image – whole image always visible, as big as the screen allows */
.viewer {
  display: flex;
  justify-content: center;
  max-width: 100%;
  flex-shrink: 0;
}
.viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1600px);
  max-height: calc(100vh - 150px);  /* 150px = links + countdown + padding */
  max-height: calc(100dvh - 150px);
  border-radius: 14px;
  border: 2px solid #7f6a65;
  box-shadow: 0 16px 40px rgba(63, 41, 36, .18);
  transition: box-shadow .3s;
}
.viewer:hover img { box-shadow: 0 20px 50px rgba(63, 41, 36, .28); }

/* Links under the PDF */
.links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 12px 0;
}
.links a:hover { color: #303030; }

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.countdown div {
  min-width: 120px;
  padding: 6px 20px;
  text-align: center;
  border-radius: 10px;
  background: #5e3f36;
  color: #fff;
}
.countdown b {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}
.countdown small {
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f79221;
}

/* Phones */
@media (max-width: 600px) {
  .viewer img { max-height: none; }
}
