/* =========================================================================
 * Dosya    : themes/default/assets/css/headers/header_site_quiz_home_hero.css
 * Eski yol : css/modules/quiz/hero.css
 * Taşındı  : 2026-10-19 · T3.4 (K1 yerleşim kuralı: <tip>/<tip>_<kapsam>_<modül>)
 * Kapsam   : Quiz ana sayfası hero kartı (başlık, çağrılar)
 * ========================================================================= */

/* ==========================================================================
   ACIZANE QUIZ - HERO
   Sorumluluk: Hero kartı, başlık, açıklama ve çağrı düğmeleri.
   Sağdaki görsel kompozisyon hero-art.css'tedir.
   ========================================================================== */

.quiz-home__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);

  padding: clamp(28px, 3.6vw, 52px);
  border: 1px solid rgb(242 184 75 / 22%);
  border-radius: calc(var(--qh-radius) + 4px);

  color: #ffffff;
  background:
    radial-gradient(circle at 78% 45%, rgb(242 184 75 / 20%), transparent 40%),
    radial-gradient(circle at 0% 0%, rgb(59 130 246 / 22%), transparent 45%),
    linear-gradient(135deg, var(--qh-navy-950) 0%, var(--qh-navy-800) 55%, var(--qh-navy-700) 100%);
  box-shadow: 0 18px 44px rgb(6 21 41 / 22%);
}

/* Fine gold dot texture, fading out towards the text side. */
.quiz-home__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(246 213 138 / 22%) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}

.quiz-home__hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.quiz-home__hero-eyebrow {
  display: inline-block;
  /* Satır içi kutu taban boşluğu bırakmasın (DOCTYPE, 20.10.2026). */
  vertical-align: top;
  margin-bottom: 14px;
  color: var(--qh-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiz-home__hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.quiz-home__hero-description {
  max-width: 34ch;
  margin: 0;
  color: rgb(226 235 248 / 86%);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
}

.quiz-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.quiz-home__hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 14px;
  background: rgb(255 255 255 / 6%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.quiz-home__hero-action--primary {
  border-color: var(--qh-gold);
  background: linear-gradient(180deg, var(--qh-gold-light), var(--qh-gold));
  color: var(--qh-navy-950);
  box-shadow: 0 10px 22px rgb(242 184 75 / 28%);
}

.quiz-home__hero-action:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (hover: hover) {
  .quiz-home__hero-action:hover {
    background: rgb(255 255 255 / 14%);
    transform: translateY(-1px);
  }

  .quiz-home__hero-action--primary:hover {
    background: linear-gradient(180deg, #fae3a8, var(--qh-gold-light));
  }
}

@media (max-width: 720px) {
  .quiz-home__hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .quiz-home__hero-action {
    flex: 1 1 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-home__hero-action {
    transition: none;
  }
}
