:root {
  --background: #080a10;
  --background-mid: #10131b;
  --background-end: #201109;
  --background2: #11141c;
  --background3: #1c202b;
  --background4: #2b241d;
  --shadow: rgba(251, 146, 60, 0.28);
  --blue: #fb923c;
  --green: #facc15;
  --mauve: #38bdf8;
  --text: #fff7ed;
  --muted: #b8aa9b;
  --border: rgba(255, 237, 213, 0.14);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-hover: rgba(251, 146, 60, 0.1);
  --panel: rgba(17, 20, 28, 0.78);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
}

body {
  font-family: 'Inter', 'Geist', system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(135deg, var(--background) 0%, var(--background-mid) 48%, var(--background-end) 100%),
    var(--background);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--text);
}

svg {
  height: 16px;
  width: 16px;
}

h1 {
  font-size: 35px;
  font-family: 'Inter', 'Montserrat', sans-serif;
  letter-spacing: 0;
}

h6 {
  font-size: 12px;
  color: var(--text) !important;
}

.page button {
  padding: 11px 10px;
  font-size: 16px;
  outline: none;
  border-radius: 14px;
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  font-family: 'Inter', 'Geist', sans-serif;
  cursor: pointer;
  transition: 250ms;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.page .buttons, 
.page .theme-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page button:hover {
  background: var(--glass-hover);
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 0 26px rgba(251, 146, 60, 0.08);
}

.page button:disabled {
  background: var(--background4) !important;
  color: var(--shadow) !important;
}

input {
  padding: 11px 10px;
  font-size: 16px;
  outline: none;
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.48);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', 'Geist', sans-serif;
  width: 100%;
}

::placeholder {
  color: var(--muted);
}

select {
  padding: 10px;
  font-size: 16px;
  outline: none;
  border-radius: 10px;
  background: var(--background2);
  color: var(--text);
  font-family: 'Inter', 'Geist', sans-serif !important;
  border: none;
  width: 30%;
  cursor: pointer;
  transition: 150ms;
}

select:hover {
  background: var(--background3);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

nav {
  width: 260px;
  background: rgba(11, 13, 20, 0.78);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 22px 0 70px rgba(0, 0, 0, 0.24);
}

nav .logo {
  font-family: 'Inter', 'Montserrat', sans-serif !important;
  display: flex;
  padding: 20px 18px;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  z-index: 5;
  min-width: 0;
}

nav .logo img {
  height: 34px;
  width: 34px;
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.16);
}

nav .logo .logo-name {
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-size: 18px;
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
  min-width: 0;
}

nav .logo .logo-name span {
  display: block;
}

nav .tabs hr {
  border: 1px solid var(--border);
  border-radius: 1px;
}

.container {
  display: flex;
  height: 100vh;
}

.tabs {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(100vh - 188.5px);
  overflow: auto;
}

#tabs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-btn {
  font-family: 'Inter', 'Geist', sans-serif;
  width: 100%;
  border-radius: 16px;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  transition: all 250ms;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  min-height: 46px;
}

.tab-btn:hover,
.tab-btn.nav-active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 237, 213, 0.12);
  box-shadow: inset 3px 0 0 var(--blue), 0 10px 28px rgba(0, 0, 0, 0.14);
}

.tab-btn p {
  margin: 10px 0px;
  font-weight: 600;
}

.tab-btn img {
  height: 16px;
  width: 16px;
  margin: 10.75px 0px;
}

.tab-btn svg {
  margin: 10px 0px;
}

.left {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0px 10px
}

.close-tab {
  border: none;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  color: var(--text);
  transition: 250ms;
  border-radius: 8px;
  margin: 0px 8px;
}

.close-tab:hover {
  background: var(--background4);
}

.close-tab:active {
  transform: scale(0.9);
}

.banner {
  font-size: 1.75vh;
  margin-left: 15px;
  padding: 10px;
  border: 1px solid var(--background3);
  border-radius: 15px;
}

.bottom-nav {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-btn {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  transition: 250ms;
  background: transparent;
  outline: none;
  color: var(--text);
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: var(--background2);
  box-shadow: 0 0 0 1px var(--border);
}

.action-btn:active {
  transform: scale(0.9);
}

.action-btn svg {
  height: 20px;
  width: 20px;
}

.refresh:hover svg {
  transform: rotate(360deg);
}

.main-content {
  flex-grow: 1;
  margin: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    var(--panel);
  background-size: cover;
  border: 1px solid var(--border);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  width: calc(100vw - 30px);
  overflow: auto;
  z-index: 2;
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
}

#clock {
  font-family: 'Montserrat';
  font-size: 30px;
}

h2 {
  font-family: 'Montserrat';
  font-size: 20px;
}

.page {
  display: none;
}

#home-page {
  padding: 100px;
  line-height: 1.5;
  height: 100%;
}

#home-page .welcome {
  background: linear-gradient(135deg, #fff7ed, var(--blue) 48%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

#home-page .buttons {
  margin: 25px 0px;
  gap: 20px;
}

#home-page .start,
.game-loader .start {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--background);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;

  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-weight: 600;
}

#home-page .start:hover,
.game-loader .start:hover {
  opacity: 0.8;
}

#home-page .start:active,
.game-loader .start:active {
  transform: scale(1);
}

.home-page-container {
  height: calc(100vh - 230px);
  display: flex;
  justify-content: space-between;
}

.home-page-left {
  display: flex;
  flex-direction: column;
}

.home-page-right {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.resources {
  text-align: left !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 2;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.resources a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.resources a:hover {
  text-decoration: underline;
}

.server-info p {
  font-size: 12px;
}

#game-page,
#proxy-page,
#assistant-page,
#settings-page {
  display: none;
  padding: 100px;
  line-height: 1.5;
  flex-direction: column;
}

#assistant-page {
  background:
    linear-gradient(180deg, rgba(251, 146, 60, 0.055), transparent 38%),
    transparent;
  padding: 20px;
}

#forum-page {
  width: 100%;
  height: 100%;
}

#embed-container {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  justify-content: center;
  align-items: center;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 50px 0px;
}

.game-search-container {
  padding: 11px 10px;
  font-size: 16px;
  outline: none;
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.5);
  color: var(--text);
  border: 1px solid var(--border);
  font-family: 'Inter', 'Geist', sans-serif;
  width: 100%;
  display: flex;
  gap: 10px;
  color: var(--shadow);
  margin: 0;
}

.game-search-container.focused {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--shadow), 0 0 34px rgba(251, 146, 60, 0.08);
}

.game-search-container svg {
  width: 18px;
  height: 18px;
}

.game-search {
  background: transparent;
  border-radius: 0px;
  padding: 0px;
  line-height: 1;
  border: none;
}

#category-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#category-buttons button {
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
}

.selected-category {
  background: linear-gradient(135deg, var(--blue), var(--green)) !important;
  color: var(--background) !important;
}

.game-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px 0px;
}

.game-btn {
  width: calc(12.5% - 26.25px);
  border-radius: 18px;
  position: relative;
  transition: opacity 1s, transform 150ms !important;
  display: block;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  text-overflow: ellipsis;
}

.game-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 146, 60, 0.5);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), 0 0 32px rgba(251, 146, 60, 0.1);
}

.game-btn img {
  width: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: 250ms;
}

.game-btn .content {
  text-align: left;
  font-weight: 700;
  padding: 0px 10px;
  height: 50px;
}

.game-btn .title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.game-btn .category {
  font-size: 12px;
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.game-btn:active {
  transform: scale(0.995);
}

.hidden {
  opacity: 0;
  transition: opacity 1s;
}

.show {
  opacity: 1;
}

@media(prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}

/* proxy */

#uv-form {
  padding: 11px 10px;
  font-size: 16px;
  outline: none;
  border-radius: 18px;
  background: rgba(8, 10, 16, 0.5);
  color: var(--text);
  border: 1px solid var(--border);
  font-family: 'Inter', 'Geist', sans-serif;
  width: 100%;
  display: flex;
  gap: 10px;
  color: var(--shadow);
  margin: 50px 0px;
}

#uv-form.focused {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--shadow), 0 0 34px rgba(251, 146, 60, 0.08);
}

#uv-form i {
  font-size: 18px;
  line-height: 1;
}

#uv-form svg {
  width: 18px;
  height: 18px;
}

#uv-address {
  background: transparent;
  border-radius: 0px;
  padding: 0px;
  line-height: 1;
  border: none;
}

.shortcuts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page .shortcut {
  display: flex;
  padding: 15px;
  gap: 20px;
  flex-direction: column;
  font-size: 14px;
  width: calc(12.5% - 17.5px);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border);
  border-radius: 18px;
}

.shortcut img {
  height: 30px;
  width: 30px;
  border-radius: 10px;
}

#proxy-status {
  margin: 40px 0px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-weight: 700;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
}

.loader {
  border: 6px solid transparent;
  border-top: 6px solid var(--blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-container {
  position: absolute;
  display: none;
  background: var(--background2);
  padding: 20px;
  border-radius: 20px;
}

/* GoldfishAI */

.assistant-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.goldfish-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 10px;
}

.goldfish-ai-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.goldfish-ai-title h1 {
  font-size: 26px;
  line-height: 1.1;
}

.goldfish-ai-title p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.goldfish-ai-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 16px 36px rgba(251, 146, 60, 0.22);
}

.goldfish-ai-mark svg {
  width: 22px;
  height: 22px;
}

.assistant-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px;
}

#chat-display {
  min-height: 0;
  flex: 1;
  background: rgba(8, 10, 16, 0.44);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  overflow-y: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

#chat-display.center-message {
  justify-content: center;
  align-items: center;
}

.initial-message {
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
}

.typing-animation {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--blue);
  animation: typing 8s steps(30, end) infinite, blink-caret 0.75s step-end infinite;
  max-width: fit-content;
}

@keyframes typing {
  0% {
    width: 0;
  }

  20% {
    width: 100%;
  }

  40% {
    width: 100%;
  }

  45% {
    width: 0;
  }

  50% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--blue);
  }
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin: 0;
}

.message.user {
  align-self: flex-end;
  text-align: right;
}

.message.assistant {
  align-self: flex-start;
  text-align: left;
}

.sender-label {
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 4px;
  color: var(--muted);
}

.message-bubble {
  padding: 10px 13px;
  border-radius: 16px;
  max-width: 100%;
  word-wrap: break-word;
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--background);
  font-weight: 600;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--blue);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing-bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

#assistant-page strong {
  font-weight: 700;
}

.loading-message {
  margin: 0;
}

.message-plain {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 237, 213, 0.1);
  border-radius: 16px;
  color: var(--text);
  padding: 10px 13px;
  word-wrap: break-word;
  line-height: 1.65;
}

.assistant-icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px !important;
  justify-content: center;
  padding: 0 !important;
}

.assistant-icon-btn svg {
  width: 18px;
  height: 18px;
}

.assistant-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(8, 10, 16, 0.52);
  border: 1px solid var(--border);
}

.assistant-composer:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--shadow), 0 0 34px rgba(251, 146, 60, 0.08);
}

.assistant-composer textarea {
  width: 100%;
  min-height: 42px;
  max-height: 130px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', 'Geist', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 8px;
}

.assistant-composer #submit-btn {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--background);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  flex: 0 0 auto;
  font-size: 18px;
  border: 0;
}

.page .copy-btn {
  background: transparent;
  color: var(--text);
  border: none !important;
  padding: 5px 10px;
  font-size: 12px !important;
  border-radius: 5px;
  cursor: pointer;
  transition: 200ms;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page .copy-btn:hover {
  background: var(--background3);
}

.code-block {
  position: relative;
  margin: 10px 0px;
}

.code-header {
  display: flex;
  justify-content: flex-end;
  padding: 5px;
  background: var(--background4);
  border-radius: 8px 8px 0 0;
}

#assistant-page br {
  height: 0;
}

#assistant-page pre {
  background: var(--background3);
  color: var(--text);
  padding: 10px;
  border-radius: 0 0 8px 8px;
  overflow-x: auto;
  white-space: pre-wrap;
}

#assistant-page code {
  background: var(--background3);
  color: var(--text);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: 'Geist Mono';
  font-size: 12px;
}

#assistant-page pre code {
  display: block;
  padding: 0;
}

#submit-btn:active {
  opacity: 0.6;
}

/* settings */

.settings-container {
  width: 100%;
  margin: 30px 0px;
}

.settings-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  gap: 20px;
  padding: 15px;
  background: rgba(8, 10, 16, 0.46);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.tab-link {
  border-radius: 100px !important;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}

.tab-link:hover {
  background: var(--glass-hover);
}

.tab-link:active {
  transform: scale(0.98);
}

.tab-active {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(250, 204, 21, 0.12)) !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.08) !important;
}

.tab-link svg {
  height: 18px;
  width: 18px;
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.setting-card {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 16px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.setting-card select {
  background: var(--background3);
}

.setting-card select:hover {
  background: var(--background4);
}

.cloak-url-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cloak-url-field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cloak-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
}

.cloak-url-row input {
  min-width: 0;
}

.cloak-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cloak-status-row p {
  color: var(--muted);
  font-weight: 700;
  margin-right: auto;
}

.cards-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallpaper-card {
  width: calc(25% - 7.5px);
  text-align: center;
  border-radius: 18px;
  cursor: pointer;
  transition: 250ms;
  padding: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.wallpaper-card:active {
  transform: scale(0.98);
}

.wallpaper-card img {
  width: 100%;
  border-radius: 10px;
}

.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--shadow);
}

.theme-buttons button {
  border: 1px solid var(--border);
  min-width: 130px;
  justify-content: center;
}

.theme-buttons button:hover {
  transform: scale(0.97)
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background4);
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--blue);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 300px;
}

.page .dropdown-button {
  width: 100%;
  text-align: left;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: rgba(8, 10, 16, 0.96);
  border: 1px solid var(--border);
  z-index: 1;
  width: 100%;
  max-height: 200px;
  border-radius: 14px;
  overflow-y: auto;
  padding: 5px;
  margin: 5px 0px;
  list-style: none;
  gap: 5px;
  flex-direction: column;
}

.dropdown-menu li {
  padding: 5px 10px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dropdown-menu li p {
  font-weight: 500;
}

.dropdown-menu li span {
  font-size: 14px;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li:hover {
  background-color: var(--glass-hover);
}

.dropdown-selected {
  font-weight: bold;
  color: var(--text);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.credit-card {
  width: calc(25% - 7.5px);
  text-align: center;
  border-radius: 18px;
  transition: 250ms;
  padding: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.credit-pfp {
  width: 100px;
  border-radius: 50%;
}

.discord-user {
  font-size: 12px;
  margin: 0px 0px 10px 0px;
}

/* loader */

.game-loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 1700px) {
  .game-btn {
    width: calc(16.66666667% - 25px)
  }
}

@media screen and (max-width: 1500px) {
  .game-btn {
    width: calc(20% - 24px)
  }
}

@media screen and (max-width: 1300px) {
  .game-btn {
    width: calc(25% - 22.5px)
  }
}

@media screen and (max-width: 1100px) {
  .game-btn {
    width: calc(33% - 20px)
  }

  .credit-card {
    width: calc(50% - 15px);
  }

  .page .shortcut {
    width: calc(16.6667% - 16.6667px)
  }

  .action-btn {
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 1000px) {
  .banner {
    font-size: 1.5vh;
  }

  .tabs {
    height: calc(100vh - 187px);
  }
}

@media screen and (max-width: 800px) {
  nav {
    width: 50px;
  }

  .home-page-container {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 80px);
    justify-content: flex-start;
    gap: 28px;
  }

  .home-page-right {
    width: 100%;
    justify-content: flex-start;
  }

  .resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
  }

  .resources b {
    grid-column: 1 / -1;
  }

  .resources a {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    line-height: 1.4;
  }

  #home-page,
  #game-page,
  #proxy-page,
  #assistant-page,
  #settings-page {
    padding: 20px !important;
  }

  .main-content {
    width: calc(100% - 50px);
  }

  .logo h2,
  .logo h6 {
    display: none;
  }

  .tab-btn p {
    display: none;
  }

  .tab-btn i {
    margin: 10px 0px;
  }

  .tabs {
    height: calc(100vh - 230px);
  }

  .settings-tabs {
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dropdown,
  .cloak-url-row {
    width: 100%;
  }

  .goldfish-ai-header {
    align-items: stretch;
    flex-direction: column;
  }

  .assistant-menu {
    width: 100%;
  }

  .message {
    max-width: 94%;
  }

  .bottom-nav {
    flex-direction: column;
    padding: 0px;
    align-self: flex-end;
  }

  .game-btn {
    width: calc(50% - 30px);
  }

  .credit-card {
    width: 100%;
  }

  .page .shortcut {
    width: calc(25% - 15px)
  }
}
