html,
body {
  font-family: "Golos Text", "Outfit", sans-serif;
  margin: 0;
  position: relative;
  z-index: 99;
  scroll-behavior: smooth;
  color: var(--text-primary);
  background: var(--bg-page);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

footer {
  margin-top: auto !important;
  position: static;
}

.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

body::-webkit-scrollbar {
  display: none;
}

#copy-message {
  position: fixed;
  z-index: 999;
  bottom: 30%;
  width: 72px;
  height: 30px;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 180, 166, 0.4);
  color: var(--color-accent, #00b4a6);
  font-size: 12px;
  text-align: center;
  line-height: 30px;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}

::-webkit-scrollbar {
  background: var(--bg-scroll);
  border-radius: 9999px;
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 9999px;
}

.nav-links.nav-active {
  transform: translateX(0);
}


#play-game:not(.is-playing) .play-cover {
  z-index: 10;
}

#play-game:not(.is-playing) #gameIframe {
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
}

#play-game.is-playing .top__shading,
#play-game.is-playing .play-cover {
  display: none;
}

#play-game.is-playing #gameIframe {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

#play-player:fullscreen,
#play-player:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  background: var(--theme-bg-body, var(--bg-page));
}

#play-player:fullscreen #play-game,
#play-player:-webkit-full-screen #play-game {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

#play-player:fullscreen .play-bar,
#play-player:-webkit-full-screen .play-bar {
  flex-shrink: 0;
  width: 100%;
}

.pt {
  /* padding: 20px; */
}

.pt h1 {
  line-height: 1.5 !important;
  font-size: 24px !important;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  font-weight: 800;
}

.pt h2 {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pt h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 10px;
  width: 4px;
  background: var(--theme-primary);
  border-radius: 2px;
}

.pt h3,
.pt h4 {
  line-height: 1.5 !important;
  font-size: 16px !important;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
}

.pt p,
.pt li {
  line-height: 1.5 !important;
  font-size: 14px !important;
  padding: 0 0 10px 0;
}

.pt p {
  margin: 0 0 15px;
}

.pt img {
  width: 100%;
}

.pt a {
  word-break: break-all;
  color: #007bff;
}

.pt ul {
  padding-left: 20px
}

table {
  margin-bottom: 10px
}

table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
}

th,
td {
  padding: 8px;
  text-align: center;
}

