@font-face {
  font-family: "Geist";
  src: url("/vendor/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/vendor/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --studio-blue: #1681de;
  --studio-blue-bright: #45b3ff;
  --studio-green: #46d894;
  --studio-ink: #071426;
  --studio-paper: #edf3f8;
  --studio-dark: #020713;
  --studio-line: rgba(111, 157, 204, .22);
  --studio-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--studio-dark); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--studio-ink);
  font-family: Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: #1681de; color: #fff; }
a { color: inherit; }
button,
input { font: inherit; }
img { display: block; max-width: 100%; }

.consent-panel {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(620px, calc(100vw - 40px));
  padding: 24px;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border: 1px solid rgba(130, 157, 186, .35);
  border-radius: 18px;
  background: #fff;
  color: #14243a;
  box-shadow: 0 22px 70px rgba(1, 11, 25, .35);
}
.consent-panel[hidden] { display: none; }
.consent-panel h2 { margin: 4px 0 9px; color: #0b1f3a; font-size: 25px; }
.consent-panel p { margin-bottom: 8px; color: #4f6277; font-size: 13px; }
.consent-panel a { color: #0875d1; font-size: 12px; font-weight: 650; }
.consent-actions { display: flex; align-items: stretch; justify-content: center; flex-direction: column; gap: 8px; }
.consent-actions .button { display: inline-flex; min-width: 150px; min-height: 44px; padding: 0 16px; align-items: center; justify-content: center; border: 1px solid #0875d1; border-radius: 8px; font-weight: 650; cursor: pointer; }
.consent-actions .button-primary { background: #0875d1; color: #fff; }
.consent-actions .button-secondary { background: #fff; color: #0b2a48; }
.cookie-settings-button { position: fixed; z-index: 1100; right: 16px; bottom: 14px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(130,157,186,.42); border-radius: 999px; background: #fff; color: #23415e; box-shadow: 0 8px 25px rgba(1,11,25,.2); font-size: 10px; font-weight: 650; cursor: pointer; }

@media (max-width: 760px) {
  .consent-panel { grid-template-columns: 1fr; }
  .consent-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

.studio-skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  border-radius: 7px;
  background: #fff;
  color: #06172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.studio-skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #54c4ff; outline-offset: 4px; }

.studio-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 36px), 1180px);
  min-height: 68px;
  padding: 7px 8px 7px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(18, 53, 87, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 15px 45px rgba(10, 31, 54, .13);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.studio-header-dark {
  border-color: rgba(105, 168, 231, .2);
  background: rgba(3, 10, 22, .74);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #102c4d;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.025em;
  text-decoration: none;
}
.studio-brand strong { color: #0875d1; }
.studio-brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(73, 145, 212, .3);
  border-radius: 10px;
  background: #0b3156 url("assets/partay-monogram-nav-v2.png") center / 84% no-repeat;
  box-shadow: 0 6px 18px rgba(10, 43, 75, .16);
}
.studio-header-dark .studio-brand,
.gaming-footer .studio-brand { color: #eef7ff; }
.studio-header-dark .studio-brand strong,
.gaming-footer .studio-brand strong { color: #5dbbff; }

.studio-division-nav { display: flex; align-items: center; gap: 4px; }
.studio-division-nav a {
  padding: 11px 15px;
  border-radius: 9px;
  color: #53687e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.studio-division-nav a:hover,
.studio-division-nav a[aria-current="page"] { background: #e8f2fa; color: #0c4e87; }
.studio-header-dark .studio-division-nav a { color: #9ab0c6; }
.studio-header-dark .studio-division-nav a:hover,
.studio-header-dark .studio-division-nav a[aria-current="page"] { background: rgba(77, 166, 238, .12); color: #fff; }

.studio-eyebrow {
  margin: 0;
  color: #0066b3;
  font: 600 10px "Geist Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Parent brand hub */
.studio-hub-page { min-height: 100svh; background: #e9f0f5; }
.hub-main {
  display: grid;
  width: min(calc(100% - 48px), 1440px);
  min-height: calc(100svh - 52px);
  margin: 0 auto;
  padding: 118px 0 26px;
  grid-template-rows: auto minmax(410px, 1fr);
  gap: 24px;
}
.hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .65fr);
  align-items: end;
  gap: 36px;
}
.hub-intro .studio-eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.hub-intro h1 {
  max-width: 1060px;
  margin: 0;
  color: #0a2748;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 610;
  line-height: .98;
  letter-spacing: -.065em;
}
.hub-intro h1 span { color: #0875d1; }
.hub-intro > p:last-child {
  max-width: 420px;
  margin: 0 0 4px;
  color: #5a6e82;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.65;
}

.division-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: dense;
  border: 1px solid rgba(39, 75, 111, .22);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(14, 42, 70, .16);
  overflow: hidden;
}
.division-panel {
  position: relative;
  display: flex;
  min-height: 410px;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.division-hosting { grid-column: span 3; }
.division-gaming { grid-column: span 2; border-left: 1px solid rgba(255, 255, 255, .18); }
.division-media,
.division-shade { position: absolute; z-index: -2; inset: 0; }
.division-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--studio-ease), filter .7s ease; }
.division-hosting .division-media img { object-position: 58% center; filter: saturate(.76) contrast(1.04); }
.division-gaming .division-media img { object-position: 63% center; filter: saturate(.92) contrast(1.08); }
.division-shade { z-index: -1; }
.division-hosting .division-shade { background: linear-gradient(90deg, rgba(5, 27, 51, .96) 0%, rgba(9, 43, 73, .78) 48%, rgba(7, 25, 45, .2) 100%); }
.division-gaming .division-shade { background: linear-gradient(90deg, rgba(1, 6, 16, .94), rgba(2, 9, 22, .45) 70%, rgba(2, 8, 19, .12)); }
.division-content { width: min(100%, 630px); padding: clamp(28px, 4.2vw, 62px); }
.division-content > p {
  margin: 24px 0 7px;
  color: #a8d8ff;
  font: 600 10px "Geist Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.division-content h2 {
  max-width: 560px;
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 610;
  line-height: .98;
  letter-spacing: -.06em;
}
.division-gaming .division-content h2 { font-size: clamp(36px, 4.2vw, 64px); }
.division-summary { display: block; max-width: 520px; color: #d2dfeb; font-size: 14px; line-height: 1.6; }
.division-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcecff;
  font: 600 9px "Geist Mono", monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.division-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--studio-green); box-shadow: 0 0 16px rgba(70, 216, 148, .8); }
.division-action {
  display: flex;
  width: fit-content;
  margin-top: 25px;
  padding-bottom: 7px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .52);
  font-size: 12px;
}
.division-action i { font-style: normal; font-size: 18px; transition: transform .3s var(--studio-ease); }
.division-panel:hover .division-media img { transform: scale(1.045); }
.division-panel:hover .division-action i { transform: translateX(6px); }
.division-panel:focus-visible { z-index: 2; outline-offset: -5px; }
.hub-footer {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  min-height: 52px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  color: #52677a;
  font-size: 10px;
}
.hub-footer a { text-decoration: none; }
.hub-footer a:hover { color: #0875d1; }

/* Original Games */
.gaming-page { background: var(--studio-dark); color: #eef6ff; }
.gaming-main { width: 100%; max-width: 100%; overflow-x: hidden; }
.gaming-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 138px max(24px, calc((100vw - 1440px) / 2)) 82px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.gaming-world { position: absolute; z-index: -3; inset: 0; }
.gaming-world::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #020713 0%, rgba(2, 7, 19, .96) 28%, rgba(2, 7, 19, .55) 62%, rgba(2, 7, 19, .18) 100%), linear-gradient(0deg, #020713 0%, transparent 24%, rgba(2, 7, 19, .2) 100%);
  content: "";
}
.gaming-world img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.08); }
.gaming-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(101, 164, 224, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 164, 224, .12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, #000, transparent 66%);
}
.gaming-hero-content { width: min(100%, 900px); }
.gaming-page .studio-eyebrow { color: #67bdff; }
.gaming-hero h1 {
  max-width: 900px;
  margin: 24px 0 18px;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 560;
  line-height: .9;
  letter-spacing: -.075em;
}
.gaming-hero h1 span { color: #66bdff; }
.gaming-mobile-break { display: none; }
.coming-soon {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 20px;
  color: #8ea9c2;
  font: 600 clamp(11px, 1vw, 14px) "Geist Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.coming-soon::before { width: 46px; height: 1px; background: #4cb7ff; content: ""; }
.coming-soon strong { color: #fff; font-weight: 600; }
.gaming-intro { max-width: 680px; margin: 0 0 34px; color: #a6b8ca; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; }

.newsletter-form { width: min(100%, 650px); }
.newsletter-form > label { display: block; margin-bottom: 9px; color: #dcecff; font-size: 12px; font-weight: 600; }
.newsletter-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid rgba(106, 178, 237, .33); border-radius: 11px; background: rgba(3, 14, 30, .76); box-shadow: 0 16px 44px rgba(0, 0, 0, .25); overflow: hidden; backdrop-filter: blur(14px); }
.newsletter-controls:focus-within { border-color: #5fc2ff; box-shadow: 0 0 0 3px rgba(68, 177, 246, .14); }
.newsletter-controls input { min-width: 0; height: 56px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.newsletter-controls input::placeholder { color: #71869a; }
.newsletter-controls button {
  min-width: 130px;
  margin: 6px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #1681de;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.newsletter-controls button:hover:not(:disabled) { background: #2998ec; transform: translateY(-1px); }
.newsletter-controls input:disabled { cursor: not-allowed; }
.newsletter-controls button:disabled { background: #26384a; color: #8395a7; cursor: not-allowed; }
.newsletter-disclosure { max-width: 630px; margin: 13px 0 0; color: #98adbf; font-size: 10px; line-height: 1.6; }
.newsletter-status { min-height: 18px; margin: 8px 0 0; color: #afc2d3; font-size: 11px; }
.newsletter-status.is-error { color: #ff9ca7; }
.newsletter-status.is-success { color: #75e6ad; }
.turnstile-widget { margin-top: 12px; }
.gaming-scroll {
  position: absolute;
  right: max(24px, calc((100vw - 1440px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7e94aa;
  font: 600 9px "Geist Mono", monospace;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.gaming-scroll span { position: relative; width: 34px; height: 34px; border: 1px solid rgba(114, 175, 229, .28); border-radius: 50%; }
.gaming-scroll span::after { position: absolute; top: 11px; left: 13px; width: 7px; height: 7px; border-right: 1px solid #75c7ff; border-bottom: 1px solid #75c7ff; content: ""; transform: rotate(45deg); }

.signal-strip { border-block: 1px solid rgba(93, 150, 204, .17); background: #061020; }
.signal-strip > div {
  display: flex;
  width: min(calc(100% - 48px), 1200px);
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #8ea5ba;
  font: 600 10px "Geist Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.signal-strip i { width: 4px; height: 4px; border-radius: 50%; background: #3daaf4; box-shadow: 0 0 14px rgba(61, 170, 244, .8); }

.gaming-manifesto {
  display: grid;
  width: min(calc(100% - 48px), 1240px);
  min-height: 92vh;
  margin: 0 auto;
  padding: 150px 0;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.7fr);
  align-items: start;
  gap: 60px;
}
.manifesto-index { position: sticky; top: 150px; color: #30475e; font: 600 10px "Geist Mono", monospace; letter-spacing: .16em; }
.manifesto-copy h2 {
  max-width: 980px;
  margin: 28px 0 42px;
  color: #dceafa;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.058em;
}
.manifesto-copy h2 span { opacity: .14; }
.manifesto-copy > p:last-child { max-width: 650px; color: #73889c; font-size: 16px; line-height: 1.7; }

.gaming-action { padding: 150px 24px; border-top: 1px solid rgba(91, 151, 207, .18); background: radial-gradient(circle at 50% 110%, rgba(20, 114, 191, .22), transparent 52%), #040c19; text-align: center; }
.gaming-action h2 { max-width: 900px; margin: 22px auto 38px; font-size: clamp(44px, 6vw, 88px); font-weight: 560; line-height: .98; letter-spacing: -.065em; }
.gaming-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-radius: 8px;
  background: #1681de;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .25s var(--studio-ease);
}
.gaming-button:hover { background: #2998ec; transform: translateY(-2px); }
.gaming-button span { font-size: 18px; }

.gaming-footer {
  display: flex;
  min-height: 128px;
  padding: 30px max(24px, calc((100vw - 1440px) / 2));
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(91, 151, 207, .14);
  background: #020713;
}
.gaming-footer > div { display: flex; align-items: center; gap: 22px; color: #62788d; font-size: 10px; }
.gaming-footer > div a { text-decoration: none; }
.gaming-footer > div a:hover { color: #69c4ff; }

/* Email confirmation */
.confirmation-page { min-height: 100svh; }
.confirmation-main { position: relative; display: grid; min-height: 100svh; padding: 120px 24px 40px; place-items: center; overflow: hidden; }
.confirmation-orbit { position: absolute; width: min(76vw, 820px); aspect-ratio: 1; border: 1px solid rgba(71, 163, 230, .18); border-radius: 50%; box-shadow: 0 0 120px rgba(28, 129, 205, .15), inset 0 0 100px rgba(28, 129, 205, .08); }
.confirmation-orbit::before,
.confirmation-orbit::after { position: absolute; inset: 14%; border: 1px solid rgba(86, 178, 241, .12); border-radius: 50%; content: ""; }
.confirmation-orbit::after { inset: 33%; background: radial-gradient(circle, rgba(45, 166, 239, .16), transparent 68%); }
.confirmation-card { position: relative; z-index: 2; width: min(100%, 720px); padding: clamp(34px, 6vw, 70px); border: 1px solid rgba(94, 167, 226, .22); border-radius: 18px; background: rgba(4, 14, 29, .88); box-shadow: 0 30px 100px rgba(0, 0, 0, .42); text-align: center; backdrop-filter: blur(20px); }
.confirmation-card h1 { margin: 22px 0; font-size: clamp(38px, 6vw, 68px); line-height: 1; letter-spacing: -.06em; }
.confirmation-card > p:not(.studio-eyebrow) { margin: 0 auto 30px; color: #8fa6bb; line-height: 1.7; }
.confirmation-card.is-success h1 { color: #baf2d5; }
.confirmation-card.is-error h1 { color: #ffc4ca; }

@media (max-width: 900px) {
  .hub-main { grid-template-rows: auto auto; }
  .hub-intro { grid-template-columns: 1fr; gap: 18px; }
  .hub-intro .studio-eyebrow { margin-bottom: 0; }
  .division-grid { grid-template-columns: 1fr; }
  .division-hosting,
  .division-gaming { grid-column: 1; min-height: 470px; }
  .division-gaming { border-top: 1px solid rgba(255, 255, 255, .18); border-left: 0; }
  .division-gaming .division-media img { object-position: 70% center; }
  .gaming-manifesto { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-index { position: static; }
}

@media (max-width: 720px) {
  .studio-header { top: 16px; width: calc(100% - 24px); min-height: 68px; padding: 7px 8px 7px 14px; border-radius: 12px; }
  .studio-brand { font-size: 15px; gap: 8px; }
  .studio-brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .studio-division-nav a { padding: 9px 8px; font-size: 10px; }
  .hub-main { width: calc(100% - 24px); padding-top: 96px; }
  .hub-intro h1 { font-size: clamp(38px, 10vw, 46px); }
  .hub-intro > p:last-child { font-size: 14px; }
  .division-panel { min-height: 430px; }
  .division-content { padding: 30px 25px; }
  .division-content h2,
  .division-gaming .division-content h2 { font-size: clamp(40px, 13vw, 58px); }
  .hub-footer { width: calc(100% - 24px); align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .gaming-hero { min-height: 920px; padding: 116px 20px 100px; align-items: flex-start; }
  .gaming-world::after { background: linear-gradient(180deg, #020713 0%, rgba(2, 7, 19, .9) 37%, rgba(2, 7, 19, .35) 68%, #020713 100%); }
  .gaming-world img { object-position: 55% center; opacity: .72; }
  .gaming-hero h1 { max-width: 650px; margin-top: 20px; font-size: clamp(54px, 15vw, 64px); }
  .gaming-mobile-break { display: block; }
  .gaming-intro { font-size: 16px; }
  .newsletter-controls { grid-template-columns: 1fr; padding: 6px; }
  .newsletter-controls input { height: 52px; }
  .newsletter-controls button { min-height: 48px; margin: 0; }
  .gaming-scroll { right: 20px; bottom: 26px; }
  .signal-strip > div { width: calc(100% - 40px); min-height: 110px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; }
  .signal-strip i { display: none; }
  .gaming-manifesto { width: calc(100% - 40px); min-height: 0; padding: 110px 0; }
  .manifesto-copy h2 { font-size: clamp(40px, 12vw, 62px); }
  .gaming-action { padding: 110px 20px; }
  .gaming-footer { min-height: 180px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 30px; }
  .gaming-footer > div { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .studio-header .studio-brand > span:last-child { display: none; }
}

@media (max-width: 430px) {
  .division-summary { font-size: 13px; }
  .gaming-hero { min-height: 940px; }
  .coming-soon { gap: 12px; }
  .coming-soon::before { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .division-panel:hover .division-media img,
  .gaming-button:hover { transform: none; }
  .manifesto-copy h2 span { opacity: 1; }
}
