/* ============================================
   DARK NEON CLUB CHAT
   ============================================ */

@font-face {
  font-family: "DroidSans";
  src: url("./fonts/DroidSans.woff");
  src: local("DroidSans"), url("./fonts/DroidSans.woff") format("woff"),
    url("./fonts/DroidSans.ttf") format("truetype");
}

/* Neon Color Variables */
:root {
  --neon-red: #ff0055;
  --neon-cyan: #00ffff;
  --neon-magenta: #ff00ff;
  --neon-purple: #9d00ff;
  --neon-yellow: #ffff00;
  --dark-bg: #16161d;
  --darker-bg: #0d0d12;
  --card-bg: rgba(22, 22, 29, 0.8);
  --glow-red: 0 0 10px rgba(255, 0, 85, 0.5), 0 0 20px rgba(255, 0, 85, 0.3);
  --glow-cyan: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
  --glow-magenta: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
}

/* ============================================
   ANIMATIONEN
   ============================================ */

@keyframes glow-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

@keyframes message-appear {
  0% { 
    opacity: 0;
    transform: translateX(-20px);
  }
  100% { 
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes new-message-glow {
  0%, 100% { 
    box-shadow: 0 0 0 rgba(255, 0, 85, 0);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.8), 0 0 60px rgba(255, 0, 85, 0.4);
  }
}

@keyframes pulse-status {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.2);
    opacity: 0.7;
  }
}

@keyframes icon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes animate-sidebar-in {
  from {
    width: 0px;
    opacity: 0;
  }
  to {
    width: 280px;
    opacity: 1;
  }
}

@keyframes animate-sidebar-out {
  from {
    width: 280px;
    opacity: 1;
  }
  to {
    width: 0px;
    opacity: 0;
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-102%); }
}

@keyframes animatetop {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* ============================================
   BODY & GRUNDELEMENTE
   ============================================ */

html,
body {
  margin: 0px 0px 0px 0px;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  font-family: DroidSans, 'Segoe UI', Tahoma, sans-serif !important;
  font-size: 15px;
  line-height: 1.3;
  background: #0a0a0a;
  background-image: 
    radial-gradient(ellipse at top, rgba(255, 0, 100, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
  background-size: cover;
  background-attachment: fixed;
  color: #e0e0e0;
  overflow-x: hidden;
}

/* Cyber grid background effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

a,
a:hover,
a:active {
  color: var(--neon-cyan);
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: var(--glow-magenta);
}

img {
  border: 0;
  max-width: 100%;
  max-height: 100%;
}

ul {
  list-style: none;
}

form,
input,
ul,
li,
select,
option,
textarea,
p,
div,
span,
small,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: DroidSans !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 10px 0 5px 0;
  margin: 0;
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }

strong {
  text-shadow: none;
  font-weight: bold;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.center {
  text-align: center;
}

.copyright_footer {
  font-size: 0.8em;
  text-align: center;
  color: #999;
}

div,
p,
table,
.col {
  color: #e0e0e0;
}

/* ============================================
   TABLES & CONTAINERS
   ============================================ */

.tbl {
  color: #e0e0e0;
  width: 100%;
  height: auto;
  background-color: rgba(22, 22, 29, 0.6);
  text-align: center;
  padding: 10px;
  border-radius: 0;
  border: 0;
}

.tbl-border {
  background-color: transparent;
  padding: 0px;
  text-align: left;
  border: 1px solid rgba(255, 0, 255, 0.2) !important;
  border-radius: 20px 20px 0 0;
  color: #e0e0e0;
}

.tblheader {
  height: auto;
  color: #e0e0e0;
  background: rgba(22, 22, 29, 0.8);
  font-family: DroidSans !important;
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px;
  border: 0;
  border-radius: 15px 15px 0 0;
}

.tblcell {
  color: #e0e0e0;
  height: auto;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  text-align: left;
  font-size: 1em;
  font-weight: normal;
  padding: 3px;
  border-radius: 20px;
  margin: 0;
  border: 1px solid rgba(255, 0, 255, 0.2);
  box-shadow: 
    0 0 30px rgba(255, 0, 255, 0.1),
    inset 0 0 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.cell1 {
  background-color: transparent;
  color: #e0e0e0;
  padding: 10px !important;
  border-radius: 20px;
}

.cell2 {
  background-color: rgba(0, 0, 0, 0.2) !important;
  color: #d0d0d0;
  padding: 10px !important;
}

.row1 {
  background: transparent;
}

.row2 {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   PANELS
   ============================================ */

.panel-header {
  font-size: 1.8em;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--neon-red) 0%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: glow-pulse 3s ease-in-out infinite;
  position: relative;
}

.panel-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: var(--glow-cyan);
}

.panel-body {
  font-size: 1.1em;
  padding: 20px;
  color: #d0d0d0;
}

/* ============================================
   CHAT OUTPUT & MESSAGES
   ============================================ */

.chat-output {
  position: absolute;
  top: 0;
  width: 100%;
  color: #e0e0e0;
  background: transparent;
  min-height: calc(100% - 100px) !important;
  height: calc(100% - 100px) !important;
  resize: vertical;
  border: none;
  margin-top: 0px;
  overflow: hidden;
}

#chatmessages {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-magenta) var(--darker-bg);
}

#chatmessages::-webkit-scrollbar {
  width: 8px;
}

#chatmessages::-webkit-scrollbar-track {
  background: var(--darker-bg);
  border-radius: 10px;
}

#chatmessages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-red), var(--neon-magenta));
  border-radius: 10px;
  box-shadow: var(--glow-magenta);
}

.chat-footer {
  background: linear-gradient(180deg, transparent, rgba(13, 13, 18, 0.95)) !important;
  backdrop-filter: blur(10px);
  color: #e0e0e0;
  height: 100px;
  padding: 10px;
  border-top: 1px solid rgba(255, 0, 255, 0.3);
  width: calc(100% - 280px);
}

.output-left {
  background: transparent;
}

.output-right {
  padding: 5px;
  background: transparent;
}

.input-left {
  position: relative;
  right: 0;
  top: 0;
  float: left;
  width: calc(100% - 352px);
  padding: 2px;
  margin: 0;
  height: 100%;
  background: transparent;
}

.input-tools,
.input-options {
  position: relative;
  right: 0;
  top: 0;
  float: left;
  width: 350px;
  padding: 2px;
  margin: 0;
  height: 100% !important;
  background: transparent;
}

.chatrow {
  display: block;
  padding: 15px;
  background: rgba(22, 22, 29, 0.6);
  backdrop-filter: blur(5px);
  border-left: 3px solid transparent;
  border-radius: 12px;
  margin: 10px 0;
  transition: all 0.3s ease;
  animation: message-appear 0.5s ease;
}

.chatrow:hover {
  background: rgba(22, 22, 29, 0.9);
  border-left-color: var(--neon-cyan);
  box-shadow: -5px 0 15px rgba(0, 255, 255, 0.3);
  transform: translateX(5px);
}

/* New Message Glow Effect - ADD THIS CLASS VIA JAVASCRIPT */
.chatrow.new-message {
  animation: new-message-glow 2s ease;
  border-left-color: var(--neon-red);
}

.chatmessage {
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: 1.15em;
  font-weight: normal;
  color: #f0f0f0;
  max-width: 100%;
  height: auto !important;
  padding: 5px 0 !important;
  line-height: 1.6;
}

.botmessage {
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-size: 1.1em;
  font-weight: normal;
  color: var(--neon-yellow);
  max-width: 100%;
  padding: 15px;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.sysmessage {
  display: block;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 1.1em;
  font-weight: normal;
  font-style: normal;
  color: var(--neon-cyan);
  padding: 8px;
  max-width: 100%;
  text-align: center;
  background: rgba(0, 255, 255, 0.05);
}

.privmessage {
  border: 0;
  background: transparent;
  font-size: 1.1em;
  font-weight: normal;
  font-style: italic;
  max-width: 100%;
  height: auto !important;
  padding: 10px !important;
  color: var(--neon-yellow);
  background: rgba(255, 255, 0, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--neon-yellow);
}

.privmessage_intro {
  color: #ffc;
  border: 0;
  border-radius: 3px;
  background: rgba(144, 14, 14, 0.8);
  padding: 2px;
}

.messagetime {
  display: inline-block;
  background: var(--darker-bg);
  color: var(--neon-cyan);
  font-family: 'Courier New', monospace !important;
  font-size: 0.85em;
  font-weight: bold;
  width: auto;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  margin: 0 10px 0 0;
  box-shadow: 
    inset 0 0 10px rgba(0, 255, 255, 0.1),
    0 0 10px rgba(0, 255, 255, 0.3);
}

.room_comein {
  float: left;
  font-size: 1.2em;
  background: transparent url(./images/arrow_right_green.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 22px;
  height: 22px;
  margin-right: 5px;
  border: 0;
  filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.5));
  animation: icon-pulse 2s ease-in-out infinite;
}

.room_goout {
  float: left;
  font-size: 1.2em;
  background: transparent url(./images/arrow_left_red.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 22px;
  height: 22px;
  margin-right: 5px;
  border: 0;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
  animation: icon-pulse 2s ease-in-out infinite;
}

#chathistory {
  color: #e0e0e0;
  background: rgba(22, 22, 29, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px;
  min-height: 100%;
}

/* ============================================
   SIDEBAR
   ============================================ */

#sidebar {
  display: block;
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0px;
  border-left: 1px solid rgba(255, 0, 255, 0.3);
  padding: 3px;
  height: calc(100vh - 5px) !important;
  background: linear-gradient(180deg, rgba(22, 22, 29, 0.95) 0%, rgba(13, 13, 18, 0.95) 100%);
  backdrop-filter: blur(10px);
  color: #e0e0e0;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
  box-shadow: -10px 0 30px rgba(255, 0, 255, 0.2);
  scrollbar-width: thin;
  scrollbar-color: var(--neon-magenta) var(--darker-bg);
}

#sidebar::-webkit-scrollbar {
  width: 8px;
}

#sidebar::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

#sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-red), var(--neon-magenta));
  border-radius: 10px;
  box-shadow: var(--glow-magenta);
}

#sidebar-content {
  background: transparent !important;
  color: #e0e0e0;
  padding: 20px 10px;
  margin: 0;
  margin-top: 60px;
  height: calc(100vh - 65px);
  border: 0;
  border-radius: 0 !important;
  width: 280px;
  overflow-x: hidden;
  overflow-y: auto;
}

#sidebar-button {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px 0 0 12px;
  color: #FFF;
  background: linear-gradient(135deg, var(--neon-red), var(--neon-magenta));
  text-align: center;
  line-height: 1.6;
  margin: 0;
  padding: 0px 10px 0px 10px;
  font-size: 2em;
  opacity: 0.8;
  display: none;
  z-index: 100;
  box-shadow: var(--glow-magenta);
  transition: all 0.3s ease;
}

#sidebar-button:hover {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

#sidebar-off {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 10px 0 0 10px;
  color: #FFF;
  background: linear-gradient(135deg, var(--neon-red), var(--neon-magenta));
  margin: 0;
  padding: 0px 10px 0px 10px;
  font-size: 2em;
  line-height: 1.6;
  opacity: 1;
  display: block;
  z-index: 100;
  box-shadow: var(--glow-magenta);
  transition: all 0.3s ease;
}

#sidebar-off:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

.sidebar-hide {
  width: 0px;
  overflow: hidden;
  animation-name: animate-sidebar-out;
  animation-duration: 500ms;
  display: none;
  opacity: 0;
}

.sidebar-show {
  width: 280px;
  display: block;
  overflow: auto;
  opacity: 1;
  animation-name: animate-sidebar-in;
  animation-duration: 500ms;
}

#onlinelist {
  display: block;
}

#side-menu {
  display: none;
}

#side-roomlist {
  display: none;
}

#no-autoscroll {
  position: absolute;
  top: 0px;
  right: 320px;
  width: auto;
  height: auto;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(11, 40, 58, 0.6) !important;
  text-align: center;
  border-width: 0 2px 2px 2px;
  border-radius: 0 0 10px 10px;
  margin: 0;
  padding: 5px;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  z-index: 200;
  transition: all 0.3s ease;
}

#no-autoscroll:hover {
  background: rgba(11, 40, 58, 0.9) !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* ============================================
   ONLINE LIST
   ============================================ */

.image-preview {
  width: auto;
  max-height: 150px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-preview:hover {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: scale(1.05);
}

.options-menu {
  font-size: 1.1em;
  line-height: 1.6em;
}

.onlinelist-row {
  display: flex;
  align-items: center;
  padding: 12px 8px !important;
  margin: 5px 0 !important;
  width: 100%;
  background: rgba(22, 22, 29, 0.6);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.onlinelist-row:hover {
  background: rgba(22, 22, 29, 0.9);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transform: translateX(-5px);
}

.onlinelist-status {
  float: left;
  width: 12px !important;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-red);
  box-shadow: var(--glow-red);
  margin: auto 10px auto 0 !important;
  padding: 0 !important;
  animation: pulse-status 2s ease-in-out infinite;
}

.onlinelist-avatar {
  float: left;
  width: 45px !important;
  height: 45px;
  border-radius: 50%;
  background-color: var(--darker-bg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  display: inline-block;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.onlinelist-row:hover .onlinelist-avatar {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
  transform: scale(1.1);
}

.onlinelist-username {
  float: left;
  width: calc(100% - 116px) !important;
  min-height: 40px;
  padding: 5px 5px !important;
  margin: auto 0 !important;
  text-align: left;
  border: 0;
  cursor: pointer;
  color: #f0f0f0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.onlinelist-username:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.onlinelist-whisper {
  float: right;
  width: 30px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.onlinelist-whisper:hover {
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

.onlinelist-gender {
  float: left;
  width: 20px !important;
  height: 40px;
  padding: 9px 5px 0px 0px !important;
  margin: auto 0;
  text-align: center;
}

/* Gender Icons with Neon */
.male {
  color: var(--neon-cyan);
  background: var(--darker-bg);
  height: 24px;
  width: 24px;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: bold;
  padding: 2px !important;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.female {
  color: var(--neon-magenta);
  background: var(--darker-bg);
  height: 24px;
  width: 24px;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: bold;
  padding: 2px;
  border: 2px solid var(--neon-magenta);
  box-shadow: var(--glow-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trans {
  background: var(--darker-bg);
  color: #eee;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: bold;
  padding: 2px;
  border: 2px solid #eee;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.couple {
  background: var(--darker-bg);
  color: #fff;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  font-size: 0.9em;
  font-weight: bold;
  padding: 0px 1px;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.ghost {
  font-size: 0.9em;
  line-height: 0.9em;
  color: var(--neon-red);
  background-color: rgba(255, 0, 85, 0.1);
  border: 1px solid var(--neon-red);
  border-radius: 3px;
  margin: 0;
  padding: 2px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

input,
select,
option,
textarea,
.formfield,
.formfield:focus {
  height: auto;
  padding: 12px 20px;
  background: rgba(22, 22, 29, 0.8);
  color: #f0f0f0;
  font-family: DroidSans !important;
  font-size: 1.1em;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
.formfield:focus {
  background: rgba(22, 22, 29, 0.95);
  border-color: var(--neon-cyan);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.4),
    inset 0 0 10px rgba(0, 255, 255, 0.1);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0px 9999px rgba(22, 22, 29, 0.9);
  -webkit-text-fill-color: #f0f0f0;
}

.formbutton {
  height: auto;
  padding: 10px 20px;
  width: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-red) 0%, var(--neon-magenta) 100%);
  text-align: center;
  font-family: DroidSans !important;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.formbutton:hover {
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

.formbutton:active {
  transform: translateY(0);
}

.logoutbutton {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.logoutbutton:hover {
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.bottom-menu-button {
  font-size: 0.75em !important;
  padding: 8px 6px;
  margin: 0;
  background: rgba(22, 22, 29, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--neon-cyan);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 45px;
}

.bottom-menu-button i {
  display: block;
  font-size: 1.4em;
  margin-bottom: 3px;
}

.bottom-menu-button:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* ============================================
   FORM LAYOUTS
   ============================================ */

.index_forms,
.register_forms {
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  height: auto;
}

.loginform_user,
.loginform_guest,
.loginform_password,
.loginform_roomselect,
.registerform_user,
.registerform_password,
.registerform_mail,
.registerform_genderselect,
.registerform_captcha_code {
  width: 200px;
  display: inline-block;
}

.loginform_passwordlink {
  font-weight: normal;
  font-size: 1em;
  color: var(--neon-cyan);
}

.loginform_button,
.registerform_button {
  width: auto;
  margin: auto;
}

/* ============================================
   MESSAGES & ALERTS
   ============================================ */

.list-group,
.list-group-item {
  background-color: transparent;
  border: 0;
  display: block;
}

.message-success {
  background: linear-gradient(135deg, rgba(0, 200, 100, 0.3), rgba(0, 150, 75, 0.3));
  color: #00ff88;
  font-size: 1em;
  padding: 15px;
  margin: 10px 0;
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.5);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.message-alert {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.3), rgba(200, 0, 60, 0.3));
  color: var(--neon-red);
  font-size: 1em;
  padding: 15px;
  margin: 10px 0;
  text-align: center;
  border: 1px solid var(--neon-red);
  border-radius: 10px;
  box-shadow: var(--glow-red);
}

.login_alert {
  background-color: rgba(255, 0, 85, 0.2);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  border-radius: 8px;
  padding: 10px;
}

.index_footer {
  text-align: center;
}

.index_rendertime {
  color: #999;
  font-size: 0.8em;
}

/* ============================================
   SMILIES
   ============================================ */

#smilies_list {
  text-align: center;
  padding: 25px 10px !important;
  font-style: normal;
}

#smilies_list img {
  max-width: 50px;
  max-height: 50px;
  border: 0;
  display: inline;
  transition: all 0.3s ease;
}

#smilies_list img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.smiley-cat {
  height: auto;
  padding: 8px 15px;
  width: auto;
  color: #DDD;
  background: rgba(22, 22, 29, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  text-align: center;
  font-family: DroidSans !important;
  font-size: 1.2em !important;
  font-weight: normal;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.smiley-cat:hover {
  color: #ffffff;
  opacity: 1;
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.smiley-cat-active {
  color: #ffffff;
  background: rgba(0, 255, 255, 0.2);
  border-color: var(--neon-cyan);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  cursor: default !important;
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ============================================
   NEWSTICKER & MARQUEE
   ============================================ */

.newsticker {
  max-width: 100vw;
  white-space: nowrap;
  overflow: hidden;
  background: rgba(22, 22, 29, 0.6);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.newsticker span {
  display: inline-block;
  padding-left: 105%;
  animation: marquee 25s linear infinite;
  color: var(--neon-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.newsticker span:hover {
  animation-play-state: paused;
}

.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.marquee span {
  display: inline-block;
  padding-left: 102%;
  animation: marquee 10s linear infinite;
}

.marquee span:hover {
  animation-play-state: paused;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-header {
  padding: 20px;
  background: transparent;
  color: var(--neon-cyan);
  border-radius: 20px 20px 0 0;
  border: 0;
  font-size: 1.5em;
  margin: 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.modal-body {
  padding: 20px;
  color: #e0e0e0;
  margin: 0;
}

.modal-footer {
  padding: 15px;
  background: transparent;
  border-radius: 0 0 20px 20px;
  color: #e0e0e0;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-content {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 22, 29, 0.98) 0%, rgba(13, 13, 18, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 0, 255, 0.3);
  width: 100%;
  height: auto;
  color: #e0e0e0;
  box-shadow: 0 0 50px rgba(255, 0, 255, 0.5);
  animation-name: animatetop;
  animation-duration: 0.25s;
}

.modal-close {
  cursor: pointer;
  background: url(./images/close.png) no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  filter: drop-shadow(0 0 5px var(--neon-red));
}

/* ============================================
   AUDIO PLAYER
   ============================================ */

#player {
  background-color: rgba(22, 22, 29, 0.8);
  width: 200px;
  margin-left: 0;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
}

#player input[type="image"] {
  float: left;
  height: 20px;
  margin-left: 2px;
  margin-right: 5px;
  margin-top: 2px;
}

#vol_img {
  margin-left: 0px;
  width: 30px;
}

input[type="range"] {
  height: 34px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 150px;
  background-color: transparent;
  border: 0;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 11px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  border-radius: 5px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 255, 255, 0.3);
}

input[type="range"]::-webkit-slider-thumb {
  height: 26px;
  width: 26px;
  background: var(--darker-bg);
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 11px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  border-radius: 5px;
  border: 2px solid rgba(0, 255, 255, 0.5);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  border: 2px solid var(--neon-cyan);
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: var(--darker-bg);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

#coverimage {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 80px;
  height: 80px;
  padding: 0;
  overflow: hidden;
  background-color: var(--darker-bg);
  border: 2px solid var(--neon-cyan);
  border-radius: 5px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 255, 255, 0.3);
}

#coverimage img {
  max-width: 76px;
  max-height: 76px;
  border: 0;
  border-radius: 4px;
}

.player {
  position: relative;
  right: 0px;
  top: 5px;
  width: 275px;
  height: 88px;
  padding: 5px;
  margin: 0;
  background: rgba(22, 22, 29, 0.9);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.playerdisplay {
  position: absolute;
  left: 120px;
  top: 2px;
  height: 52px;
  width: 150px;
  padding: 2px;
  margin: 0;
  color: var(--neon-cyan);
  font-family: DroidSans !important;
  font-size: 0.8em;
  background-color: var(--darker-bg);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 5px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

#song_title {
  position: absolute;
  top: 19px;
  left: 0px;
  width: 145px;
  white-space: nowrap;
  font-family: DroidSans !important;
  font-size: 1.6em;
  overflow: hidden;
  border: 0;
  background: transparent;
}

#play_button {
  position: absolute;
  left: 85px;
  top: 10px;
  width: 36px;
  height: 36px;
  padding: 0px;
  cursor: pointer;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

#play_button:hover {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

#speaker {
  position: absolute;
  left: 87px;
  top: 52px;
  width: 34px;
  height: 34px;
  font-size: 34px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  padding: 0px;
}

#change_vol {
  position: absolute;
  top: 46px;
  left: 120px;
}

audio {
  display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media only screen and (min-width: 1025px) {
  #sidebar-button {
    display: none;
  }
  #sidebar {
    display: block;
  }
  #sidebar-off {
    display: none;
  }
  .chat-output {
    width: calc(100% - 25px);
  }
  #sidebar {
    border-left: 1px solid rgba(255, 0, 255, 0.3);
    padding: 0px;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(22, 22, 29, 0.95) 0%, rgba(13, 13, 18, 0.95) 100%);
    color: #e0e0e0;
  }
  #sidebar-content {
    background: transparent !important;
    padding: 20px 10px;
    margin: 0;
    margin-top: 0px;
    height: 100%;
    border: 0;
    border-radius: 0;
    width: 280px;
  }
}

@media only screen and (max-width: 1024px) {
  .chat-output {
    background: transparent;
    width: 100%;
  }
  .chat-footer {
    background: linear-gradient(180deg, transparent, rgba(13, 13, 18, 0.95)) !important;
    width: 100%;
    height: 100px;
    color: #e0e0e0;
  }
  .output-left {
    padding: 2px;
    padding-bottom: 10px;
  }
  .output-right {
    display: none;
  }
  .input-left {
    width: 100%;
  }
  .input-tools,
  .input-options {
    display: none;
  }
  .header-middle,
  .header-right {
    display: none;
  }
  #chatmessages {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: inline-block;
  }
  #sidebar-button {
    display: block;
  }
  #sidebar {
    display: block;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #sidebar.sidebar-show {
    transform: translateX(0);
  }
  #sidebar-off {
    display: block;
  }
  #no-autoscroll {
    position: absolute;
    top: 0px;
    right: 60px;
    width: auto;
    height: auto;
    border: 0;
    background: rgba(11, 40, 58, 0.6) !important;
    text-align: center;
    border-radius: 0 0 10px 10px;
    margin: 0;
    padding: 5px;
    font-size: 0.9em;
    line-height: 1.6;
    color: #e0e0e0;
  }
}
