/* 
Copyright © 2026 Marko Vityk
All rights reserved.
Unauthorized copying prohibited.
*/
/* ts code so beautiful */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;700&display=swap');

.dog-icon-link {
  display: flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.15s cubic-bezier(.4,2,.6,1);
}
.dog-icon-link:hover, .dog-icon-link:focus {
    transform: scale(1.05) rotate(-7deg);
}
.dog-icon-link:active {
    transform: scale(0.95) rotate(4deg);
}

.right-fix {
  margin-left: auto !important;
}

html {
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: #0c0c0c;
  color: #eef6ff;
  font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
}

.header-img {
  width: 70px;
  height: 70px;
  margin-right: 5px;
  display: block;
}

.header-text {
  margin: 0;
}

.nav-container {
  display: flex;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.700);
  padding: 8px 15px;
  border-radius: 20px;
}

.nav-button, .icon-button {
  background-color: transparent;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}
 
.container {
  justify-content: center;
  align-items: center;
  background-color: rgba(20,20,20,0.6);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.6);
  width: fit-content;
  margin: 27px auto;
}

.main-text, .center {
  text-align: center;
}

.right {
  text-align: right;
}

.footer-text {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 8px;
  color: white;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.left-center-image {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  pointer-events: none; 
}
/* custom ads that arent used */
.floating-ad {
  width: 140px;
  height: auto;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-ad:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .left-center-image {
    display: none;
  }
}

button, .center-button {
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #1f1f1f;
  color: #eef6ff;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  margin: 4px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

button:hover, .center-button:hover {
  background-color: #2e2e2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(176,232,255,0.06); /* subtle cool glow */
}

.button-container {
  margin: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.setting-container {
  margin: 10px;
  display: flex;

  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.center-container {
  justify-content: center;
}

.right-container {
  justify-content: flex-end;
}

.section {
  padding: 50px;
  margin-top: 20px;
  background-color: #f4f4f4;
  border-radius: 5px;
}

.popup-message {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  text-align: center;
  display: none;
}

.popup-message button {
  margin-top: 10px;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.popup-message button:hover {
  background-color: darkred;
}

.above-text, .below-text {
  text-align: center;
  font-size: 18px;
  color: white;
  margin: 10px 0;
}

.above-text {
  font-weight: bold;
}

.below-text {
  font-style: italic;
}

.input-field {
  margin: 2px;
  display: inline-block;
  padding: 15px 25px;
  font-size: 14px;
  border: 2px solid #1a1a1acc;
  border-radius: 12px;
  background-color: #2b2b2b;
  color: white;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
  width: 300px;
}

.input-field:hover {
  background-color: #4b4b4b;
  border-color: #1a1a1acc;
}

.input-field:focus {
  background-color: white;
  color: black;
  border-color: #1a1a1acc;
}

.quote {
  display: block; /* ensure it's on its own line */
  text-align: center;
  transition: opacity 300ms ease, text-shadow 200ms ease, transform 200ms ease;
  opacity: 0;
  cursor: default;
  margin-bottom: 10px;
  font-size: 1rem;
}
.quote--visible {
  opacity: 1;
}
.quote--hidden {
  opacity: 0;
}
.quote:hover {
  cursor: pointer;
}
.quote-hover-outline {
  /* subtle outline effect on hover */
  text-shadow: 0 0 6px rgba(255,255,255,0.9), 0 0 10px rgba(0,0,0,0.4);
}

.embed-container {
  width: 90vw;
  max-width: 900px;
  height: 500px;
  margin: 20px auto;
  border: 0px solid white;
  border-radius: 15px;
  overflow: hidden;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.proxy-controls {
  text-align: center;
  margin: 10px auto;
}

.proxy-controls button {
  margin: 5px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #2b2b2b;
  color: white;
  font-size: 16px;
}

.proxy-controls button:hover {
  background-color: #4b4b4b;
}

.game-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden; /* Ensure ::before doesn't overflow */
  border: 1px solid rgb(94, 94, 94);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  z-index: 0;
}

.game-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(34, 34, 34, 0.5); 
  z-index: -1;
  border-radius: 10px;
}

/* children stay fully visible */
.game-button img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 1;
  z-index: 1;
}

.game-button p {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  opacity: 1;
  z-index: 1;
}

.game-button:hover {
  transform: scale(1.05);
}

.maksclass {
  color: #ff3900;
}

.shoutout-text {
  font-size: 20px;
  justify-content: center;
  align-items: center;
}

.smol-shoutout-text {
  font-size: 3px;
  justify-content: center;
  align-items: center;
}

.highlight-effect {
  position: relative;
  background: none;
  color: inherit;
}

.highlight-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(51, 204, 255, 0.4), transparent 70%);
  border-radius: 50% / 30%;
  z-index: -1;
  animation: expand-fade 2s ease-out infinite;
}

.nav-right-align {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.center-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tiny-space {
    font-size: 5px;
}
.main-div {
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.low-div {
  justify-content: bottom;
  align-items: center;
  width: fit-content;
  margin: auto;
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hide-container {
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 15px auto;
}
.smol {
  font-size: 10px;
}
.hard-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  padding: 0 16px;
  box-sizing: border-box;
}
@keyframes expand-fade {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Center the server button container inside the game bar and ensure buttons are centered and responsive */
#server-button-area,
.server-area {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 3;
  pointer-events: auto;
  /* keep buttons from overflowing the header */
  max-width: calc(100% - 200px);
  padding: 0 8px;
  box-sizing: border-box;
}

#server-button-area #server-buttons,
.server-area #server-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.server-btn,
#server-button-area .server-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 8px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 13px;
}

.server-btn:hover,
#server-button-area .server-btn:hover { background: rgba(255,255,255,0.03); }

@media (max-width: 480px) {
  /* reduce spacing and allow wrapping on very small screens */
  #server-button-area, .server-area { max-width: calc(100% - 100px); }
  .server-btn { padding: 6px 10px; font-size: 12px; }
}

.none {
  font-size: 0px;
}
.search-container {
    text-align: center;
    margin: 20px;
}
.search-container input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    gap: 15px;
    padding: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
}
.game-button {
    text-align: center;
    margin: 10px;
}
.cheese-container {
    display: flex;
    justify-content: center;
    padding: 10px 0 30px;
}
.cheese-container img {
    max-width: 220px;
    width: 40vw;
    height: auto;
}
.content {
  position: absolute;
  top: calc(50px + 8vh);
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: clamp(78vh, 78.5vh, 82vh);
  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-container {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#game {
  width: 100%;
  height: calc(100% - clamp(60px, 8vh, 90px));
  border: 2px solid #ffffff7f;
  border-bottom: none;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(60px, 8vh, 90px);
  background: #22222270;
  border: 2px solid #ffffff7f;
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(10px, 2vh, 24px);
  z-index: 99;
  box-sizing: border-box;
}

.game-bar-left {
  display: flex;
  align-items: center;
  gap: 1vw;
}
.game-bar-img {
  width: clamp(40px, 6vh, 60px);
  height: clamp(40px, 6vh, 60px);
  border-radius: .5vw;
  object-fit: cover;
  box-shadow: 0 0 8px #0008;
  background: #111;
}
.game-bar-title {
  font-size: clamp(1rem, 2.5vh, 1.8rem);
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px #000a;
  white-space: nowrap;
}
.game-bar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-bar-controls button {
  box-shadow: 0 2px 8px #0002;
  width: clamp(40px, 6vh, 60px);
  height: clamp(40px, 6vh, 60px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, box-shadow 0.15s, border 0.15s, transform 0.12s cubic-bezier(.4,2,.6,1);
  padding: 0;
  margin: 0;
}
.game-bar-controls button:hover {
  box-shadow: 0 4px 12px #0003;
}
.game-bar-controls button:active {
  transform: scale(0.88);
}
.game-bar-controls img {
  width: clamp(20px, 3vh, 35px);
  height: clamp(20px, 3vh, 35px);
  object-fit: contain;
  background: none;
  filter: none;
}
.game-bar-servers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.server-btn {
  padding: clamp(4px, 0.8vh, 8px) clamp(8px, 1.2vw, 12px);
  background: #ffffff1a;
  border: 1px solid #ffffff3f;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: clamp(10px, 1.5vh, 14px);
  font-weight: 500;
  transition: all 0.15s;
}
.server-btn:hover {
  background: #ffffff2a;
  border-color: #ffffff6f;
}
.server-btn.active {
  background: #ffffff4a;
  border-color: #ffffff;
  box-shadow: 0 0 8px #ffffff3a;
}

#warning {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ff6b6b;
  font-weight: 600;
  margin: 0;
  z-index: 100;
  white-space: nowrap;
}   
@media (max-width: 768px) {
  .iframe-container {
    width: 95vw;
    height: 400px;
  }

  .game-bar-title {
    font-size: 0.9rem;
  }

  .server-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}