/* Popquizzle homepage. The top: sky, the headline, two game pictures at the sides, and the game characters on the islands along the bottom. */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #1F8BFF 0%, #4DB2FF 46%, #9BD8FF 78%, #C9ECFF 100%); color: var(--ink); }
.hero-main { position: relative; padding: 40px 5% 318px; }
.hero-copy { position: relative; z-index: 3; max-width: 690px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-copy h1 { font-weight: 800; font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.035em; line-height: .98; text-wrap: balance; }
.hero-copy h1 span { display: inline-block; background: var(--tang); color: var(--ink); padding: 0 .22em .06em; border-radius: .24em; transform: rotate(-3deg); box-shadow: 0 .09em 0 var(--tang-d); }
.hero-copy .sub { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.hero-copy .go { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 8px; }
.hero-copy .free { margin: 0; font-size: 15.5px; font-weight: 700; }
.hero-copy .search { margin-top: 6px; }
.hero-copy .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* the two game pictures at the sides, in tilted frames */
.art { position: absolute; z-index: 2; pointer-events: none; }
.art img { display: block; width: 100%; height: auto; }
@media (max-width: 1180px) { .art { display: none; } }
.shot-frame { padding: 6px; background: #fff; border-radius: 22px; box-shadow: 0 20px 44px rgba(11, 27, 74, .36); }
.shot-frame div { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--ink); }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.art.s1 { left: -1%; top: 70px; width: 23%; transform: rotate(-7deg); }
.art.s3 { right: -1%; top: 58px; width: 23%; transform: rotate(6deg); }

/* characters that live on the islands (inside the scenery picture) */
.isle-char image { filter: drop-shadow(0 2px 0 rgba(11, 27, 74, .18)); }
.swing { animation: pq-swing 3.4s ease-in-out infinite; }
.hop { animation: pq-hop 4.2s ease-in-out infinite; }

/* sections under the hero */
#decks { background: linear-gradient(180deg, #fff 0%, var(--pale) 100%); }
#decks .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
#decks .col, #games .col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 36px; }
#games { background: linear-gradient(180deg, var(--deep1) 0%, var(--deep2) 100%); color: #fff; padding: 150px 5% 190px; }
#games .lead { color: #EAF3FF; font-weight: 500; }
#games .two { display: flex; flex-direction: column; gap: 24px; }
#games .soon-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; }
#why { background: #fff; padding: 36px 5% 72px; }
#why .col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; }
#why h2 { max-width: 720px; }
#why .three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px 44px; }
#why .pt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
#why .ic { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
#why h3 { font-weight: 700; letter-spacing: -0.01em; font-size: 24px; line-height: 1.15; }
#why p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }

/* preview only: the bar for switching between the three hero looks */
