:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: #111824;
  --panel-strong: #172232;
  --ink: #f5fbff;
  --muted: #9cb3bd;
  --line: rgba(195, 227, 234, 0.18);
  --electric: #1faeff;
  --cyan: #42e8d4;
  --lime: #8dff62;
  --sun: #f5c84b;
  --coral: #ff6d65;
  --violet: #9f8cff;
  --blue: #5da9ff;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(66, 232, 212, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 200, 75, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 174, 255, 0.1), transparent 36%),
    rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
}

.brand img {
  width: 4rem;
  height: 4rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(31, 174, 255, 0.34);
}

.brand span {
  display: grid;
  gap: 0.08rem;
}

.brand strong {
  font-size: 1.18rem;
  line-height: 1;
}

.brand small {
  color: var(--electric);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand small b,
.footer-brand a {
  color: var(--electric);
  text-shadow: 0 0 14px rgba(31, 174, 255, 0.48);
}

.footer-brand a {
  font-weight: 800;
  text-decoration: none;
}

.footer-brand a:hover {
  color: var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.site-nav a {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
  border-color: rgba(66, 232, 212, 0.28);
  background: rgba(17, 24, 36, 0.72);
}

.hero {
  min-height: 84svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 8rem clamp(1rem, 6vw, 4rem) 5rem;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.72), rgba(7, 10, 18, 0.34), rgba(7, 10, 18, 0.82)),
    linear-gradient(135deg, rgba(31, 174, 255, 0.12), rgba(7, 10, 18, 0.86)),
    #070a12;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.hero-showcase-button {
  position: absolute;
  z-index: 0;
  right: clamp(1rem, 4vw, 5rem);
  top: 50%;
  width: min(50vw, 760px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid rgba(31, 174, 255, 0.38);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.92;
  transform: translateY(-50%);
  cursor: pointer;
  background: #070a12;
  box-shadow:
    0 0 0 1px rgba(66, 232, 212, 0.14),
    0 0 42px rgba(31, 174, 255, 0.2),
    0 34px 70px rgba(0, 0, 0, 0.44);
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.hero-showcase-button::before,
.hero-showcase-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-showcase-button::before {
  z-index: 2;
  inset: -42%;
  background: linear-gradient(115deg, transparent 40%, rgba(66, 232, 212, 0.28) 50%, transparent 60%);
  transform: translateX(-68%) rotate(8deg);
  transition: transform 620ms ease;
}

.hero-showcase-button::after {
  z-index: 1;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spark-x, 50%) var(--spark-y, 50%), rgba(141, 255, 98, 0.3), transparent 26%),
    linear-gradient(180deg, transparent, rgba(7, 10, 18, 0.12));
}

.hero-showcase-button:hover,
.hero-showcase-button:focus-visible {
  opacity: 1;
  border-color: rgba(66, 232, 212, 0.72);
  transform: translateY(-50%) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(66, 232, 212, 0.28),
    0 0 54px rgba(31, 174, 255, 0.34),
    0 36px 82px rgba(0, 0, 0, 0.5);
}

.hero-showcase-button:hover::before,
.hero-showcase-button:focus-visible::before {
  transform: translateX(68%) rotate(8deg);
}

.hero-showcase-button.is-activated {
  animation: heroActivate 680ms ease;
}

.hero-showcase-button.is-activated::after {
  animation: heroSpark 680ms ease;
}

.hero-showcase {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transition: filter 180ms ease, transform 180ms ease;
}

.hero-showcase-button:hover .hero-showcase,
.hero-showcase-button:focus-visible .hero-showcase {
  filter: saturate(1.18) brightness(1.06) contrast(1.06);
  transform: scale(1.035);
}

@keyframes heroActivate {
  0%,
  100% {
    transform: translateY(-50%) scale(1.015);
  }

  42% {
    transform: translateY(-50%) scale(1.045);
  }
}

@keyframes heroSpark {
  0% {
    opacity: 0;
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(31, 174, 255, 0.22);
}

.hero-copy {
  width: min(580px, 100%);
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.primary-link,
.secondary-button,
.play-link {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.primary-link {
  padding: 0.8rem 1.1rem;
  color: #061012;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--sun));
  box-shadow: 0 0 28px rgba(66, 232, 212, 0.22);
}

.secondary-button {
  padding: 0.75rem 1rem;
  color: var(--ink);
  border: 1px solid rgba(245, 200, 75, 0.34);
  background: rgba(17, 24, 36, 0.72);
}

.primary-link:hover,
.secondary-button:hover,
.play-link:hover {
  transform: translateY(-1px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66, 232, 212, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(7, 10, 18, 0.62);
}

.scroll-cue span {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-1px, -1px);
}

.games-section,
.queue-section,
.ideas-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 1.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.game-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 1rem;
}

.game-card {
  min-height: 28rem;
  display: grid;
  grid-template-rows: minmax(14rem, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 174, 255, 0.08), rgba(17, 24, 36, 0.82)),
    rgba(17, 24, 36, 0.82);
  box-shadow:
    0 24px 60px var(--shadow),
    inset 0 0 0 1px rgba(31, 174, 255, 0.05);
  transform-style: preserve-3d;
}

.game-card.is-live {
  min-height: 30rem;
}

.game-cover {
  position: relative;
  min-height: 15rem;
  display: block;
  overflow: hidden;
  background: #0b1820;
}

.game-cover img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.game-cover img.game-logo-art {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 48%, rgba(31, 174, 255, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(66, 232, 212, 0.18), rgba(7, 10, 18, 0.9)),
    #071015;
}

.game-card:hover .game-cover img {
  transform: scale(1.035);
  filter: saturate(1.14) brightness(1.05);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 44%, rgba(7, 10, 18, 0.68)),
    linear-gradient(90deg, rgba(31, 174, 255, 0.08), transparent 44%);
}

.game-info {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem;
  border-top: 1px solid var(--line);
}

.game-status {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-info h3 {
  margin: 0;
  font-size: 1.55rem;
}

.game-info p:not(.game-status) {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.play-link,
.soon-label {
  width: fit-content;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 800;
}

.play-link {
  color: #061012;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
}

.soon-label {
  color: var(--muted);
  border: 1px solid rgba(245, 251, 255, 0.14);
}

.queue-section {
  border-top: 1px solid var(--line);
  background: rgba(11, 15, 24, 0.72);
}

.queue-strip {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.queue-strip span {
  min-height: 4.5rem;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  background: rgba(17, 24, 36, 0.82);
}

.future-panel,
.ideas-grid,
.contact-grid {
  width: min(1120px, 100%);
  margin: 1rem auto 0;
}

.future-panel {
  padding: 1rem;
  border: 1px solid rgba(66, 232, 212, 0.22);
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.58);
}

.future-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ideas-section {
  border-top: 1px solid var(--line);
}

.ideas-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ideas-grid article,
.contact-grid article {
  min-height: 13rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 36, 0.84);
  box-shadow: 0 20px 50px var(--shadow);
}

.ideas-grid h3,
.contact-grid h2 {
  margin: 0;
  font-size: 1.35rem;
}

.ideas-grid p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.idea-link {
  width: fit-content;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #061012;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--sun));
  box-shadow: 0 0 28px rgba(66, 232, 212, 0.22);
}

.ideas-section > .idea-link {
  display: flex;
}

.idea-submit-panel {
  width: min(760px, 100%);
  margin: 1.25rem auto 0;
  padding: 1rem;
  border: 1px solid rgba(66, 232, 212, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 174, 255, 0.1), rgba(66, 232, 212, 0.06)),
    rgba(17, 24, 36, 0.88);
  box-shadow: 0 24px 60px var(--shadow);
}

.idea-form {
  display: grid;
  gap: 0.85rem;
}

.idea-form.compact {
  margin-top: auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.idea-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.idea-form input,
.idea-form textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(195, 227, 234, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(7, 10, 18, 0.78);
  font: inherit;
  outline: none;
}

.idea-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.idea-form input:focus,
.idea-form textarea:focus {
  border-color: rgba(66, 232, 212, 0.74);
  box-shadow: 0 0 0 3px rgba(66, 232, 212, 0.12);
}

.idea-form ::placeholder {
  color: rgba(156, 179, 189, 0.72);
}

.honey-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.idea-submit-button {
  width: fit-content;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 8px;
  color: #061012;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--sun));
  box-shadow: 0 0 28px rgba(66, 232, 212, 0.22);
  transition: opacity 140ms ease, transform 140ms ease;
}

.idea-submit-button:hover {
  transform: translateY(-1px);
}

.idea-submit-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--lime);
}

.form-status.is-error {
  color: var(--coral);
}

.contact-main {
  padding: 8.5rem clamp(1rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.contact-hero {
  width: min(1120px, 100%);
  margin: 0 auto 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(66, 232, 212, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(66, 232, 212, 0.1), rgba(245, 200, 75, 0.08)),
    rgba(17, 24, 36, 0.82);
  box-shadow: 0 24px 60px var(--shadow);
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.98;
}

.contact-hero p {
  width: min(760px, 100%);
  color: var(--muted);
  line-height: 1.6;
}

.contact-grid {
  align-items: stretch;
}

.contact-grid dl {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.contact-grid dl div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.contact-grid dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-grid dd {
  margin: 0.25rem 0 0;
}

.contact-grid a {
  color: var(--cyan);
}

.contact-grid .idea-link {
  color: #061012;
}

.external-link {
  width: fit-content;
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(31, 174, 255, 0.38);
  border-radius: 8px;
  color: var(--electric);
  background: rgba(31, 174, 255, 0.08);
}

.idea-card {
  display: flex;
  flex-direction: column;
}

.copyright-line {
  color: var(--sun);
  font-weight: 800;
}

.site-footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 174, 255, 0.1), transparent 38%),
    #070a12;
}

.site-footer a {
  color: var(--cyan);
}

.footer-brand {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 940px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card,
  .game-card.is-live {
    min-height: 26rem;
  }

  .queue-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-showcase-button {
    right: -14rem;
    width: 690px;
    opacity: 0.34;
  }

  .ideas-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: stretch;
  }

  .site-nav a {
    flex: 1;
  }

  .hero {
    min-height: 78svh;
    padding-top: 9.5rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-showcase-button {
    right: -15rem;
    top: 48%;
    width: 580px;
    opacity: 0.23;
  }

  .primary-link,
  .secondary-button {
    width: 100%;
  }

  .game-info {
    min-height: 11rem;
  }

  .queue-strip {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .contact-main {
    padding-top: 10rem;
  }
}
