/* === General Layout === */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #eee;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 20px;
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.6;
}

h2 {
  font-family: 'Creepster', serif;
  color: #e74c3c;
  text-shadow: 1px 1px 2px #000;
  font-weight: 700;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  border-bottom: 1px solid #333;
  padding-bottom: 0.7rem;
  margin-top: 2rem;
  text-align: center;
}

h5 {
  margin: -8px 0px 15px 0;
  color: #bd6e65;
  font-style: italic;
  font-family: serif;
  letter-spacing: 1px;
  text-align: center;
}

a {
  color: #762020;
  font-weight: 600;
}

p {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* === Movie Title Display === */
.movie-title {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: bold;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #f1f1f1;
  box-shadow: 0 0 6px 1px rgba(231, 76, 60, 0.7);
  font-family: Georgia, serif;
  text-align: center;
  margin: 1rem 0;
}

/* === Form Container === */
.form-section {
  background: #1f1f1f;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 24px 30px 20px 30px;
  margin: 3rem auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* === Buttons === */
button {
  display: block;
  margin: 0.75rem auto;
  padding: 14px;
  font-size: clamp(1rem, 2.5vw, 1.0rem);
  font-family: Georgia, serif;
  background-color: #e74c3c;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  width: 100%;
  max-width: 420px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background-color: #c0392b;
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

/* === Optional Selection Styling === */
::selection {
  background: #e74c3c;
  color: #fff;
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
  body {
    padding: 0 14px;
  }

  button {
    font-size: 1rem;
  }
}

.vote-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.vote-btn {
  font-size: clamp(1rem, 2.5vw, 1.0rem);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background-color: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
  width: auto;
  max-width: 300px;
  white-space: nowrap;
  width: auto !important;
}



.vote-btn:hover {
  background-color: #c0392b;
}

.not-seen-btn {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background-color: #444;
  color: #eee;
  border: 1px solid #666;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  width: auto;
  max-width: 300px;
}

.vote-section {
  text-align: center;
  margin-top: 30px;
}

.vote-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.vs-text {
  font-size: 1.2em;
  padding: 0 10px;
  font-weight: bold;
}

.movie-links p {
  margin: 5px 0;
}

.not-seen-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.movie-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.movie-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 280px;
  gap: 12px;
}

.movie-link {
  margin: 0;
}

.not-seen-both {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.message {
  position: absolute;
  padding-top: 15px;
  left: 58px;
}

#back-link {
  color: #e74c3c;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.5rem;
  display: inline-block;
}

#back-link:hover {
  text-decoration: underline;
}
