
* {
  box-sizing: border-box;
}


.mode-toggle {
  position: fixed;
  top: 22px;
  right: 20px;
  width: 70px;
  height: 37px;
  border-radius: 25px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow:
    inset 4px 4px 8px rgba(163, 177, 198, 0.2),
    inset -4px -4px 8px rgba(255, 255, 255, 0.6);
}

.toggle-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    4px 4px 8px rgba(163, 177, 198, 0.3),
    -4px -4px 8px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  z-index: 0;
}

.toggle-option {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.toggle-option img {
  width: 16px;
  height: 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 74px;
}

/* 제목 영역 */
.tips-headline {
  text-align: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #2b2b2b;
  padding: 20px;
  margin: 100px auto 20px auto;
  max-width: 650px;
}

.home-btn {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fbfbfb;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
  3px 3px 6px rgba(0, 0, 0, 0.08), -3px -3px 6px rgba(255, 255, 255, 0.70);
}

.home-btn img {
  width: 25px;
}



.home-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 4px 4px 8px rgba(163, 177, 198, 0.3),
    inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.tips-container {
  max-width: 1000px;
  width: 100%;
  margin: 80px auto;
  padding: 0 20px;
}



/* FAQ Section Base */
.faq-section {
  max-width: 700px;
  margin: 42px auto;
  padding: 0 20px;
  font-family: 'Apple SD Gothic Neo', sans-serif;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.faq-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* FAQ List */
.faq-item {
  margin-bottom: 16px;
  
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  margin-bottom: 13px;
  background: #fbfbfb;
  border-radius: 16px;
  box-shadow:
    4px 4px 13px rgba(0, 0, 0, 0.08),
    -4px -4px 13px rgba(255, 255, 255, 0.7);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #111;
  transition: all 0.3s ease;
  display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
  flex-shrink: 0; /* 아이콘이 찌그러지지 않도록 */
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  box-shadow:
  inset 4px 4px 8px rgba(163, 177, 198, 0.3),
  inset -4px -4px 8px rgba(255, 255, 255, 0.7);
  
}

.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;

}

.faq-answer img {
  width: 17px;
  vertical-align: middle;
  bottom: 2px;
  position: relative;
}

.faq-answer a {
  color: #111; 
  text-decoration: none; 
  font-weight: bold;       
}

.faq-answer a:hover {
  text-decoration: underline; 
  color: #111;
}


.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px; 
  padding: 22px; 
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow:
  inset 4px 4px 8px rgba(163, 177, 198, 0.3),
  inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

/* Support Box */
.faq-support {
  margin-top: 60px;
  padding: 36px 24px;
  text-align: center;
  background: #f5f5f5;
  border-radius: 20px;
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.06),
    -6px -6px 12px rgba(255, 255, 255, 0.7);
}

.faq-support h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.faq-support p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.faq-btn {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  background: #f0f0f0;
  box-shadow:
    4px 4px 8px rgba(0, 0, 0, 0.1),
    -4px -4px 8px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-btn:hover {
  transform: translateY(-2px);
}

.more {
    text-align: center;
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 40px;
    margin-top: -25px;
    line-height: 1.5;
}

.site-footer {
  margin-top: 40px;
  padding-bottom: 10px;
  font-size: 10.5px;
  color: #afafaf;
  text-align: center;
}


.site-footer a { color: #afafaf; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }


body.dark {
  background: #212121;
  color: #dfdfdf;
}

body.dark::before {
  background-image:
    repeating-linear-gradient(0deg, #3a3a3d 0px, #3a3a3d 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, #3a3a3d 0px, #3a3a3d 1px, transparent 1px, transparent 40px);
}

body.dark .faq-title {
  color: #ffffff;
}

body.dark .faq-subtitle {
  color: #bdbdbd;
}

body.dark .faq-question {
  background: #2a2a2a;
  color: #e1e1e1;
  border: none;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35), -2px -2px 3px rgba(255, 255, 255, 0.04);
}

body.dark .faq-item.active .faq-answer {
  background: #2f2f2f;
  box-shadow: inset 4px 4px 3px rgba(0, 0, 0, 0.1), inset -3px -3px 3px rgba(255, 255, 255, 0.05);
}

body.dark .faq-answer p {
  color: #e1e1e1;
}

body.dark .faq-answer a {
  color: #fff;
}


body.dark .home-btn {
  background: #f5f5f5;
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.4),
    -8px -8px 16px rgba(255, 255, 255, 0.05);
}


body.dark .home-btn img {
  color: black;
}

body.dark .mode-toggle {
  background: #3f3f3f;
  box-shadow:
    inset 2px 2px 3px rgba(0, 0, 0, 0.1),
    inset -2px -2px 3px rgba(255, 255, 255, 0.05);
}

body.dark .toggle-indicator {
  transform: translateX(33px);
  background: #2d2d30;
  box-shadow:
    1px 1px 3px rgba(0, 0, 0, 0.4),
    -1px -1px 3px rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .header {
      margin-bottom: 40px;
      margin-top: 20px;
  }
}