.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 80%;
  width: 500px;
  animation: slideIn 0.3s ease-out;
}

.title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.content {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #666;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.content {
  line-height: 1.6;
  max-height: 70vh;
  overflow-y: auto;
}

.content p {
  margin-bottom: 15px;
}

.highlightSection {
  background-color: #fff0f5;
  border-left: 4px solid #ffb6c1;
  padding: 15px;
  border-radius: 5px;
}

.highlight {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1em;
  margin-bottom: 10px !important;
}

.closeButton {
  padding: 10px 20px;
  background-color: #dee2e6;
  color: #495057;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s;
}

.closeButton:hover {
  background-color: #adb5bd;
}

.exampleText {
  color: #6c757d;
}

.tmiText {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
}

.stats {
  font-weight: bold;
  color: #2c3e50;
}

.donateButton {
  display: block;
  padding: 12px 24px;
  background-color: #495057;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 15px auto 0 auto;
  width: fit-content;
}

.donateButton:hover {
  background-color: #343a40;
}

/* 모바일 반응형 디자인 */
@media (max-width: 768px) {
  .modal {
    margin: 20px;
    padding: 20px;
    max-width: none;
    width: calc(100% - 40px);
    max-height: 90vh;
  }

  .title {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .content {
    font-size: 15px;
    line-height: 1.7;
    max-height: 60vh;
  }

  .content p {
    margin-bottom: 18px;
  }

  .highlightSection {
    padding: 12px;
    margin: 15px 0;
  }

  .highlight {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 12px !important;
  }

  .stats {
    font-size: 15px;
    line-height: 1.5;
  }

  .exampleText {
    font-size: 13px;
    line-height: 1.4;
  }

  .tmiText {
    font-size: 14px;
    line-height: 1.5;
  }

  .donateButton {
    padding: 14px 20px;
    font-size: 16px;
    margin: 20px auto 0 auto;
  }

  .closeButton {
    padding: 12px 24px;
    font-size: 16px;
    margin-top: 15px;
  }
}
