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

@font-face {
  font-family: 'Noto Sans KR';
  src: url('/static/fonts/NotoSansKR-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('/static/fonts/NotoSansKR-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('/static/fonts/NotoSansKR-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans KR';
  src: url('/static/fonts/NotoSansKR-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/Nunito-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/Nunito-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/Nunito-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/Nunito-900.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PyeongChangPeace';
  src: url('/static/fonts/PyeongChangPeace-Bold.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky:        #2f8fd4;   /* ?�인??- ?? ?�식, 강조 ?�용 */
  --sky-soft:   #7ec0e8;   /* ?�한 ?�랑 - ?�두리용 */
  --sky-glow:   #daeef8;   /* 거의 ?�색??가까운 ?�랑 - 배경 ?�트??*/
  --sky-deep:   #1565a8;   /* ??진한 ?�인??*/
  --sea-foam:   #eefaff;
  --sea-mist:   #ddf2ff;
  --sea-line:   #8bc8ea;
  --sea-bubble: rgba(126, 200, 232, 0.34);
  --stella-main: #7987e0;
  --white:      #ffffff;
  --off-white:  #f7fbfe;   /* ?�션 배경 */
  --text-dark:  #1a3040;
  --text-mid:   #3d6478;
  --text-light: #7aafc8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', 'Nunito', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ?�?� ANIMATIONS ?�?� */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-15px) rotate(5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(-5deg); }
}
@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.75); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes boing {
  0%   { transform: translateY(0)      scale(1,    1);    }
  20%  { transform: translateY(-14px)  scale(0.94, 1.06); }
  40%  { transform: translateY(0)      scale(1.06, 0.94); }
  55%  { transform: translateY(-7px)   scale(0.97, 1.03); }
  70%  { transform: translateY(0)      scale(1.02, 0.98); }
  82%  { transform: translateY(-3px)   scale(0.99, 1.01); }
  100% { transform: translateY(0)      scale(1,    1);    }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes tideShift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}
@keyframes bubbleDrift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-2%, -4%, 0); }
  100% { transform: translate3d(2%, -8%, 0); }
}
@keyframes waveFlow {
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 260px 0, -220px 0, 0 0; }
}
@keyframes mysticGlow {
  0%, 100% { opacity: 0.36; }
  50%      { opacity: 0.62; }
}
@keyframes seaDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2px) rotate(-0.2deg); }
}
/* ?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�
   HERO  ????배경 + ?��? ?�식 가???�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?� */
.hero {
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 140px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(45vh, 380px);
  background: linear-gradient(180deg, #001c45 0%, #005bc9 42%, rgba(29, 93, 152, 0.36) 74%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-night-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(45vh, 380px);
  z-index: 1;
  pointer-events: none;
}
.hero-night-sky svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-night-sky .const-star {
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-night-sky .const-star.dim {
  opacity: 0.6;
}
.hero-night-sky .const-star.tw1 {
  animation: sparkle 2.8s ease-in-out infinite;
}
.hero-night-sky .const-star.tw2 {
  animation: sparkle 3.4s ease-in-out infinite 0.6s;
}
.hero-night-sky .const-star.tw3 {
  animation: sparkle 4s ease-in-out infinite 1.1s;
}

/* ?�단 ?�이???�두�?*/
.hero-night-sky .const-line-bright line {
  stroke: rgba(197, 232, 255, 0.68);
  stroke-width: 1.2;
  opacity: 0.72;
  filter: drop-shadow(0 0 4px rgba(157, 210, 246, 0.34));
}
.hero-night-sky .const-star.bright {
  fill: rgba(205, 235, 255, 0.96);
  opacity: 0.82;
  filter: drop-shadow(0 0 6px rgba(143, 204, 246, 0.44));
}
.hero-night-sky .const-star.wb1 {
  animation: brightTwinkle 1.75s ease-in-out infinite;
}
.hero-night-sky .const-star.wb2 {
  animation: brightTwinkle 2.2s ease-in-out infinite 0.35s;
}
.hero-night-sky .const-star.wb3 {
  animation: brightTwinkle 2.65s ease-in-out infinite 0.7s;
}

@keyframes brightTwinkle {
  0%, 100% {
    opacity: 0.48;
    transform: scale(0.94);
  }
  40% {
    opacity: 0.86;
    transform: scale(1.16);
  }
}

.hero-lace-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

/* 코너 ?�이???�식 */
.lace-corner {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.lace-corner.tl { top: 0;  left: 0; }
.lace-corner.tr { top: 0;  right: 0; transform: scaleX(-1); }
.lace-corner.bl { bottom: 60px; left: 0;  transform: scaleY(-1); }
.lace-corner.br { bottom: 60px; right: 0; transform: scale(-1,-1); }

/* ?�로??�?*/
.deco-circles { position: absolute; width: 100%; height: 100%; pointer-events: none; }
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(47,143,212,0.18);
  background: transparent;
}
.deco-circle.filled {
  background: rgba(47,143,212,0.05);
  border-color: rgba(47,143,212,0.12);
}
.deco-circle:nth-child(1) { width: 260px; height: 260px; top: 2%;   left: -4%;  animation: float  7s ease-in-out infinite; }
.deco-circle:nth-child(2) { width: 160px; height: 160px; top: 5%;   left: 8%;   animation: float2 5s ease-in-out infinite 0.5s; border-width: 1px; }
.deco-circle:nth-child(3) { width: 100px; height: 100px; top: 15%;  right: 5%;  animation: float  6s ease-in-out infinite 1s; }
.deco-circle:nth-child(4) { width: 200px; height: 200px; top: 8%;   right: -3%; animation: float2 8s ease-in-out infinite; border-width: 1px; }
.deco-circle:nth-child(5) { width: 80px;  height: 80px;  bottom: 18%; left: 6%;  animation: float  5s ease-in-out infinite 0.8s; }
.deco-circle:nth-child(6) { width: 140px; height: 140px; bottom: 12%; left: 14%; animation: float2 7s ease-in-out infinite 0.3s; border-width: 1px; }
.deco-circle:nth-child(7) { width: 180px; height: 180px; bottom: 10%; right: -2%; animation: float  6s ease-in-out infinite; }
.deco-circle:nth-child(8) { width: 60px;  height: 60px;  bottom: 28%; right: 12%; animation: float2 4s ease-in-out infinite 1.2s; }

/* ?�트 ?�턴 */
.deco-dots {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.deco-dots.left  { top: 20%; left: 3%; }
.deco-dots.right { top: 35%; right: 3%; }
.deco-dots.bot   { bottom: 18%; left: 40%; transform: translateX(-50%); }

/* ?�로???�이?�몬??*/
.deco-diamond {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid rgba(47,143,212,0.4);
  transform: rotate(45deg);
  pointer-events: none;
  animation: sparkle 3s ease-in-out infinite;
}
/* hero 내 div 순서: lace-top(1), night-sky(2), deco-circles(3), diamond×6(4-9), plus×5(10-14), sparkle×6(15-20) */
.deco-diamond:nth-of-type(4) { top: 22%; left: 22%; animation-delay: 0s; }
.deco-diamond:nth-of-type(5) { top: 18%; right: 25%; animation-delay: 0.6s; }
.deco-diamond:nth-of-type(6) { bottom: 30%; left: 28%; animation-delay: 1.2s; }
.deco-diamond:nth-of-type(7) { bottom: 22%; right: 22%; animation-delay: 0.3s; }
.deco-diamond:nth-of-type(8) { top: 48%; left: 10%; animation-delay: 0.9s; width:8px; height:8px; }
.deco-diamond:nth-of-type(9) { top: 42%; right: 10%; animation-delay: 1.5s; width:8px; height:8px; }

/* 플로팅 플러스 */
.deco-plus {
  position: absolute;
  color: rgba(47,143,212,0.35);
  font-size: 1.4rem;
  pointer-events: none;
  animation: sparkle 2.5s ease-in-out infinite;
  font-weight: 300;
}
.deco-plus:nth-of-type(10) { top: 12%; left: 32%; animation-delay: 0.4s; }
.deco-plus:nth-of-type(11) { top: 32%; left: 5%;  animation-delay: 1s; }
.deco-plus:nth-of-type(12) { top: 65%; left: 22%; animation-delay: 0.2s; }
.deco-plus:nth-of-type(13) { top: 20%; right: 10%; animation-delay: 0.7s; }
.deco-plus:nth-of-type(14) { bottom: 25%; right: 28%; animation-delay: 1.3s; }

.sparkle {
  position: absolute;
  font-size: 1.2rem;
  color: var(--sky);
  animation: sparkle 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.sparkle:nth-of-type(15) { top: 14%; left: 13%;  animation-delay: 0s; }
.sparkle:nth-of-type(16) { top: 28%; right: 14%; animation-delay: 0.5s; }
.sparkle:nth-of-type(17) { bottom: 22%; left: 18%; animation-delay: 1s; }
.sparkle:nth-of-type(18) { bottom: 18%; right: 18%; animation-delay: 1.5s; }
.sparkle:nth-of-type(19) { top: 58%;  left: 7%;   animation-delay: 0.3s; }
.sparkle:nth-of-type(20) { top: 9%;   right: 28%; animation-delay: 0.8s; }

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-icon {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(47,143,212,0.35));
  will-change: transform;
}

.team-badge {
  display: inline-block;
  background: white;
  border: 1.5px solid var(--sky-soft);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.82rem;
  color: var(--sky-deep);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(47,143,212,0.15);
}

.hero-title {
  font-family: 'PyeongChangPeace', 'Jua', 'Nunito', sans-serif;
  font-size: clamp(3.2rem, 11vw, 6rem);
  white-space: nowrap;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--sky-deep);
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 48px;
  line-height: 1.9;
}

/* ?�?� 지??버튼 (?�어�? ?�?� */
.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--sky-deep);
  text-decoration: none;
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 50px;
  border: 2px solid var(--sky);
  box-shadow: 0 6px 28px rgba(126,200,227,0.35), 0 0 0 4px rgba(126,200,227,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: seaDrift 6.8s ease-in-out infinite;
}

.join-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126,200,227,0.2), transparent);
  transition: left 0.5s;
}
.join-btn:hover::before { left: 100%; }
.join-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(126,200,227,0.45), 0 0 0 6px rgba(126,200,227,0.15);
  background: var(--sky-glow);
}
.join-btn span { font-size: 1.4rem; }

/* ?�?� ?�이??물결 구분???�?� */
.lace-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.lace-divider svg path:first-of-type { fill: #eaf8ff !important; }
.lace-divider svg path:nth-of-type(2) { stroke: rgba(112, 192, 232, 0.78) !important; }
.lace-divider svg path:nth-of-type(3) { stroke: rgba(176, 225, 249, 0.58) !important; }
.lace-divider svg circle { fill: rgba(130, 204, 238, 0.48) !important; }

/* ?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�
   SECTIONS
?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?� */
section { padding: 80px 20px; }

.about-section,
.members-section,
.stack-section,
.join-section {
  position: relative;
  overflow: hidden;
}

.about-section::before,
.members-section::before,
.stack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(177, 230, 252, 0.18) 0 9px, transparent 10px),
    radial-gradient(circle at 26% 70%, rgba(151, 214, 244, 0.16) 0 7px, transparent 8px),
    radial-gradient(circle at 44% 28%, rgba(163, 223, 248, 0.14) 0 8px, transparent 9px),
    radial-gradient(circle at 62% 76%, rgba(144, 207, 238, 0.14) 0 10px, transparent 11px),
    radial-gradient(circle at 80% 34%, rgba(163, 223, 248, 0.16) 0 7px, transparent 8px),
    radial-gradient(circle at 92% 64%, rgba(151, 214, 244, 0.16) 0 9px, transparent 10px),
    radial-gradient(circle at 84% 28%, rgba(255, 255, 255, 0.14) 0 100px, transparent 101px);
  pointer-events: none;
  opacity: 0.52;
  animation: bubbleDrift 36s ease-in-out infinite;
}

.about-section::after,
.members-section::after,
.stack-section::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: -12px;
  height: 108px;
  background:
    repeating-radial-gradient(130% 70% at 50% 108%, rgba(126, 205, 243, 0.24) 0 1.8px, transparent 1.8px 22px),
    repeating-radial-gradient(120% 68% at 48% 112%, rgba(168, 227, 251, 0.18) 0 1.4px, transparent 1.4px 18px),
    linear-gradient(180deg, rgba(132, 204, 238, 0.2), rgba(132, 204, 238, 0));
  pointer-events: none;
  opacity: 0.5;
  animation: waveFlow 34s linear infinite, tideShift 14s ease-in-out infinite;
}

.about-section .section-header,
.members-section .section-header,
.stack-section .section-header,
.about-grid,
.members-grid,
.stack-container {
  position: relative;
  z-index: 1;
}

.about-section,
.members-section,
.stack-section {
  background:
    linear-gradient(180deg, #f5fcff 0%, #e9f7ff 44%, #ddf1fb 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-soft), var(--sky), var(--sky-soft));
  border-radius: 2px;
  margin: 0 auto 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.8;
}

.about-section .section-tag,
.members-section .section-tag,
.stack-section .section-tag {
  color: #5e74d2;
}

.about-section .section-title,
.members-section .section-title,
.stack-section .section-title {
  color: #1f5d86;
  text-shadow: none;
}

.about-section .section-divider,
.members-section .section-divider,
.stack-section .section-divider {
  background: linear-gradient(90deg, rgba(132,204,238,0.18), var(--stella-main), rgba(132,204,238,0.18));
}

.about-section .section-desc,
.members-section .section-desc,
.stack-section .section-desc {
  color: #4b7b9a;
}

/* ?�?� ABOUT ?�?� */
.about-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.about-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 247, 255, 0.9) 100%);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(74, 142, 177, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1.5px solid rgba(163, 221, 248, 0.66);
  backdrop-filter: blur(2px);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-soft), var(--sky), var(--sky-deep), var(--sky), var(--sky-soft));
  background-size: 200%;
  animation: shimmer 3s linear infinite;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(74, 142, 177, 0.22), 0 0 0 1px rgba(205, 241, 255, 0.45);
}

.about-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 36%, rgba(255,255,255,0.92) 0 8px, rgba(126,200,232,0.32) 9px 17px, transparent 18px),
    radial-gradient(circle at 62% 62%, rgba(126,200,232,0.2) 0 12px, transparent 13px);
  opacity: 0.7;
  pointer-events: none;
}

.about-card-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

.about-card h3 {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: #0c436f;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.95rem;
  color: #245b84;
  line-height: 1.8;
}

/* ?�?� MEMBERS ?�?� */
.members-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.member-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 247, 255, 0.9) 100%);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(74, 142, 177, 0.17), inset 0 1px 0 rgba(255,255,255,0.58);
  border: 1.5px solid rgba(161, 219, 246, 0.64);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.member-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 24px;
  height: 24px;
  border: 1.4px solid rgba(126,200,232,0.34);
  border-radius: 50%;
  box-shadow:
    20px 10px 0 -7px rgba(126,200,232,0.28),
    40px 2px 0 -9px rgba(126,200,232,0.24);
  pointer-events: none;
}

.member-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(126,200,227,0.06));
  transition: height 0.3s ease;
}

.member-card:hover { transform: translateY(-10px); box-shadow: 0 16px 34px rgba(74, 142, 177, 0.24), 0 0 0 1px rgba(205, 241, 255, 0.45); }
.member-card:hover::after { height: 100%; }

.member-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-glow), var(--sky-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 20px;
  border: 2.5px solid var(--sky-soft);
  box-shadow: 0 4px 16px rgba(126,200,227,0.25);
}

.member-name {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.4rem;
  color: #0c436f;
  margin-bottom: 8px;
}

.member-role {
  display: inline-block;
  background: rgba(218, 238, 248, 0.86);
  color: #0c4d80;
  border: 1px solid rgba(131, 201, 236, 0.82);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.member-desc {
  font-size: 0.9rem;
  color: #245b84;
  line-height: 1.7;
}

/* ?�?� STACK ?�?� */
.stack-container { max-width: 800px; margin: 0 auto; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.stack-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 247, 255, 0.9) 100%);
  border-radius: 20px;
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 9px 22px rgba(74, 142, 177, 0.15), inset 0 1px 0 rgba(255,255,255,0.58);
  border: 1.5px solid rgba(161, 219, 246, 0.64);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.stack-item::before {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(126,200,232,0.24) 0 14px, transparent 15px),
    radial-gradient(circle at 72% 72%, rgba(126,200,232,0.18) 0 8px, transparent 9px);
  pointer-events: none;
}

.stack-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(74, 142, 177, 0.22), 0 0 0 1px rgba(205, 241, 255, 0.42);
  border-color: #8fd3f5;
}

.stack-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.stack-name { font-weight: 600; color: #0c436f; font-size: 0.95rem; margin-bottom: 4px; }
.stack-desc { font-size: 0.78rem; color: #35739f; }

/* ?�?� JOIN CTA ?�?� */
.join-section {
  background: linear-gradient(160deg, #8fd8f5 0%, #65bfe8 52%, #4aa8db 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
}

.join-section::before {
  content: '';
  position: absolute;
  top: -26px;
  left: -10%;
  width: 120%;
  height: 120px;
  background:
    repeating-radial-gradient(130% 70% at 50% 108%, rgba(232, 249, 255, 0.46) 0 1.6px, transparent 1.6px 20px),
    repeating-radial-gradient(120% 68% at 48% 112%, rgba(186, 232, 252, 0.32) 0 1.2px, transparent 1.2px 16px);
  opacity: 0.58;
  animation: waveFlow 38s linear infinite, tideShift 15s ease-in-out infinite;
}

.join-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(255,255,255,0.26) 0 9px, transparent 10px),
    radial-gradient(circle at 26% 72%, rgba(255,255,255,0.2) 0 7px, transparent 8px),
    radial-gradient(circle at 44% 34%, rgba(255,255,255,0.24) 0 8px, transparent 9px),
    radial-gradient(circle at 61% 78%, rgba(255,255,255,0.2) 0 10px, transparent 11px),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,0.24) 0 8px, transparent 9px),
    radial-gradient(circle at 91% 64%, rgba(255,255,255,0.22) 0 9px, transparent 10px);
  pointer-events: none;
  opacity: 0.46;
  animation: bubbleDrift 34s ease-in-out infinite;
}

.join-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.join-section .section-tag  { color: rgba(240,252,255,0.92); }
.join-section .section-title { color: #ffffff; }
.join-section .section-divider {
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.86), rgba(255,255,255,0.25));
}

.join-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  margin-bottom: 48px;
  font-weight: 300;
}

.join-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--sky-deep);
  text-decoration: none;
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 20px 60px;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 0 0 4px rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  animation: seaDrift 7.6s ease-in-out infinite 0.4s;
}

.join-btn-lg:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  background: var(--sky-glow);
}

.join-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(236, 250, 255, 0.76);
}

/* ?�?� FOOTER ?�?� */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.85rem;
}

footer .footer-brand {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.8rem;
  color: var(--sky);
  margin-bottom: 8px;
}

/* ?�?� RIBBON DECO ?�?� */
.ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.ribbon-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--sky));
}
.ribbon-line.right { background: linear-gradient(90deg, var(--sky), transparent); }
.ribbon-icon { font-size: 1.2rem; color: var(--sky); }

/* ?�?� HERO 배경 ?�???�스???�?� */
.hero-bg-text {
  position: absolute;
  font-family: 'Jua', sans-serif;
  font-size: clamp(20vw, 28vw, 380px);
  color: rgba(47, 143, 212, 0.045);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  letter-spacing: -0.02em;
}

/* ?�?� ?�어�??�그 ?�?� */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-tag {
  background: white;
  border: 1.5px solid var(--sky-soft);
  color: var(--sky-deep);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(47,143,212,0.1);
}

/* ?�?� ?�어�?배경 마법�??�?� */
@keyframes magicCircleRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vmin, 860px);
  height: min(96vmin, 860px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  border-radius: 50%;
  overflow: hidden;
}
.hero-circle-bg::before { content: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-circle-bg {
    animation: magicCircleRotate 19s linear infinite;
  }
}

.hero-circle-bg svg {
  width: 100%;
  height: 100%;
}
.hero-circle-bg::after {
  content: none;
}


.wave-transition-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: block;
}

body.page-transitioning-in {
  overflow: hidden;
}

body.page-transitioning-out {
  overflow: hidden;
}

.support-page-body {
  min-height: 100vh;
  background: #f6fbff;
}

.support-page-body.page-transitioning-in {
  overflow: hidden;
}

.support-hero {
  min-height: 100vh;
  padding: 88px 20px;
}

.support-shell {
  width: min(100%, 760px);
}

.support-thanks-page .support-shell {
  width: min(100%, 620px);
}

.support-thanks-stage {
  text-align: center;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.support-thanks {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.support-thanks-logo-wrap {
  width: 232px;
  height: 232px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.94), rgba(219, 241, 255, 0.74) 55%, rgba(185, 223, 247, 0.34));
  box-shadow:
    0 28px 60px rgba(47, 143, 212, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(18px) scale(0.88);
  animation: supportThanksReveal 0.92s ease forwards 0.12s;
}

.support-thanks-logo {
  width: 144px;
  height: 144px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(47, 143, 212, 0.28));
}

.support-thanks-title {
  margin-top: 10px;
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  color: #143f5d;
  opacity: 0;
  transform: translateY(16px);
  animation: supportThanksReveal 0.92s ease forwards 0.36s;
}

.support-thanks-desc {
  max-width: 520px;
  color: #4e6d83;
  font-size: 1.02rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(16px);
  animation: supportThanksReveal 0.92s ease forwards 0.52s;
}

.support-thanks-link {
  margin-top: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, #4aa7e0, #2f8fd4 58%, #2472b1);
  box-shadow: 0 14px 28px rgba(47, 143, 212, 0.22);
  opacity: 0;
  transform: translateY(16px);
  animation: supportThanksReveal 0.92s ease forwards 0.68s;
}

.support-thanks-link:hover {
  filter: saturate(1.05);
}

@keyframes supportThanksReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.support-liquid-defs {
  position: absolute;
}

.support-form-header {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(126, 192, 232, 0.28);
}

.support-form-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f8fd4, rgba(47, 143, 212, 0));
}

.support-back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--sky-deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.support-back-link:hover {
  text-decoration: underline;
}

.support-page-kicker {
  margin-bottom: 8px;
  color: #4c7e9e;
  font-size: 0.9rem;
  font-weight: 700;
}

.support-page-title {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: #143f5d;
  line-height: 1.15;
}

.support-page-desc {
  margin-top: 12px;
  color: #4e6d83;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.support-form-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(226, 242, 252, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #215a7d;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 18px rgba(47, 143, 212, 0.08);
  backdrop-filter: blur(12px) saturate(145%);
}

.support-form-card {
  position: relative;
  width: 100%;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(233, 247, 255, 0.16) 48%, rgba(212, 236, 250, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  padding: 36px;
  box-shadow:
    0 32px 90px rgba(32, 99, 145, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

@supports (backdrop-filter: url(#support-liquid-glass-filter)) {
  .support-form-card {
    backdrop-filter: url(#support-liquid-glass-filter) blur(18px) saturate(165%);
  }
}

.support-form-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 78% 20%, rgba(218, 243, 255, 0.4), rgba(218, 243, 255, 0) 20%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  opacity: 0.95;
  mix-blend-mode: screen;
  pointer-events: none;
}

.support-form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 16%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 36% 64%, rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at 72% 78%, rgba(165, 224, 252, 0.2), rgba(165, 224, 252, 0) 20%);
  pointer-events: none;
}

.support-form-card > * {
  position: relative;
  z-index: 2;
}

.support-entry-step,
.support-form-view {
  display: grid;
  gap: 22px;
}

.support-entry-step.is-hidden,
.support-form-view.is-hidden {
  display: none;
}

.support-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-entry-card {
  display: block;
  cursor: pointer;
}

.support-entry-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.support-entry-card-inner {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 164px;
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.46), rgba(233, 245, 253, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px) saturate(145%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.support-entry-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
}

.support-entry-card:hover .support-entry-card-inner {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(47, 143, 212, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.support-entry-checkbox:checked + .support-entry-card-inner {
  background: linear-gradient(180deg, rgba(231, 248, 255, 0.68), rgba(205, 234, 249, 0.34));
  border-color: rgba(196, 233, 255, 0.72);
  box-shadow:
    0 20px 38px rgba(47, 143, 212, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.support-entry-checkbox:checked + .support-entry-card-inner::after {
  content: "선택됨";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1c628d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.support-entry-icon,
.support-entry-name,
.support-entry-text {
  position: relative;
  z-index: 1;
}

.support-entry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #276c98;
  font-size: 1.1rem;
  font-weight: 700;
}

.support-entry-name {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.3rem;
  color: #184f72;
}

.support-entry-text {
  color: #54768d;
  font-size: 0.92rem;
  line-height: 1.65;
}

.support-entry-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #1c628d;
  font-size: 0.74rem;
  font-weight: 700;
}

.support-entry-card.is-closed {
  cursor: default;
}

.support-entry-card.is-closed .support-entry-card-inner {
  background: linear-gradient(180deg, rgba(238, 242, 245, 0.6), rgba(226, 232, 236, 0.36));
  border-color: rgba(205, 214, 221, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.support-entry-card.is-closed .support-entry-icon,
.support-entry-card.is-closed .support-entry-name,
.support-entry-card.is-closed .support-entry-text {
  color: #6e7f8d;
}

.support-entry-card.is-closed .support-entry-status {
  background: rgba(113, 125, 136, 0.16);
  color: #56636e;
}

.support-entry-card.is-closed:hover .support-entry-card-inner {
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.support-entry-actions {
  margin-top: 4px;
}

.support-start-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  box-shadow: none;
  filter: none;
}

.support-start-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.support-form {
  display: grid;
  gap: 22px;
}

.support-form-section {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  --section-tint-a: rgba(249, 253, 255, 0.42);
  --section-tint-b: rgba(237, 248, 255, 0.24);
  --section-border: rgba(255, 255, 255, 0.34);
  --section-glow: rgba(255, 255, 255, 0.48);
  --section-focus-ring: rgba(203, 236, 255, 0.28);
  --section-focus-shadow: rgba(47, 143, 212, 0.12);
  --section-title-color: #184f72;
  --section-eyebrow-color: #6a95b2;
  --field-bg-top: rgba(255, 255, 255, 0.62);
  --field-bg-bottom: rgba(243, 251, 255, 0.34);
  --field-border: rgba(255, 255, 255, 0.46);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.42), rgba(237, 248, 255, 0.24));
  border: 1px solid var(--section-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(140%);
}

.support-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 12% 18%, var(--section-glow), rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
}

.support-form-section > * {
  position: relative;
  z-index: 1;
}

.support-section-head {
  margin-bottom: 18px;
}

.support-section-eyebrow {
  margin-bottom: 6px;
  color: var(--section-eyebrow-color);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-section-title {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.45rem;
  color: var(--section-title-color);
}

.support-form-section-primary {
  --section-tint-a: rgba(240, 251, 255, 0.46);
  --section-tint-b: rgba(220, 243, 255, 0.22);
  --section-border: rgba(209, 238, 255, 0.46);
  --section-glow: rgba(255, 255, 255, 0.56);
  --section-focus-ring: rgba(188, 232, 255, 0.3);
  --section-focus-shadow: rgba(58, 156, 216, 0.14);
  --section-title-color: #15577d;
  --section-eyebrow-color: #5c9abd;
  --field-bg-top: rgba(255, 255, 255, 0.68);
  --field-bg-bottom: rgba(231, 248, 255, 0.34);
  --field-border: rgba(218, 242, 255, 0.5);
  background: linear-gradient(180deg, var(--section-tint-a), var(--section-tint-b));
}

.support-form-section-secondary {
  --section-tint-a: rgba(248, 246, 255, 0.4);
  --section-tint-b: rgba(231, 241, 255, 0.24);
  --section-border: rgba(227, 227, 255, 0.4);
  --section-glow: rgba(255, 255, 255, 0.52);
  --section-focus-ring: rgba(223, 224, 255, 0.32);
  --section-focus-shadow: rgba(105, 126, 214, 0.14);
  --section-title-color: #4b5fa6;
  --section-eyebrow-color: #7e85bf;
  --field-bg-top: rgba(255, 255, 255, 0.66);
  --field-bg-bottom: rgba(242, 245, 255, 0.34);
  --field-border: rgba(234, 236, 255, 0.52);
  background: linear-gradient(180deg, var(--section-tint-a), var(--section-tint-b));
}

.support-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-field {
  display: grid;
  gap: 10px;
}

.support-field-full {
  grid-column: 1 / -1;
}

.support-label {
  color: #0f3a52;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d4e8f5;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9fdfb 0%, #f5f9fb 100%);
  color: var(--text-dark);
  font: inherit;
  outline: none;
  box-shadow: 0 2px 8px rgba(47, 143, 212, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px) saturate(120%);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-field textarea {
  min-height: 140px;
  resize: vertical;
}

.support-field input:hover,
.support-field textarea:hover,
.support-field select:hover {
  border-color: #a8d1e8;
  box-shadow: 0 4px 12px rgba(47, 143, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: #2f8fd4;
  box-shadow: 
    0 0 0 3.5px rgba(47, 143, 212, 0.1),
    0 6px 20px rgba(47, 143, 212, 0.15),
    inset 0 1px 2px rgba(47, 143, 212, 0.06);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fcfffe 0%, #f7fbfd 100%);
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: #8ab5cc;
  font-weight: 400;
}

.support-submit-wrap {
  position: relative;
  --submit-panel-top: rgba(241, 250, 255, 0.34);
  --submit-panel-bottom: rgba(228, 244, 253, 0.18);
  --submit-panel-border: rgba(255, 255, 255, 0.3);
  padding: 22px 24px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--submit-panel-top), var(--submit-panel-bottom));
  border: 1px solid var(--submit-panel-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(150%);
}

.support-submit-wrap-accent {
  --submit-panel-top: rgba(233, 248, 255, 0.44);
  --submit-panel-bottom: rgba(210, 236, 251, 0.22);
  --submit-panel-border: rgba(213, 240, 255, 0.42);
}

.support-submit-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.support-submit-wrap > * {
  position: relative;
  z-index: 1;
}

.support-submit {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #4aa7e0, #2f8fd4 58%, #2472b1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(47, 143, 212, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.support-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(47, 143, 212, 0.3);
  filter: saturate(1.05);
}

.support-submit:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
  box-shadow: none;
  filter: none;
}

.support-form-note {
  margin-top: 12px;
  color: #637d90;
  font-size: 0.88rem;
  line-height: 1.6;
}

.support-form-note[data-state="loading"] {
  color: #376f97;
}

.support-form-note[data-state="success"] {
  color: #1d7a55;
}

.support-form-note[data-state="error"] {
  color: #b14b4b;
}

/* ?�?� DESKTOP ?�?� */
@media (min-width: 1024px) {
  .hero-circle-bg {
    width: min(90vh, 960px);
    height: min(90vh, 960px);
    opacity: 0.5;
  }
  .hero { padding: 60px 6% 160px; }
  .hero-content { max-width: 780px; }
  .hero-title { font-size: clamp(4.5rem, 8.5vw, 7.5rem); }
  .hero-tags { gap: 12px; }
  .about-grid    { max-width: 1280px; }
  .members-grid  { max-width: 1400px; }
  .stack-container { max-width: 1000px; }
  .stack-grid { grid-template-columns: repeat(6, 1fr); }
  section { padding: 100px 40px; }
  .join-content { max-width: 800px; }
}

/* ?�?� MOBILE ?�?� */
@media (max-width: 600px) {
  .hero { padding: 60px 16px 100px; }
  .join-btn { font-size: 1.1rem; padding: 14px 32px; }
  .about-grid, .members-grid, .stack-grid { grid-template-columns: 1fr; }
  .join-btn, .join-btn-lg { animation-duration: 9.5s; }
  .hero-circle-bg::before { content: none !important; }
  .magic-cast-layer { display: block; }
  .magic-constellation-layer { display: block; }
  .about-section::before,
  .members-section::before,
  .stack-section::before,
  .join-section::after { opacity: 0.34; }
  .about-section::after,
  .members-section::after,
  .stack-section::after {
    top: -10px;
    height: 70px;
    opacity: 0.24;
  }
  .support-hero {
    padding: 72px 16px;
  }
  .support-form-header {
    margin-bottom: 22px;
    padding-bottom: 20px;
  }
  .support-thanks-page .support-shell {
    width: min(100%, 480px);
  }
  .support-thanks-logo-wrap {
    width: 176px;
    height: 176px;
  }
  .support-thanks-logo {
    width: 112px;
    height: 112px;
  }
  .support-thanks-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
  .support-thanks-desc {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .support-form-card {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .support-entry-grid {
    grid-template-columns: 1fr;
  }
  .support-entry-card-inner {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 16px;
  }
  .support-form-card::before {
    inset: 6px;
    border-radius: 12px;
  }
  .support-form-section,
  .support-submit-wrap {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .support-form-grid {
    grid-template-columns: 1fr;
  }
  .support-section-title {
    font-size: 1.25rem;
  }
}

/* ?�?� SCROLL REVEAL ?�?� */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ADMIN */
.admin-body {
  min-height: 100vh;
  margin: 0;
  color: #e4eef7;
  background: #0c141d;
}

.admin-shell {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #111b25;
}

.admin-panel-wide {
  padding: 24px;
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-heading-detail {
  align-items: flex-start;
}

.admin-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: #f3f7fb;
}

.admin-subtitle {
  margin: 8px 0 0;
  max-width: 680px;
  color: rgba(228, 238, 247, 0.68);
  line-height: 1.6;
}

.admin-stat,
.admin-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d7e4f0;
  font-size: 0.88rem;
  text-decoration: none;
}

.admin-link-chip {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-filter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: #d7e4f0;
  font-size: 0.87rem;
  text-decoration: none;
}

.admin-filter-link strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(243, 247, 251, 0.72);
}

.admin-filter-link.is-active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f3f7fb;
}

.admin-filter-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-control-section {
  margin-bottom: 18px;
}

.admin-section-heading {
  margin-bottom: 12px;
}

.admin-section-title {
  margin: 0;
  font-size: 1rem;
  color: #f3f7fb;
}

.admin-section-copy {
  margin: 6px 0 0;
  color: rgba(228, 238, 247, 0.6);
  font-size: 0.9rem;
}

.admin-member-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141f2a;
}

.admin-member-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f7fb;
}

.admin-member-state {
  margin: 6px 0 0;
  color: #9ed1a7;
  font-size: 0.84rem;
}

.admin-member-state.is-closed {
  color: #d6a0a0;
}

.admin-inline-form {
  margin: 0;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-action-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e4f0;
  font-size: 0.86rem;
  cursor: pointer;
}

.admin-action-button.is-active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #f3f7fb;
}

.admin-action-button.is-danger {
  border-color: rgba(217, 120, 120, 0.2);
  color: #f0c2c2;
}

.admin-card-title-row,
.admin-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-status-chip.is-pending {
  background: rgba(255, 255, 255, 0.07);
  color: #d8e4ef;
}

.admin-status-chip.is-hold {
  background: rgba(214, 188, 120, 0.15);
  color: #e5d29b;
}

.admin-status-chip.is-accepted {
  background: rgba(114, 181, 132, 0.16);
  color: #a7d9b4;
}

.admin-status-chip.is-rejected {
  background: rgba(196, 112, 112, 0.16);
  color: #e0aaaa;
}

.admin-application-list {
  display: grid;
  gap: 12px;
}

.admin-application-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141f2a;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-application-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #172330;
}

.admin-application-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f4f8fb;
}

.admin-card-meta,
.admin-card-time,
.admin-card-members {
  margin: 0;
  color: rgba(228, 238, 247, 0.64);
}

.admin-card-members {
  margin-top: 10px;
  font-weight: 600;
  color: #d9e6f1;
}

.admin-card-preview {
  margin: 10px 0 0;
  color: rgba(228, 238, 247, 0.62);
  line-height: 1.6;
}

.admin-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-card-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e6f1;
  font-size: 0.82rem;
}
.admin-tag-member {
  background: rgba(47, 143, 212, 0.18) !important;
  color: #7ec0e8 !important;
  border: 1px solid rgba(47, 143, 212, 0.3);
}
.admin-tag-staff {
  background: rgba(120, 80, 200, 0.18) !important;
  color: #c4a7f5 !important;
  border: 1px solid rgba(120, 80, 200, 0.3);
}

.admin-empty-state {
  padding: 40px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: center;
  color: rgba(228, 238, 247, 0.68);
}

.admin-empty-state h2 {
  margin: 0 0 10px;
  color: #f3f7fb;
}

.admin-empty-state p {
  margin: 0;
}

.admin-back-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: #c7d8e6;
  text-decoration: none;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-detail-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141f2a;
}

.admin-detail-card-full {
  grid-column: 1 / -1;
}

.admin-detail-label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 238, 247, 0.48);
}

.admin-detail-value {
  margin: 0;
  color: #f3f7fb;
  font-size: 0.97rem;
  line-height: 1.65;
}

.admin-detail-pre {
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 800px) {
  .admin-shell {
    width: min(100vw - 20px, 980px);
    padding: 20px 0 32px;
  }

  .admin-panel-wide {
    padding: 16px;
  }

  .admin-heading,
  .admin-application-top {
    flex-direction: column;
  }

  .admin-member-controls {
    grid-template-columns: 1fr;
  }

  .admin-member-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-filter-nav {
    gap: 6px;
  }

  .admin-link-chip {
    max-width: 100%;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   지원 유형 선택 / 역할 선택 카드 (리퀴드글라스 없음)
═══════════════════════════════════════════════════ */

/* 공통 스텝 숨김 */
.support-step.is-hidden { display: none !important; }

/* 뒤로 버튼 */
.appl-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--sky-deep, #2f8fd4);
  cursor: pointer;
  font: 600 0.88rem/1 inherit;
  padding: 0;
  margin-bottom: 18px;
  opacity: 0.75;
  transition: opacity 0.18s, transform 0.18s;
  text-decoration: none;
}
.appl-back-btn:hover { opacity: 1; transform: translateX(-2px); }

/* 유형 선택 그리드 (2열) */
.appl-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

/* 유형 카드 */
.appl-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 24px 36px;
  border: 1.5px solid rgba(47, 143, 212, 0.22);
  border-radius: 20px;
  background: rgba(229, 244, 252, 0.28);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(47,143,212,0.06);
  text-decoration: none;
  color: inherit;
}
.appl-type-card:hover {
  border-color: rgba(47, 143, 212, 0.5);
  background: rgba(218, 238, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(47,143,212,0.14);
}
.appl-type-icon {
  font-size: 2rem;
  color: var(--sky-deep, #2f8fd4);
  line-height: 1;
}
.appl-type-title {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.25rem;
  color: #15577d;
  font-weight: 700;
}
.appl-type-desc {
  font-size: 0.85rem;
  color: #5b8aac;
  text-align: center;
  line-height: 1.5;
}

/* ── 역할 선택 그리드 (폴라로이드) ── */
/* ── 역할 선택 그리드 ── */
.appl-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

/* 역할 카드 */
.appl-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px 22px;
  border: 1.5px solid rgba(47, 143, 212, 0.2);
  border-radius: 16px;
  background: rgba(229, 244, 252, 0.22);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(47,143,212,0.05);
  text-decoration: none;
  color: inherit;
}
.appl-role-card:hover {
  border-color: rgba(47, 143, 212, 0.48);
  background: rgba(218, 238, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47,143,212,0.12);
}

.appl-role-icon { font-size: 1.5rem; color: var(--sky-deep,#2f8fd4); }
.appl-role-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #15577d;
  text-align: center;
}

/* 클립 입력 행 */
.appl-clip-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.appl-clip-row input { 
  flex: 1; 
}

/* 클립 목록 항목 */
.appl-clip-row[data-idx] {
  padding: 12px 14px;
  background: linear-gradient(135deg, #f5f9fb 0%, #f0f6fa 100%);
  border: 1.5px solid #d4e8f5;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(47, 143, 212, 0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.appl-clip-row[data-idx]:hover {
  border-color: #a8d1e8;
  box-shadow: 0 3px 10px rgba(47, 143, 212, 0.12);
  background: linear-gradient(135deg, #fafcfd 0%, #f5fafb 100%);
}

.appl-clip-row[data-idx] input {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  color: #1f5580;
  font-weight: 500;
}

.appl-clip-row[data-idx] input:focus {
  box-shadow: none;
  transform: none;
}

.appl-add-clip {
  flex-shrink: 0;
  padding: 12px 16px;
  border: 2px solid #2f8fd4;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 143, 212, 0.08) 0%, rgba(126, 192, 232, 0.06) 100%);
  color: #2f8fd4;
  font: 600 0.9rem 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(47, 143, 212, 0.08);
}

.appl-add-clip:hover { 
  background: linear-gradient(135deg, rgba(47, 143, 212, 0.16) 0%, rgba(126, 192, 232, 0.12) 100%);
  border-color: #2f8fd4;
  box-shadow: 0 4px 12px rgba(47, 143, 212, 0.15);
  transform: translateY(-2px);
}

.appl-add-clip:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(47, 143, 212, 0.1);
}

.appl-add-clip:disabled { 
  opacity: 0.5; 
  cursor: not-allowed;
  transform: none;
}

/* 삭제 버튼 */
.appl-add-clip[data-idx] {
  background: linear-gradient(135deg, rgba(210, 80, 80, 0.08) 0%, rgba(200, 100, 100, 0.06) 100%);
  border-color: #d46262;
  color: #a83a3a;
  font-weight: 700;
  font-size: 1rem;
}

.appl-add-clip[data-idx]:hover {
  background: linear-gradient(135deg, rgba(210, 80, 80, 0.16) 0%, rgba(200, 100, 100, 0.12) 100%);
  border-color: #a83a3a;
  box-shadow: 0 4px 12px rgba(210, 80, 80, 0.15);
}

.appl-add-clip[data-idx]:active {
  transform: translateY(0);
}

/* 파일 첨부 행 (텍스트 입력 + 파일 버튼) */
.appl-file-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.appl-file-row input[type="text"] { 
  flex: 1; 
}

.appl-file-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(218, 238, 248, 0.5) 0%, rgba(174, 214, 239, 0.3) 100%);
  border: 2px solid #a8d1e8;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1f5580;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(126, 192, 232, 0.1);
}

.appl-file-btn:hover { 
  background: linear-gradient(135deg, rgba(218, 238, 248, 0.75) 0%, rgba(174, 214, 239, 0.5) 100%);
  border-color: #2f8fd4;
  box-shadow: 0 4px 12px rgba(47, 143, 212, 0.15);
  transform: translateY(-2px);
}

.appl-file-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(47, 143, 212, 0.1);
}

.appl-file-hidden { 
  display: none; 
}

/* 힌트 텍스트 */
.appl-hint {
  font-size: 0.8rem;
  color: #7fa2b7;
  margin-top: 4px;
  line-height: 1.4;
}

/* 선택된 역할 배지 */
.appl-selected-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(47, 143, 212, 0.1) 0%, rgba(126, 192, 232, 0.06) 100%);
  border: 2px solid #a8d1e8;
  color: #1f5580;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(47, 143, 212, 0.08);
}

/* 모바일 */
@media (max-width: 600px) {
  .appl-type-grid { grid-template-columns: 1fr; }
  .appl-role-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 마감 상태 ── */
.appl-type-card--closed,
.appl-role-card--closed {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.45) brightness(0.96);
  pointer-events: none;
  --tilt: 0deg;  /* 마감 카드는 기울기 없음 */
}
.appl-closed-badge,
.appl-role-closed-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  background: rgba(0,0,0,0.06);
  border: 1.5px solid rgba(0,0,0,0.14);
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 4px;
}

/* index.html 역할 카드 마감 상태 */
.role-status.closed {
  color: #999;
  background: rgba(0,0,0,0.04);
  border: 1.5px solid rgba(0,0,0,0.13);
  animation: none;
}
.role-apply-btn.disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(0,0,0,0.12);
  color: #aaa;
  background: transparent;
}
.role-apply-btn.disabled::after {
  content: '';
}

/* ═══════════════════════════════════════════════════════
   ROLES SECTION — magical night sky
═══════════════════════════════════════════════════════ */
@keyframes cardSlideUp {
  from { opacity: 0; transform: rotate(var(--tilt, 0deg)) translateY(38px); }
  to   { opacity: 1; transform: rotate(var(--tilt, 0deg)) translateY(0); }
}
@keyframes topLineDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes tagAppear {
  from { opacity: 0; transform: translateX(-9px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes recruitBeat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100,130,255,0); }
  50%       { box-shadow: 0 0 0 5px rgba(100,130,255,0.16); }
}
@keyframes starTwinkle {
  0%, 100% { opacity: var(--star-base-op, 0.35); transform: scale(1); }
  50%       { opacity: calc(var(--star-base-op, 0.35) * 2.1); transform: scale(1.7); }
}

.roles-section {
  padding: 90px 20px 80px;
  background: linear-gradient(155deg, #edf1ff 0%, #f5f7ff 30%, #fafbff 60%, #f3f6ff 100%);
  position: relative;
  overflow: hidden;
}
.roles-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 42% at 50% -8%,  rgba(110,140,255,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 65%  32% at 4%  58%,  rgba(90,130,240,0.06)  0%, transparent 70%),
    radial-gradient(ellipse 55%  28% at 96% 50%,  rgba(140,100,255,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 80%  22% at 50% 108%, rgba(150,185,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Star / constellation SVG overlay */
.roles-stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.roles-stars-bg svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.rs-twinkle {
  animation: starTwinkle var(--twinkle-dur, 3s) ease-in-out infinite;
  animation-delay: var(--twinkle-del, 0s);
}

.roles-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.roles-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: #6b82d4;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.roles-title {
  font-family: 'PyeongChangPeace', 'Jua', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.roles-subtitle {
  font-size: 0.94rem;
  color: var(--text-mid);
  margin-bottom: 22px;
}
.roles-title-bar {
  width: 200px;
  height: 1.5px;
  background: rgba(100,130,240,0.15);
  margin: 0 auto;
  overflow: hidden;
}
.roles-title-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, #7b97d4, #b090e8, transparent);
  background-size: 200%;
  animation: shimmer 2.4s linear infinite;
}

.roles-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roles-grid { grid-template-columns: 1fr; } }

/* ── Role Card — Polaroid ── */
.role-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 4px 4px 3px 3px;
  padding: 26px 22px 34px;
  overflow: hidden;
  opacity: 0;
  transform: rotate(var(--tilt, 0deg)) translateY(38px);
  transition: box-shadow 0.28s, transform 0.24s, border-color 0.28s;
  box-shadow:
    0 10px 38px rgba(30, 50, 120, 0.13),
    0 3px  10px rgba(30, 50, 120, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
/* Per-card tilt — scattered polaroid feel */
.role-card:nth-child(1) { --tilt:  0.7deg; }
.role-card:nth-child(2) { --tilt: -0.5deg; }
.role-card:nth-child(3) { --tilt:  0.6deg; }
.role-card:nth-child(4) { --tilt: -0.7deg; }
.role-card:nth-child(5) { --tilt:  0.4deg; }
.role-card:nth-child(6) { --tilt: -0.6deg; }

.role-card.is-visible {
  animation: cardSlideUp 0.54s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: var(--delay, 0s);
}
.role-card.is-done {
  opacity: 1;
  transform: rotate(var(--tilt, 0deg));
}
.role-card:hover {
  border-color: rgba(180, 195, 255, 0.6);
  box-shadow:
    0 18px 58px rgba(30, 50, 120, 0.18),
    0 6px  18px rgba(30, 50, 120, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}
.role-card.is-visible:hover,
.role-card.is-done:hover {
  transform: rotate(var(--tilt, 0deg)) translate(-2px, -5px);
}

/* Polaroid magic tape strip */
.role-top-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(150, 185, 255, 0.6),
    rgba(190, 150, 255, 0.55),
    rgba(140, 205, 255, 0.6)
  );
  transform: scaleX(0);
  transform-origin: left;
}
.role-card.is-visible .role-top-line {
  animation: topLineDraw 0.64s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: var(--delay, 0s);
}

/* Photo corner mount decorations */
.role-corner { position: absolute; width: 12px; height: 12px; pointer-events: none; }
.role-corner.tl { top: 8px;    left: 8px;  border-top:    1.5px solid rgba(150,170,255,0.45); border-left:  1.5px solid rgba(150,170,255,0.45); }
.role-corner.br { bottom: 8px; right: 8px; border-bottom: 1.5px solid rgba(150,170,255,0.45); border-right: 1.5px solid rgba(150,170,255,0.45); }

.role-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.role-icon { font-size: 1.55rem; line-height: 1; }
.role-badge {
  font-size: 0.64rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6b82d4;
  font-weight: 700;
  border: 1.5px solid rgba(100,130,220,0.28);
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(120,150,255,0.06);
}
.role-name {
  font-family: 'Jua', 'Nunito', sans-serif;
  font-size: 1.18rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.role-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 18px;
}
.role-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.role-tags li {
  font-size: 0.72rem;
  color: #5e78cc;
  background: rgba(120,150,255,0.07);
  border: 1px solid rgba(100,130,220,0.2);
  border-radius: 2px;
  padding: 4px 9px;
  opacity: 0;
  transform: translateX(-8px);
}
.role-card.is-visible .role-tags li                { animation: tagAppear 0.3s ease forwards; }
.role-card.is-visible .role-tags li:nth-child(1)   { animation-delay: calc(var(--delay, 0s) + 0.22s); }
.role-card.is-visible .role-tags li:nth-child(2)   { animation-delay: calc(var(--delay, 0s) + 0.34s); }
.role-card.is-visible .role-tags li:nth-child(3)   { animation-delay: calc(var(--delay, 0s) + 0.46s); }
.role-card.is-visible .role-tags li:nth-child(4)   { animation-delay: calc(var(--delay, 0s) + 0.58s); }

/* Polaroid bottom strip */
.role-footer {
  border-top: 1px solid rgba(150,170,240,0.16);
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.role-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 2px;
}
.role-status.recruiting {
  color: #5b7ad4;
  background: rgba(100,130,255,0.07);
  border: 1.5px solid rgba(100,130,255,0.28);
  animation: recruitBeat 2.8s ease-in-out infinite;
}
.role-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #5b7ad4;
  text-decoration: none;
  padding: 5px 13px;
  border: 1.5px solid rgba(100,130,255,0.3);
  border-radius: 2px;
  background: rgba(120,150,255,0.05);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.role-apply-btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s;
}
.role-apply-btn:hover {
  background: rgba(100,130,255,0.13);
  color: #3d5abf;
  border-color: rgba(100,130,255,0.48);
  box-shadow: 0 2px 12px rgba(100,130,255,0.14);
}
.role-apply-btn:hover::after {
  transform: translateX(3px);
}
