
* {
  box-sizing: border-box;
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #f4f4f5;
  background-color: #171719;
  background-image:
    linear-gradient(30deg, transparent 49.8%, rgba(255,255,255,.025) 50%, transparent 50.2%),
    linear-gradient(150deg, transparent 49.8%, rgba(255,255,255,.02) 50%, transparent 50.2%);
  background-size: 220px 170px, 290px 230px;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 44px;
}

.top-thingy {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(340px, 2fr);
  gap: 22px;
  align-items: start;
}

.thingy {
  min-width: 0;
}

.logoholder {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  background: #201c2c;
}

.logocircle{
  display: block;
  width: 144px;
  height: 144px;
  object-fit: contain;
  border: 4px solid #171126;
  border-radius: 50%;
  background: #21183d;
}

.ip {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 10px;
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 11px;
  color: #f4f4f5;
  background: rgba(139,92,246,.08);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}

.ip:hover {
  background: rgba(139,92,246,.18);
  border-color: #a78bfa;
}

.ip:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.copyimg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
}

.copyimg svg {
  display: block;
  width: 24px;
  height: 24px;
}

.copymsg {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 6px 10px;
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 5px;
  background: #29203f;
  color: #f5f3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: .18s ease;
  white-space: nowrap;
}

.ip:hover .copymsg,
.ip:focus-visible .copymsg,
.ip.copied .copymsg,
.ip.copy-error .copymsg {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ip.copied .copymsg {
  background: #183b2a;
  color: #bbf7d0;
}

.ip.copy-error .copymsg {
  background: #451e2b;
  color: #fecaca;
}

.feature {
  position: relative;
  display: block;
  min-width: 0;
  height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #24242a;
  transition: border-color .2s, transform .2s;
}

.feature:hover {
  border-color: rgba(192,132,252,.5);
  transform: translateY(-2px);
}

.stats-card {
  background: #0d0d12;
}

.join-card {
  background: #070409;
}

.card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.feature:hover .card {
  transform: scale(1.035);
}

.join-card .card {
  object-fit: contain;
  object-position: center;
}

.cardShadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(12,9,24,.92),
    rgba(12,9,24,.4) 45%,
    transparent 72%
  );
}

.cardArt {
  position: absolute;
  right: -12px;
  bottom: -14px;
  width: 146px;
  height: 146px;
  opacity: .13;
  fill: currentColor;
  pointer-events: none;
}

.stats-card .cardArt {
  color: #fff;
  opacity: .3;
}

.feature::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 17px;
  color: #c4b5fd;
  font-size: 22px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.feature:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.feature2 {
  position: absolute;
  inset: 18px auto auto 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 5px #111;
}

.feature2 strong {
  font-size: 28px;
}

.feature2 span {
  font-size: 15px;
  opacity: 0;
  transition: opacity .2s ease;
}

.feature:hover .feature2 span {
  opacity: 1;
}

.join-card .feature2,
.stats-card .feature2 {
  inset: auto auto 17px 20px;
}

button.feature {
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.feature:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.dc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(130% 110% at 100% 0%, rgba(139,92,246,.26), transparent 62%),
    linear-gradient(160deg, #2a2340, #1c1b23 70%);
}

.discord {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.members {
  margin-top: 5px;
  font-size: 28px;
  font-weight: 800;
}

.member {
  font-size: 14px;
}

.discord-link-label {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
}

.dc:hover .discord-link-label {
  opacity: 1;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}

.footer {
  width: min(680px, 100%);
  margin: 70px auto 0;
  padding: 20px 26px 22px;
  border-radius: 16px;
  background: #202024;
  text-align: center;
}

.footer2 {
  color: #f2f2f3;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .6px;
}

.footer3 {
  margin: 3px 0 16px;
  color: #a9a9ad;
  font-size: 11px;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.links a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(167,139,250,.12);
  border-radius: 10px;
  background: #303035;
  color: #eee;
  transition: background .2s, border-color .2s, color .2s;
}

.links a:hover {
  color: #fff;
  background: #49316b;
  border-color: #a78bfa;
}

.links svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.links a:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.join-dialog {
  width: min(380px, calc(100% - 36px));
  padding: 26px 24px 24px;
  border: 1px solid rgba(167,139,250,.25);
  border-radius: 18px;
  background: #1d1a28;
  color: #f4f4f5;
}

.join-dialog::backdrop {
  background: rgba(10,8,18,.72);
  backdrop-filter: blur(4px);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes panel-in {
  from {
    opacity: .5;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes option-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.join-dialog[open] {
  animation: dialog-in .24s ease-out;
}

.join-dialog[open]::backdrop {
  animation: backdrop-in .24s ease-out;
}

.join-dialog[open] .join-options button {
  animation: option-in .28s ease-out backwards;
}

.join-dialog[open] .join-options button:nth-child(2) {
  animation-delay: .07s;
}

@media (prefers-reduced-motion: reduce) {
  .join-dialog[open],
  .join-dialog[open]::backdrop,
  .join-dialog[open] .join-options button,
  .info-dialog[open],
  .info-dialog[open]::backdrop,
  .video-dialog[open],
  .video-dialog[open]::backdrop {
    animation: none;
  }
}

.join-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  color: #a9a9ad;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.join-close:hover {
  color: #fff;
}

.join-close:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
  border-radius: 6px;
}

.join-title{
  margin:0 0 18px;
  font-size:22px;
  font-weight:800;
  text-align:center;
}

.join-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.join-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: #282333;
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background .2s, border-color .2s;
}

.join-options button:hover {
  border-color: #a78bfa;
  background: #332a4d;
}

.join-options button:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.join-options img{
  display:block;
  width:64px;
  height:64px;
  object-fit: contain;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin: 0;
  padding: 0;
}

.footer-legal a,
.footer-legal button {
  padding: 2px 0;
  border: 0;
  background: none;
  color: #8f8f96;
  cursor: pointer;
  font-size: 12px;
  transition: color .2s;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: #e6e1f5;
}

.footer-legal a:focus-visible,
.footer-legal button:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 3px;
}

.info-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(600px, 100%);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: #19191d;
  color: #f1f1f3;
  overflow: hidden;
  box-shadow: -24px 0 64px rgba(0,0,0,.35);
}

.info-dialog::backdrop {
  background: rgba(8,8,10,.66);
}

.info-dialog[open] {
  animation: panel-in .26s cubic-bezier(.22,.8,.3,1);
}

.info-dialog[open]::backdrop {
  animation: backdrop-in .2s ease-out;
}

.info-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.info-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #161619;
}

.info-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.info-mark {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
}

.info-title {
  margin: 0;
  overflow: hidden;
  color: #f4f4f5;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-close {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 0 8px 12px;
  border: 0;
  background: none;
  color: #8d8d95;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s;
}

.info-close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.info-close:hover {
  color: #fff;
}

.info-close:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 4px;
}

.info-scroll {
  flex: 1;
  min-height: 0;
  padding: 28px 32px 56px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}

.info-scroll::-webkit-scrollbar {
  width: 10px;
}

.info-scroll::-webkit-scrollbar-thumb {
  border: 3px solid #19191d;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.info-sub {
  margin: 0 0 8px;
  color: #83838c;
  font-size: 12px;
  line-height: 1.65;
}

.info-lead {
  margin: 0 0 26px;
  color: #c7c7cd;
  font-size: 15px;
  line-height: 1.7;
}

.info-scroll h3 {
  margin: 30px 0 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #ececf0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.info-scroll h3:first-of-type {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.info-scroll h4 {
  margin: 18px 0 6px;
  color: #cfcfd6;
  font-size: 13px;
  font-weight: 700;
}

.info-scroll p {
  margin: 0 0 12px;
  color: #a9a9b1;
  font-size: 14px;
  line-height: 1.75;
}

.info-scroll ul {
  margin: 0 0 15px;
  padding-left: 20px;
  color: #a9a9b1;
  font-size: 14px;
  line-height: 1.7;
}

.info-scroll li {
  margin-bottom: 6px;
}

.info-scroll li::marker {
  color: #6f6f78;
}

.info-scroll strong {
  color: #e7e7eb;
  font-weight: 600;
}

.info-scroll a {
  color: #c4b5fd;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.info-scroll a:hover {
  color: #ddd3ff;
}

.support-list {
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.support-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: inherit;
}

.info-scroll .support-row {
  color: inherit;
  text-decoration: none;
}

.support-row-label {
  flex: none;
  color: #ececf0;
  font-size: 13px;
  font-weight: 600;
}

.support-row-value {
  color: #9d9da5;
  font-size: 13px;
  text-align: right;
  transition: color .2s;
}

.support-row:hover .support-row-label {
  color: #fff;
}

.support-row:hover .support-row-value {
  color: #c4b5fd;
}

.support-row:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
  border-radius: 2px;
}

.info-scroll .support-note {
  margin: 22px 0 0;
  color: #7f7f88;
  font-size: 12.5px;
  line-height: 1.7;
}

.video-dialog {
  width: min(1040px, calc(100% - 24px));
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: #0b0a10;
  color: #f4f4f5;
  overflow: hidden;
}

.video-dialog::backdrop {
  background: rgba(5,4,10,.9);
  backdrop-filter: blur(6px);
}

.video-dialog[open] {
  animation: dialog-in .18s ease-out;
}

.video-dialog[open]::backdrop {
  animation: backdrop-in .18s ease-out;
}

.video-shell {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.video-top {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #121019;
}

.video-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-close {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: transparent;
  color: #d8d8de;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s, background .2s, border-color .2s;
}

.video-close span {
  font-size: 16px;
  line-height: 1;
}

.video-close:hover {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.video-close:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.video-frame {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: calc(92vh - 122px);
  background: #000;
  cursor: pointer;
  object-fit: contain;
}

.video-error {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  padding: 24px;
  place-items: center;
  background: #000;
  color: #a9a9ad;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.video-error[hidden] {
  display: none;
}

.video-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: #121019;
}

.video-btn {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #f4f4f5;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.video-btn:hover {
  background: rgba(167,139,250,.24);
  color: #fff;
}

.video-btn:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.video-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.video-btn .icon-play {
  display: none;
}

.video-dialog.paused .video-btn .icon-play {
  display: block;
}

.video-dialog.paused .video-btn .icon-pause {
  display: none;
}

.video-time {
  flex: none;
  min-width: 40px;
  color: #a9a9ad;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.video-seek {
  --progress: 0%;
  flex: 1;
  min-width: 70px;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.video-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa var(--progress), rgba(255,255,255,.18) var(--progress));
}

.video-seek::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
  -webkit-appearance: none;
}

.video-seek::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.video-seek::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #a78bfa;
}

.video-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
}

.video-seek:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 5px;
}

@media (max-width: 680px) {
  .page {
    width: min(660px, calc(100% - 28px));
    padding-top: 34px;
  }

  .top-thingy {
    grid-template-columns: 1fr 1fr;
  }

  .thingy {
    grid-column: 1/2;
  }

  .dc {
    grid-column: 1/3;
  }

  .bottom {
    grid-template-columns: 1fr;
  }

  .feature {
    height: 260px;
  }

  .footer {
    margin-top: 48px;
  }

  .info-dialog {
    width: 100%;
    border-left: 0;
  }

  .info-header {
    padding: 12px 14px 12px 18px;
  }

  .info-title {
    font-size: 15px;
  }

  .info-scroll {
    padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
  }

  .info-lead {
    font-size: 14.5px;
  }

  .video-dialog {
    width: calc(100% - 16px);
  }

  .video-top {
    padding-left: 14px;
  }

  .video-controls {
    gap: 7px;
    padding: 8px 10px;
  }

  .video-time {
    min-width: 34px;
    font-size: 11px;
  }

  .video-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width:390px) {
  .top-thingy {
    grid-template-columns: 1fr;
  }

  .thingy,
  .dc {
    grid-column:auto;
  }

  .logoholder{
    height:220px;
  }

  .feature{
    height:240px;
  }
}
