@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: radial-gradient(circle, rgba(0, 223, 255, 0.2), rgba(0, 0, 0, 0.95));
  color: #0df2ff;
  overflow-x: hidden;
}

.home-body {
  animation: background-glow 10s infinite alternate ease-in-out;
  padding: 0;
  margin: 0;
}

.c-body, .vm-body, .rp-body {
  background-color: #1a1a1a;
  background-image: linear-gradient(0deg, rgba(0, 223, 255, 0.1) 50%, transparent 50%);
  background-size: 100% 3px;
  background-repeat: repeat-y;
  background-attachment: fixed;
  font-family: "Courier New", monospace;
  position: relative;
  color: #0df2ff
}

.vm-body h1, .rp-body h1, .character-container h1 {
  font-size: 48px;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 223, 255, 0.8), 0 0 20px rgba(0, 223, 255, 0.5)
}

.rp-body h1, .character-container h1 {
  font-size: 250%;
  padding-top: 20px;
  padding-bottom: 50px
}

.i-body::before, .vm-body::before, .rp-body::before, #choiceWindow::before {
  content: "";
  background-image: linear-gradient(0deg, rgba(0, 223, 255, 0.1) 50%, transparent 50%);
  background-size: 100% 3px;
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: -1
}

.container {
  text-align: center;
  padding: 20px;
  background: rgba(13, 13, 13, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 223, 255, 0.5), 0 0 60px rgba(0, 223, 255, 0.2);
  position: relative;
  z-index: 2
}

#playButton {
  display: block;
  width: 300px;
  height: 60px;
  line-height: 60px;
  background-color: #0d0d0d;
  color: #c0c0c0;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
  border-radius: 10px;
  border: 2px solid #00d1ff;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.5), 0 0 40px rgba(0, 209, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease
}

#playButton::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.3), rgba(0, 0, 0, 0));
  transition: all 0.5s ease
}

#playButton:hover::before {
  top: -70%;
  left: -70%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.6), rgba(0, 0, 0, 0))
}

#playButton:hover {
  background-color: #2a2a2a;
  color: #00d1ff;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.8), 0 0 60px rgba(0, 209, 255, 0.5);
  border: 2px solid #00d1ff
}

#playButton span {
  position: relative;
  z-index: 1
}

.cryo-countdown {
  margin-top: 6px;
  color: #00e0ff;
  font-weight: bold;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px #000;
}

#logoutButton {
  display:block;
  width:300px;
  height:50px;
  line-height:50px;
  background-color:#0df2ff;
  color:#1a1a1d;
  font-size:24px;
  font-weight:700;
  text-decoration:none;
  text-align:center;
  margin:0 auto;
  border-radius:5px
}

.formTitle {
  color:#0df2ff;
  font-size:24px;
  font-weight:700;
  margin-top:20px;
  text-align:center
}

#back-button-container {
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  white-space:nowrap;
  padding:8px 16px;
  min-width:150px;
  text-align:center
}

#signupButton, #loginButton {
  background-color: #2a2a2a;
  border: 2px solid #0df2ff;
  border-radius: 5px;
  color: #0df2ff;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.4), 0 0 30px rgba(0, 223, 255, 0.2)
}

#signupButton:hover, #loginButton:hover {
  background-color: #0df2ff;
  color: #2a2a2a;
  box-shadow: 0 0 25px rgba(0, 223, 255, 0.7), 0 0 50px rgba(0, 223, 255, 0.5)
}

.buttonsContainer {
  display: flex;
  justify-content: space-around;
  margin-top: 20px
}

#choiceWindow {
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(50, 50, 50, 0.9);
  padding: 40px;
  border-radius: 15px;
  z-index: 2;
  width: 400px;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.5), 0 0 60px rgba(0, 209, 255, 0.3);
  border: 2px solid rgba(0, 209, 255, 0.5);
  overflow: hidden;
  transition: all 0.5s ease;
  color: #000000;
  font-weight: bolder
}

#choiceWindow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.1), rgba(0, 0, 0, 0));
  transition: all 0.5s ease
}

#choiceWindow:hover::before {
  top: -70%;
  left: -70%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.3), rgba(0, 0, 0, 0))
}

#choiceWindow button {
  font-size: 16px;
  background-color: #0d0d0d;
  color: #0df2ff;
  border: 2px solid #00d1ff;
  border-radius: 8px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
  cursor: pointer
}

#choiceWindow button:hover {
  background-color: #2a2a2a;
  color: #00d1ff;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.8), 0 0 40px rgba(0, 209, 255, 0.5);
  transform: translateY(-5px)
}

#choiceWindow button:active {
  transform: translateY(2px)
}

#choiceWindow p, #choiceWindow span {
  color: #000000;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  font-weight: bold

}

#closeButton {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #0df2ff
}

.multiConnectionsWindow {
  justify-content:center;
  align-items:center;
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background-color:#323232;
  padding:40px;
  border-radius:10px;
  z-index:2;
  width:30%;
  text-align: center
}

.multiConnectionsWindow::before {
  content: "";
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 50%, transparent 50%);
  background-size: 100% 3px;
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: -1
}

.multiConnectionsWindow button {
  background-color:#2a2a2a;
  border:2px solid #0df2ff;
  border-radius:5px;
  color:#0df2ff;
  cursor:pointer;
  font-family:'Courier New',monospace;
  font-size:14px;
  margin:10px;
  margin-bottom:20px;
  outline:none;
  padding:8px 16px;
  text-transform:uppercase;
  transition:background-color 0.3s,color .3s
}

#multiConnectionsWindow button:hover {
  background-color:#0df2ff;
  color:#2a2a2a
}

#choiceWindow button {
  font-size:14px;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 50%, transparent 50%);
  background-size: 100% 3px;
  background-repeat: repeat-y;
  padding:10px 15px;
  margin:0 5px
}

.hidden {
  display:none
}

.overlay {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1
}

form {
  display: flex;
  flex-direction: column;
  align-items: center
}

.rp-body form {
  margin: 0
}

.rp-body input[type="password"] {
  width: 20%
}

form label {
  display:block;
  margin-bottom:2px
}

label {
  font-size:16px;
  margin:5px 0
}

input[type="text"], input[type="password"], input[type="email"] {
  background-color: #0d0d0d;
  color: #0df2ff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin: 5px 0;
  padding: 8px 12px;
  width: 100%;
  border: 2px solid rgba(0, 223, 255, 0.5);
  border-radius: 5px;
  transition: border-color 0.3s
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
  border-color: #0df2ff;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.5)
}

button[type="submit"] {
  background-color:#2a2a2a;
  border:2px solid #0df2ff;
  border-radius:5px;
  color:#0df2ff;
  cursor:pointer;
  font-family:'Courier New',monospace;
  font-size:14px;
  margin:10px;
  margin-bottom:20px;
  outline:none;
  padding:8px 16px;
  text-transform:uppercase;
  transition:background-color 0.3s,color .3s
}

.resetPasswordMessage {
  color:#00ff00;
  font-size:14px;
  margin-bottom:10px
}

#loginMessage {
  color:green;
  font-size:12px;
  margin-top:10px;
  margin-bottom:10px;
  font-weight: bold
}

.valid {
  border: 2px solid green;
  border-radius:5px;
  box-shadow: inset rgba(0,0,0,0.35) 2px 2px 6px, green 0 0 5px
}

.invalid {
  border: 2px solid red;
  border-radius:5px;
  box-shadow: inset rgba(0,0,0,0.35) 2px 2px 6px, red 0 0 5px
}

.default {
  border:2px solid #0df2ff;
  border-radius:5px;
  box-shadow: inset rgba(0,0,0,0.35) 2px 2px 6px, #0df2ff 0 0 5px
}

#verification-message {
  text-align:center;
  padding:50px
}

#home-link {
  display:block;
  margin-top:20px;
  font-size:14px;
  color:#007bff;
  text-decoration:none
}

#button[type="submit"]:hover {
  background-color:#0df2ff;
  color:#2a2a2a
}

form input,.form input:last-of-type,.form button[type="submit"] {
  margin-bottom:20px
}

.form,.form:first-child label:first-child {
  margin-top:20px
}

.spinner {
  display:none;
  background-image:url(public/img/spinner.png);
  background-size:cover;
  width:50px;
  height:50px;
  position:absolute;
  top:50%;
  left:50%;
  margin-top:-25px;
  margin-left:-25px
}

.back-button-container {
  text-align:center;
  margin-bottom:10px
}

#map {
  max-width:100%;
  overflow:auto;
  position:relative
}

#character {
  position:absolute
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.5), 0 0 30px rgba(0, 223, 255, 0.3);
  backdrop-filter: blur(5px)
}

.navbar a {
  color: #0df2ff;
  font-size: 14px;
  font-family: "Courier New", monospace;
  text-decoration: none;
  padding: 0 10px;
  transition: color 0.3s ease, box-shadow 0.3s ease
}

.navbar a:hover {
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.7), 0 0 20px rgba(0, 223, 255, 0.5)
}

.navbarLeft, .navbarRight {
  display: flex;
  align-items: center
}

.navbarCenter {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%)
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer
}

.navbar-toggle span {
  background-color: #0df2ff;
  height: 3px;
  margin: 5px 0;
  width: 25px
}

.navbar-menu {
  display: flex
}

.navbarAvatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 5px;
  border: 2px solid #0df2ff;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.5);
  transition: box-shadow 0.3s ease
}

.navbarAvatar:hover {
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.8), 0 0 30px rgba(0, 223, 255, 0.5)
}

#navbarUsername {
  font-size: 14px;
  color: #0df2ff;
  font-family: "Courier New", monospace;
  margin-left: 10px
}

.navbarLeft > a, .navbarRight > a, .sidebar a {
  color: #0df2ff;
  font-size: 18px;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s, box-shadow 0.3s ease
}

.navbarLeft > a:hover, .navbarRight > a:hover, .sidebar-character:hover {
  color: #00ff00
}

.settings-arrow {
  margin-left: 4px;
  font-size: 0.85em;
}

#navbarSettings {
  position: relative;
  display: inline-block;
}

#settingsDropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(25, 25, 25, 0.95);
  border: 1px solid #0df2ff;
  border-radius: 8px;
  padding: 15px;
  z-index: 1000;
  width: 240px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.5);
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #0df2ff;
}

#settingsDropdown label,
#settingsDropdown input,
#settingsDropdown button {
  display: block;
  margin: 10px auto;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #0df2ff;
  background: transparent;
  border: none;
}

#settingsDropdown hr {
  border: 0;
  height: 1px;
  background: #0df2ff;
  margin: 10px 0;
}

#settingsDropdown input[type="range"] {
  width: 100%;
}

#settingsDropdown button {
  background-color: #0df2ff;
  color: black;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#settingsDropdown button:hover {
  background-color: #00bcd4;
}

#settingsDropdown hr {
  border: 0;
  height: 1px;
  background: #0df2ff;
  margin: 10px 0;
}

#languageDropdown, #titleDropdown, #frameDropdown {
  font-family: "Courier New", monospace;
  color: #0df2ff;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #0df2ff;
  border-radius: 4px;
  padding: 6px;
  margin: 0 auto;
  text-align: center;
}

#editDescriptionOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#editDescriptionOverlay.hidden {
  display: none;
}

#editDescriptionOverlay .editDescriptionContent {
  background-color: #10151c;
  border: 2px solid #00f0ff;
  border-radius: 12px;
  padding: 20px;
  width: 500px;
  max-width: 90%;
  box-shadow: 0 0 20px #00f0ff88, inset 0 0 10px #00f0ff44;
  color: #e0f0ff;
  font-family: "Courier New", monospace;
}

#editDescriptionOverlay textarea {
  width: 100%;
  height: 200px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #0df2ff;
  background-color: #1a1f27;
  color: #e0f0ff;
  font-size: 14px;
  resize: vertical;
}

.avatar, .sidebar-character-avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border: 2px solid #0df2ff;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.5);
  transition: box-shadow 0.3s ease
}

.avatar:hover, .sidebar-character-avatar:hover {
  box-shadow: 0 0 20px rgba(0, 223, 255, 0.8), 0 0 30px rgba(0, 223, 255, 0.5)
}

.sidebar {
  width: 250px;
  height: calc(100% - 40px);
  position: fixed;
  top: 40px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.5)
}

.sidebar-item, .sidebar-character, .plusText {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #0df2ff;
  transition: color 0.3s, box-shadow 0.3s ease
}

.sidebar-item, .sidebar-character {
  margin-bottom: 20px
}

.sidebar-item:hover, .sidebar-character:hover, .plusText:hover {
  color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.7), 0 0 20px rgba(0, 223, 255, 0.5)
}

.content {
  margin-top: 40px;
  margin-left: 290px;
  padding: 20px;
  box-sizing: border-box;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 223, 255, 0.3);
  overflow-y: auto;
  max-height: calc(100vh - 40px)
}

.sub-menu {
  display:none;
  margin-left:20px
}

.sub-menu-visible {
  display:block
}

.character-item {
  margin-bottom:10px;
  cursor:pointer
}

.characters-label {
  margin-right:5px
}

.sidebar-character-name {
  font-size: 0.9em;
  margin-top: 5px;
  margin-left: 5px
}

.plus {
  --b: 2px;
  width: 20px;
  aspect-ratio: 1;
  border: 5px solid #000;
  background: conic-gradient(from 90deg at var(--b) var(--b), #000 90deg, #fff 0) calc(100% + var(--b)/2) calc(100% + var(--b)/2) / calc(50% + var(--b)) calc(50% + var(--b));
  display: inline-block;
  border-radius: 50%
}

.plusContainer {
  display:flex;
  align-items:center
}

.dropdown-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0df2ff;
  vertical-align: middle;
  transition: transform 0.3s
}

.dropdown-indicator-left {
  transform: rotate(90deg)
}

.info-container, .security-container {
  text-align: center
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}  

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center
}

.username-heading {
  margin: 0
}

.avatar {
  display: block;
  margin: 0
}

.info-form-container, .secu-form-container {
  border: 2px solid #0df2ff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  color: #0df2ff;
  padding: 20px;
  text-align: center;
  width: 60%;
  max-width: 600px;
  margin: 20px auto;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.5);
  transition: transform 0.3s, box-shadow 0.3s ease-in-out
}

.info-form-container:hover, .secu-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 223, 255, 0.8)
}

.info-form-container input, .secu-form-container input {
  width: 70%;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  border: 2px solid #0df2ff;
  background-color: #1a1a1a;
  color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease
}

.info-form-container input:focus, .secu-form-container input:focus {
  border-color: #00ff00;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.7)
}

.username-warning, .email-warning, .avatar-warning, .infos-warning, .password-warning, .auth-warning, .userInfos-warning {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin: 0
}

.label-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  width: 100%
}

.label-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
  width: 100%
}

.info-label, .gender-label, .birthday-label, .country-label {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 10px;
  text-align: center
}

#flag-container {
  margin-top: 10px
}

.change-username-btn, .change-email-btn, .change-avatar-btn, .change-password-btn, .change-auth-btn, .change-userInfos-btn, .create-perso-btn {
  background-color: #2a2a2a;
  border: 2px solid #0df2ff;
  border-radius: 5px;
  color: #0df2ff;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin: 10px;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease
}

.change-username-btn:hover, .change-email-btn:hover, .change-avatar-btn:hover, .change-password-btn:hover, .change-auth-btn:hover, .change-userInfos-btn:hover, .create-perso-btn:hover {
  background-color: #0df2ff;
  color: #2a2a2a;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.7)
}

.createCharacter-container {
  width: 85%;
  max-width: 800px;
  margin: 20px auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #0df2ff;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.5);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease
}

.createCharacter-container:hover {
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.8);
  transform: translateY(-3px)
}

.form-title {
  text-align: center;
  color: #0df2ff;
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 8px rgba(0, 223, 255, 0.7)
}

.form-part {
  width: 100%;
  text-align: center
}

.button-container {
  display: flex;
  justify-content: space-between;
  width: 100%
}

.form-part form {
  display: flex;
  flex-direction: column;
  align-items: center
}

.form-part input[type="range"],
.form-part input[type="number"] {
  background-color: #3c3c3c;
  border: none;
  color: #f2f2f2
}

.form-part input[type="text"], .form-part input[type="number"] {
  background-color: #2a2a2a;
  color: #0df2ff;
  border: 2px solid #0df2ff;
  padding: 8px;
  margin-bottom: 0.8rem;
  width: 70%;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease
}

.form-part input[type="text"]:focus, .form-part input[type="number"]:focus {
  border-color: #00ff00;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.7)
}

.form-part input[type="number"]::-webkit-inner-spin-button,
.form-part input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0
}

.adjust-button {
  background-color: #2a2a2a;
  border: 1px solid #0df2ff;
  border-radius: 10px;
  color: #0df2ff;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  padding: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s
}

.adjust-button-left {
  margin-right: 6px
}

.adjust-button-right {
  margin-left: 6px
}

.form-part fieldset {
  border: 2px solid #0df2ff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px
}

.form-part legend {
  color: #0df2ff;
  font-weight: bold;
  font-size: 1.25rem
}

.form-part label {
  color: white;
  margin-bottom: 0.5rem
}

.back-button, .next-button, .submit-button {
  background-color: #2a2a2a;
  border: 2px solid #0df2ff;
  color: #0df2ff;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  padding: 8px 16px;
  text-transform: uppercase;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s
}

.back-button:hover, .next-button:hover, .submit-button:hover {
  background-color: #0df2ff;
  color: #2a2a2a;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.7)
}

.form-part button:hover {
  background-color:#0df2ff;
  color:#2a2a2a
}

.block {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #000000;
  border: 1px solid #0df2ff;
  border-radius: 5px
}

.form-part h3 {
  text-align: center;
  color: #0df2ff;
  font-size: 1.5rem;
  margin-bottom: 1rem
}

.form-part p {
  text-align: center;
  color: #f2f2f2;
  margin-bottom: 1rem
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
  justify-content: center
}

.input-group {
  display: flex;
  align-items: baseline
}

.label-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem
}

.label-group-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  margin-bottom: 0.1rem
}

.descAttribute {
  display: inline-block;
  background-color: #2a2a2a;
  border: 1px solid white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  font-size: 10px;
  color: white;
  cursor: pointer;
  position: relative
}

.descAttribute:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2a2a2a;
  border: 1px solid #0df2ff;
  border-radius: 4px;
  color: #0df2ff;
  padding: 4px 8px;
  white-space: pre-wrap;
  width: max-content;
  max-width: 200px;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.2;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s
}

.inline-label {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0.25rem
}

#avatar-preview, #race-avatar-preview {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto
}

.error {
  color:#ff4c4c !important;
  font-size:12px;
  margin-top:5px;
  margin-bottom:10px;
  font-weight: bold
}

.success {
  color: #00ff00 !important;
  font-size:12px;
  margin-top:5px;
  margin-bottom:10px;
  font-weight: bold
}

.character-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%
}

#rules-scrollable::-webkit-scrollbar {
  width: 8px;
  background: #222;
}
#rules-scrollable::-webkit-scrollbar-thumb {
  background: #0df2ff;
  border-radius: 4px;
}

.characterDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #0df2ff;
  animation: fadeIn 1s ease-in-out;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
  box-shadow: 0 0 10px rgba(0, 223, 255, 0.5)
}

.characterDiv:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 223, 255, 0.8)
}

.characterContent {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 1rem
}

.characterLeft,
.characterCenter,
.characterRight {
  display: flex;
  flex-direction: column
}

.characterLeft {
  flex: 1;
  align-items: flex-start;
  width: 30%
}

.characterCenter {
  flex: 1;
  align-items: center;
  width: 40%;
  min-width: 160px
}

.characterRight {
  flex: 1;
  align-items: flex-end;
  width: 30%
}

.characterCenter span {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #ffffff
}

.dateCh {
  margin-top: 10px
}

.firstNameCh,
.lastNameCh {
  display: inline
}

.nameContainer {
  margin-bottom: 0.5rem
}

.characterLeft span,
.characterRight span {
  margin-bottom: 1rem
}

.playCh, .createNewCharacter {
  background-color: #0d0d0d;
  border: 2px solid rgba(0, 223, 255, 0.5);
  border-radius: 10px;
  color: #0df2ff;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
  padding: 8px 16px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.4), 0 0 30px rgba(0, 223, 255, 0.2);
  transition: all 0.3s ease
}

.playCh:hover, .createNewCharacter:hover {
  color: #0df2ff;
  background-color: rgba(13, 242, 255, 0.2);
  box-shadow: 0 0 10px rgba(13, 242, 255, 0.8)
}

.createCharacterDiv {
  width: 50%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease-in-out
}

.createCharacterDiv:hover {
  transform: scale(1.05)
}

.sidebar-character {
  margin-bottom: 20px;
  border: 2px solid #0df2ff;
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out
}

.sidebar-character:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.7)
}

.warningCharacterError {
  display: flex;
  text-align: center;
  align-items: center;
  color: #ff4d4d
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 223, 255, 0.7);
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 223, 255, 0.5)
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 223, 255, 0.9);
  box-shadow: 0 0 15px rgba(0, 223, 255, 0.8), 0 0 30px rgba(0, 223, 255, 0.5)
}

::-webkit-scrollbar-corner {
  background: transparent
}

@keyframes background-glow {
  0% {
      background: radial-gradient(circle, rgba(0, 223, 255, 0.2), rgba(0, 0, 0, 0.9))
  }
  100% {
      background: radial-gradient(circle, rgba(0, 223, 255, 0.4), rgba(0, 0, 0, 0.9))
  }
}

@keyframes spin {
  0% {
    transform:rotate(0deg)
  }

  100% {
    transform:rotate(360deg)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

#shopOverlay {
  font-family: 'Courier New', monospace;
  background: rgba(2, 13, 20, 0.97) !important;
  z-index: 9999;
  backdrop-filter: blur(2px);
  animation: neon-border-glow 3s infinite;
}
.neoShopCard {
  background: radial-gradient(ellipse 65% 85% at 55% 9%, #102331 80%, #0a111a 100%);
  border: 4px groove #00F0FF;
  border-radius: 28px;
  box-shadow: 0 0 32px #0df2ff99, 0 0 0 7px #0df2ff33;
  color: #0df2ff;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  padding: 38px 22px 24px 22px;
  min-width: 320px;
  width: 96vw;
  max-width: 730px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.neoShopTabs {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 16px 0 22px 0;
  flex-wrap: wrap;
}
.neoShopTabs button {
  background: linear-gradient(90deg,rgba(0,223,255,0.16),rgba(0,223,255,0.06));
  border: 2.5px solid #0df2ff;
  color: #0df2ff;
  border-radius: 10px 10px 0 0;
  padding: 10px 20px;
  font-size: 1.08em;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 7px #0df2ff22;
}
.neoShopTabs button.active, .neoShopTabs button:focus {
  background: linear-gradient(90deg,#0df2ff88,#131f23 90%);
  color: #fff;
  box-shadow: 0 0 15px #00f0ff;
}
.neoShopTabs button:hover:not(.active) {
  background: #0df2ff11;
  color: #00f0ff;
}
.neoShopContentArea {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 58vh;
  margin: 0;
  padding: 2px 0;
}
.neoShopCard .shop-balance {
  text-align: center;
  margin-bottom: 8px;
  font-weight: bold;
  color: #7fffd4;
  font-size: 1.09em;
  letter-spacing: 1px;
}
.neoShopItemCard {
  background: linear-gradient(135deg,#091b29 70%,#161d20 100%);
  border: 2.5px solid #00F0FFBB;
  border-radius: 14px;
  box-shadow: 0 1px 8px #0df2ff11, 0 0 0 2.5px #0df2ff44;
  padding: 17px 10px 15px 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  transition: box-shadow 0.18s;
}
.neoShopItemCard:hover {
  box-shadow: 0 0 16px #00f0ff77, 0 0 0 5px #0df2ff88;
  z-index: 2;
}
.neoShopItemCard .shop-promo {
  position: absolute;
  top: 7px;
  right: 15px;
  background: linear-gradient(90deg,#0df2ff,#00c6ad);
  color: #181f26;
  font-weight: bold;
  font-size: 0.83em;
  border-radius: 8px;
  padding: 2px 11px;
  box-shadow: 0 0 10px #0df2ff55;
}
.neoShopItemCard img {
  width: 54px;
  height: 54px;
  margin: 0 auto 7px auto;
  display: block;
  filter: drop-shadow(0 0 12px #0df2ff77);
  border-radius: 11px;
  background: #101926;
}
.neoShopItemCard .item-name {
  font-weight: bold;
  color: #7fffd4;
  margin-top: 3px;
  font-size: 1.08em;
}
.neoShopItemCard .item-desc {
  color: #dff;
  font-size: 0.98em;
  margin: 2px 0 5px 0;
}
.neoShopItemCard .item-price {
  color: #0df2ff;
  font-size: 1.15em;
  margin-bottom: 4px;
}
.neoShopItemCard .shop-buy {
  background: radial-gradient(circle, #0df2ff 70%, #36f9d2 100%);
  color: #0a111a;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  margin-top: 9px;
  font-size: 1em;
  padding: 7px 26px;
  box-shadow: 0 0 15px #0df2ff33;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.18s, color 0.15s, box-shadow 0.15s;
}
.neoShopItemCard .shop-buy:hover {
  background: linear-gradient(90deg,#00f0ff,#7fffd4 80%);
  color: #16213e;
  box-shadow: 0 0 22px #0df2ff88;
}
.neoShopCard .close-btn {
  position: absolute;
  top: 14px;
  right: 24px;
  background: transparent;
  color: #0df2ff;
  font-size: 39px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.14s;
}
.neoShopCard .close-btn:hover {
  color: #ff4c4c;
  text-shadow: 0 0 10px #ff4c4c99;
}
.neoShopCard .shop-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 7px;
}
.neoShopCard .shop-logo .shop-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 2.2em;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 20px #0df2ff77, 0 0 4px #0df2ff;
}
.neoShopCard .shop-logo-sub {
  text-align: center;
  margin-top: 4px;
  font-size: 1.12em;
  color: #7fffd4;
  text-shadow: 0 0 12px #0df2ff77;
}

@media (max-width: 1000px) {
  .section, .section-1, .hero-section {
    padding: 20px 5vw;
  }
  .section-1 h2, .hero-section h1, h1, .vm-body h1, .rp-body h1, .character-container h1 {
    font-size: 6vw;
    margin-bottom: 20px;
  }
  .hero-section img {
    width: 80px;
  }
  .hero-section p,
  .section-1 p {
    font-size: 18px;
  }
    .container {
    padding: 13px 3vw;
  }
  #playButton, #logoutButton {
    width: 90vw;
    max-width: 320px;
    height: 46px;
    line-height: 46px;
    font-size: 1.08em;
  }
  #choiceWindow {
    width: 82vw;
    min-width: 0;
    padding: 25px 2vw;
  }
  #choiceWindow button {
    font-size: 15px;
    padding: 10px 13px;
  }
  #signupButton, #loginButton {
    font-size: 1em;
    padding: 7px 10px;
  }
  .multiConnectionsWindow {
    width: 54vw;
    padding: 24px 3vw;
    min-width: 240px;
    max-width: 98vw;
    font-size: 1em;
  }
  .multiConnectionsWindow button {
    font-size: 1em;
    padding: 8px 9vw;
    margin-bottom: 14px;
    width: 90%;
    min-width: 120px;
    max-width: 350px;
  }
  .navbar {
    padding: 0 8px;
    height: 38px;
  }
  .navbar a, #navbarUsername {
    font-size: 13px;
    padding: 0 7px;
  }
  .navbarAvatar {
    width: 29px;
    height: 29px;
  }
  #settingsDropdown {
    width: 210px;
    font-size: 0.96em;
    padding: 11px;
  }
  #editDescriptionOverlay .editDescriptionContent {
    width: 94vw;
    max-width: 600px;
    padding: 14px 3vw;
  }
  .avatar, .sidebar-character-avatar {
    width: 70px;
    height: 70px;
  }
  .sidebar {
    width: 80vw;
    max-width: 350px;
    min-width: 180px;
    left: -100vw;
    top: 0;
    height: 100vh;
    padding: 16px 10px;
    box-shadow: 6px 0 20px #0df2ff44;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 1500;
    transition: left 0.25s cubic-bezier(.4,2,.5,1), box-shadow 0.2s;
    position: fixed;
  }
  .sidebar.open {
    left: 0;
    box-shadow: 6px 0 40px #0df2ff88;
  }
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: #0df2ffcc;
    border: none;
    border-radius: 7px;
    box-shadow: 0 2px 7px #0df2ff44;
    z-index: 2001;
    cursor: pointer;
  }
.sidebar-toggle:after {
    content: '';
    display: block;
    width: 22px;
    height: 3px;
    background: #222;
    border-radius: 3px;
    margin: 0 auto;
    box-shadow: 0 7px 0 #222, 0 14px 0 #222;
}
  #sidebar-overlay {
    display: none;
    position: fixed;
    z-index: 1400;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.46);
    transition: opacity 0.2s;
  }
  .content {
    margin-left: 0;
    padding: 16px 4vw;
    min-width: 0;
  }
  .createCharacter-container {
    width: 96vw;
    max-width: 98vw;
    padding: 1.1rem 3vw;
    margin: 10px 1vw;
    border-radius: 9px;
  }
  .form-title {
    font-size: 1.3rem;
  }
  .form-part legend {
    font-size: 1rem;
  }
  .form-part h3 {
    font-size: 1.15rem;
  }
  .button-container {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
  .row {
    flex-direction: column;
    gap: 10px;
  }
  .col {
    width: 100%;
  }
  .characterDiv,
  .createCharacterDiv {
    width: 85vw;
    max-width: 99vw;
    padding: 1rem 2vw;
    margin: 0 auto 1rem auto;
  }
  .characterContent {
    gap: 0.7rem;
  }
  .neoShopCard {
    width: 99vw;
    max-width: 99vw;
    min-width: 0;
    padding: 28px 2vw 16px 2vw;
    border-radius: 18px;
  }
  .neoShopTabs button {
    font-size: 1em;
    padding: 8px 10px;
  }
  .neoShopContentArea {
    max-height: 51vh;
  }
  .neoShopItemCard img {
    width: 46px;
    height: 46px;
  }
  .neoShopCard .close-btn {
    right: 14px;
    font-size: 32px;
  }
  .neoShopCard .shop-logo .shop-title {
    font-size: 1.65em;
  }
  .neoShopCard .shop-logo {
    gap: 9px;
  }
}

@media (max-width: 700px) {
  .section, .section-1, .hero-section {
    padding: 12px 2vw;
    min-height: 84vh;
    height: auto;
  }
  .hero-section img {
    width: 52px;
    margin-bottom: 12px;
  }
  .hero-section h1,
  .section-1 h2,
  h1,
  .vm-body h1,
  .rp-body h1,
  .character-container h1 {
    font-size: 2.1em;
    margin-bottom: 14px;
  }
  .hero-section p,
  .section-1 p {
    font-size: 1.05em;
    margin-bottom: 15px;
  }
  .feature {
    padding: 13px 7px;
    max-width: 98vw;
  }
  .section, .section-1 {
    text-align: left;
    align-items: flex-start;
  }
  .container {
    padding: 9px 2vw;
  }
  #playButton, #logoutButton {
    width: 98vw;
    max-width: 340px;
    height: 38px;
    line-height: 38px;
    font-size: 1em;
  }
  .cryo-countdown {
    font-size: 0.93em;
  }
  .formTitle {
    font-size: 18px;
    margin-top: 10px;
  }
  #choiceWindow {
    width: 99vw;
    left: 50%;
    transform: translate(-50%, -48%);
    padding: 12px 1vw;
    min-width: unset;
    font-size: 0.99em;
  }
  #choiceWindow button {
    font-size: 13px;
    padding: 8px 7px;
  }
  #choiceWindow p,
  #choiceWindow span {
    font-size: 12px;
  }
  #back-button-container {
    padding: 4px 3vw;
    min-width: 80px;
    font-size: 0.9em;
  }
  .buttonsContainer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    margin-top: 12px;
  }
  #signupButton, #loginButton {
    width: 100%;
    padding: 8px 0;
    margin-bottom: 9px;
  }
  .multiConnectionsWindow {
    width: 86vw;
    min-width: 0;
    max-width: 98vw;
    padding: 11vw 3vw;
    font-size: 1em;
  }
  .multiConnectionsWindow button {
    padding: 10px 0;
    width: 99%;
    font-size: 0.99em;
    min-width: unset;
  }
  .overlay {
    padding: 0;
  }
  form,
  .back-button-container {
    padding: 0 3vw;
  }
  .spinner {
    width: 33px;
    height: 33px;
    margin-top: -17px;
    margin-left: -17px;
  }
  #verification-message {
    padding: 18px 1vw;
    font-size: 0.98em;
  }
  .navbar {
    height: 34px;
    padding: 0 2vw;
  }
  .navbar a, #navbarUsername {
    font-size: 0.93em;
    padding: 0 5px;
  }
  .navbarAvatar {
    width: 24px;
    height: 24px;
    margin-right: 2px;
  }
  .navbarCenter {
    position: static;
    transform: none;
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  .navbar-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15,20,30,0.98);
    width: 100vw;
    z-index: 1001;
    display: none;
    box-shadow: 0 3px 14px #0df2ff44;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .navbar-menu.active {
    display: flex;
  }
  .navbar-toggle {
    display: flex;
    margin-left: 8px;
  }

  #navbarSettings {
    position: relative !important;
    width: 100vw;
    display: block !important;
    text-align: center;
    margin: 0;
    left: 0;
  }
  #navbarSettings > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    color: #0df2ff;
    font-size: 1.05em;
    cursor: pointer;
    background: none;
    border: none;
  }
  #settingsDropdown {
    display: none;
    position: fixed !important;
    left: 50% !important;
    top: 40px;
    transform: translateX(-50%);
    width: 96vw !important;
    max-width: 440px;
    min-width: 220px;
    border-radius: 0 0 16px 16px;
    padding: 18px 3vw 18px 3vw;
    background: #1d222a;
    box-shadow: 0 6px 32px #0df2ff55;
    z-index: 9999;
    margin: 0;
    text-align: left;
    overflow-y: auto;
    max-height: 75vh;
    box-sizing: border-box;
    border: 1.5px solid #0df2ff77;
  }
  #settingsDropdown.open {
    display: block !important;
    animation: dropdownFadeIn 0.2s;
  }
  @keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px);}
    to   { opacity: 1; transform: translateX(-50%) translateY(0);}
  }

  #settingsDropdown label,
  #settingsDropdown input,
  #settingsDropdown select,
  #settingsDropdown button {
    width: 100%;
    text-align: left;
    margin: 10px 0;
    font-size: 1em;
    background: none;
    border: none;
    color: #0df2ff;
  }
  #settingsDropdown button {
    background: #0df2ff;
    color: #1a1a1a;
    border-radius: 7px;
    margin-top: 10px;
  }
  #settingsDropdown button:hover {
    background: #00bcd4;
    color: white;
  }
  #editDescriptionOverlay .editDescriptionContent {
    width: 99vw;
    max-width: 100vw;
    padding: 11px 2vw;
    border-radius: 10px;
  }
  #editDescriptionOverlay textarea {
    font-size: 13px;
    height: 120px;
    min-height: 80px;
  }
  .avatar, .sidebar-character-avatar {
    width: 52px;
    height: 52px;
  }
  .sidebar {
    width: 97vw;
    min-width: 0;
    padding: 11vw 8px;
    font-size: 0.98em;
    border-radius: 0 14px 14px 0;
  }
  .sidebar-toggle {
    top: 9px;
    left: 6px;
    width: 32px;
    height: 32px;
  }
  .content {
    padding: 12px 1vw;
  }
  .createCharacter-container {
    width: 99vw;
    max-width: 100vw;
    padding: 0.7rem 2vw;
    margin: 7px 0.5vw;
    border-radius: 8px;
  }
  .form-title {
    font-size: 1.1rem;
  }
  .form-part input[type="text"],
  .form-part input[type="number"] {
    width: 96%;
    font-size: 0.95rem;
  }
  .form-part legend,
  .form-part h3 {
    font-size: 1rem;
  }
  .characterDiv,
  .createCharacterDiv {
    width: 99vw;
    max-width: 100vw;
    padding: 0.7rem 2vw;
    margin: 0 auto 0.7rem auto;
  }
  .characterContent {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .characterLeft, .characterCenter, .characterRight {
    width: 100%;
    flex: unset;
    align-items: center;
    justify-content: center;
  }
  .characterLeft span, .characterRight span {
    margin-bottom: 0.5rem;
  }
  .characterCenter {
    min-width: 0;
  }
  .nameContainer {
    flex-direction: column;
  }
  .neoShopCard {
    width: 99vw;
    max-width: 100vw;
    min-width: 0;
    padding: 18px 1vw 11px 1vw;
    border-radius: 12px;
    font-size: 1em;
  }
  .neoShopTabs {
    gap: 5px;
    margin: 8px 0 13px 0;
  }
  .neoShopTabs button {
    font-size: 0.99em;
    padding: 7px 8px;
  }
  .neoShopContentArea {
    max-height: 41vh;
    padding: 0;
  }
  .neoShopItemCard img {
    width: 38px;
    height: 38px;
  }
  .neoShopCard .close-btn {
    font-size: 25px;
    right: 7px;
    top: 7px;
  }
  .neoShopCard .shop-logo .shop-title {
    font-size: 1.22em;
    letter-spacing: 1px;
  }
  .neoShopCard .shop-logo {
    gap: 6px;
  }
  .neoShopCard .shop-logo-sub {
    font-size: 1em;
  }
  .neoShopItemCard {
    padding: 12px 3vw 11px 3vw;
    border-radius: 9px;
  }
  .neoShopItemCard .shop-buy {
    font-size: 0.97em;
    padding: 6px 10vw;
  }
}

@media (max-width: 480px) {
  .section, .section-1, .hero-section {
    padding: 5vw 1vw 5vw 1vw;
    min-height: 60vh;
    height: auto;
    flex-direction: column;
  }
  .hero-section h1,
  .section-1 h2,
  h1,
  .vm-body h1,
  .rp-body h1,
  .character-container h1 {
    font-size: 1.16em;
  }
  .feature {
    padding: 8px 3vw;
    max-width: 99vw;
  }
    .container {
    padding: 6px 1vw;
  }
  #playButton, #logoutButton {
    width: 99vw;
    max-width: 99vw;
    height: 32px;
    line-height: 32px;
    font-size: 0.95em;
    border-radius: 8px;
    padding: 0;
  }
  #choiceWindow {
    width: 100vw;
    min-width: 0;
    max-width: 99vw;
    padding: 6vw 1vw;
    border-radius: 8px;
    font-size: 0.95em;
  }
  #choiceWindow button {
    width: 100%;
    font-size: 12px;
    padding: 7px 0;
  }
  #choiceWindow p,
  #choiceWindow span {
    font-size: 11px;
    margin-top: 6px;
  }
  #back-button-container {
    padding: 2px 0;
    min-width: 50px;
    font-size: 0.8em;
  }
  .buttonsContainer {
    margin-top: 7px;
  }
  .multiConnectionsWindow {
    width: 99vw;
    min-width: 0;
    max-width: 100vw;
    padding: 7vw 1vw;
    border-radius: 7px;
    font-size: 0.97em;
  }
  .multiConnectionsWindow button {
    width: 100%;
    padding: 10px 0;
    font-size: 0.97em;
    min-width: unset;
    max-width: 100vw;
    margin-bottom: 10px;
  }
  .overlay {
    padding: 0;
  }
  form {
    width: 100%;
    padding: 0 2vw;
  }
  .formTitle {
    font-size: 16px;
    margin-top: 8px;
  }
  .resetPasswordMessage,
  #loginMessage {
    font-size: 11px;
  }
  label {
    font-size: 13px;
    margin: 2px 0;
  }
  input[type="text"], input[type="password"], input[type="email"] {
    font-size: 13px;
    padding: 7px 8px;
    border-radius: 4px;
  }
  button[type="submit"] {
    width: 100%;
    font-size: 13px;
    padding: 8px 0;
    margin-bottom: 10px;
  }
  #verification-message {
    padding: 12px 0.5vw;
    font-size: 0.91em;
  }
  .navbar {
    height: 29px;
    padding: 0 1vw;
    font-size: 0.95em;
  }
  .navbar a, #navbarUsername {
    font-size: 0.81em;
    padding: 0 3px;
  }
  .navbarAvatar {
    width: 19px;
    height: 19px;
    margin-right: 1px;
  }
  .navbarCenter {
    font-size: 0.95em;
  }
  .navbar-toggle {
    margin-left: 2px;
  }
  #settingsDropdown {
    width: 100vw;
    border-radius: 0 0 8px 8px;
    font-size: 0.91em;
    padding: 7px 0.2vw;
  }
  #editDescriptionOverlay .editDescriptionContent {
    width: 100vw;
    max-width: 100vw;
    padding: 7vw 2vw;
    border-radius: 7px;
    font-size: 0.93em;
  }
  #editDescriptionOverlay textarea {
    font-size: 11.5px;
    height: 85px;
  }
  .avatar, .sidebar-character-avatar {
    width: 38px;
    height: 38px;
  }
  .sidebar {
    width: 100vw;
    max-width: none;
    border-radius: 0 9px 9px 0;
    padding: 10vw 2vw 5vw 2vw;
  }
  .sidebar-toggle {
    width: 28px;
    height: 28px;
  }
  .sidebar-toggle:after {
    width: 17px;
    height: 2.2px;
    box-shadow: 0 6px 0 #222, 0 12px 0 #222;
  }
  .createCharacter-container {
    width: 99vw;
    max-width: 100vw;
    padding: 0.5rem 1vw;
    margin: 6px 0.5vw;
    border-radius: 7px;
    min-width: 0;
  }
  .form-title {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .form-part input[type="text"], 
  .form-part input[type="number"] {
    width: 99%;
    font-size: 0.89rem;
    padding: 7px 3vw;
  }
  .form-part legend,
  .form-part h3 {
    font-size: 0.97em;
  }
  .button-container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .row {
    flex-direction: column;
    gap: 8px;
  }
  .col {
    width: 100%;
    padding: 0;
  }
  .characterDiv,
  .createCharacterDiv {
    width: 100vw;
    max-width: 100vw;
    padding: 0.5rem 1vw;
    margin: 0 auto 0.5rem auto;
    border-radius: 8px;
  }
  .characterContent {
    gap: 5px;
    padding: 0;
  }
  .characterLeft, .characterCenter, .characterRight {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .playCh, .createNewCharacter {
    font-size: 0.95em;
    padding: 7px 5vw;
    width: 90vw;
    max-width: 99vw;
  }
  .sidebar-character {
    font-size: 0.96em;
    padding: 7px 1vw;
  }
  .neoShopCard {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 8px 1vw 7px 1vw;
    border-radius: 8px;
    font-size: 0.98em;
  }
  .neoShopTabs {
    gap: 2px;
    margin: 4px 0 8px 0;
  }
  .neoShopTabs button {
    font-size: 0.97em;
    padding: 6px 4vw;
    border-radius: 7px 7px 0 0;
  }
  .neoShopContentArea {
    max-height: 31vh;
  }
  .neoShopItemCard {
    padding: 7px 2vw 7px 2vw;
    border-radius: 7px;
    margin-bottom: 4px;
  }
  .neoShopItemCard img {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }
  .neoShopItemCard .item-name {
    font-size: 1em;
  }
  .neoShopItemCard .item-desc {
    font-size: 0.93em;
  }
  .neoShopItemCard .item-price {
    font-size: 0.98em;
  }
  .neoShopItemCard .shop-buy {
    font-size: 0.95em;
    padding: 5px 6vw;
    border-radius: 6px;
  }
  .neoShopCard .close-btn {
    font-size: 19px;
    right: 2vw;
    top: 4px;
  }
  .neoShopCard .shop-logo .shop-title {
    font-size: 1em;
  }
  .neoShopCard .shop-logo {
    gap: 2px;
  }
  .neoShopCard .shop-logo-sub {
    font-size: 0.93em;
  }
}

@media (max-width: 350px) {
  .hero-section h1,
  .section-1 h2,
  h1,
  .vm-body h1,
  .rp-body h1,
  .character-container h1 {
    font-size: 1em;
  }
    #choiceWindow {
    padding: 4vw 1vw;
    font-size: 0.93em;
  }
  #playButton, #logoutButton {
    font-size: 0.9em;
    border-radius: 6px;
  }
  .multiConnectionsWindow {
    width: 100vw;
    min-width: 0;
    padding: 3vw 0.2vw;
    font-size: 0.93em;
  }
  .multiConnectionsWindow button {
    font-size: 0.9em;
    border-radius: 6px;
    padding: 8px 0;
  }
  form label,
  label {
    font-size: 11px;
  }
  .navbar {
    height: 22px;
    font-size: 0.88em;
  }
  .navbar a, #navbarUsername {
    font-size: 0.72em;
    padding: 0 1px;
  }
  .navbarAvatar {
    width: 14px;
    height: 14px;
    margin-right: 0;
  }
  #settingsDropdown {
    font-size: 0.85em;
    padding: 3px 0.2vw;
    border-radius: 0 0 5px 5px;
  }
  #editDescriptionOverlay .editDescriptionContent {
    font-size: 0.87em;
    padding: 2vw 1vw;
    border-radius: 5px;
  }
  #editDescriptionOverlay textarea {
    font-size: 10px;
    height: 50px;
  }
  .avatar, .sidebar-character-avatar {
    width: 23px;
    height: 23px;
  }
  .characterDiv,
  .createCharacterDiv {
    padding: 0.3rem 0.5vw;
    border-radius: 7px;
  }
  .playCh, .createNewCharacter {
    font-size: 0.9em;
    padding: 7px 1vw;
    width: 98vw;
    max-width: 99vw;
  }
  .sidebar-character {
    font-size: 0.93em;
    padding: 6px 0.5vw;
  }
  .neoShopCard {
    padding: 5px 0.5vw 4px 0.5vw;
    border-radius: 6px;
    font-size: 0.92em;
  }
  .neoShopTabs button {
    font-size: 0.91em;
    padding: 5px 2vw;
  }
  .neoShopItemCard img {
    width: 21px;
    height: 21px;
    border-radius: 5px;
  }
  .neoShopCard .close-btn {
    font-size: 14px;
    right: 1vw;
    top: 2px;
  }
  .neoShopCard .shop-logo .shop-title {
    font-size: 0.82em;
  }
  .neoShopCard .shop-logo-sub {
    font-size: 0.88em;
  }
}

@media (max-width: 320px) {
  .hero-section h1,
  .section-1 h2,
  h1,
  .vm-body h1,
  .rp-body h1,
  .character-container h1 {
    font-size: 0.89em;
  }
  #choiceWindow {
    font-size: 0.85em;
    padding: 2vw 0.5vw;
  }
  .neoShopCard {
    font-size: 0.86em;
    padding: 2px 0.1vw 2px 0.1vw;
  }
  .neoShopTabs button {
    font-size: 0.85em;
    padding: 4px 0.5vw;
  }
  .neoShopItemCard img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
  }
}

html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

.c-body *, .home-body * {
  box-sizing: border-box;
}

#navbarPulsarsCounter img {
  width: 22px;
  height: 22px;
  min-width: 18px;
  min-height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

#mobileNavPulsars img {
  width: 18px;
  height: 18px;
  min-width: 16px;
  min-height: 16px;
  object-fit: contain;
  vertical-align: middle;
}

@media (max-width: 600px) {
  #navbarPulsarsCounter img {
    width: 16px !important;
    height: 16px !important;
  }
  #mobileNavPulsars img {
    width: 16px !important;
    height: 16px !important;
  }
  #navbarPulsarsCounter,
  #mobileNavPulsars {
    font-size: 14px !important;
    gap: 2px !important;
  }
}

.disclaimer {
    background: #fff0f0;
    border: 2px solid #e00;
    color: #e00;
    font-weight: bold;
    padding: 14px 18px;
    font-size: 1.1em;
    max-width: 700px;
    margin: 18px auto 16px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 #e002;
    text-align: center;
}

.navbar-toggle-left {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 35px;
  height: 36px;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
}
.navbar-toggle-left span {
  background: #00e8ff;
  border-radius: 2px;
  display: block;
  height: 4px;
  margin: 4px 0;
  width: 100%;
  transition: .3s;
}
#navbarLeftDrawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  min-width: 210px;
  max-width: 80vw;
  background: #071015;
  box-shadow: 2px 0 20px #00e8ff11;
  border-right: 1px solid #00e8ff33;
  padding: 48px 20px 24px 18px;
  z-index: 2021;
  flex-direction: column;
  gap: 12px;
}
#navbarLeftDrawer.open {
  display: flex;
}
#navbarLeftDrawer a, #navbarLeftDrawer span {
  color: #0df2ff;
  font-family: 'Courier New', monospace;
  font-size: 17px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
}
#navbarLeftDrawer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .navbarLeft { display: none !important; }
  .navbar-toggle-left { display: flex !important; }
  #navbarLeftDrawer { display: none; }
  #navbarLeftDrawer.open { display: flex; }
}
@media (min-width: 901px) {
  .navbar-toggle-left { display: none !important; }
  #navbarLeftDrawer { display: none !important; }
}