/* site typography and base styles */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;700&display=swap');

.dog-icon-link {
    display: inline-block;
    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: #000; /* full black background requested */
  color: #eef6ff; /* soft high-contrast text */
  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;
}

.header-text {
  margin: 0;
}

.nav-container {
  display: flex;
  gap: 10px;
  background-color: black;
  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; /* Optional: allows clicks to pass through */
}
.floating-ad {
  width: 140px;           /* Adjust size as needed */
  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);
}

/* Optional: Hide on small screens */
@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;
}

.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 animation styles */
.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;
}

/* semi-transparent background layer */
.game-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(34, 34, 34, 0.5); /* half-transparent background */
  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 {
  /* center the element both vertically and horizontally */
  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; }
}
