:root {
  --cobalt: #035aac;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-grad-top: rgba(255, 255, 255, 0.82);
  --card-grad-bottom: rgba(255, 255, 255, 0.62);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

body {
  background: #000;
}

.hero-page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.36) 0%, rgba(6, 12, 24, 0.52) 38%, rgba(4, 9, 18, 0.74) 100%),
    radial-gradient(circle at center, rgba(14, 47, 86, 0.08) 0%, rgba(2, 7, 17, 0.34) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  text-align: center;
  padding: 32px 0 44px;
}

.hero-lead {
  width: min(760px, calc(100% - 24px));
  margin: 0 auto 34px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeUp 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.subtitle {
  margin: 0 0 12px;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: clamp(42px, 3.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: rgba(255, 255, 255, 0.96);
  -webkit-text-stroke: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

h1 {
  margin: 0 0 38px;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: clamp(78px, 9.4vw, 150px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.075em;
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(34px);
  animation: heroFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.menu-grid {
  display: grid;
  gap: 18px;
}

.primary-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 34px;
}

.secondary-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.tertiary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(700px, 100%);
  margin: 18px auto 0;
}

.hero-feature-row {
  width: min(1120px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-feature-card {
  min-width: 0;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-feature-card--video {
  display: grid;
  gap: 4px;
  align-content: start;
  align-items: start;
  padding-top: 14px;
  text-align: left;
}

.hero-latest-video__copy {
  display: grid;
  gap: 2px;
  color: #ffffff;
}

.hero-latest-video__eyebrow,
.hero-enjoy__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-latest-video__eyebrow {
  margin-top: 4px;
}

.hero-latest-video__copy h2,
.hero-enjoy__content h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-latest-video__copy h2 {
  transform: translateY(12px);
}

.hero-enjoy__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cobalt);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-enjoy__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}


.hero-latest-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-latest-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-feature-card--enjoy {
  display: grid;
  gap: 16px;
  text-decoration: none;
  text-align: left;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-feature-card--enjoy:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.2);
}

.hero-enjoy__poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(20, 72, 130, 0.22) 0%, rgba(3, 18, 40, 0.46) 100%),
    radial-gradient(circle at top, rgba(123, 193, 255, 0.4) 0%, rgba(8, 22, 44, 0.15) 56%, rgba(5, 11, 24, 0.78) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-enjoy__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.04) 0%, rgba(7, 13, 24, 0.2) 100%);
}

.hero-enjoy__poster-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-enjoy__poster-layer.is-active {
  opacity: 1;
}

.hero-enjoy__poster.has-image {
  background-size: cover;
  background-position: center;
}

.hero-enjoy__poster.has-image .hero-enjoy__placeholder {
  display: none;
}

.hero-enjoy__placeholder {
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.hero-enjoy__content {
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.hero-enjoy__cta {
  justify-self: start;
}

.hero-contact {
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  gap: 10px;
}

.hero-contact__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #ffffff;
}

.hero-contact__label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.hero-contact__value {
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}

.hero-contact__value--link {
  text-decoration: none;
}

.hero-contact__value--link:hover {
  text-decoration: underline;
}

.hero-contact__item--meta {
  flex-direction: row;
  gap: 10px;
}

.hero-contact__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.menu-card {
  position: relative;
  text-decoration: none;
  background: linear-gradient(180deg, var(--card-grad-top) 0%, var(--card-grad-bottom) 100%);
  color: var(--cobalt);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.menu-card.large {
  min-height: 176px;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
}

.menu-card.small {
  min-height: 80px;
  gap: 10px;
  padding: 14px 18px 12px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.menu-card.extra {
  min-height: 92px;
  gap: 14px;
  padding: 16px 22px;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(3, 90, 172, 0.96) 0%, rgba(3, 90, 172, 0.88) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.card-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, var(--card-accent, var(--cobalt)) 100%);
}

.card-icon,
.card-copy,
.small-text {
  position: relative;
  z-index: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: var(--card-accent, var(--cobalt));
  font-size: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.card-icon.small-icon {
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
  background: transparent;
  box-shadow: none;
}

.card-copy {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.secondary-grid .card-topbar {
  display: none;
}

.secondary-grid .menu-card::after {
  background: none;
}

.secondary-grid .menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.58);
}

.tertiary-grid .menu-card::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 55%);
}

.tertiary-grid .menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.24);
  background: linear-gradient(180deg, rgba(25, 112, 196, 0.98) 0%, rgba(3, 90, 172, 0.92) 100%);
}

.card-introduce { --card-accent: #035aac; }
.card-worship { --card-accent: #234e9e; }
.card-raising { --card-accent: #1f78b4; }
.card-education { --card-accent: #4566c9; }
.card-bulletin { --card-accent: #2f72b8; }
.card-sns { --card-accent: #2e89c8; }
.card-gallery { --card-accent: #5674c7; }
.card-history { --card-accent: #355c9f; }
.card-salvation-camp { --card-accent: #7ed0ff; }
.card-gis { --card-accent: #9fd2ff; }
.card-gics { --card-accent: #b7dbff; }

.extra-icon {
  width: 40px;
  height: 40px;
  font-size: 1.02rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

.extra-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  text-align: left;
}

.extra-title {
  font-size: clamp(17px, 1.4vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.extra-subtitle {
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.84);
}

.extra-title--school {
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.3;
}

.ko {
  display: block;
  font-size: clamp(24px, 2.24vw, 43px);
  font-weight: 800;
  line-height: 1.1;
}

.en {
  display: block;
  font-size: clamp(13px, 0.95vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.8;
}

.small-text {
  font-size: clamp(15px, 1.26vw, 24px);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-content {
    width: min(100%, calc(100% - 36px));
  }

  .primary-grid,
  .secondary-grid,
  .tertiary-grid {
    gap: 14px;
  }

  .menu-card.large {
    min-height: 150px;
  }

  .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    padding: 28px 0;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.65;
  }

  .subtitle {
    margin-bottom: 8px;
    font-size: 30px;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 0;
  }

  h1 {
    margin-bottom: 26px;
    font-size: 56px;
    letter-spacing: -0.065em;
    -webkit-text-stroke: 0;
  }

  .primary-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 18px;
  }

  .secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tertiary-grid {
    order: 10;
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    margin-top: 14px;
  }

  .hero-feature-row {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 14px;
  }

  .hero-feature-card {
    padding: 16px;
  }

  .hero-feature-card--video,
  .hero-feature-card--enjoy {
    text-align: center;
  }

  .hero-latest-video__copy,
  .hero-enjoy__content {
    justify-items: center;
  }

  .hero-latest-video__actions {
    justify-content: center;
  }

  .hero-enjoy__cta {
    justify-self: center;
  }

  .hero-enjoy__poster {
    min-height: 220px;
  }

  .hero-contact {
    margin-top: 16px;
    padding: 16px 14px;
    gap: 8px;
  }

  .hero-contact__item {
    flex-direction: column;
    gap: 4px;
  }

  .hero-contact__item--meta {
    align-items: stretch;
  }

  .menu-card.large {
    min-height: 130px;
    padding: 22px 18px 18px;
  }

  .menu-card.small {
    min-height: 72px;
    padding: 14px 14px 12px;
  }

  .menu-card.extra {
    min-height: 82px;
    padding: 14px 16px;
    gap: 12px;
  }

  .card-topbar {
    height: 5px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .card-icon.small-icon {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .extra-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .extra-title {
    font-size: 15px;
  }

  .extra-subtitle {
    font-size: 10.5px;
  }

  .ko {
    font-size: 20px;
  }

  .en {
    font-size: 12px;
  }

  .small-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    width: min(100%, calc(100% - 20px));
  }

  .primary-grid,
  .secondary-grid,
  .tertiary-grid {
    grid-template-columns: 1fr;
  }

  .hero-latest-video__copy h2,
  .hero-enjoy__content h2 {
    font-size: 24px;
  }

  .hero-latest-video__description,
  .hero-enjoy__description {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-latest-video__link,
  .hero-enjoy__cta {
    width: 100%;
  }

  .hero-contact__label {
    font-size: 13px;
  }

  .hero-contact__value {
    font-size: 14px;
  }

  .hero-lead {
    width: min(100%, calc(100% - 8px));
    font-size: 14px;
  }

  .hero-contact__chip {
    width: 100%;
    justify-content: center;
  }

  .menu-card.large {
    min-height: 120px;
  }
}
