body {
  margin: 0;
  padding: 0;
}

#map-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #f0f0f0;
}

#world-map {
  width: 100%;
  height: auto;
  background: #f0f0f0;
  display: block;
}

#svg-placeholder {
  margin-top: 1vh;
  width: 100%;
  height: 100%;
  display: block;
}

#svg-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  /* Preserves aspect ratio; use 'cover' to crop to fill */
}

/* Base for all paths */
path[id] {
  /* cursor: pointer; */
  transition: fill 1s ease, stroke 1s ease, filter 1s ease;
  fill: hsl(0, 0%, 60%);
  /* Default neutral for non-video countries */
  stroke: hsl(0, 0%, 40%);
}

path[id]:hover {
  fill: hsl(0, 0%, 80%);
  /* Subtle gray hover for non-video */
  stroke: hsl(0, 0%, 60%);
  stroke-width: 1.5;
}

/* Green for countries with videos */
path.has-video {
  fill: hsl(202, 100%, 40%) !important;
  /* Green default */
  stroke: hsl(202, 100%, 30%);
  stroke-width: 1.5;
}

path.has-video:hover {
  fill: #33b4ff !important;
  /* Green default */
  stroke: #33b4ff;
  stroke-width: 1.5;
}

/* Existing: Highlighted yellow (overrides green) */
path.highlighted {
  fill: #33b4ff !important;
  /* Yellow on click */
  stroke: #33b4ff;
  stroke-width: 3;
  filter: drop-shadow(0 0 5px rgba(255, 235, 59, 0.5));
}

path.highlighted:hover {
  fill: #33b4ff !important;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.modal-content {
  position: relative;
  background-color: white;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  max-height: 90vh;
  max-width: 90vw;
  overflow: auto;
}

.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #333;
  /* Slightly darker on hover for feedback */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 95vw) {
  .modal-content {
    width: 95vw;
    max-height: 90vh;
    /* Slightly wider on mobile */
    padding: 15px;
    /* Optional: Less padding on small screens */
  }
}

.video-title {
  text-align: center;
  margin: 0 0 15px 0;
  font-family: Arial, sans-serif;
  font-size: 1.5em;
  font-weight: light;
  color: #333;
}

@media (max-width: 768px) {
  .video-title {
    font-size: 1.2em;
    /* Smaller on mobile */
  }
}