/* =========================================================
   === Page 5 Stylesheet (One-Liner Wall)
   === Scoped to #page5
   ========================================================= */

/* --- Container itself --- */
#page5 .one-liner-container {
  max-width: 650px;   /* keeps the whole module narrow */
  margin: 2em auto;   /* centers it on the page */
  position: relative; /* anchors the ::after club stamp */
}

/* --- Optional Club Stamp --- */
#page5 .one-liner-container::after {
  content: "";
  background: url("../images/dubbchatt.png") no-repeat center;
  background-size: contain;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 1em;
  right: 2.5em;
  pointer-events: none;
}

#page5 .board-window {
  position: relative;
  width: 600px;
  aspect-ratio: 2 / 3;          /* matches 1024x1536 background */
  margin: 0 auto;
  border: 2px solid #7526df;    /* neon purple border */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(117,38,223,0.6);
  color: #fff;
  padding: 0;
  overflow: hidden;
  padding-top: 18em;  

  /* KEEP the background image */
  background: url('../images/chatt-board-bg.png') top center no-repeat;
  background-size: cover;
}

/* Make each post transparent (no box fill) */
#page5 #postList li {
  background: transparent;
  border: none;
  padding: 0.25em 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

#page5 .board-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* dark overlay for readability */
  pointer-events: none;
  z-index: 0;
}

/* Neon cyan timestamps */
#page5 .post-time {
  color: #00ffff;
  font-weight: bold;
  margin-right: 0.5em;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff;
}

/* Messages */
#page5 .post-message {
  color: #fff;
  text-shadow: 0 0 6px #7526df;
}

/* --- Form Styling --- */
#page5 #postForm {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1.5em;
}

#page5 #postForm input[type="text"] {
  flex: 1;
  padding: 0.6em;
  border: 2px solid #7526df;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#page5 #postForm input[type="text"]:focus {
  border-color: #ff00cc;
  box-shadow: 0 0 8px #ff00cc;
}

#page5 #postForm button {
  padding: 0.6em 1.2em;
  background: linear-gradient(90deg, #7526df, #ff00cc);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#page5 #postForm button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #ff00cc;
}

/* --- Post List --- */
#page5 #postList {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1; /* ensures text sits above overlay */
}

#page5 #postList li {
  margin-bottom: 0.5em;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* =========================================================
   === Vehicle Cards (Air/Water Cooled)
   ========================================================= */

#page5 .vehicle-card {
  max-width: 480px; /* wider card to match image aspect */
  margin: 2em auto;
  border: 2px solid #7526df;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 16px rgba(117,38,223,0.6);
  position: relative;
}

/* Make image taller and more dominant */
#page5 .vehicle-card img {
  width: 100%;
  height: 240px; /* increased height for widescreen impact */
  object-fit: cover;
  display: block;
  border-radius: 6px 6px 0 0;
}

/* Pull text closer to image */
#page5 .vehicle-card .card-body {
  padding: 0.6em 1em 1em;
  margin-top: -1em; /* visually pulls text up toward image */
  position: relative;
  z-index: 1;
}

#page5 .vehicle-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.3em 0.6em;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
}

#page5 .vehicle-card .badge.air {
  background: crimson;
  color: #fff;
  text-shadow: 0 0 6px crimson, 0 0 12px crimson;
}
#page5 .vehicle-card .badge.water {
  background: dodgerblue;
  color: #fff;
  text-shadow: 0 0 6px dodgerblue, 0 0 12px dodgerblue;
}

#page5 .vehicle-card .owner-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff00cc;
  margin: 0.25em 0;
  text-shadow: 0 0 6px #7526df, 0 0 12px #ff00cc;
  position: relative;
}

#page5 .vehicle-card .owner-name::after {
  content: "";
  display: block;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, #ff00cc, #7526df);
  margin-top: 0.2em;
  border-radius: 2px;
}

#page5 .vehicle-card .details {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.4;
}
