.container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  background: var(--background);
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--background);
  position: relative;
  flex-shrink: 0;
}

.backButton {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;

  &:hover {
    background: #e0e0e0;
  }

  &:active {
    background: #d0d0d0;
  }
}

.title {
  flex: 1;
  text-align: center;
  padding-right: 40px; // Compensate for back button width
}

.contentWrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  overflow-y: auto;
  gap: 32px;
}

.videoContainer {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0; /* Prevent video from shrinking */
}

.videoInner {
  position: relative;
  width: 100%;
  height: 100%;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.descriptionWrapper {
  width: 100%;
  max-width: 800px;
  padding: 0;
  position: relative; /* Ensure proper positioning context */
  flex-shrink: 0; /* Prevent shrinking */
}

.description {
  color: #646464;
  line-height: 1.6;
}
