/**
 * GO TEAM! Modal Overlay Styles
 * Preserves quirky character while providing modern modal UX
 */

.goteam-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.goteam-modal.goteam-modal-active {
  opacity: 1;
  visibility: visible;
}

.goteam-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.goteam-modal-container {
  position: relative;
  background-color: #c8b29b;
  border: 2px solid #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 10001;
}

.goteam-modal.goteam-modal-active .goteam-modal-container {
  transform: scale(1);
}

.goteam-modal-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10002;
  padding: 5px;
}

.goteam-modal-content {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.goteam-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .goteam-modal-container {
    max-width: 95vw;
    max-height: 95vh;
  }
}
