/* === 기본 설정 === */
@font-face {
  font-family: 'Dovemayo_gothic';
  src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Dovemayo/Dovemayo_gothic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: 'Dovemayo_gothic', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dovemayo_gothic', sans-serif;
  }
  
  body {
    background-color: #f3f1ec;
    color: #2e2e2e;
    font-family: 'Dovemayo_gothic', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    padding: 0px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 400;
  }
  
  .container {
    max-width: 500px;
    margin: auto;
    width: 100%;
    margin-top: 80px;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #2e2e2e;
    font-weight: 500;
  }
  
  .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  .hero-img {
    width: 70%;
    max-width: 300px;
    margin-bottom: 30px;
  }
  
  /* 버튼 귀욤귀욤 스타일 */
  .start-btn {
    background-color: #ffda79;
    color: #2e2e2e;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 16px 40px;
    border: 2px dashed #2e2e2e;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 2px 4px 0 #2e2e2e;
    transition: all 0.2s ease;
  }
  
  .start-btn:hover {
    background-color: #fb9459;
    transform: translate(1px, 2px);
    box-shadow: 1px 2px 0 #2e2e2e;
  }
  
  /* 선택지 버튼 */
  .option-btn {
    display: block;
    width: 100%;
    background-color: #ddec9b;
    color: #2e2e2e;
    border: 2px solid #2e2e2e;
    border-radius: 14px;
    padding: 14px 20px;
    margin: 12px 0;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 2px 3px 0 #2e2e2e;
    transition: all 0.2s ease;
  }
  
  .option-btn:hover,
  .option-btn.selected {
    background-color: #fb9459;
    transform: translate(1px, 2px);
    box-shadow: 1px 2px 0 #2e2e2e;
  }
  
  /* 카드 스타일 */
  .card {
    background-color: #ffffff;
    border: 2px solid #2e2e2e;
    border-radius: 20px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 3px 5px 0 #2e2e2e;
    transition: 0.2s;
  }
  
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 4px 6px 0 #2e2e2e;
  }
  
  /* 진행도 스타일 */
  .progress-bar {
    height: 16px;
    background-color: #cce4e4;
    border-radius: 16px;
    border: 2px dashed #2e2e2e;
    overflow: hidden;
    margin: 80px 0;
  }
  
  .progress-inner {
    height: 100%;
    background-color: #ffda79;
    transition: width 0.3s;
  }
  
  /* 헤더 */
  .main-header {
    background-color: #f3f1ec;
    padding: 12px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-logo {
    height: 36px;
  }
  
  .info-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #2e2e2e;
    transition: transform 0.2s;
  }
  
  .info-btn:hover {
    transform: scale(1.2);
  }
  
  /* 모달 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-box {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 3px 5px 0 #2e2e2e;
    animation: fadeIn 0.2s ease-in-out;
  }
  
  .modal-box h2 {
    margin-bottom: 12px;
    color: #2e2e2e;
    font-weight: 500;
  }
  
  .modal-box p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  @keyframes fadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* 푸터 - 일반모드 */
  footer {
    margin-top: 60px;
    padding: 24px 12px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
  }
  
  footer a {
    color: #d7bbf8;
    text-decoration: underline;
  }
  
  /* 반응형 */
  @media (max-width: 768px) {
    h1 {
      font-size: 2rem;
    }
    .start-btn {
      width: 100%;
      font-size: 1.1rem;
      padding: 14px 0;
    }
  }
  
  @media (max-width: 480px) {
    body {
      padding: 0 16px;
    }
    .hero-img {
      width: 90%;
    }
  }
  
  /* 🌙 다크모드 대응 */
  @media (prefers-color-scheme: dark) {
    body {
      background-color: #2e2e2e;
      color: #cccccc;
    }
  
    .subtitle {
      color: #fb9459;
    }
  
    .start-btn {
      background-color: #ffda79;
      color: #2e2e2e;
    }
  
    .start-btn:hover {
      background-color: #fb9459;
    }
  
    footer {
      color: #fb9459;
    }
  
    footer a {
      color: #ddec9b;
    }
  }
  