/* The "Get the game" page (/get), the invite landing page (/i/<username>) and the support page's ticket form (/support),
   in the main menu's look. Loaded after site.css. */

/* ------------------------------------------------------------------------------------------------ the scene */
/* A full-bleed opener on the menu's blurred, graded night backdrop with its grain (as the home page's hero). */
.scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + clamp(36px, 7vw, 90px)) 0 clamp(64px, 9vw, 120px);
  background: var(--night-0);
}
.scene-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene-bg .bg {
  position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover;
  animation: dolly 30s ease-in-out infinite alternate;
}
.scene-bg .shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255, 61, 154, 0.22), rgba(255, 61, 154, 0) 70%),
    linear-gradient(180deg, rgba(7, 4, 12, 0.6) 0%, rgba(7, 4, 12, 0.25) 30%, rgba(7, 4, 12, 0.4) 70%, var(--night-0) 100%);
}
.title { font-size: clamp(2.3rem, 7.4vw, 4.6rem); text-shadow: var(--shadow-ink); }
.head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 60px); }
.head .lede { margin: 18px 0 0; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .eyebrow { justify-content: center; }
.head-center .eyebrow::after { content: ""; flex: none; width: 32px; height: 2px; background: var(--gold); }
.head-center .lede { margin-inline: auto; }

/* ------------------------------------------------------------------------------------------------ get the game */
.get-platforms .platform { padding: 26px 24px 26px; }
.get-platforms .platform p { font-size: 0.95rem; }
.get-note { margin: 22px auto 0; max-width: 46em; text-align: center; color: var(--text-3); font-size: 0.92rem; }

.notify { display: grid; gap: 56px; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
@media (min-width: 960px) { .notify { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.notify-card { max-width: 640px; transform: rotate(-1.2deg); }
.notify-card h2 { color: var(--cream); font-size: clamp(1.5rem, 4.4vw, 2.2rem); text-shadow: 3px 3px 0 var(--ink); margin: 0 0 22px; }
.notify-card > p { color: var(--ink-2); }
.notify-card .tape-tl { left: -86px; top: -84px; }
@media (max-width: 599px) { .notify-card .tape-tl { left: -54px; top: -54px; width: 90px; } }
.notify-prints { position: relative; display: grid; align-items: start; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 520px; justify-self: center; width: 100%; }
.notify-prints .print:nth-child(2) { margin-top: 48px; }

/* Forms on cream paper (the launch list here, the ticket form on /support). */
.on-paper .field, .on-paper select.field, .on-paper textarea.field {
  background: #fffaf3; color: var(--ink); border: 2px solid rgba(29, 17, 35, 0.55); border-radius: 12px;
}
.on-paper .field::placeholder { color: #8a7a86; }
.on-paper .field:hover { border-color: var(--ink); }
.on-paper .field:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 154, 0.22); }
.on-paper .consent { color: var(--ink-2); }
.on-paper .consent a, .on-paper a { color: var(--ink); font-weight: 700; }
.on-paper .form-status[data-tone="ok"] { color: #0f7a4f; }
.on-paper .form-status[data-tone="bad"] { color: #b3123d; }
.on-paper .wl-msg { display: none; }

/* ------------------------------------------------------------------------------------------------ invite */
.scene-invite { display: flex; align-items: center; }
.invite { position: relative; display: grid; justify-items: center; gap: 42px; }
.invite-card {
  position: relative; width: min(100%, 720px); text-align: center; transform: rotate(-2deg);
  animation: cardIn 0.4s var(--ease-out) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) rotate(-2deg); } to { opacity: 1; transform: rotate(-2deg); } }
.invite-card .tape-tl { left: -70px; top: -70px; width: 150px; }
.invite-card .tape-tr { right: -64px; top: -62px; width: 140px; }
@media (max-width: 599px) { .invite-card .tape-tl { left: -44px; top: -46px; width: 100px; } .invite-card .tape-tr { right: -40px; top: -40px; width: 96px; } }
.invite-inner { padding: 6px 4px 2px; }
.invite-kicker {
  display: inline-block; margin: 0 0 16px; padding: 7px 18px 7px 14px;
  font: 900 0.8rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  background: url("/assets/kit/gold-brush.webp") center / 100% 100% no-repeat;
}
.invite-title {
  font-size: clamp(1.7rem, 6vw, 3.1rem); line-height: 1.08; color: var(--cream);
  text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 rgba(29, 17, 35, 0.35);
}
.invite-name { display: inline-block; max-width: 100%; overflow-wrap: anywhere; color: var(--gold); }
.invite-card p.invite-line { margin: 18px auto 0; max-width: 30em; color: var(--cream); font-weight: 600; font-size: clamp(1rem, 3vw, 1.12rem); text-shadow: 0 1px 0 rgba(29, 17, 35, 0.5); }
.invite-platforms { width: 100%; max-width: 1080px; }
.invite-more { margin: 0; color: var(--text-2); text-align: center; }
.invite-more a { color: var(--text); font-weight: 700; }
.invite-prints { display: none; }
@media (min-width: 1180px) {
  .invite-prints { display: block; position: absolute; inset: 0; pointer-events: none; }
  .invite-prints .print { position: absolute; width: 220px; pointer-events: auto; }
  .invite-prints .print:nth-child(1) { left: -30px; top: -10px; }
  .invite-prints .print:nth-child(2) { right: -30px; top: 30px; }
}

/* ------------------------------------------------------------------------------------------------ support tickets */
.ticket-wrap { display: grid; gap: 44px; padding: clamp(44px, 7vw, 84px) var(--gutter) clamp(20px, 4vw, 40px); }
@media (min-width: 1000px) { .ticket-wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 56px; align-items: start; } }
.ticket-card { transform: rotate(-0.6deg); scroll-margin-top: calc(var(--header-h) + 30px); }
.ticket-card .tape-tl { left: -84px; top: -82px; }
.ticket-card .tape-tr { right: -78px; top: -76px; }
@media (max-width: 599px) {
  .ticket-card { transform: none; }
  .ticket-card .tape-tl { left: -50px; top: -52px; width: 90px; }
  .ticket-card .tape-tr { right: -46px; top: -48px; width: 86px; }
}
.ticket-card h2 { margin: 0 0 6px; color: var(--cream); font-size: clamp(1.5rem, 4.4vw, 2.2rem); text-shadow: 3px 3px 0 var(--ink); }
.ticket-card .ticket-sub { margin: 0 0 26px; color: var(--ink); font-weight: 600; }
.ticket-form { display: grid; gap: 16px; }
.ticket-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .ticket-row { grid-template-columns: 1fr 1fr; } }
.tfield { display: grid; gap: 7px; min-width: 0; }
.tfield label, .tfield .lbl { font: 700 0.92rem/1.2 var(--body); color: var(--ink); }
.tfield label small, .tfield .lbl small { font-weight: 500; color: var(--ink-2); }
.tfield .field { width: 100%; flex: none; }
.tfield select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%231d1123' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; }
.tfield textarea.field { min-height: 170px; resize: vertical; line-height: 1.5; }
.at-field { position: relative; }
.at-field::before { content: "@"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-2); pointer-events: none; }
.at-field .field { padding-left: 34px; }
.tfield .help { margin: 0; font-size: 0.82rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.tfield .count[data-over] { color: #b3123d; font-weight: 700; }
.ticket-form .field[aria-invalid="true"] { border-color: #b3123d; }
.ticket-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.ticket-actions .privacy-note { margin: 0; font-size: 0.85rem; color: var(--ink-2); max-width: 30em; }
.ticket-done { text-align: center; padding: 10px 0 4px; }
.ticket-done h2 { margin-bottom: 10px; }
.ticket-done p { color: var(--ink-2); margin: 0 auto 10px; max-width: 32em; }
.ticket-ref {
  display: inline-block; margin: 8px 0 18px; padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: var(--gold); font: 800 1.35rem/1 var(--display); letter-spacing: 0.1em;
}
.ticket-side { display: grid; gap: 18px; }
.side-card {
  padding: 22px 22px 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(31, 20, 51, 0.92), rgba(13, 8, 23, 0.92));
  box-shadow: inset 0 0 0 1.5px rgba(255, 236, 214, 0.14), 0 26px 50px rgba(0, 0, 0, 0.4);
}
.side-card h2, .side-card h3 { margin: 0 0 12px; font-size: 1.1rem; text-shadow: 2px 2px 0 var(--ink); }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-card li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0;
  color: var(--text-2); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line);
}
.side-card li:last-child a { border-bottom: 0; }
.side-card li a::after { content: "›"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.side-card li a:hover { color: var(--text); }
.side-card p { margin: 0 0 8px; color: var(--text-2); font-size: 0.95rem; }
.side-card p a { color: var(--text); font-weight: 700; }
.faq-head { padding: clamp(40px, 6vw, 64px) var(--gutter) 0; }
.faq-head h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); text-shadow: var(--shadow-ink); }
