/* === Global Styles === */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1e1e1e; /* Dark background */
  color: #e8e8e8;
  text-align: center;
  min-height: 100vh;
}

main {
  padding: 2rem;
  background-color: #1e1e1e;
}

footer {
  background-color: #2a2a2a;
  padding: 1rem;
  color: #b0b0b0;
  width: 100%;
  text-align: center;
}

/* === Header & Navigation === */
header {
  background-color: #2a2a2a;
  padding: 1.5rem;
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 1rem;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  height: 80px;
}

.logo + h1 {
  margin: 0;
  font-size: 2rem;
  color: #00ff88;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

nav a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  color: #00ff88;
  text-shadow: 0 0 6px #00ff88;
}

/* === Small Video Player (1/4 Size) === */
.video-container.video-sm {
  position: relative;
  padding-bottom: 225px; 
  height: 0;
  max-width: 400px;
  margin: 1.5rem auto;
  background-color: #000;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #00ff88; /* Signature neon green */
  font-family: 'Courier New', monospace; /* Tech/Terminal font */
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 5px #00ff88;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-item.active-video {
  color: #00ff88;
  font-weight: bold;
  border-bottom: 1px solid #00ff88;
}
/* === Archive List Section === */
.signal-archive {
  max-width: 600px;
  margin: 1.5rem auto;
}

.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-list li {
  margin-bottom: 12px;
}

/* Style the links as plain text */
.video-item {
  text-decoration: none; 
  color: #888;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.video-item:hover {
  color: #e8e8e8; /* Lighten on hover */
}

.video-item.active-video {
  color: #00ff88;
  font-weight: bold;
  border-bottom: 1px solid #00ff88;
  padding-bottom: 2px;
}

.video-links {
  margin-top: 2rem;
}

.video-links a {
  color: #00ff88;
  text-decoration: none;
  font-size: 0.9rem;
}

/* === Contact Form / Interface Page === */
.contact {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.contact h2 {
  color: #00ff88;
  margin-bottom: 1.5rem;
}

.contact label {
  display: block;
  margin-bottom: 0.5rem;
  color: #c0c0c0;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #1e1e1e;
  color: #e8e8e8;
}

.contact input:focus,
.contact textarea:focus {
  outline: 2px solid #00ff88;
}

.contact button {
  width: 100%;
  padding: 0.9rem;
  background-color: #00ff88;
  border: none;
  border-radius: 8px;
  color: #1e1e1e;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ff88;
  transition: all 0.3s ease;
}

.contact button:hover {
  background-color: #00cc66;
  box-shadow: 0 0 25px #00ff88;
}

/* Success / Error messages */
.form-message {
  margin-top: 10px;
  font-weight: bold;
  font-size: 0.95rem;
}

.form-message.success {
  color: #00ff88;      /* green for success */
}

.form-message.error {
  color: #ff5555;      /* red for error */
}

/* === Mobile Optimization === */
@media only screen and (max-width: 768px) {
  .logo { height: 60px; }
  nav ul { flex-direction: column; gap: 1rem; }
  .video-container.video-sm { 
    max-width: 90%; 
    padding-bottom: 50.625%; /* Maintains 16:9 on mobile */
  } 
}