/* ============================================
   나도 일타강사다 이벤트 페이지 전용 스타일
   - 메인 사이트 톤 일관성 유지
   - 흰 배경 + 네이비(#1a365d) + 파란 액센트(#2563eb)
   ============================================ */

/* ===== Common Variables ===== */
:root {
  --color-navy: #1a365d;
  --color-blue: #2563eb;
  --color-blue-light: #dbeafe;
  --color-gold: #d4a574;
  --color-text: #1a1a1a;
  --color-text-sub: #4b5563;
  --color-text-mute: #6b7280;
  --color-border: #e5e7eb;
  --color-bg-alt: #f9fafb;
  --color-bg-soft: #f3f4f6;
}

/* ===== Section Label (공통) ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* ===== 히어로 섹션 ===== */
.hero-event {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-event .event-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-blue);
  border-radius: 999px;
}

.hero-event .event-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-event .event-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-sub);
  margin: 0 0 2rem;
  font-weight: 500;
}

.hero-event .event-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-navy);
  font-weight: 600;
  margin: 0 0 2rem;
  font-style: italic;
}

.hero-event .event-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-mute);
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.hero-event .event-meta .dot {
  color: var(--color-border);
}

/* ===== 이벤트 소개 ===== */
.event-intro {
  padding: 5rem 0;
  background: white;
}

.event-intro .section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}

.intro-content {
  max-width: 700px;
}

.intro-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  margin: 0 0 1.5rem;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.intro-content strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* ===== 영상 섹션 ===== */
.video-feature {
  padding: 5rem 0;
  background: white;
  border-top: 1px solid var(--color-border);
}

.video-feature.alt {
  background: var(--color-bg-alt);
}

.video-feature .section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.video-caption {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0 0 2.5rem;
  max-width: 700px;
}

.video-caption strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* 16:9 영상 임베드 */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 10px 40px rgba(26, 54, 93, 0.15);
  margin: 0 0 1.5rem;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
}

.video-meta .meta-item {
  font-size: 0.9rem;
  color: var(--color-text-mute);
  padding: 0.4rem 0.85rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.video-feature.alt .video-meta .meta-item {
  background: white;
}

/* ===== 인용 박스 ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  margin: 0;
  padding: 1.75rem;
  background: white;
  border-left: 4px solid var(--color-blue);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quote.parent-quote {
  border-left-color: var(--color-gold);
}

.video-feature.alt .quote {
  background: white;
}

.quote p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-navy);
  margin: 0 0 1rem;
  font-weight: 500;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--color-text-mute);
}

.quote-author {
  font-weight: 600;
  color: var(--color-text-sub);
}

.quote-time {
  font-size: 0.8rem;
  color: var(--color-text-mute);
}

/* ===== 학생 다양성 그리드 ===== */
.diversity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.diversity-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.diversity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.diversity-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
}

.diversity-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-sub);
  margin: 0;
}

/* ===== 채점 기준 ===== */
.grading-section {
  padding: 5rem 0;
  background: white;
  border-top: 1px solid var(--color-border);
}

.grading-section .section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-sub);
  margin: 0 0 2.5rem;
}

.section-desc strong {
  color: var(--color-navy);
  font-weight: 600;
}

.grading-table {
  max-width: 540px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.grading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.grading-row:last-child {
  border-bottom: none;
}

.grading-row .grading-item {
  color: var(--color-text);
}

.grading-row .grading-score {
  font-weight: 600;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.grading-row.total {
  background: var(--color-navy);
}

.grading-row.total .grading-item,
.grading-row.total .grading-score {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== 시상 명단 ===== */
.awards-section {
  padding: 5rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.awards-section .section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.award-tier {
  padding: 2rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
}

.award-tier.tier-first {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.tier-medal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier-medal.medal-gold {
  background: linear-gradient(135deg, #d4a574 0%, #c9956a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.tier-medal.medal-silver {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.tier-medal.medal-bronze {
  background: linear-gradient(135deg, #b87333 0%, #a0522d 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

.tier-medal.medal-participation {
  background: linear-gradient(135deg, var(--color-blue) 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  font-size: 1.5rem;
}

.tier-info {
  flex: 1;
}

.tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.25rem;
}

.tier-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--color-text-mute);
  font-size: 0.95rem;
  margin-left: 0.4rem;
}

.tier-stamp {
  font-size: 0.9rem;
  color: var(--color-blue);
  font-weight: 600;
  margin: 0;
}

.tier-students {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tier-students .student-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 0.6rem 1rem;
  background: var(--color-bg-soft);
  color: var(--color-navy);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tier-first .tier-students .student-name {
  background: var(--color-gold);
  color: white;
  font-size: 1.1rem;
  padding: 0.75rem 1.25rem;
}

.awards-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-mute);
  text-align: center;
}

/* ===== 학원 메시지 ===== */
.message-section {
  padding: 5rem 0;
  background: var(--color-navy);
  color: white;
}

.message-title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.message-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message-content strong {
  color: white;
  font-weight: 600;
}

/* ===== CTA 섹션 ===== */
.go-cta-section {
  padding: 4rem 0;
  background: white;
  border-top: 1px solid var(--color-border);
}

.go-section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.go-section-desc {
  font-size: 1.05rem;
  color: var(--color-text-sub);
  margin: 0 0 2rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.cta-card-primary {
  background: var(--color-navy);
  color: white;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.15);
}

.cta-card-primary:hover {
  background: #15294a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 54, 93, 0.25);
}

.cta-card-primary .cta-card-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-card-kakao {
  background: #FEE500;
  color: #1a1a1a;
}

.cta-card-kakao:hover {
  background: #ffd900;
  transform: translateY(-2px);
}

.cta-card-kakao .cta-card-label {
  background: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

.cta-card-secondary {
  background: white;
  color: var(--color-navy);
  border-color: var(--color-border);
}

.cta-card-secondary:hover {
  border-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.cta-card-secondary .cta-card-label {
  background: var(--color-bg-soft);
  color: var(--color-blue);
}

.cta-card-content {
  flex: 1;
}

.cta-card-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.cta-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}

.cta-card-desc {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.4;
  margin: 0;
}

.cta-card-arrow {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.cta-card:hover .cta-card-arrow {
  transform: translateX(4px);
}

/* ===== 반응형 ===== */
@media (max-width: 768px) {
  .hero-event {
    padding: 3.5rem 0 3rem;
  }

  .event-intro,
  .video-feature,
  .grading-section,
  .awards-section,
  .message-section {
    padding: 3.5rem 0;
  }

  .award-tier {
    padding: 1.5rem;
  }

  .tier-header {
    gap: 0.75rem;
  }

  .tier-medal {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .tier-medal.medal-participation {
    font-size: 1.25rem;
  }

  .go-cta-section {
    padding: 3rem 0;
  }

  .cta-card {
    padding: 1.25rem 1.5rem;
  }

  .tier-name {
    font-size: 1.2rem;
  }

  .tier-students .student-name {
    min-width: 60px;
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .quote {
    padding: 1.5rem;
  }

  .grading-row {
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-event .event-meta {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .diversity-card {
    padding: 1.25rem;
  }
}
