@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

@font-face {
  font-family: 'SeoulHangang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/SeoulHangangM.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('fonts/GmarketSansTTFMedium.ttf') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
  font-family: 'ZhouZiFangTi';
  src: url('fonts/ZhouZiFangTi.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  background: #edf1f5;
  color: #1f2937;
  line-height: 1.6;
  word-break: keep-all;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
}

.site-wrap {
  width: 100%;
  padding: 36px 24px 20px;
}

/* =========================
   Main Frame
========================= */
.main-frame {
  max-width: 1200px;
  margin: 0 auto 28px;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* =========================
   Top Navigation
========================= */
.top-nav {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1d3b8f;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.55rem;
  font-weight: 600;
  color: #374151;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-menu a:hover {
  color: #3657ff;
}

.nav-icon {
  object-fit: contain;
  display: block;
}

.insta-icon {
  width: 36px;
  height: 36px;
}

.naver-icon {
  width: 50px;
  height: 50px;
}

.insta-icon:hover {
  transform: translateY(-2px);
}

.naver-icon:hover {
  transform: translateY(-2px);
}

/* =========================
   Hero Banner
========================= */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  background: #dbe4f4;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(60%, 600px);
  height: 100%;
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    90deg,
    rgba(30, 45, 98, 0.78) 0%,
    rgba(63, 87, 171, 0.45) 56%,
    rgba(63, 87, 171, 0) 100%
  );
}

.hero-label {
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.92;
  margin-bottom: 14px;
}

.hero-name {
  font-size: clamp(2.2rem, 3.1vw, 3.3rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  white-space: nowrap;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.75rem;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.hero-badge {
  margin-top: 28px;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-badge:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* =========================
   Info Grid
========================= */
.info-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.info-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #3657ff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.info-card p {
  font-size: 1.45rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.7;
}

.info-last {
  margin-bottom: 0;
}

/* =========================
   Common Section
========================= */
.content-section {
  max-width: 1200px;
  margin: 0 auto 28px;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 32px 38px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.section-title-wrap {
  margin-bottom: 24px;
}

.section-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #4f6dff;
  margin-bottom: 8px;
}

.section-title-wrap h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
}

/* =========================
   Program
========================= */
.program-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-item {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 26px 22px;
}

.program-item h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #1f3b94;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.program-item p {
  font-size: 1.4rem;
  color: #4b5563;
  font-weight: 500;
  line-height: 1.75;
}

/* =========================
   History
========================= */
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.history-card {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 24px 22px;
}

.history-card h3 {
  font-size: 1.9rem;
  color: #1f3b94;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.history-card p {
  font-size: 1.35rem;
  color: #4b5563;
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.7;
}

.ko {
  display: in-line;
  font-size: 1.35rem;
  color: #4b5563;
  margin-bottom: 4px;
  font-weight: 500;
  line-height: 1.5;
}

.ch {
  display: in-line;
  font-family: 'ZhouZiFangTi', serif;
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 4px;
  font-weight: 300;
  line-height: 1.4;
}

/* =========================
   Contest
========================= */
.contest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contest-item {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 17px 18px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.6;
}

/* =========================
   FAQ
========================= */
.faq-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 22px 20px;
}

.faq-item h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #1f3b94;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-item p {
  font-size: 1.35rem;
  color: #4b5563;
  font-weight: 500;
  line-height: 1.75;
}

/* =========================
   Footer
========================= */
.copyright {
  width: 100%;
  padding: 16px 0 0;
  text-align: center;
}

.copyright::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 30px auto 15px;
  background: #e5e7eb;
}

.copyright p {
  font-size: 1rem;
  color: #8b95a7;
  letter-spacing: 0.04em;
}

/* =========================
   Responsive - Tablet
========================= */
@media (max-width: 1200px) {
  .site-wrap {
    padding: 24px 18px 20px;
  }

  .main-frame,
  .content-section {
    border-radius: 24px;
  }

  .top-nav {
    padding: 16px 18px;
  }

  .brand-name {
    font-size: 1.9rem;
  }

  .nav-menu {
    gap: 14px;
    font-size: 1.2rem;
  }

  .insta-icon {
    width: 30px;
    height: 30px;
  }

  .naver-icon {
    width: 42px;
    height: 42px;
  }

  .hero-banner,
  .hero-image {
    min-height: 460px;
    height: 460px;
  }

  .hero-overlay {
    width: 60%;
    padding: 54px 30px;
  }

  .hero-desc {
    font-size: 1.15rem;
    max-width: 100%;
  }

  .info-grid,
  .history-grid,
  .program-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .contest-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Responsive - Mobile
========================= */
@media (max-width: 768px) {
  .site-wrap {
    padding: 16px 12px 20px;
  }

  .main-frame {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .content-section {
    padding: 26px 18px 28px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-radius: 18px;
    padding: 16px;
  }

  .brand {
    gap: 10px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.8rem;
  }

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 1rem;
  }

  .insta-icon {
    width: 25px;
    height: 25px;
    margin-left: 7px;
  }

  .naver-icon {
    width: 35px;
    height: 35px;
  }

  .hero-banner {
    min-height: 390px;
    border-radius: 20px;
  }

  .hero-image {
    height: 390px;
    object-position: 70% center;

  }

  .hero-overlay {
    width: 100%;
    padding: 54px 30px;
  }

  .hero-label {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .hero-name {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 14px;
    white-space: normal;
  }

  .hero-desc {
    max-width: 62%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-badge {
    margin-top: 20px;
    font-size: 0.95rem;
    padding: 8px 14px;
  }

  .info-grid,
  .history-grid,
  .program-box,
  .contest-list {
    grid-template-columns: 1fr;
  }

  .info-card,
  .program-item,
  .history-card,
  .contest-item,
  .faq-item {
    border-radius: 16px;
  }

  .info-card {
    padding: 20px 16px;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-card p,
  .program-item p,
  .history-card p,
  .contest-item,
  .faq-item p,
  .ko {
    font-size: 1rem;
  }

.ch {
  font-size: 0.9rem;
}

  .program-item h3,
  .history-card h3,
  .faq-item h3 {
    font-size: 1.3rem;
  }

  .section-label {
    font-size: 0.82rem;
  }

  .section-title-wrap h2 {
    font-size: 2rem;
  }

  .copyright {
    padding-top: 10px;
  }

  .copyright p {
    font-size: 0.82rem;
  }
}