/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #000;
  color: #ccc;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem 1rem;
  background: url('photo.jpg') center center / cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

/* Modal styles (shared for poll and important message) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #222;
  color: #ccc;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  max-width: 420px;
  width: 90vw;
  position: relative;
  text-align: left;
}

/* Important message popup accent styles */
#importantModal h2 {
  color: #ff8888;
  margin-bottom: 1rem;
}
#importantModal p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #c00;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #900;
}

section.mission h2 { 
  text-align: center; 
  color: #ff8888; 
  margin-bottom: 1rem; 
}

section.mission strong { color: #ff4444; }

.wall-link {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #ff8888;
  text-decoration: none;
  background-color: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, transform 0.2s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation-name: fadeInRise;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 1.5s;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.wall-link:hover {
  background-color: rgba(255,255,255,0.3);
  color: #fff;
  box-shadow: 0 0 10px rgba(255,136,136,0.3);
  transform: scale(1.02);
}

@keyframes fadeInRise {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  background-color: #000;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: #ff8888;
  cursor: pointer;
  z-index: 10;
}

.strawpoll-embed {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.strawpoll-embed iframe {
  flex: 1;
  width: 100%;
  border: 0;
}