/**
 * Home: hero (child HomepageHero view, or the HomepageFeatured card), trust strip (parent Credibility), live competitions
 * (child FeaturedCompetitions view), how it works (parent QuickGuide) and questions (parent Faq).
 */

/* Hero */
.pl-hero {
  background: var(--pl-ground);
}

.pl-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px 56px;
  align-items: center;
}

.pl-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 8px;
  background: var(--pl-tint-deep);
  border: 1px solid var(--pl-champagne);
  outline: 1px solid var(--pl-champagne);
  outline-offset: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.pl-hero__img,
.pl-hero__placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-hero__chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  background: var(--pl-ground);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
  color: var(--pl-black);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pl-hero__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.pl-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
}

body .pl-hero__title,
body .pl-hero__highlight {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--pl-black);
}

body .pl-hero__title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.pl-hero__copy {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--pl-ink);
}

.pl-hero__rule {
  height: 1px;
  width: 100%;
  background: var(--pl-champagne);
}

.pl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.ncs-hero__cta > .pl-hero__btn,
.ncs-hero__cta > .pl-hero__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.ncs-hero__cta > .pl-hero__btn {
  min-height: 52px;
  padding: 0 36px;
  font-size: 15px;
  letter-spacing: 0.14em;
  box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--pl-gold) 85%, transparent);
}

.ncs-hero__cta > .pl-hero__ghost {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--pl-gold);
  background: transparent;
  color: var(--pl-black);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

/* Featured prize (HomepageFeatured in the hero slot): shares the hero layout above */
.pl-featured__media {
  display: block;
  text-decoration: none;
}

body .pl-featured__title-link {
  color: inherit;
  text-decoration: none;
}

.pl-featured__countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 400px;
}

.pl-featured__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
}

.pl-featured__value {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--pl-black);
}

.pl-featured__unit {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-ink);
}

.pl-featured__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
}

.pl-featured__track {
  height: 4px;
  background: var(--pl-tint);
  border-radius: 999px;
  overflow: hidden;
}

.pl-featured__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pl-champagne), var(--pl-gold));
  border-radius: 999px;
}

.pl-featured__sold {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--pl-ink);
}

.pl-featured__price {
  font-size: 15px;
  color: var(--pl-ink);
}

.pl-featured__price strong {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--pl-black);
}

/* Trust strip */
body.home .credibility-section {
  padding: 0;
  background: var(--pl-tint);
  border-top: 1px solid var(--pl-champagne);
  border-bottom: 1px solid var(--pl-champagne);
}

body.home .credibility-section > div {
  max-width: 1200px;
  padding: 18px 16px;
}

body.home .credibility-section > div > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px 24px;
}

body.home .credibility-item {
  justify-content: center;
  text-align: center;
}

body.home .credibility-item > span:first-child {
  display: none;
}

body.home .credibility-item > span:last-child,
body.home .credibility-item:hover > span:last-child {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--pl-ink);
}

/* Live competitions (child FeaturedCompetitions view) */
body.home .pl-live {
  background: transparent;
}

.pl-live__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 16px 40px;
}

.pl-live__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.pl-live__titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pl-live__eyebrow,
body.home .quick-guide-section .max-w-6xl > div:first-child > p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
}

.pl-live__title,
body.home .quick-guide-section h2,
body.home .faq-section h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: normal;
  color: var(--pl-black);
}

.pl-live__all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-gold-ink);
  text-decoration: underline;
  text-decoration-color: var(--pl-gold);
  text-underline-offset: 6px;
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pl-live__all:hover {
    color: var(--pl-black);
  }
}

.pl-live__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.pl-live__grid > article {
  width: auto;
}

@media (min-width: 640px) {
  .pl-live__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pl-live__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* How it works (parent QuickGuide section) */
body.home .quick-guide-section {
  background: transparent;
  padding: 56px 0;
}

body.home .quick-guide-section .max-w-6xl {
  max-width: 1200px;
  padding: 0 16px;
}

body.home .quick-guide-section .max-w-6xl > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

/* The parent's fixed 'Quick Guide' pill; the subtitle becomes the eyebrow above the heading. */
body.home .quick-guide-section .max-w-6xl > div:first-child > span {
  display: none;
}

body.home .quick-guide-section .max-w-6xl > div:first-child > p {
  order: -1;
  margin: 0;
  line-height: 1.4;
}

body.home .quick-guide-section .max-w-6xl > div:first-child::after {
  content: "";
  width: 64px;
  height: 1px;
  margin-top: 8px;
  background: var(--pl-gold);
}

body.home .quick-guide-section .grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 640px) {
  body.home .quick-guide-section .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.home .quick-guide-section .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.home .quick-guide-card > div:first-child,
body.home .quick-guide-card > div:first-child:hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

/* Step number: plain lining numeral, set inline above the title. */
body.home .quick-guide-card > div:first-child > div:first-child {
  --color-white: var(--pl-gold-ink);
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--pl-gold-ink);
}

/* Step icon and the desktop connector arrows are not part of this layout. */
body.home .quick-guide-card > div:first-child > div:nth-child(2),
body.home .quick-guide-card > div:nth-child(2) {
  display: none;
}

body.home .quick-guide-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pl-black);
}

body.home .quick-guide-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pl-ink);
}

body.home .quick-guide-section .max-w-6xl > div:last-child > a {
  --color-white: var(--pl-black);
  min-height: 48px;
  padding: 0 28px;
  background: transparent;
  border: 1px solid var(--pl-black);
  border-radius: 18px;
  box-shadow: none;
  color: var(--pl-black);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition-property: background-color, border-color, color;
  transition-duration: 200ms;
}

@media (hover: hover) and (pointer: fine) {
  body.home .quick-guide-section .max-w-6xl > div:last-child > a:hover {
    background: var(--pl-gold);
    border-color: var(--pl-gold);
    box-shadow: none;
  }
}

body.home .quick-guide-section .max-w-6xl > div:last-child > a:focus-visible,
body.home .quick-guide-section .max-w-6xl > div:last-child > a:active {
  background: var(--pl-champagne);
  border-color: var(--pl-gold);
}

/* Questions (parent Faq section) */
body.home .faq-section {
  background: transparent;
  padding: 56px 0 88px;
}

body.home .faq-section .max-w-7xl {
  max-width: 820px;
  padding: 0 16px;
}

body.home .faq-section .max-w-7xl > div:first-child {
  margin-bottom: 24px;
}

body.home .faq-section [x-data] {
  border-top: 1px solid var(--pl-champagne);
}

body.home .faq-section .faq-item {
  border-bottom: 1px solid var(--pl-champagne);
}

body.home .faq-section .faq-item__question {
  gap: 16px;
  min-height: 60px;
  padding: 8px 0;
}

body.home .faq-section .faq-item__question > span:first-child {
  font-family: var(--faq-q-font);
  font-size: var(--faq-q-size);
  font-weight: var(--faq-q-weight);
  line-height: 1.3;
  color: var(--pl-black);
}

body.home .faq-section .faq-item__icon {
  flex-shrink: 0;
  color: var(--pl-gold-ink);
}

body.home .faq-section .faq-item__answer p {
  margin: 0;
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pl-ink);
}

body.home .faq-section .max-w-7xl > div:last-child p {
  color: var(--pl-ink);
}

body.home .faq-section .max-w-7xl > div:last-child a {
  color: var(--pl-gold-ink);
}

@media (hover: hover) and (pointer: fine) {
  body.home .faq-section .max-w-7xl > div:last-child a:hover {
    color: var(--pl-black);
  }
}

body.home .faq-section {
  --faq-q-font: var(--font-heading);
  --faq-q-size: 22px;
  --faq-q-weight: 600;
}

/* Recent winners (child RecentWinners component; head shares .pl-live__*) */
.pl-winners__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 16px 40px;
}

.pl-winners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-winners__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 18px;
}

.pl-winners__photo {
  flex: none;
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: var(--pl-tint-deep);
  border: 1px solid var(--pl-champagne);
  border-radius: 18px;
}

.pl-winners__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pl-winners__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--pl-black);
  overflow-wrap: anywhere;
}

.pl-winners__prize {
  font-size: 14px;
  color: var(--pl-ink);
}

.pl-winners__meta {
  font-size: 13px;
  color: var(--pl-gold-ink);
}
