@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #ffffff;
  --accent-rgb: 255, 255, 255;
  --emerald: #34d399;
  --emerald-rgb: 52, 211, 153;
  --bg: #050505;
  --white: #ffffff;
}

html {
  scroll-behavior: auto;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

ul {
  list-style: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
}

@media (max-width: 760px) {
  .grid-overlay {
    opacity: 0.12;
  }
}

.ctx-menu {
  position: fixed;
  z-index: 60;
  min-width: 180px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.92) translateY(-4px);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s cubic-bezier(0.16, 1, 0.3, 1), left 0.32s cubic-bezier(0.16, 1, 0.3, 1), top 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.ctx-menu.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.ctx-title {
  padding: 8px 10px 6px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ctx-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ctx-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.ctx-sep {
  height: 1px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.08);
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--white), var(--white)) center / 22px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 22px no-repeat;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  animation: navDrop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navDrop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
}

.nav-brand .brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(to right, var(--accent), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), rgba(var(--accent-rgb), 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(160, 160, 170, 0.3);
  background: rgba(160, 160, 170, 0.05);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #a0a0aa;
}

.nav-status .status-ping .ping-wave {
  display: none;
}

.nav-status .status-ping .ping-dot {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.07));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.12));
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.3);
  color: var(--white);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 7px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 62px 0 0 0;
  z-index: 29;
  flex-direction: column;
  padding: 24px;
  gap: 6px;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  padding: 14px 12px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile a.active {
  color: var(--accent);
}

@media (max-width: 760px) {
  .nav-links,
  .nav-status {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
}

.content {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 24px 64px;
  padding-top: 110px;
  position: relative;
  z-index: 1;
}

.content.subpage {
  padding-top: 150px;
}

.page-head {
  margin-bottom: 36px;
}

.page-head h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(to right, var(--accent), rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-enter {
  animation: pageEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-reveal {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: var(--bg);
  animation: pageReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageReveal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: calc(100vh - 130px);
  min-height: 560px;
  padding-top: 10px;
  padding-bottom: 6vh;
}

.hero-title {
  opacity: 0;
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  height: 1.2em;
}

.hero-title .glitch-layer {
  display: inline-block;
  white-space: nowrap;
}

.glitch-layer {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.glitch-layer::before,
.glitch-layer::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-text-fill-color: currentColor;
}

.glitch-layer.glitching::before {
  color: #ff4d4d;
  opacity: .85;
  animation: ghostA .1s steps(1) infinite;
}

.glitch-layer.glitching::after {
  color: #3dffc4;
  opacity: .85;
  animation: ghostB .13s steps(1) infinite;
}

@keyframes ghostA {
  0%   { transform: translate(-4px, -2px); clip-path: inset(0 0 60% 0); }
  25%  { transform: translate(4px, 1px);   clip-path: inset(40% 0 0 0); }
  50%  { transform: translate(-5px, 2px);  clip-path: inset(0 0 30% 0); }
  75%  { transform: translate(3px, -2px);  clip-path: inset(55% 0 5% 0); }
  100% { transform: translate(-4px, -2px); clip-path: inset(0 0 60% 0); }
}

@keyframes ghostB {
  0%   { transform: translate(4px, 2px);   clip-path: inset(50% 0 0 0); }
  25%  { transform: translate(-4px, -1px); clip-path: inset(0 0 45% 0); }
  50%  { transform: translate(5px, -2px);  clip-path: inset(25% 0 25% 0); }
  75%  { transform: translate(-3px, 2px);  clip-path: inset(0 0 50% 0); }
  100% { transform: translate(4px, 2px);   clip-path: inset(50% 0 0 0); }
}

.type-caret {
  position: absolute;
  right: -0.14em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.08em;
  height: 0.82em;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
  opacity: 0;
}

.type-caret.on { opacity: 1; animation: caretBlink 0.8s steps(1) infinite; }
.type-caret.done { opacity: 0; transition: opacity 0.4s ease; }

@keyframes caretBlink { 50% { opacity: 0; } }

.hero-title.glitch {
  animation: titleGlitch 0.32s steps(2) 3;
}

@keyframes titleGlitch {
  0% { transform: translate(0); text-shadow: none; }
  25% { transform: translate(-4px, 2px); text-shadow: 3px 0 0 rgba(255, 60, 60, 0.8), -3px 0 0 rgba(60, 255, 180, 0.8); }
  50% { transform: translate(3px, -2px) skewX(4deg); text-shadow: -3px 0 0 rgba(255, 60, 60, 0.8), 3px 0 0 rgba(60, 255, 180, 0.8); }
  75% { transform: translate(-2px, 1px) skewX(-3deg); }
  100% { transform: translate(0); text-shadow: none; }
}

.hero-sub {
  opacity: 0;
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-btn:nth-child(1) {
  opacity: 0;
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-btn:nth-child(2) {
  opacity: 0;
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.header h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(to right, var(--accent), rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.header .subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-actions {
  margin: 30px auto 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 34px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-3px);
}

.game-item,
.executor-item {
  transition: transform 0.25s ease, background 0.25s ease;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 -10px;
}

.game-item:hover,
.executor-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.04);
}

.game-item:hover .accent-dot,
.executor-item:hover .accent-dot {
  animation: dotPulse 0.6s ease;
}

@keyframes dotPulse {
  50% {
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 1);
    transform: scale(1.6);
  }
}

.status-badge {
  transition: border-color 0.25s ease, background 0.25s ease;
}

.game-item:hover .status-badge,
.executor-item:hover ~ .status-badge {
  border-color: rgba(255, 255, 255, 0.35);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
  position: relative;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  cursor: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  outline: none;
}
  color: var(--white);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--white));
}

.tab.inactive {
  color: rgba(255, 255, 255, 0.4);
}

.tab.inactive:hover {
  color: rgba(255, 255, 255, 0.7);
}

.sections {
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  padding: 24px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
}

.card-text {
  margin-top: 12px;
  color: #d1d5db;
  line-height: 1.625;
  font-size: 0.9375rem;
}

.discord-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
  cursor: none;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.discord-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.discord-btn:hover::before {
  left: 130%;
}

.discord-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25), 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.discord-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.2);
  transition-duration: 0.08s;
}

.btn-arrow {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discord-btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.discord-btn .btn-label {
  position: relative;
  transition: transform 0.25s ease;
}

.discord-btn:hover .btn-label {
  transform: translateX(2px);
}

.discord-btn.buy-btn {
  background: var(--white);
  color: #000;
  border-color: var(--white);
}

.discord-btn.buy-btn::before {
  background: linear-gradient(100deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.discord-btn.buy-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 34px rgba(var(--accent-rgb), 0.4), 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  color: #000;
}

.discord-btn.buy-btn:active {
  transform: translateY(1px) scale(0.97);
  background: #d9d9d9;
  border-color: #d9d9d9;
}

.discord-hint {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.section-label {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.executor-dropdowns {
  margin-top: 4px;
}

.executor-loading {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.executor-grid {
  display: grid;
  gap: 16px;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .executor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.executor-tile {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.executor-tile:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.executor-toggle {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: none;
  font-family: inherit;
  text-align: left;
}

.executor-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(var(--emerald-rgb), 0.06) 0%, transparent 50%),
    linear-gradient(160deg, #0d0d0d 0%, #111 45%, #0a0a0a 100%);
}

.executor-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.executor-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
  font-size: 2.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.executor-media.noimg .executor-logo-fallback,
.executor-logo-fallback.show {
  display: flex;
}

.executor-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.35), transparent 35%);
  pointer-events: none;
}

.exec-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}


.executor-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.exec-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.exec-chevron {
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.executor-tile.open .exec-chevron {
  transform: rotate(180deg);
}

.executor-body {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.executor-tile.open .executor-body {
  opacity: 1;
}

.executor-body-measure {
  padding: 13px 16px 15px;
}

.exec-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.score-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.score-bar {
  flex: 1;
  min-width: 120px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, rgba(var(--emerald-rgb), 0.55), var(--emerald));
  box-shadow: 0 0 10px rgba(var(--emerald-rgb), 0.45);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e5e7eb;
  min-width: 34px;
  text-align: right;
}

.exec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  cursor: none;
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.exec-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.exec-btn:active {
  transform: translateY(0) scale(0.98);
}

.exec-btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: #000;
}

.exec-btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
}

.game-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e5e7eb;
}

.game-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
  flex-shrink: 0;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(var(--emerald-rgb), 0.3);
  background: rgba(var(--emerald-rgb), 0.05);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #6ee7b7;
}

.status-badge.offline {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
  color: #fca5a5;
}

.status-badge.dev {
  border-color: rgba(160, 160, 170, 0.3);
  background: rgba(160, 160, 170, 0.05);
  color: #a0a0aa;
}

.status-badge.soon {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.status-ping {
  position: relative;
  display: flex;
  width: 6px;
  height: 6px;
}

.status-ping .ping-wave {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.6;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-ping .ping-dot {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.status-badge.offline .status-ping .ping-wave {
  background: #ef4444;
}

.status-badge.offline .status-ping .ping-dot {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.9);
}

.status-badge.dev .status-ping .ping-wave {
  background: rgba(255, 255, 255, 0.8);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-badge.dev .status-ping .ping-dot {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.status-badge.soon .status-ping .ping-wave {
  background: rgba(255, 255, 255, 0.8);
}

.status-badge.soon .status-ping .ping-dot {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.game-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin-bottom: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.game-feature:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 34px rgba(var(--accent-rgb), 0.12);
  transform: translateY(-3px);
}

.game-feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.game-feature:hover .game-feature-media img {
  opacity: 1;
  transform: scale(1.05);
}

.game-feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.35), transparent 35%);
  pointer-events: none;
}

.game-feature-media .status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(5, 5, 5, 0.6);
}

.game-feature-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}

.game-feature-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.game-feature-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.executor-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.executor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
}

.executor-star {
  color: var(--accent);
  font-size: 0.875rem;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.9));
}

.media-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
}

.media-grid {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.media-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  cursor: none;
  transition: all 0.3s ease;
}

.media-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: all 0.5s ease;
}

.media-card:hover .media-thumb img {
  transform: scale(1.05);
  opacity: 1;
}

.media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.media-card:hover .media-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.media-card:hover .play-btn {
  transform: scale(1.1);
}

.play-btn span {
  margin-left: 3px;
  color: var(--white);
  font-size: 1rem;
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.35);
}

.media-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #d1d5db;
}

.media-info .official-tag {
  font-size: 0.75rem;
  color: rgba(var(--accent-rgb), 0.8);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  transition: all 0.5s ease;
}

.media-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.media-card:hover .media-placeholder {
  transform: scale(1.05);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.media-placeholder.p1 {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(var(--accent-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(100, 80, 60, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0a0a0a 0%, #111 40%, #0d0d0d 100%);
}

.media-placeholder.p2 {
  background:
    radial-gradient(ellipse at 70% 70%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 30%, rgba(80, 70, 90, 0.18) 0%, transparent 50%),
    linear-gradient(200deg, #0c0c0c 0%, #0f0f0f 50%, #0a0a0a 100%);
}

.media-placeholder.p3 {
  background:
    radial-gradient(ellipse at 50% 90%, rgba(60, 80, 70, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 40%, rgba(var(--accent-rgb), 0.06) 0%, transparent 50%),
    linear-gradient(140deg, #0d0d0d 0%, #090909 60%, #111 100%);
}

.media-placeholder.p4 {
  background:
    radial-gradient(ellipse at 40% 30%, rgba(90, 70, 50, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0b0b0b 0%, #0e0e0e 45%, #090909 100%);
}

.terms-content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
  padding: 28px 30px;
  gap: 26px;
}

.terms-section {
  counter-increment: legal-section;
  position: relative;
  padding-left: 34px;
}

.terms-section::before {
  content: '0' counter(legal-section);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

.terms-section h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.terms-section p {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 0.9375rem;
}

.terms-section ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-section li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d1d5db;
  line-height: 1.625;
  font-size: 0.9375rem;
}

.terms-section li::before {
  content: '';
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
  flex-shrink: 0;
}

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--white);
}

@media (max-width: 639px) {
  .content {
    padding: 40px 16px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .card {
    padding: 20px;
  }
}

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: staggerIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-stack {
  gap: 20px;
}

.dev-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
  padding: 20px 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dev-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.12);
}

.dev-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.dev-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  overflow: hidden;
}

.dev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-id h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.dev-role {
  display: block;
  margin-top: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dev-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #d1d5db;
}

.disco {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, rgba(255, 56, 96, 0.14), rgba(255, 215, 0, 0.14), rgba(0, 229, 160, 0.14), rgba(77, 141, 255, 0.14), rgba(201, 94, 255, 0.14), rgba(255, 56, 96, 0.14));
  background-size: 600% 600%;
  animation: discoSpin 7s linear infinite, discoFade 1.2s ease 0.4s forwards;
}

@keyframes discoSpin {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes discoFade {
  to { opacity: 1; }
}

body.goofy .page-head h1 {
  background: linear-gradient(90deg, #ff3860, #ffd700, #00e5a0, #4d8dff, #c95eff, #ff3860);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: discoSpin 4s linear infinite;
}

body.goofy .dev-card {
  opacity: 1;
  transform: none;
  animation: wobble 3.2s ease-in-out infinite;
}

body.goofy .dev-card:nth-child(2) { animation-delay: 0.4s; }
body.goofy .dev-card:nth-child(3) { animation-delay: 0.8s; }

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(0.5deg) translateY(-2px); }
  75% { transform: rotate(-0.5deg) translateY(2px); }
}

.confetti {
  position: fixed;
  top: -30px;
  z-index: 70;
  pointer-events: none;
  font-size: 14px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .disco, .confetti, body.goofy .dev-card, body.goofy .page-head h1 {
    animation: none !important;
  }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
}

.boot-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.8);
  animation: bootSpin 0.8s linear infinite;
}

@keyframes bootSpin {
  to { transform: rotate(360deg); }
}

.boot-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
