@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* mental-dashboard.css 전용 폰트 지정 */
.card span,
.flip-card-front,
.flip-card-back,
.chart-modal .tab-button,
#keyword-box,
#mood-buttons button {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
}


/* 카드 컨테이너 스타일 */
.card-container {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  gap: 40px 80px;
  justify-content: center;
  align-content: center;
  margin-top: 50px;
  padding: 20px;
}
/* 전체 콘텐츠 기본 폰트 */
.wrapper,
.card span,
.flip-card-front,
.flip-card-back,
.chart-modal .tab-button,
#keyword-box,
#mood-buttons button,
.select-wrapper,
#youtubeModal,
#gameModal,
.modal-content {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
}


/* 기본 카드 스타일 */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  width: 200px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.card span {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.card:hover {
  transform: scale(1.05);
}

/* 모달 전체 배경 */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

/* 모달 내용 박스 */
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 40px 30px;
  width: 850px;
  min-height: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 닫기 버튼 */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

/* 행운카드 선택 화면 */
.card-choice-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.flip-card {
  background-color: transparent;
  width: 180px;
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  padding: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.flip-card-front {
  background-color: #fafafa;
  color: #333;
  border: 2px dashed #ccc;
}

.flip-card-back {
  background-color: #ffe6cc;
  color: #333;
  transform: rotateY(180deg);
  font-weight: bold;
}

/* 기분 선택 버튼 그룹 */
#mood-buttons {
  text-align: center;
  margin-bottom: 20px;
}

#mood-buttons button {
  margin: 6px 4px;
  padding: 8px 16px;
  background-color: #f0f4ff;
  border: 1px solid #b6c8ff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;
}

#mood-buttons button:hover {
  background-color: #d0e3ff;
  transform: scale(1.05);
}

/* 추천 키워드 박스 */
#keyword-box {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #444;
  margin-bottom: 15px;
}

#youtubeModal .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

#youtubeContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#youtubeContainer iframe {
  width: 400px;
  height: 225px;
  margin-bottom: 10px;
}

/* 📊 차트 모달 전용 스타일 */
.chart-modal .modal-content {
  padding: 30px 24px;
  width: 90%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
}

/* 버튼 컨테이너 여백 제거 */
.chart-modal .tab-button-container {
  margin-top: 0;
  margin-bottom: 12px;
  text-align: center;
}

/* 차트 모달 내 버튼 스타일 */
.chart-modal .tab-button {
  padding: 8px 20px;
  margin: 4px 4px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.chart-modal .tab-button.active {
  background-color: #4a90e2;
  color: white;
  border-color: #4a90e2;
}

/* 드롭다운 위치 정렬 */
.chart-modal .select-wrapper {
  display: flex;
  justify-content: flex-start;
  margin: 12px 0;
  padding-left: 10px;
}
/* 셀렉트 박스 폰트 강제 적용 */
select, option {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
}
<<<<<<< HEAD

  .game-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .game-tabs button {
    padding: 10px 20px;
    border: none;
    background-color: #f0f8ff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
  }
  .game-tabs button:hover {
    background-color: #cce6ff;
  }
  
  
.page-description {
  text-align: center;
  margin-bottom: 30px;
}

.page-description h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.page-description p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
=======
>>>>>>> branch 'developer' of https://github.com/wlee412/near.git
