@import url(https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);
* {
  box-sizing: border-box;
  margin: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
  color: var(--primary-color);
}

.app-container {
  width: 100%;
  height: 100svh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

p {
  color: var(--primary-color);
}

button {
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--third-color);
}

.container {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
}

.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 300ms;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 24px;
  color: var(--primary-color);
}

.loading-text {
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(67, 67, 67, 0.711);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.90;
}

.spinner {
  display: inline-block;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(195, 195, 195, 0.6);
  border-radius: 50%;
  border-top-color: #636767;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}


.homepage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100svh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.homepage-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 3px 4px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  display: inline;
  padding: 0.2em;
  background-clip: text;
  -webkit-background-clip: text;
  font-family: 'Shenttpuro', sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.homepage-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--scroll-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.homepage-button:hover {
  background: linear-gradient(45deg, rgba(136, 136, 136, 0.152), rgba(255, 255, 255, 0));
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.login-container {
  width: 60%;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.login-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  display: inline;
  padding: 0.2em;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 10;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

.login-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--primary-color);
  z-index: -1;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.google-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  padding: 0.6rem 1rem;
  margin: 1rem auto;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  text-shadow: 1px 1px 2px #000000ab;
  white-space: nowrap;
}

.google-login-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.google-login-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.5);
}

.google-login-button::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 48 48%27 width=%2748px%27 height=%2748px%27%3E%3Cpath fill=%27%23FFC107%27 d=%27M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z%27/%3E%3Cpath fill=%27%23FF3D00%27 d=%27M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z%27/%3E%3Cpath fill=%27%234CAF50%27 d=%27M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z%27/%3E%3Cpath fill=%27%231976D2%27 d=%27M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.google-login-button span {
  z-index: 1;
}

.error {
  color: #c8c8c8e4;
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  .login-container {
    width: 80%;
    padding: 1.5rem;
  }

  .login-title {
    font-size: 2rem;
  }

  .google-login-button {
    width: 80%;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .login-container {
    width: 70%;
    padding: 1rem;
  }

  .login-title {
    font-size: 1.8rem;
  }

  .google-login-button {
    width: 80%;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  .google-login-button::before {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
}
.signup-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.signup-container {
  width: 60%;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.signup-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.signup-title {
  font-size: 2rem;
  color: var(--primary-color);
  text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  display: inline;
  padding: 0.2em;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 10;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

.signup-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--primary-color);
  z-index: -1;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.signup-input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  font-size: 0.9rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  outline: none;
  text-align: center;
}

.signup-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
}

.signup-input::placeholder {
  color: var(--primary-color);
  opacity: 0.7;
}

.signup-button,
.google-signup-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  padding: 0.6rem 1rem;
  margin: 1rem auto;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  margin-top: 2rem;
}

.signup-button:hover,
.google-signup-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.signup-button:focus,
.google-signup-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.5);
}

.google-signup-button::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 48 48%27 width=%2748px%27 height=%2748px%27%3E%3Cpath fill=%27%23FFC107%27 d=%27M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z%27/%3E%3Cpath fill=%27%23FF3D00%27 d=%27M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z%27/%3E%3Cpath fill=%27%234CAF50%27 d=%27M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z%27/%3E%3Cpath fill=%27%231976D2%27 d=%27M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.error {
  color: var(--primary-color);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.success {
  color: #4CAF50;
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  .signup-container {
    width: 80%;
    padding: 1.5rem;
  }

  .signup-title {
    font-size: 2rem;
  }

  .signup-button,
  .google-signup-button {
    width: 80%;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .signup-container {
    width: 90%;
    padding: 1rem;
  }

  .signup-title {
    font-size: 1.8rem;
  }

  .signup-button,
  .google-signup-button {
    width: 90%;
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }

  .google-signup-button::before {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
}
.portal-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem;
  background-color: transparent;
}

.header-left, .header-right {
  flex: 1 1;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
  gap: 1.2rem;
}

.header-right {
  justify-content: flex-end;
}

.header-title {
  flex: 1 1;
  text-align: center;
  font-size: 1.4rem;
  color: var(--primary-color);
  text-shadow: 3px 4px 3px rgba(0, 0, 0, 0.5);
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  color: var(--primary-color);
}

.icon-button:hover {
  opacity: 0.8;
  background: none;
}

.header-icon {
  font-size: 1.3rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}
.portal-footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.5rem;
  width: 100%;
  padding: 2px;
}

@media screen and (max-width: 768px) {
  .portal-footer {
      margin-bottom: 10px;
  }
}
.portal-nav {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 3.5rem;
  left: 0;
  width: calc(100% + 0.8rem);
  margin-left: -0.4rem;
  z-index: 1000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.portal-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  color: var(--primary-color);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease, color 0.2s ease;
}

.portal-nav a:hover {
  transform: scale(1.1);
  color: var(--third-color);
}

.portal-nav a.active {
  color: var(--third-color);
  font-weight: bold;
  border-bottom: 2px solid var(--third-color);
  transform: scale(1.1);
}

.nav-icon {
  font-size: 1.3rem;
}

.canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.portal-layout {
  display: flex;
  flex-direction: column;
  height: 100svh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

.portal-main {
  flex: 1 1;
  overflow-y: auto;
  padding: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-color) transparent;
  position: relative;
}

.portal-main::-webkit-scrollbar {
  width: 1px;
}

.portal-main::-webkit-scrollbar-track {
  background: transparent;
}

.portal-main::-webkit-scrollbar-thumb {
  background-color: var(--scroll-color);
  border-radius: 2px;
}

.portal-section {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 0.5rem;
  position: relative;
  width: 100%;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-color) transparent;
}

.portal-section::-webkit-scrollbar {
  width: 2px;
}

.portal-section::-webkit-scrollbar-track {
  background: transparent;
}

.portal-section::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 2px;
}

.portal-container {
  width: 100%;
  padding: 0.8rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  position: relative;
  overflow: hidden;
}

.portal-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.portal-container h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.portal-container ul {
  padding-left: 1.5rem;
}

.portal-container blockquote {
  font-style: italic;
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-color);
}

.page-container {
  width: 100%;
  padding: 0.5rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  position: relative;
  overflow: hidden;
}

.page-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem;
  position: relative;
}

.back-button-container {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}

.back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}

.rewards-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
  }
  
  .rewards-container h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
 
  .reward-message {
    color: var(--primary-color);
    font-weight: bold;
    margin: 10px 0;
  }

  .claim-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
.notices-modal {
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    height: 60vh;
    margin: auto;
    position: fixed;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.416);
  }
  
  .notices-modal-overlay {
    background: rgba(0, 0, 0, 0.83);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }
  
  .notices-modal-content {
    text-align: left;
    position: relative;
  }
  
  .notices-close-modal-button {
    background: var(--scroll-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .notices-close-modal-button:hover {
    background: darken(var(--scroll-color), 10%);
  }
  
  .news-item {

    background: var(--scroll-color);

  }

  .notices-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .notices-content {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .notices-modal ::-webkit-scrollbar {
    width: 8px;
  }
  
  .notices-modal ::-webkit-scrollbar-thumb {
    background-color: var(--scroll-color);
    border-radius: 4px;
  }
  
  .notices-modal ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  @media (max-width: 768px) {
    .notices-modal {
      width: 95%;
      height: 60vh;
      padding: 15px;
    }
  
    .notices-close-modal-button {
      padding: 8px 16px;
      font-size: 0.9rem;
      top: 15px;
      right: 15px;
    }
  
    .notices-modal-title {
      font-size: 1.3rem;
      margin-bottom: 15px;
    }
  
    .notices-content {
      font-size: 0.9rem;
      line-height: 1.4;
    }
  }
  
.portal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.home-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-title);
}

.home-greeting {
  font-size: 1.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 30px;
}

.home-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-card ul, .home-card ol {
  padding-left: 20px;
  margin-top: 0;
}

.home-card li {
  margin-bottom: 10px;
}

.home-card a {
  color: var(--third-color);
  text-decoration: none;
  text-shadow: 1px 1px 5px #000;
  font-weight: normal;
}

.home-card a:hover {
  text-decoration: none;
}

.jackpot-amount {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin: 10px 0;
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-primary, .btn-secondary, .btn-action, .claim-button, .btn-shop {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-primary:hover, .btn-secondary:hover, .btn-action:hover, .claim-button:hover, .btn-shop:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-shop {
  border: 1px solid var(--primary-color);
  margin-top: 0.5rem;
}

.home-loading {
  font-size: 1.2rem;
  color: var(--primary-color);
  text-align: center;
}

.rewards-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.reward-message {
  color: var(--primary-color);
  font-weight: bold;
  margin: 10px 0;
}

.notice-title-button {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-size: 1rem;
  display: inline-block;
  width: 100%;
}

.notice-title-button:hover {
  background-color: #00000000
};

.notice-title-button:focus {
  outline: none;
}

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

  .quick-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.inventory-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.inventory-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-height: 10rem;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.item-image-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.item-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.item-name {
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.item-value {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.scratch-card-button {
  margin-top: 0.3rem;
}

.scratch-card-button button {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

.scratch-card-button button svg {
  margin-right: 0.3rem;
}

.profile-card .item-image {
  width: 100%;
  height: auto;
  max-width: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.crafting-link {
  font-size: 1.2rem;
}

.item-count {
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-left: 5px;
}

.scratch-card {
    position: relative;
    width: 320px;
    margin: 0 auto;
    -webkit-user-select: none;
            user-select: none;
  }
  
  .scratch-card-rules {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }
  
  .scratch-card-row {
    position: relative;
    margin-bottom: 10px;
  }
  
  .scratch-card-symbols {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.874);
    border: 1px solid #989898a8;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .scratch-card-symbol {
    font-size: 48px;
  }
  
  .scratch-card-canvas {
    position: absolute;  .scratch-card-row {
      position: relative;
      margin-bottom: 10px;
    }
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
  }
  
  .scratch-card-canvas:active {
    cursor: grabbing;
  }
  
  .scratch-card-info {
    text-align: center;
    font-size: 0.8rem;
  }
  
  .scratch-card-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    height: 35rem;
    background: linear-gradient(to right, #4d4d4d, #616161);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #838383b8;
    border-radius: 10px;
    overflow: auto;
    z-index: 1000;
  }
  
  .scratch-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(86, 86, 86, 0.27);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
  }
  
  .close-modal-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: rgba(86, 86, 86, 0.476);
    color: rgba(255, 255, 255, 0.794);
    border: #ccc 1px solid;
    cursor: pointer;
  }
  
  .scratch-card-cover-container {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    filter: url('#remove-black');
    transition: opacity .4s;
  }
  
  .scratch-card-cover-container.clear {
    opacity: 0;
  }
  
  .scratch-card-cover-container.hidden {
    display: none;
  }
  
  .scratch-card-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cfced6;
    background-image: linear-gradient(to right, #cfced6, #e0dfe6, #efeef3, #e0dfe6, #cfced6);
    overflow: hidden;
    border-radius: 10px;
  }
  
  .scratch-card-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, transparent 40%, rgb(255 255 255 / .8) 50%, transparent 60%);
    background-position: bottom right;
    background-size: 300% 300%;
    background-repeat: no-repeat;
  }
  
  .scratch-card-image {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 4px rgb(0 0 0 / .16));
    -webkit-user-select: none;
            user-select: none;
    will-change: transform;
  }
  
  .scratch-card-canvas-render {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color .2s;
  }
  
  .scratch-card-canvas-render.hidden {
    display: none;
  }
  
  .scratch-card-text {
    margin-top: 20px;
    text-align: center;
    font-size: 1.1em;
  }
  
  .fade-out {
    animation: fade-out 0.8s;
    animation-fill-mode: forwards;
  }
  
  .hidden {
    display: none;
  }
  
  @keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  @media (max-width: 480px) {
    .scratch-card {
      width: 100%;
    }
  
    .scratch-card-symbols {
      height: 50px;
      padding: 0 10px;
    }
  
    .scratch-card-symbol {
      font-size: 36px;
    }
  
    .scratch-card-canvas {
      height: 50px;
    }
  
    .scratch-card-rules,
    .scratch-card-info {
      margin: 25px;
      font-size: 0.7em;
    }
  
    .scratch-card-row {
      margin-bottom: 15px;
    }

    .scratch-card-modal {
      height: 33rem;    }
    
  }

.scratch-coin {
    position: relative;
    width: 320px;
    margin: 0 auto;
    -webkit-user-select: none;
            user-select: none;
  }
  
  .scratch-coin-rules {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  
  .scratch-coin-window {
    position: relative;
    margin-bottom: 10px;
    width: 320px;
    height: 320px;
    background-color: rgba(255, 255, 255, 0.874);
    border: 1px solid #989898a8;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .scratch-coin-symbol {
    font-size: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
  .scratch-coin-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
    z-index: 1;
  }
  
  .scratch-coin-canvas:active {
    cursor: grabbing;
  }
  
  .scratch-coin-info {
    text-align: center;
  }
  
  .fade-out {
    animation: fade-out 1.5s;
    animation-fill-mode: forwards;
  }
  
  @keyframes fade-out {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  @media (max-width: 480px) {
    .scratch-coin {
      width: 100%;
    }
  
    .scratch-coin-window {
      width: 100%;
      height: 280px;
      padding: 0 10px;
    }
  
    .scratch-coin-symbol {
      font-size: 120px;
    }
  
    .scratch-coin-canvas {
      height: 280px;
    }
  
    .scratch-coin-rules,
    .scratch-coin-info {
      margin: 25px;
      font-size: 0.8em;
    }
  
    .scratch-coin-window {
      margin-bottom: 15px;
    }
  }
  
.scratch-card-row-gold {
    position: relative;
    margin-bottom: 10px;
    background: linear-gradient(to right, #f5d76e, #f7e7a4);
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
.profile-section {
  width: 100%;
  padding: 0.5rem 0;
}

.profile-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.profile-row {
  display: flex;
  width: 95%;
  max-width: 1200px;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.profile-card {
  width: 100%;
  max-width: 768px;
  padding: 2rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  position: relative;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.profile-info {
  flex: 1 1;
}

.profile-stats {
  flex: 1 1;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-title {
  margin-bottom: 1rem;
}

.profile-user-name {
  font-size: 1.8rem;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.profile-picture-container {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.profile-name-container, .profile-status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-name, .status-display {
  text-align: center;
  margin-bottom: 0.25rem;
}

.edit-picture-btn, .edit-status-btn, .edit-name-btn, .edit-bio-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 5px;
  margin-top: 0.25rem;
}

.update-profile-pic, .update-status, .update-name, .update-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
}

.update-profile-pic input, .update-status input, .update-name input, .update-bio input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border-radius: 4px;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  outline: none;
}

.update-profile-pic input:focus, .update-status input:focus, .update-name input:focus, .update-bio input:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--primary-color);
}

.update-profile-pic input::placeholder, .update-status input::placeholder, .update-name input::placeholder, .update-bio input::placeholder {
  text-align: center;
  color: var(--primary-color);
}

.save-icon {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 5px;
  margin-top: 0.25rem;
}

.profile-card h2, .profile-card h3 {
  color: var(--text-color);
}

.profile-details p {
  margin: 0.7rem 0;
  color: var(--text-color);
  font-size: 0.95rem;
}

.profile-details strong {
  font-weight: 600;
  color: var(--primary-color);
}

.profile-details a {
  margin-left: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

.profile-card .nav-icon {
  font-size: 1rem;
  vertical-align: middle;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  color: rgba(255, 255, 255, 0.661);
  font-size: 16px;
  z-index: 9999;
}

.gold-trophy {
  color: gold;
  margin-right: 0.5rem;
}

.silver-trophy {
  color: silver;
  margin-right: 0.5rem;
}

.bronze-trophy {
  color: #a5682a;
  margin-right: 0.5rem;
}

.profile-inventory {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .profile-row {
    flex-direction: column;
    align-items: center;
  }

  .profile-card {
    max-width: 90%;
    margin-bottom: 0.0rem;
  }

  .profile-user-name {
    font-size: 2rem;
  }
}

.settings-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-container h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.settings-container p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.theme-switcher {
  margin-top: 20px;
}

.theme-switcher h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.theme-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.theme-option {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: var(--scroll-color);
  color: var(--primary-color);
  transition: background-color 0.3s ease, transform 0.2s;
  font-size: 1rem;
  font-weight: 600;
}

.theme-option:hover {
  background-color: var(--scroll-color);
  transform: scale(1.05);
}

.theme-option.selected {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.theme-option:focus {
  outline: none;
}

@media (max-width: 768px) {
  .settings-container {
    padding: 15px;
  }

  .theme-option {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 10px);
    box-sizing: border-box;
  }
}

.chat-room {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-messages {
  flex: 1 1;
  padding: 10px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  background-color: rgba(236, 236, 236, 0.124);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.chat-message-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  width: 100%;
}

.chat-message-pic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.trophy-icon {
  font-size: 0.75rem;
  margin-right: 5px;
}

.staff-icon {
  font-size: 1rem;
  margin-right: 5px;
}

.chat-message-name {
  font-size: 0.9rem;
  font-weight: bold;
  margin-right: 5px;
  display: flex;
  align-items: center;
}

.chat-message-membership {
  color: #c7c7c7;
  font-size: 0.8rem;
}

.chat-message-content {
  padding-left: 40px;
  font-size: 0.9rem;
  text-align: left;
  width: 100%;
}

.chat-input-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
}

.chat-input {
  flex: 1 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 5px;
}

.chat-send-button {
  background: #5a5a5a;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.chat-send-button:hover {
  background: #aaaaaa;
}

.delete-message-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #ffffff8d;
  font-size: 0.8rem;
}

.delete-message-icon:hover {
  color: #cecece;
}

.friend-card-modal {
  border-radius: 10px;
  padding: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 75%;
  height: auto;
  margin: auto;
  background: rgba(0, 0, 0, 0.75);
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.413), rgba(50, 50, 50, 0.75));
  color: var(--primary-color);
  position: relative;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.friend-card-modal-overlay {
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.friend-card-modal-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.friend-card-close-button {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.friend-card-close-button:hover {
  background: none;
}

.friend-card-columns {
  display: flex;
  justify-content: space-between;
  text-align: left;
  height: 100%;
}

.friend-card-left,
.friend-card-right {
  flex: 1 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
}

.friend-card-left {
  padding-left: 20px;
}

.friend-card-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  flex: 1 1;
}

.friend-card-picture {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--primary-color);
}

.friend-card-details h3 {
  margin: 0;
  font-size: 1.3em;
}

.friend-card-details p {
  margin: 5px 0;
  font-size: 0.8em;
  line-height: 1.4;
}

.friend-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.friend-card-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9em;
  width: 100%;
  height: 36px;
}

.friend-card-action-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.friend-card-tip-input {
  display: flex;
  gap: 5px;
  transition: height 0.3s ease-out;
}

.friend-card-tip-input input {
  flex: 1 1;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  height: 36px;
}

.membership-status {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
}

.membership-status svg {
  margin-left: 5px;
}

.error-message {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.success-message {
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-top: 10px;
}

@media screen and (max-width: 600px) {
  .friend-card-modal {
    max-height: 70%;
  }

  .friend-card-columns {
    flex-direction: column;
  }

  .friend-card-left,
  .friend-card-right {
    width: 100%;
  }

  .friend-card-picture {
    width: 60px;
    height: 60px;
  }

  .friend-card-details h3 {
    font-size: 1.1em;
  }

  .friend-card-details p {
    font-size: 0.7em;
  }

  .friend-card-action-button {
    font-size: 0.8em;
    padding: 6px;
    height: 32px;
  }

  .friend-card-tip-input input {
    height: 32px;
  }
}

.friend-card-modal::-webkit-scrollbar {
  width: 8px;
}

.friend-card-modal::-webkit-scrollbar-track {
  background: transparent;
}

.friend-card-modal::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.page-container {
  width: 100%;
  padding: 1rem;
  background-color: rgba(var(--loginbox-color-rgb), 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  margin: 0 auto;
  overflow: hidden;
}

.page-container h2 {
  margin-bottom: 1rem;
}

.friend-request-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.friend-request-form input {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-right: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.friend-request-form input::placeholder {
  color: var(--primary-color);
}

.search-icon,
.send-request-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.search-results,
.friend-requests,
.outgoing-requests-section,
.friends-list {
  margin-top: 1rem;
}

.friend-requests h3,
.outgoing-requests-section h3,
.friends-list h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  background-color: rgba(91, 91, 91, 0.29);
}

.user-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.profile-pic-placeholder {
  font-size: 2rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.user-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.user-name {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.membership-number {
  font-size: 0.7em;
  color: var(--third-color);
  margin-left: 3px;
  font-weight: normal;
}

.user-status {
  font-size: 0.75rem;
  color: var(--secondary-color);
  word-wrap: break-word;
}

.user-money {
  padding: 0.2rem 0.5rem;
  margin-right: 1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.accept-request-icon,
.deny-request-icon,
.delete-friend-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

.accept-request-icon {
  color: var(--success-color);
}

.deny-request-icon {
  color: var(--error-color);
}

.delete-friend-icon {
  color: var(--error-color);
}

.message {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.chat-room-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  height: 60%;
  background: #646464e2;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1000;
}

.chat-room-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.close-chat-room-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: white;
}

.chat-room {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-messages {
  flex: 1 1;
  padding: 10px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 10px;
}

.chat-message-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.chat-message-pic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.chat-message-name {
  font-size: 0.9rem;
  font-weight: bold;
  margin-right: 5px;
}

.chat-message-content {
  padding-left: 40px;
  font-size: 0.9rem;
}

.chat-input-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
}

.chat-input {
  flex: 1 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 5px;
}

.chat-send-button {
  background: #5a5a5a;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.chat-send-button:hover {
  background: #aaaaaa;
}

.open-chat-room-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.open-chat-room-button:hover {
  background-color: transparent;
}

.fa-spin {
  animation: fa-spin 1s infinite linear;
}

.button-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 1rem;
}

.open-chat-room-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.open-chat-room-button:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.trading-button {
  position: relative;
  padding-right: 40px;
}

.notification-label {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--background-color);
  color: var(--primary-color);
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.loading-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .friend-request-form input {
    padding: 0.3rem;
    margin-right: 0.3rem;
    font-size: 0.9rem;
  }

  .search-icon,
  .send-request-icon {
    font-size: 1.2rem;
  }

  .user-card {
    padding: 0.3rem;
  }

  .profile-pic {
    width: 30px;
    height: 30px;
  }

  .profile-pic-placeholder {
    font-size: 1.5rem;
  }

  .user-name {
    font-size: 0.9rem;
  }

  .membership-number {
    font-size: 0.6em;
  }

  .user-status {
    font-size: 0.7rem;
  }

  .user-money {
    padding: 0.1rem 0.3rem;
    margin-right: 0.5rem;
    font-size: 0.7rem;
  }

  .accept-request-icon,
  .deny-request-icon,
  .delete-friend-icon {
    font-size: 1rem;
  }

  .chat-room-modal {
    width: 95%;
    height: 65%;
  }

  .chat-messages {
    padding: 5px;
  }

  .chat-input {
    padding: 3px;
  }

  .chat-send-button {
    padding: 3px 5px;
  }

  .open-chat-room-button {
    padding: 0.3rem 0.5rem;
  }

  .loading-icon {
    padding: 1rem;
  }
}

.casino-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
  }
  
  .games-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .game-panel {
    width: 100%;
    padding: 1rem;
    background-color: rgba(var(--loginbox-color-rgb), 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .game-panel h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .game-panel p {
    margin: 0.5rem 0 0;
    color: var(--text-color);
  }
  
  .game-panel:hover {
    background-color: rgba(var(--loginbox-color-rgb), 0.9);
  }
  
  .game-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
  }
  
  .game-info {
    display: flex;
    flex-direction: column;
  }
  

  .casino-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    text-align: center;
}
.game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  }

  .bet-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    border: 0.43em solid rgba(204, 204, 204, 0.5);
    position: relative;
    background-color: transparent;
  }
  
  .chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: inherit;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  
  .chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: conic-gradient(
      from 0deg,
      transparent 0deg 15deg,
      #000 15deg 30deg,
      transparent 30deg 45deg,
      #000 45deg 60deg,
      transparent 60deg 75deg,
      #000 75deg 90deg,
      transparent 90deg 105deg,
      #000 105deg 120deg,
      transparent 120deg 135deg,
      #000 135deg 150deg,
      transparent 150deg 165deg,
      #000 165deg 180deg,
      transparent 180deg 195deg,
      #000 195deg 210deg,
      transparent 210deg 225deg,
      #000 225deg 240deg,
      transparent 240deg 255deg,
      #000 255deg 270deg,
      transparent 270deg 285deg,
      #000 285deg 300deg,
      transparent 300deg 315deg,
      #000 315deg 330deg,
      transparent 330deg 345deg,
      #000 345deg 360deg
    );
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  
  .chip span {
    position: relative;
    z-index: 2;
    background-color: inherit;
    width: 105%;
    height: 105%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgb(239, 239, 239);
  }
  
  .chip-1 {
    background-color: #ffffffd7;
  }
  
  .chip-2 {
    background-color: #e6ff55bd;
  }
  
  .chip-5 {
    background-color: #ff43438b;
  }
  
  .chip-10 {
    background-color: #619bffbe;
  }
  
  .chip-50 {
    background-color: #ffa23e9e;
  }
  
  .chip-100 {
    background-color: #828282a9;
  }
  
  .chip:hover {
    transform: scale(1.1);
  }
  
  .start-game-button,
  .clear-bet-button {
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: normal;
  }
  
  .start-game-button:hover,
  .clear-bet-button:hover {
    background: #555;
  }
  
  .message {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #ffffffc5;
    font-weight: bold;
  }
  
.blackjack-game {
  text-align: center;
  padding: 0.5rem;
  max-width: 800px;
  margin: auto;
  position: relative; 
}

.blackjack-hands {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.blackjack-hand {
  text-align: left;
  width: 45%;
}

.hand-title {
  margin-bottom: 0.1rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  min-height: 70px;
  justify-content: center;
  margin-top: 1rem;
}

.card {
  width: 50px;
  height: 70px;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.player-card {
  background-color: rgba(199, 199, 199, 0.431);
}

.dealer-card {
  background-color: rgba(54, 54, 54, 0.733);
}

.blackjack-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.betting-controls {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.blackjack-controls .button-group {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.blackjack-controls .game-button {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  background: rgba(0, 128, 0, 0.3);
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blackjack-controls .game-button.stand {
  background: rgba(255, 0, 0, 0.3);
}

.blackjack-controls .game-button:hover {
  background: rgba(0, 128, 0, 0.6);
}

.blackjack-controls .game-button.stand:hover {
  background: rgba(255, 0, 0, 0.6);
}

.blackjack-controls .game-button.double-down {
  background: rgba(0, 0, 255, 0.3);
  padding: 0.4rem 0.8rem;
  font-size: 14px;
  margin-top: 0.5rem;
}

.blackjack-controls .game-button.double-down:hover {
  background: rgba(0, 0, 255, 0.6);
}

.player-info {
  font-size: 0.9rem;
  color: #fff;
  position: absolute;
}

.hand-value {
  text-align: center;
  font-weight: bold;
  background: linear-gradient(to right, rgba(85, 85, 85, 0), rgba(85, 85, 85, 0.346), rgba(85, 85, 85, 0));
}

@media (max-width: 600px) {
  .blackjack-game {
    padding: 1rem;
  }

  .blackjack-hands {
    flex-direction: column;
    align-items: center;
  }

  .blackjack-hand {
    margin-bottom: 1rem;
    width: 100%;
  }

  .cards {
    justify-content: center;
  }

  .card {
    width: 40px;
    height: 60px;
    margin: 0.3rem;
  }

  .blackjack-controls .game-button {
    padding: 0.4rem 0.8rem;
    margin: 0.3rem;
    font-size: 14px;
  }

  .player-info {
    font-size: 0.9rem;
    color: #fff;
    margin-top: 0.2rem;
  }

  .hand-value {
    margin-top: 0.5rem;
  }
}

@keyframes deal {
  0% {
    transform: translateX(-1000px) rotate(-720deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
}

.card {
  width: 50px;
  height: 70px;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  animation: deal 0.6s ease-out;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.player-card {
  background-color: rgba(199, 199, 199, 0.431);
}

.dealer-card {
  background-color: rgba(54, 54, 54, 0.733);
}

/* Plinko.css */
.plinko-game {
  text-align: center;
  padding: 0.5rem;
  max-width: 800px;
  margin: auto;
  position: relative;
}

.player-balance {
  font-size: 1.2rem;
  margin: 1rem 0;
}

.plinko-board {
  width: 800px;
  height: 600px;
  margin: auto;
  border: 2px solid #000;
  background: #f8f8f8;
}

.rewards {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.reward {
  width: 30px;
  text-align: center;
  padding: 0.5rem;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #f8f8f8;
  font-weight: bold;
}

.game-button {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  background: rgba(0, 128, 0, 0.3);
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-button:hover {
  background: rgba(0, 128, 0, 0.6);
}

@media (max-width: 600px) {
  .plinko-game {
    padding: 1rem;
    transform: scale(0.75);
    transform-origin: top left;
  }

  .plinko-board {
    width: 100%;
    height: auto;
  }

  .reward {
    width: 20px;
    padding: 0.3rem;
  }

  .game-button {
    padding: 0.4rem 0.8rem;
    margin: 0.3rem;
    font-size: 14px;
  }
}

.wheel-game-container {
  display: block;
  position: relative;
  box-sizing: content-box;
  width: calc(400px + 2 * 5px);
  height: calc(400px + 2 * 5px);
  padding: 3px;
  margin: auto;
  background-color: white;
  border: solid #4a4a4a94 3px;
  border-radius: 50%;
  -webkit-user-select: none;
          user-select: none;
}

.wheel-game-container::before,
.wheel-game-container::after {
  content: '';
  display: block;
  position: absolute;
  height: 0;
  width: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: solid transparent 20px;
  border-left-width: 0;
}

.wheel-game-container::before {
  right: 0px;
  border-right-color: #4a4a4a94;
}

.wheel-game-container::after {
  right: -5px;
  border-right-color: white;
}

.spin-wheel {
  display: block;
  position: relative;
  box-sizing: content-box;
  margin: auto;
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 50%;
  border: solid #4a4a4a94 5px;
  background-color: #4a4a4a94;
  transition: transform 0.25s;
  transform: rotate(0deg);
  cursor: pointer;
}

.spin-wheel.spinning {
  transition: transform 4s;
  transform: rotate(calc(5 * 360deg + (-360deg * var(--selected-item) / 1)));
  transform: rotate(calc(5 * 360deg + (-360deg * var(--selected-item) / var(--nb-item, 1))));
}

.spin-wheel::after {
  display: block;
  position: absolute;
  content: '';
  background-color: white;
  width: 25px;
  height: 25px;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.spin-wheel-item {
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  left: 50%;
  width: 50%;
  transform-origin: center left;
  transform: translateY(-50%) rotate(calc(var(--item-nb) * (360deg / 1)));
  transform: translateY(-50%) rotate(calc(var(--item-nb) * (360deg / var(--nb-item, 1))));
  color: white;
  text-align: right;
  padding: 0 25px 0 50px;
  font-family: 'Lato', 'Quicksand', sans-serif;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  background-color: #4a4a4a94;
}

.spin-wheel-item:before {
  content: ' ';
  display: block;
  position: absolute;
  box-sizing: border-box;
  z-index: -1;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 0px;
  opacity: 0.25;
  --slice-max-width: calc(3.14159265358979 * 400px + 400px / 2);
  --slice-width: calc((var(--slice-max-width) / var(--nb-item)) - 50px);
  border: solid transparent calc(var(--slice-width) / 2);
  border-left: solid transparent 0;
  border-right: solid white calc(400px / 2);
}

.spin-arrow-right {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(180deg);
  width: 0;
  height: 0;
  border-left: 20px solid #4a4a4a94;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.spin-arrow-right::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -5px;
  border-left: 20px solid white;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.spin-the-wheel-game {
  text-align: center;
  padding: 0.5rem;
  max-width: 800px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.spin-game-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0rem;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}

.spin-balance {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, rgba(85, 85, 85, 0), rgba(85, 85, 85, 0.346), rgba(85, 85, 85, 0));
}

.spin-bet-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.spin-betting-controls {
  margin-bottom: 0.6rem;
  margin-top: 0.5rem;
}

.spin-start-game-button,
.spin-clear-bet-button {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  font-weight: normal;
}

.spin-start-game-button:hover,
.spin-clear-bet-button:hover {
  background: #555;
}

.spin-message {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #ffffffc5;
  font-weight: bold;
}

.spin-player-info {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 0.2rem;
  text-align: center;
}

@media (max-width: 600px) {
  .wheel-game-container {
    width: calc(280px + 2 * 5px);
    height: calc(280px + 2 * 5px);
  }

  .spin-wheel {
    width: 280px;
    height: 280px;
  }
}

.slot-machine-game {
    text-align: center;
    padding: 0.5rem;
    max-width: 800px;
    margin: auto;
    position: relative;
    overflow: visible;
    margin-top: 2rem;
}

.slot-machine {
    background: linear-gradient(145deg, rgba(85, 85, 85, 0.823), rgba(60, 60, 60, 0.9));
    border-radius: 10px;
    padding: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
}

.slot-window {
    display: flex;
    background: linear-gradient(rgba(233, 233, 233, 0.805), rgba(233, 233, 233, 0.9));
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
    height: 300px;
    width: 300px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.middle-row-highlight {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.742);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.348);
    pointer-events: none;
}

.reel {
    display: flex;
    flex-direction: column;
    width: 100px;
    height: 500px;
    overflow: hidden;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -100px;
}

.reel:nth-child(1) { left: 0; }
.reel:nth-child(2) { left: 100px; }
.reel:nth-child(3) { 
    left: 200px;
    border-right: none;
}

.symbol {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    font-size: 60px;
    flex-shrink: 0;
    filter: drop-shadow(3px 3px 1px rgba(0,0,0,0.2));
}

.symbol svg {
    width: 60px;
    height: 60px;
}

.symbol[data-symbol="cherry"] svg { color: #cb2d4dd9; }
.symbol[data-symbol="lemon"] svg { color: #f0f064ef; }
.symbol[data-symbol="apple"] svg { color: #4cd74cd3; }
.symbol[data-symbol="gem"] svg { color: #59c4f9e2; }
.symbol[data-symbol="bell"] svg { color: #f5bc2dd3; }
.symbol[data-symbol="star"] svg { color: #f4d433f4; }
.symbol[data-symbol="seven"] svg { color: #8B008B; }

.slot-handle {
    position: absolute;
    right: -1.5rem;
    bottom: 50%;
    transform-origin: bottom center;
    cursor: pointer;
    z-index: 10;
}

.handle-top {
    width: 40px;
    height: 40px;
    background-color: rgba(85, 85, 85, 0.8);
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.handle-body {
    width: 15px;
    height: 120px;
    background: linear-gradient(90deg, rgba(85, 85, 85, 0.8), rgba(100, 100, 100, 0.8));
    margin-left: 12px;
    border-radius: 0 0 5px 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.betting-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bet-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.spin-button, .clear-bet-button {
    font-size: 18px;
    padding: 10px 20px;
    background-color: rgba(85, 85, 85, 0.8);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.spin-button:hover, .clear-bet-button:hover {
    background-color: rgba(85, 85, 85, 1);
}

.spin-button:disabled {
    background-color: rgba(204, 204, 204, 0.8);
    cursor: not-allowed;
}

.message {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
}

.slot-balance {
    font-size: 1.2rem;
    background: linear-gradient(to right, rgba(85, 85, 85, 0), rgba(85, 85, 85, 0.346), rgba(85, 85, 85, 0));
}

@media screen and (max-width: 768px) {
    .slot-machine-game {
        max-width: 100%;
        padding: 0.25rem;
    }

    .slot-machine {
        padding: 10px;
        transform: scale(0.8);
        transform-origin: top center;
    }

    .slot-window {
        height: 240px;
        width: 240px;
    }

    .middle-row-highlight {
        height: 80px; /* Adjust height for mobile */
        top: 80px; /* Adjust this value slightly higher for mobile */
    }

    .reel {
        width: 80px;
        height: 400px;
        top: -80px;
    }

    .reel:nth-child(1) { left: 0; }
    .reel:nth-child(2) { left: 80px; }
    .reel:nth-child(3) { left: 160px; }

    .symbol {
        height: 80px;
        width: 80px;
        font-size: 48px;
    }

    .symbol svg {
        width: 48px;
        height: 48px;
    }

    .slot-handle {
        right: -1rem;
    }

    .handle-top {
        width: 32px;
        height: 32px;
    }

    .handle-body {
        width: 12px;
        height: 96px;
        margin-left: 10px;
    }

    .betting-controls {
        margin-top: 10px;
    }

    .bet-buttons {
        gap: 5px;
    }

    .spin-button, .clear-bet-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .message {
        font-size: 1rem;
    }
}

.poker-lobby {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(var(--loginbox-color-rgb), 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .poker-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .poker-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .poker-join {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .poker-input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .poker-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .poker-button:hover {
    background-color: var(--scroll-color);
    color: var(--text-color);
  }
  
  .poker-error {
    color: red;
    margin-top: 10px;
  }
  

.poker-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  .players {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .player, .community-cards {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cards {
    display: flex;
    gap: 5px;
    margin-top: 1.2rem;
  }
  
  
  .betting {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  
  .bet-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  
  .community-cards {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .game-summary {
    margin-top: 20px;
    text-align: center;
  }
  
:root {
  font-size: 16px;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.plate {
  background-color: gray;
  width: 21.875rem;
  height: 21.875rem;
  margin-top: 1.2rem;
  margin-bottom: 0.2rem;
  border-radius: 50%;
  position: relative;
  border: 6px solid gold;
  overflow: hidden;
}

.wheel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inner {
  display: block;
  height: 100%;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  transform-origin: 50% 50%;
}

.number {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 0rem; /** CHANGE ME */
  transform-origin: 50% 50%;
  background-color: transparent;
  text-align: center;
  transform: rotate(calc(var(--i) * 360deg / 37)) translate(-50%, -50%);
}

.number span {
  color: rgba(0, 0, 0, 0.5);
  display: block;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

.redNum span {
  color: rgba(255, 0, 0, 0.5);
}

.blackNum span {
  color: rgba(0, 0, 0, 0.5);
}

.greenNum span {
  color: rgba(0, 128, 0, 0.5);
}

.data {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 12rem;
  width: 12rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgb(19, 19, 19);
  z-index: 1;
}

.data-inner {
  text-align: center;
  color: white;
}

.mask {
  font-size: 1.5rem;
  margin: auto;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.result-number {
  font-size: 3rem;
  font-weight: 500;
}

.result-color {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: white;
}

.number_board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.number_block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.125rem;
  height: 3.125rem;
  margin: 0.3125rem;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.redNum {
  background-color: #e0080b;
}

.blackNum {
  background-color: #000;
}

.greenNum {
  background-color: green;
}

.nbn {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
}

.bet-indicator {
  position: absolute;
  top: -0.625rem;
  right: -0.625rem;
  background-color: yellow;
  color: black;
  font-size: 0.75rem;
  padding: 0.125rem;
  border-radius: 50%;
  width: auto;
  height: auto;
  white-space: nowrap;
}

.bet-buttons {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.betting-controls-wrapper {
  margin-bottom: 1rem;
  margin-top: 0.8rem;
}

.betting-controls {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
}

.color-bet-buttons {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.chip.cdChipActive {
  border: 0.125rem solid #ffd700;
}

.clearBet {
  background-color: red;
  color: #000;
  border-color: red;
}

.bankContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bank, .bet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 12rem;
  height: 3.75rem;
  margin: 0 0.3125rem;
  background-color: #000;
  color: #fff;
  border: 0.1rem solid silver;
  border-radius: 0.3125rem;
}

.rect-button {
  padding: 0.625rem 1.25rem;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  border: none;
  position: relative;
}

.red-button {
  background-color: #e0080b;
}

.black-button {
  background-color: #000;
}

.rect-button .bet-indicator {
  top: -0.3125rem;
  right: -0.3125rem;
  background-color: yellow;
  color: black;
  font-size: 0.75rem;
  padding: 0.125rem;
  border-radius: 50%;
  width: auto;
  height: auto;
  white-space: nowrap;
}

.winning-message {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
}

.winning-message small {
  font-size: 0.8rem;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roulette-game {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spin-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 600px) {
  .plate {
    width: 15rem;
    height: 15rem;
  }

  .number {
    width: 1.5rem;
    height: 0rem;
  }

  .number span {
    font-size: 1rem;
  }

  .pit {
    font-size: 0.625rem;
    top: -8rem;
    left: -0.75rem;
  }

  .mask {
    font-size: 1rem;
  }

  .result-number {
    font-size: 2rem;
  }

  .result-color {
    font-size: 1rem;
  }

  .number_block {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nbn {
    font-size: 1rem;
  }

  .bank, .bet {
    width: 10rem;
    height: 3rem;
  }

  .rect-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .winning-message {
    font-size: 1rem;
  }

  .winning-message small {
    font-size: 0.7rem;
  }
}

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

.spinning .inner {
  animation: rotate 9s linear;
}

.raffle-section {
    padding: 20px;
  }
  
  .raffle-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .raffle-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
  }
  
  .raffle-back-arrow {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .raffle-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
  }
  
  .raffle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    gap: 20px;
  }
  
  .raffle-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .raffle-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .raffle-card p {
    color: var(--primary-color);
    margin: 0;
  }
  
  .btn-action {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
  }
  
  .btn-action:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
  }

 .prize-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prize-item {
  display: flex;
  align-items: center;
  text-align: left;
}

.prize-item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 10px;
}

.prize-item-details {
  display: flex;
  flex-direction: column;
}

.countdown-timer {
  font-size: 1.2rem;
  font-weight: bold;
}


.winner-announcement {
padding-top: 1rem;

}

  
  @media (max-width: 768px) {
    .raffle-grid {
        grid-template-columns: 1fr;
    }
  }
  
.crypto-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden;
}

.crypto-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}

.crypto-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.crypto-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.crypto-card-row {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.crypto-card.investments {
  grid-column: 1 / -1;
  width: 100%;
}

.crypto-card.buy-sell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(50% - 10px);
  box-sizing: border-box;
}

.crypto-card h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-input {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.crypto-select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  width: 100%;
  margin-bottom: 10px;
  background-color: transparent;
  color: var(--text-color);
}

.crypto-button {
  padding: 10px;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.stock-chart {
  margin-top: 1rem;
}

.crypto-button:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.crypto-cost,
.crypto-price {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 8px;
  border: 1px solid var(--primary-color);
  text-align: left;
  font-size: 0.7rem;
}

table th {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.pagination button {
  padding: 8px 12px;
  border: none;
  background-color: var(--primary-color);
  color: var(--background-color);
  cursor: pointer;
}

.pagination button:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.selected-row {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.percentage-change {
  margin-left: 5px;
}

.percentage-change.positive {
  color: green;
}

.percentage-change.negative {
  color: red;
}

.positive {
  color: green;
}

.negative {
  color: red;
}

@media (max-width: 768px) {
  .crypto-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .crypto-card-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .crypto-card.buy-sell {
    width: 100%;
  }

  .crypto-card .stock-table {
    display: table;
    font-size: 0.8rem;
  }

  .crypto-card.user-stats {
    font-size: 0.8rem;
  }

  .crypto-card.investments table {
    display: none;
  }
  table th,
  table td {
    padding: 8px;
    border: 1px solid var(--primary-color);
    text-align: left;
    font-size: 0.7rem;
  }
}

.crypto-card.user-stats p {
  margin-bottom: 8px;
}

.stock-chart {
  width: 100%;
  height: 250px;
}

.calculate-icon {
  color: var(--primary-color);
  cursor: pointer;
  margin-left: 10px;
  vertical-align: middle;
}

.calculate-icon:hover {
  color: var(--secondary-color);
}

.holdings-value {
  font-size: 0.6rem;
  color: var(--secondary-color);
  margin-left: 5px;
}

.expand-icon {
  cursor: pointer;
  margin-left: 10px;
  color: #fff;
}

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #222;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 769px) {
  .crypto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-gap: 20px;
    gap: 20px;
    justify-content: center;
  }

  .crypto-card.user-stats {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .crypto-card.current-price {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: start;
  }

  .crypto-card-row {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    justify-content: center;
  }

  .crypto-card.stock-chart {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }

  .crypto-card.investments {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
    width: 100%;
  }

  .crypto-card.investments table {
    display: table;
  }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .modal-content {
    background: linear-gradient(135deg, #13181ce6, #141414f4);
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    position: absolute;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
    left: 50%;
    top: 10%;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
  }
  
  .modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .modal-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
  }
  
  .modal-item-info {
    text-align: left;
  }
  
  .modal-item-info h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .modal-description {
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
  }
  
  .modal-buy-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .modal-buy-button:disabled {
    background-color: grey;
    cursor: not-allowed;
  }
  
  .modal-buy-button:hover:enabled {
    background-color: var(--scroll-color);
    color: var(--text-color);
  }
  
  .modal-feedback {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
  }
  
  .modal-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .modal-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  @media (max-width: 600px) {
    .modal-content {
      width: 90%;
      max-width: none;
      top: 5%;
    }
  }
  
.shop-section {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
}

.shop-container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  background-color: rgba(var(--loginbox-color-rgb), 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.shop-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.shop-title svg {
  margin-right: 10px;
}

.toggle-section-button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
}

.toggle-section-button svg {
  margin-right: 5px;
}

.toggle-section-button:hover {
  background-color: var(--scroll-color);
  color: var(--primary-color);
}

.category-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.balance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.balance-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.balance {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.balance-item {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.shop-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.shop-item-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.shop-item-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.shop-item-card h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.1rem;
  min-height: 2.2em;
}

.shop-item-card p {
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 0.9rem;
  flex-grow: 1;
}

.shop-item-quantity {
  color: var(--text-color-secondary);
  margin-bottom: 10px;
}

.shop-buy-button,
.shop-sell-button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: stretch;
}

.shop-buy-button:disabled,
.shop-sell-button:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.shop-buy-button:hover:enabled,
.shop-sell-button:hover:enabled {
  background-color: var(--scroll-color);
  color: var(--text-color);
}

.shop-feedback {
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  text-align: center;
}

.shop-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.shop-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
  .shop-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .shop-item-card {
    padding: 15px;
  }

  .shop-item-image {
    height: 120px;
  }

  .shop-item-card h3 {
    font-size: 1rem;
  }

  .shop-item-card p {
    font-size: 0.8rem;
  }

  .shop-buy-button,
  .shop-sell-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .shop-feedback {
    padding: 8px;
  }
}

.crafting-section {
  padding: 10px;
  position: relative;
}

.crafting-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.crafting-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.crafting-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.crafting-card.inventory {
  grid-column: 1 / -1;
}

.crafting-card.selected-items,
.crafting-card.crafting-queue {
  grid-column: 1 / -1;
}

.crafting-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: center;
  position: relative;
}

.queue-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.queue-limit {
  font-size: 0.8rem;
  color: var(--primary-color);
  position: absolute;
  right: 10px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 5px;
  gap: 5px;
  justify-content: center;
}

.item-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card.selected {
  border-color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.item-card img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.item-card h3 {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin: 0;
}

.item-value {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin: 5px 0 0 0;
}

.crafting-selected-items-list {
  display: flex;
  gap: 5px;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.selected-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 70px;
}

.selected-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.selected-item p {
  font-size: 0.7rem;
}

.crafted-item-preview {
  text-align: center;
}

.crafted-item-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.crafted-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.crafted-item-price p {
  font-size: 0.7rem;
  color: var(--primary-color);
  margin: 0;
}

.craft-button-container {
  margin-top: 1rem;
}

.craft-button {
  padding: 5px 10px;
  font-size: 1.2rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.craft-button:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.craft-button:hover:enabled {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.queue-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.queue-item-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.crafted-item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  width: 9rem;
}

.queue-item-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

.queue-item-name {
  font-size: 0.7rem;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item-price {
  font-size: 0.6rem;
  color: var(--primary-color);
}

.queue-item-status {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-style: italic;
}

.queue-item-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
}

.redeem-button {
  padding: 5px 10px;
  font-size: 0.8rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 0.5rem;
  margin-bottom: 0.rem;
}

.redeem-button:hover {
  background-color: var(--scroll-color);
  color: var(--text-color);
}

.cancel-button {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 5px;
  font-size: 0.9rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(183, 183, 183, 0.57);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cancel-button:hover {
  background-color: rgba(139, 0, 0, 0.461);
  color: white;
}

.back-arrow {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px;
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.back-arrow:hover {
  color: var(--scroll-color);
}

@media (max-width: 600px) {
  .queue-item-details {
    flex-direction: row;
    align-items: flex-start;
  }

  .crafted-item-box {
    width: 30%;
  }
}

.trade-page {
  padding: 20px;
}

.trade-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trade-back-arrow {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-color);
}

.trade-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.trade-inventory-section {
  margin-top: 20px;
}

.trade-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.trade-inventory-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.trade-inventory-item.selected {
  border: 2px solid var(--primary-color);
}

.trade-item-image-container {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}

.trade-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.trade-item-details {
  margin-top: 4px;
}

.trade-item-name {
  font-size: 0.7rem;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trade-item-value {
  font-size: 0.6rem;
  color: var(--primary-color);
}

.trade-selected-items {
  margin-top: 20px;
  text-align: left;
}

.selected-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.trade-selected-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px;
}

.trade-selected-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}

.trade-selected-item p {
  font-size: 0.7rem;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}

.trade-details {
  margin-top: 20px;
}

.trade-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 0.5rem;
}

.trade-from, .trade-to {
  display: flex;
  flex-direction: column;
}

.trade-from h4, .trade-to h4 {
  margin-bottom: 10px;
}

.trade-actions {
  margin-top: 20px;
}

.trade-action-button {
  margin: 5px;
  padding: 8px 16px;
  font-size: 0.9rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.6rem;
}

.trade-action-button:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.trade-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.trade-pending-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px;
}

.trade-pending-item-image-container {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}

.trade-pending-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.trade-pending-item-details {
  margin-top: 4px;
}

.trade-pending-item-name {
  font-size: 0.7rem;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trade-pending-item-value {
  font-size: 0.6rem;
  color: var(--primary-color);
}

.trade-message {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 20px;
}

.trades-overview-page {
  padding: 20px;
}

.trades-overview-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trades-back-arrow {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-color);
}

.trades-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.completed-trades-title {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.open-trades-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.open-trade-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.open-trade-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Completed Trades Grid */
.completed-trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 15px;
  gap: 15px;
  margin-top: 20px;
}

.completed-trade-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.completed-trade-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.trades-player-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.trades-player-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.trades-player-pic-placeholder {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.trades-player-name {
  font-weight: bold;
  font-size: 0.8rem;
  text-align: center;
  word-break: break-word;
}

.trades-details {
  font-size: 0.8rem;
  color: var(--secondary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination button {
  background-color: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
  padding: 5px 10px;
}

.pagination button:disabled {
  color: var(--secondary-color);
  cursor: not-allowed;
}

.pagination span {
  margin: 0 10px;
}

@media (max-width: 600px) {
  .completed-trades-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
  margin: 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.admin-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card ul {
  padding-left: 20px;
  margin-top: 0;
  list-style-type: none;
}

.admin-card li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.admin-card li::before {
  content: '•';
  color: var(--primary-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.admin-card a {
  color: var(--third-color);
  text-decoration: none;
  text-shadow: 1px 1px 5px #000;
}

.admin-card a:hover {
  text-decoration: underline;
}

.admin-card p {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.function-btn-action {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.btn-action:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}

.admin-back-arrow {
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
}

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

  .quick-actions {
      flex-direction: column;
      align-items: stretch;
  }
}

.admin-users-section {
  padding: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.admin-container {
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.back-arrow {
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 10px;
}

.admin-user-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.admin-user-card {
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--scroll-color);
}

.admin-user-avatar {
  flex: 0 0 40px;
  margin-right: 10px;
}

.admin-user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user-details {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.9em;
}

.admin-user-details h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1em;
}

.admin-club-number {
  font-size: 0.8em;
  color: var(--secondary-color);
}

.admin-user-email, .admin-user-info {
  margin: 2px 0;
  color: var(--text-color-secondary);
  font-size: 0.8em;
}

.admin-user-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 15px;
}

.admin-action-icon {
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-action-icon:hover {
  transform: scale(1.1);
}

.admin-action-icon.auth {
  color: var(--success-color);
}

.admin-action-icon.deauth {
  color: var(--danger-color);
}

.userinventory-modal {
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  margin: auto;
  position: fixed;
  overflow-y: auto;
  background: #ffffff00;
}

.userinventory-modal-overlay {
  background: rgba(0, 0, 0, 0.83);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.userinventory-modal-content {
  text-align: center;
  position: relative;
}

.userinventory-close-modal-button {
  background: var(--danger-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 1rem;
  position: absolute;
  top: 20px;
  right: 20px;
}

.userinventory-close-modal-button:hover {
  background: darken(var(--danger-color), 10%);
}

.userinventory-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.userinventory-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  width: 120px;
  padding: 10px;
  border: 1px solid var(--scroll-color);
  border-radius: 5px;
  background: var(--scroll-color); 
  position: relative;
}

.userinventory-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.userinventory-item-name {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 5px;
}

.userinventory-delete-item-container {
  position: absolute;
  top: 0;
  right: 0;
}

.userinventory-delete-item-icon {
  color: var(--primary-color);
  cursor: pointer;
}

.userinventory-delete-item-icon:focus,
.userinventory-delete-item-icon:hover {
  color: var(--primary-color);
  outline: none;
}



@media screen and (max-width: 600px) {
  .admin-users-section {
    padding: 5px;
  }

  .admin-container {
    padding: 10px;
  }

  .admin-user-card {
    flex-direction: column;
    align-items: center;
  }

  .admin-user-avatar {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .admin-user-details {
    width: 100%;
    margin-bottom: 5px;
  }

  .admin-user-actions {
    align-self: center;
  }
}
.admin-store-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff1f;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-store-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.admin-store-back-arrow {
  font-size: 1.2rem;
  margin-right: 10px;
  cursor: pointer;
}

.admin-store-title {
  font-size: 1rem;
}

.add-item-form,
.edit-item-form,
.add-recipe-form,
.edit-recipe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-item-form label,
.edit-item-form label,
.add-recipe-form label,
.edit-recipe-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.add-item-form input[type="text"],
.add-item-form input[type="number"],
.edit-item-form input[type="text"],
.edit-item-form input[type="number"],
.add-recipe-form input[type="text"],
.add-recipe-form input[type="number"],
.edit-recipe-form input[type="text"],
.edit-recipe-form input[type="number"],
.add-item-form select,
.edit-item-form select {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.8rem;
  color: var(--primary-color);
  background-color: var(--scroll-color);
  transition: background-color 0.3s ease;
}

.add-item-form input[type="text"]:focus,
.add-item-form input[type="number"]:focus,
.edit-item-form input[type="text"]:focus,
.edit-item-form input[type="number"]:focus,
.add-recipe-form input[type="text"]:focus,
.add-recipe-form input[type="number"]:focus,
.edit-recipe-form input[type="text"]:focus,
.edit-recipe-form input[type="number"]:focus,
.add-item-form select:focus,
.edit-item-form select:focus {
  background-color: var(--scroll-color);
  outline: none;
  color: var(--secondary-color);
}

.add-item-form input[type="checkbox"],
.edit-item-form input[type="checkbox"],
.add-recipe-form input[type="checkbox"],
.edit-recipe-form input[type="checkbox"] {
  background-color: var(--scroll-color);
  transform: scale(1.1);
}

.add-item-form button,
.edit-item-form button,
.add-recipe-form button,
.edit-recipe-form button {
  padding: 6px 10px;
  background-color: var(--scroll-color);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.add-item-form button:hover,
.edit-item-form button:hover,
.add-recipe-form button:hover,
.edit-recipe-form button:hover {
  background-color: #0057b300;
}

.items-list,
.recipes-list {
  margin-bottom: 10px;
}

.items-list ul,
.recipes-list ul {
  list-style-type: none;
  padding: 0;
}

.items-list li,
.recipes-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #ccc;
}

.items-list .toggle-sale,
.recipes-list .toggle-sale {
  cursor: pointer;
  font-size: 1rem;
}

.items-list .delete-icon,
.recipes-list .delete-icon {
  cursor: pointer;
  font-size: 0.8rem;
  color: #a00;
}

.items-list button,
.recipes-list button {
  padding: 4px 8px;
  background-color: var(--scroll-color);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.7rem;
  transition: background-color 0.3s ease;
}

.items-list button:hover,
.recipes-list button:hover {
  background-color: #0057b300;
}

.admin-raffle-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  
  .admin-raffle-back-arrow {
    position: absolute;
    left: 10px;
    top: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .admin-raffle-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
  }
  
  .admin-raffle-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .admin-raffle-form select, .admin-raffle-form input {
    width: 80%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(128, 128, 128, 0.2);
    color: var(--text-color);
    border-radius: 4px;
    text-align: center;
  }
  
  .admin-raffle-form select:focus, .admin-raffle-form input:focus {
    outline: none;
    border-color: var(--primary-color);
  }
  
  .admin-raffle-form button {
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: none;
    background: var(--scroll-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
  }
  
  .admin-raffle-form button:hover {
    background: var(--scroll-color);
    color: var(--secondary-color);
    transform: scale(1.01);
  }
  
  .admin-raffle-form button:active {
    color: var(--scroll-color);
    transform: scale(0.95);
  }
  
  .admin-prize-items-list {
    margin-bottom: 1rem;
  }
  
  .admin-prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .admin-prize-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  
  .admin-prize-item p {
    margin: 0;
    color: var(--text-color);
  }
  
  .admin-add-prize-button {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--scroll-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
  }
  
  .admin-add-prize-button:hover {
    background: var(--scroll-color);
    color: var(--secondary-color);
    transform: scale(1.01);
  }
  
  .admin-add-prize-button:active {
    color: var(--scroll-color);
    transform: scale(0.95);
  }
  
  .admin-raffle-save-button {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--scroll-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
  }
  
  .admin-raffle-save-button:hover {
    background: var(--scroll-color);
    color: var(--secondary-color);
    transform: scale(1.01);
  }
  
  .admin-raffle-save-button:active {
    color: var(--scroll-color);
    transform: scale(0.95);
  }
  
  .admin-raffle-participants {
    margin-top: 30px;
  }
  
  .admin-raffle-participants h3 {
    margin-bottom: 10px;
  }
  
  .admin-raffle-participants ul {
    list-style: none;
    padding: 0;
  }
  
  .admin-raffle-participants li {
    padding: 5px 0;
    border-bottom: 1px solid #444;
    color: var(--text-color);
  }
  
.admin-notices-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  
  .admin-notices-back-arrow {
    position: absolute;
    left: 10px;
    top: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .admin-notices-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
  }
  
  .notices-list {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
  }
  
  .notice-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
  }
  
  .notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .notice-header h3 {
    color: var(--text-color);
  }
  
  .notice-header button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.2rem;
  }
  
  .notice-item p {
    color: var(--secondary-color);
  }
  
  .notice-item button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    margin-right: 10px;
  }
  
  .notice-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .notice-form input, .notice-form textarea {
    width: 80%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(128, 128, 128, 0.2);
    color: var(--text-color);
    border-radius: 4px;
    text-align: center;
  }
  
  .notice-form input:focus, .notice-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
  }
  
  .notice-form button {
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: none;
    background: var(--scroll-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s;
  }
  
  .notice-form button:hover {
    background: var(--scroll-color);
    color: var(--secondary-color);
    transform: scale(1.01);
  }
  
  .notice-form button:active {
    color: var(--scroll-color);
    transform: scale(0.95);
  }
  
.transaction-container {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.back-arrow {
  position: absolute;
  left: 10px;
  top: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.transaction-container h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.balance-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  text-align: left;
}

.transaction-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transaction-form select, .transaction-form input {
  width: 80%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(128, 128, 128, 0.2);
  color: var(--text-color);
  border-radius: 4px;
  text-align: center;
}

.transaction-form select:focus, .transaction-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.transaction-form button {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  background: var(--scroll-color);
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s;
}

.transaction-form button:hover {
  background: var(--scroll-color);
  color: var(--secondary-color);
  transform: scale(1.01);
}

.transaction-form button:active {
  color: var(--scroll-color);
  transform: scale(0.95);
}

.currency-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency-buttons button {
  padding: 0.5rem 1rem;
  border: none;
  background: var(--scroll-color);
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 5px;
  transition: background 0.3s ease, transform 0.2s;
}

.currency-buttons button.active {
  background: var(--third-color);
  color: var(--scroll-color);
}

.user-select {
  margin-bottom: 1rem;
}

.user-dropdown, .item-dropdown {
  background-color: rgba(128, 128, 128, 0.2);
  color: var(--text-color);
}

:root[data-theme='default'] {
  --primary-color: #d6d6d6;
  --secondary-color: #cdadeae9;
  --third-color: #d6d6d6b7;
  --button-color: #7b5a96db;
  --text-color: #ffffffa8;
  --scroll-color: #3333333a;
  --background-color: #000000f9;
  --loginbox-color: #72727298;
  --border-gradient-start: #ffffff06;
  --border-gradient-end: #a8a8a836;
  --background-image: url(/static/media/bg.80eb8a501b2be1c90aa6.jpg);
  --font-primary: 'Quicksand', sans-serif;
  --font-title: 'Shenttpuro', sans-serif;
}

html[data-theme='default'] body {
  font-family: var(--font-primary);
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
  color: var(--primary-color);
  background-color: var(--background-color);
}

@font-face {
  font-family: 'Shenttpuro';
  src: url(/static/media/Shenttpuro.6cb4abf250b56ab082bb.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

html[data-theme='default'] .background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background-image: var(--background-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

:root[data-theme='colour'] {
    --primary-color: #ffffff;
    --secondary-color: #e2e2e2;
    --third-color: #7b52a4;
    --button-color: #8f8f8f;
    --text-color: #ffffff;
    --scroll-color: #22222294;
    --background-color: #681a8fd8;
    --loginbox-color: #222222;
    --border-gradient-start: #0a0505;
    --border-gradient-end: #444444;
    --background-image: url(/static/media/geo.e1c019d28dda0ab9cd15.webp);
    --font-primary: 'Quicksand', sans-serif;
    --font-title: 'Coffee', sans-serif;
  }
  
  html[data-theme='colour'] body {
    font-family: var(--font-primary);
    line-height: 1.5;
    text-align: center;
    overflow: hidden;
    color: var(--primary-color);
    background-color: var(--background-color);
  }
  
  @font-face {
    font-family: 'Coffee';
    src: url(/static/media/Coffee.ebdeb80aa725d44c587a.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  html[data-theme='colour'] .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
  }
  
:root[data-theme='version2'] {
    --primary-color: #fad7cef2;
    --secondary-color: #eeeeee;
    --third-color: #dddddd;
    --button-color: #dbdbdb86;
    --text-color: #f1e1ea;
    --scroll-color: #ffb6b69a;
    --background-color: #ffb2cd;
    --loginbox-color: #eeeeee;
    --border-gradient-start: #dddddd;
    --border-gradient-end: #cccccc;
    --background-image: url(/static/media/version2.88f54f42a86b1ae3cfa0.avif);
    --font-primary: 'Quicksand', sans-serif;
    --font-title: 'Cali', sans-serif;
  }
  
  html[data-theme='version2'] body {
    font-family: var(--font-primary);
    line-height: 1.5;
    text-align: center;
    overflow: hidden;
    color: var(--primary-color);
    background-color: var(--background-color);
  }

  @font-face {
    font-family: 'Cali';
    src: url(/static/media/Cali.4324153cbca06df9cfc1.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  html[data-theme='version2'] .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
  }
  
:root[data-theme='space'] {
    --primary-color: #e8f7fff2;
    --secondary-color: #aec8e4;
    --third-color: #e3f3ff;
    --button-color: #dbdbdb86;
    --text-color: #addbff;
    --scroll-color: #525252af;
    --background-color: #000000;
    --loginbox-color: #eeeeee;
    --border-gradient-start: #dddddd;
    --border-gradient-end: #cccccc;
    --background-image: url(/static/media/space.b8353fabd1930777ffe9.avif);
    --font-primary: 'Orbitron', sans-serif;
    --font-title: 'Space', sans-serif;
  }

  html[data-theme='space'] body {
    font-family: var(--font-primary);
    line-height: 1.5;
    text-align: center;
    overflow: hidden;
    color: var(--primary-color);
    background-color: var(--background-color);
  }

  @font-face {
    font-family: 'Space';
    src: url(/static/media/space.ee4242670515bf1b8739.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  html[data-theme='space'] .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
  }
  
:root[data-theme='night'] {
    --primary-color: #faf2ffdf;
    --secondary-color: #f2e4fe;
    --third-color: #faeaff;
    --button-color: #dbdbdb;
    --text-color: #ceb5db;
    --scroll-color: #5252526a;
    --background-color: #000000;
    --loginbox-color: #eeeeee;
    --border-gradient-start: #dddddd;
    --border-gradient-end: #cccccc;
    --background-image: url(/static/media/night.251c2dec26727551860d.jpg);
    --font-primary: 'Poppins', sans-serif;
    --font-title: 'night', sans-serif;
  }
  
  html[data-theme='night'] body {
    font-family: var(--font-primary);
    line-height: 1.5;
    text-align: center;
    overflow: hidden;
    color: var(--primary-color);
    background-color: var(--background-color);
  }

  @font-face {
    font-family: 'night';
    src: url(/static/media/Shenttpuro.6cb4abf250b56ab082bb.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  html[data-theme='night'] .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
  }
  

/*# sourceMappingURL=main.f9cf1327.css.map*/