@charset "utf-8";
/* ============================================================
   footer.css — 후원(스폰서) · 푸터 · 맨위로
   ============================================================ */

/* ===== 스폰서 ===== */
.sponsor {
  position: relative;
  background: var(--panel-2);
  border-top: 1px solid var(--border);
}

.sponsor .wrap {
  padding-top: 49px;
  padding-bottom: 49px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.spon-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.spon-title {
  flex: 0 0 100px;
}

.spon-title p {
  background: #bbbbd9;
  color: #313169;
  font-weight: 700;
  font-size: 16px;
  width: 100px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spon-wrap ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: #aeaec3 !important;
  font-size: 18px;
  font-weight: bold;
}

.spon-wrap a {
  display: block;
  transition: opacity .2s;
}

.spon-wrap a:hover {
  opacity: .7;
}

.spon-wrap img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ===== 푸터 ===== */
.footer {
  position: relative;
  background: var(--panel);
}

.footer .wrap {
  padding-top: 67px;
  padding-bottom: 67px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-main {
  flex: 1 1 494px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-logo {
  height: 57px;
  width: auto;
  align-self: flex-start;
}

.footer-info {
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-info .lines p {
  line-height: 20px;
}

.footer-copy {
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
}

.footer-side {
  display: flex;
  flex-direction: column;
  gap: 49px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .75);
}

.footer-sns b {
  display: block;
  color: #fff;
  margin-bottom: 13px;
}

.footer-sns .sns-row {
  display: flex;
  gap: 15px;
  color: rgba(255, 255, 255, .75);
}

.footer a {
  color: #fff;
}

/* ===== 맨 위로 ===== */
.to-top { display: none; }

/* 플로팅 퀵메뉴 */
.float-quick {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fq-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}

.fq-btn:hover {
  background: #2a2a54;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}

.fq-btn svg {
  width: 20px;
  height: 20px;
}

.fq-btn span {
  position: absolute;
  right: 100%;
  margin-right: 10px;
  white-space: nowrap;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.fq-btn:hover span {
  opacity: 1;
}

.fq-btn.fq-top {
  background: var(--orange);
  border-color: transparent;
}

.fq-btn.fq-top:hover {
  background: var(--pink);
}

/* ===== 반응형 ===== */
@media (max-width:767px) {
  .sponsor .wrap {
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 24px;
  }

  .spon-wrap {
    gap: 12px;
    font-size: 15px;
  }

  .spon-wrap ul {
    gap: 16px;
    justify-content: flex-start;
  }

  .spon-wrap img {
    height: 50px;
  }

  .spon-title {
    flex: 0 0 80px;
  }

  .spon-title p {
    width: 80px;
    min-width: 80px;
    height: 30px;
    font-size: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 26px;
  }

  .footer-main,
  .footer-side {
    display: contents;
  }

  .footer-logo {
    align-self: flex-start;
    order: 1;
  }

  .footer-links {
    order: 2;
    justify-content: flex-start;
  }

  .footer-sns {
    order: 3;
  }

  .footer-info {
    order: 4;
  }

  .footer-copy {
    order: 5;
  }
}

@media (max-width:575px) {
  .sponsor .wrap {
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 28px;
  }

  .spon-wrap {
    gap: 16px;
  }

  .spon-wrap ul {
    gap: 16px;
  }

  .spon-title p {
    font-size: 14px;
  }

  .footer .wrap {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-main {
    gap: 32px;
  }

  .footer-side {
    gap: 32px;
  }

  .float-quick {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .fq-btn {
    width: 40px;
    height: 40px;
    border-radius: 20px;
  }

  .fq-btn svg {
    width: 18px;
    height: 18px;
  }

  .fq-btn span {
    display: none;
  }
}