/**
 * HKAY Quiz — Hero Section  [hkay_hero] shortcode
 * Fonts (Inter, Noto Sans KR) are loaded by the theme or hkay-quiz.css.
 */

.hkay-hero {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, rgba(30,27,75,0.75) 0%, rgba(76,29,149,0.7) 50%, rgba(131,24,67,0.7) 100%),
  url('../../korea-main1.png?s=1024x1024&w=gi&k=20&c=Mxne903WBX6oshiJHgnsNmTAtgAyDKRlaOMLIoJ4zNs=')
              center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hkay-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hkay-hero__inner {
  position: relative;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hkay-hero__flag {
  font-size: 4rem;
  line-height: 1;
}

.hkay-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hkay-hero__title-en {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hkay-hero__title-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #c4b5fd;
  line-height: 1.3;
}

.hkay-hero__sub {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hkay-hero__sub-en {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.hkay-hero__sub-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #a78bfa;
  line-height: 1.5;
}

.hkay-hero__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0.25rem 0;
}

.hkay-hero__cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.hkay-hero__cat + .hkay-hero__cat::before {
  content: '·';
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.hkay-hero__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2.25rem;
  background: #ffffff;
  color: #1e1b4b;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hkay-hero__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  color: #1e1b4b;
  text-decoration: none;
}

.hkay-hero__meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hkay-hero {
    min-height: auto;
    padding: 3rem 1.25rem;
  }

  .hkay-hero__flag {
    font-size: 3rem;
  }

  .hkay-hero__title-en {
    font-size: 1.75rem;
  }

  .hkay-hero__title-ko {
    font-size: 1.05rem;
  }

  .hkay-hero__sub-en {
    font-size: 0.95rem;
  }

  .hkay-hero__sub-ko {
    font-size: 0.85rem;
  }

  .hkay-hero__cat + .hkay-hero__cat::before {
    display: none;
  }

  .hkay-hero__cta {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
  }
}