/* Twin Flame merchant palette; static screenshot and a single selection card. */
@import url("tokens.css");
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-latin.woff2") format("woff2"); font-style: normal; font-weight: 300 800; font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }
body { min-height: 100vh; min-height: 100svh; margin: 0; padding: 48px 20px 168px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--color-heading); background: var(--color-paper); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.page-backdrop { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .24; filter: blur(1px); pointer-events: none; }
.selector { width: min(100%, 500px); padding: 36px 36px 28px; text-align: center; background: var(--color-paper); border: 1px solid var(--color-red-soft); border-radius: 16px; box-shadow: 0 16px 64px oklch(22% .03 260 / .16); }
.program-name { margin: 0; font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
.program-name span { display: block; color: var(--color-red); }
.accent-rule { display: block; width: 32px; height: 3px; margin: 20px auto 24px; background: var(--color-red); border-radius: 2px; }
h1 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 5.8vw, 32px); line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.intro { margin: 12px 0 28px; color: var(--color-muted); font-size: 15px; line-height: 1.65; }
.gender-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gender-choice { display: flex; min-height: 132px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 20px 16px 16px; border: 1px solid transparent; border-radius: 10px; color: var(--color-paper); font-family: var(--font-display); font-size: 17px; font-weight: 700; text-decoration: none; transition: transform 140ms cubic-bezier(.2,.8,.2,1), opacity 140ms cubic-bezier(.2,.8,.2,1); }
.gender-choice.female { background: var(--color-red); }
.gender-choice.male { background: var(--color-heading); }
.gender-choice svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gender-choice:hover { transform: translateY(-2px); opacity: .91; }
.gender-choice:active { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-heading); outline-offset: 4px; }
.skip-choice { display: inline-block; margin-top: 18px; padding: 8px; color: var(--color-muted); font-size: 12px; text-underline-offset: 3px; }
.skip-choice:hover { color: var(--color-heading); }
.page-footer { width: min(100%, 560px); margin-top: 24px; text-align: center; color: var(--color-muted); font-size: 11px; line-height: 1.65; }
.page-footer p { margin: 0 0 4px; }
.text-button { padding: 4px; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-bar { position: fixed; right: 20px; bottom: 20px; left: 20px; width: fit-content; max-width: calc(100% - 40px); margin: auto; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid var(--color-red-soft); border-radius: 10px; background: var(--color-paper); box-shadow: 0 4px 24px oklch(22% .03 260 / .1); font-size: 13px; }
.consent-bar p { margin: 0; white-space: nowrap; font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { min-height: 42px; padding: 10px 14px; border: 1px solid var(--color-heading); border-radius: 6px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.accept { color: var(--color-paper); background: var(--color-heading); }
.decline { color: var(--color-heading); background: var(--color-paper); }
.cookie-actions button:hover { opacity: .8; }
dialog { width: min(500px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--color-red-soft); border-radius: 12px; background: var(--color-paper); color: var(--color-heading); }
dialog::backdrop { background: oklch(20% .02 260 / .5); }
dialog h2 { margin-top: 0; font: 700 20px var(--font-display); }
dialog p { font-size: 14px; line-height: 1.7; }
.dialog-close { float: right; min-height: 32px; min-width: 32px; border: 0; background: transparent; color: inherit; font-size: 26px; cursor: pointer; }
@media (max-width: 540px) {
  body { padding: 32px 20px 144px; }
  .selector { padding: 28px 24px 20px; }
  .gender-choice { min-height: 126px; }
  .consent-bar { bottom: 12px; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 380px; padding: 12px; }
  .cookie-actions { justify-content: center; }
}
@media (max-height: 650px) and (min-width: 541px) {
  body { padding-top: 24px; padding-bottom: 112px; }
  .selector { padding-top: 24px; padding-bottom: 20px; }
  .accent-rule { margin: 12px auto 16px; }
  .intro { margin-bottom: 20px; }
  .gender-choice { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .gender-choice { transition: none; }
  .gender-choice:hover { transform: none; }
}
