.video-warning {
  max-width: 1000px;
  margin: 24px auto 0;
  text-align: left;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-file-fallback {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.video-file-fallback[hidden] { display: none; }

.video-file-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s, filter .35s;
}

.video-file-fallback:hover img {
  transform: scale(1.025);
  filter: brightness(.8);
}

.fallback-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72));
}

.fallback-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  color: #071008;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(124, 255, 46, .1), 0 0 35px rgba(124, 255, 46, .4);
  font-size: 30px;
  transform: translate(-50%, -50%);
}

.fallback-copy {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fallback-copy b { font-size: 14px; letter-spacing: .12em; }
.fallback-copy small { margin-top: 5px; color: var(--muted); }

.version-icon {
  width: 92px;
  height: 108px;
  margin-bottom: 18px;
  overflow: visible;
  background: none;
  border: 0;
  clip-path: none;
  position: relative;
}

.version-icon img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(124, 255, 46, .24));
}

.version-icon span {
  position: absolute;
  right: -9px;
  bottom: 7px;
  padding: 4px 6px;
  color: #071008;
  background: var(--green);
  border-radius: 3px;
  font: 700 8px Oxanium, sans-serif;
  white-space: nowrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: saturate(.9) drop-shadow(0 0 6px rgba(124, 255, 46, .18));
}

.zoomable {
  position: relative;
  cursor: zoom-in;
  outline: none;
}

.zoomable:focus-visible {
  box-shadow: 0 0 0 3px rgba(124, 255, 46, .25), 0 24px 60px rgba(0, 0, 0, .5);
}

.zoom-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  color: #071008;
  background: var(--green);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(124, 255, 46, .3);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  opacity: 0;
  transform: translateY(6px);
  transition: .2s;
}

.zoomable:hover .zoom-hint,
.zoomable:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 70px 24px 24px;
  visibility: hidden;
  background: rgba(0, 5, 2, .92);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .22s, visibility .22s;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  max-width: min(1280px, 95vw);
  max-height: 88vh;
  text-align: center;
  transform: scale(.96);
  transition: transform .22s;
}

.lightbox.open .lightbox-content { transform: scale(1); }

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: auto;
  object-fit: contain;
  border: 2px solid rgba(124, 255, 46, .65);
  border-radius: 10px;
  box-shadow: 0 30px 100px #000, 0 0 40px rgba(124, 255, 46, .14);
}

.lightbox-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  color: var(--text);
  background: #0a1c10;
  border: 1px solid var(--green);
  border-radius: 50%;
  font: 300 30px/1 sans-serif;
  cursor: pointer;
}

.discord-chat {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #0a1d11;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(124, 255, 46, .24);
  transition: transform .2s, box-shadow .2s;
}

.discord-chat:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .55), 0 0 34px rgba(124, 255, 46, .4);
}

.chat-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green);
  background: #071008;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(124, 255, 46, .45));
}

.chat-symbol svg {
  width: 29px;
  height: 29px;
}

.discord-pulse {
  position: absolute;
  inset: -2px;
  border: 1px solid var(--green);
  border-radius: 50%;
  animation: discord-pulse 2s ease-out infinite;
}

@keyframes discord-pulse {
  0% { opacity: .7; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

.discord-tooltip {
  position: absolute;
  right: 74px;
  bottom: 4px;
  width: 190px;
  padding: 12px 14px;
  color: var(--muted);
  background: #07150d;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  font-size: 11px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 1;
  transform: translateX(0);
  transition: .2s;
}

.discord-tooltip b {
  display: block;
  margin-bottom: 3px;
  color: var(--green);
  font-size: 12px;
}

.discord-chat:hover .discord-tooltip,
.discord-chat:focus-visible .discord-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.terms-section {
  padding: 80px 0 95px;
  scroll-margin-top: 95px;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.terms-card {
  position: relative;
  padding: 31px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 27, 16, .94), rgba(3, 12, 7, .97));
  border: 1px solid var(--line);
  border-radius: 9px;
}

.terms-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 120px;
  height: 120px;
  background: var(--green);
  filter: blur(55px);
  opacity: .08;
}

.terms-number {
  color: var(--green);
  font: 10px "Press Start 2P";
}

.terms-card h3 {
  margin: 16px 0 10px;
  font-size: 21px;
}

.terms-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.allowed-card {
  border-color: rgba(25, 255, 155, .4);
}

.allowed-card h3 {
  color: var(--mint);
}

.terms-final-warning {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 19px 24px;
  color: #ffc3c3;
  background: rgba(255, 38, 38, .08);
  border: 1px solid rgba(255, 70, 70, .55);
  border-radius: 8px;
}

.terms-final-warning b {
  flex: 0 0 auto;
  color: #ff6161;
  font-size: 11px;
  letter-spacing: .15em;
}

.terms-final-warning p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

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

@media (max-width: 500px) {
  .video-warning { align-items: flex-start; }
  .terms-card { padding: 25px 20px; }
  .terms-final-warning {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .discord-chat {
    right: 15px;
    bottom: 15px;
    width: 56px;
    height: 56px;
  }
  .chat-symbol { width: 34px; height: 34px; }
  .chat-symbol svg { width: 26px; height: 26px; }
  .discord-tooltip {
    display: block;
    right: 65px;
    bottom: 2px;
    width: min(190px, calc(100vw - 92px));
  }
  .zoom-hint { display: none; }
  .lightbox { padding-inline: 10px; }
}
