body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background: linear-gradient(135deg, #232a34, #3a4250, #4b6e8e);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: #e3e7ee;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Landingpage Container für zentrierten Inhalt */
.landing-container {
  max-width: 900px;
  margin: 100px auto 0 auto;
  padding: 0 16px;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-info {
  margin-top: 10px;
}

.main-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.server-list {
  max-height: 700px;
  overflow-y: scroll;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scrollbar-width: none;
}

.server-list::-webkit-scrollbar {
  display: none;
}

.stats-panel {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #2c3440 !important;
  border-radius: 10px;
  color: #e3e7ee !important;
  border: 1.5px solid #4b6e8e !important;
}

.server {
  background: #2c3440 !important;
  padding: 10px;
  margin: 10px 0;
  box-shadow: 0 0 20px rgba(163,201,226,0.10);
  width: 80%;
  text-align: center;
  border-radius: 12px;
  border: 1.5px solid #4b6e8e !important;
}

button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 15px;
  background: #4b6e8e !important;
  color: #e3e7ee !important;
  border: 2px solid #7bb6e6 !important;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

button:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.hidden {
  display: none;
}

.panel {
  background: #2c3440 !important;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(163,201,226,0.15);
  text-align: center;
  width: 350px;
  color: #e3e7ee !important;
  border: 1.5px solid #4b6e8e !important;
}

.panel p {
  margin: 10px 0;
  font-size: 16px;
  color: #e3e7ee !important;
}

.panel a {
  display: block;
  margin-top: 20px;
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.panel a:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

h1, h2 {
  margin-bottom: 30px;
  color: #e3e7ee !important;
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1.5px solid #4b6e8e !important;
  border-radius: 8px;
  font-size: 16px;
  background: #232a34 !important;
  color: #e3e7ee !important;
}

a {
  color: #7bb6e6 !important;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: color 0.2s;
}

a:hover {
  color: #e3e7ee !important;
}

.error {
  color: #ff4e4e;
  margin-top: 10px;
}

.success {
  color: #4eff4e;
  margin-top: 10px;
}

.user-interface {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2c3440 !important;
  padding: 10px 20px;
  border-radius: 10px;
  color: #e3e7ee !important;
  text-align: center;
  box-shadow: 0 0 10px rgba(163,201,226,0.15);
  border: 1.5px solid #4b6e8e !important;
  cursor: pointer;
}

.user-interface .user-info p {
  margin: 0;
}

#user-menu {
  margin-top: 10px;
}

.user-interface button {
  margin-top: 10px;
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.user-interface button:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

label {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #e3e7ee !important;
  margin-top: 10px;
}

input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #7bb6e6 !important;
  border-radius: 5px;
  background: #232a34 !important;
  cursor: pointer;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

input[type="checkbox"]:checked {
  background: #7bb6e6 !important;
}

input[type="checkbox"]:checked::before {
  content: "✔";
  color: #fff;
  font-size: 16px;
}

.user-interface a {
  display: block;
  margin-top: 10px;
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.user-interface a:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.panel select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1.5px solid #4b6e8e !important;
  border-radius: 8px;
  background: #232a34 !important;
  color: #e3e7ee !important;
  font-size: 16px;
  cursor: pointer;
}

.panel select option {
  background: #4b6e8e !important;
  color: #e3e7ee !important;
}

.panel ul {
  list-style: none;
  padding: 0;
}

.panel ul li {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #e3e7ee !important;
}

.panel ul li div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel ul li form {
  display: inline;
}

.panel ul li form input[type="text"] {
  width: 150px;
  padding: 5px;
  border: 1.5px solid #4b6e8e !important;
  border-radius: 8px;
  background: #232a34 !important;
  color: #e3e7ee !important;
  font-size: 14px;
}

.panel ul li form input[type="text"]::placeholder {
  color: #bfc7d5;
}

.panel ul li button {
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.panel ul li button:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.dropdown.top-left {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 250px;
}

.dropdown.top-left button {
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.dropdown.top-left button:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.dropdown.top-left .hidden {
  display: none;
}

.dropdown.top-left .visible {
  display: block;
  background: #2c3440 !important;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0 0 10px rgba(163,201,226,0.15);
  color: #e3e7ee !important;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 1000;
  border: 1.5px solid #4b6e8e !important;
}

.dropdown.top-left .panel {
  display: block;
  background: #2c3440 !important;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(163,201,226,0.15);
  color: #e3e7ee !important;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 1000;
  width: 250px;
  text-align: center;
  border: 1.5px solid #4b6e8e !important;
}

.dropdown.top-left .panel p {
  margin: 10px 0;
  font-size: 16px;
  color: #e3e7ee !important;
}

.dropdown.top-left .panel ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.dropdown.top-left .panel ul li {
  background: #4b6e8e !important;
  border: 2px solid #7bb6e6 !important;
  color: #e3e7ee !important;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  margin: 5px 0;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.dropdown.top-left .panel ul li:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.custom-file-label {
  background: #4b6e8e !important;
  color: #e3e7ee !important;
  border: 2px solid #7bb6e6 !important;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
  margin-right: 10px;
}

.custom-file-label:hover,
.custom-file-label:focus {
  background: #7bb6e6 !important;
  color: #232a34 !important;
  border-color: #7bb6e6 !important;
}

.user-menu-language {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.user-menu-language label {
  color: #e3e7ee !important;
  font-size: 16px;
  margin: 0;
}

.user-menu-language select {
  background: #4b6e8e !important;
  color: #e3e7ee !important;
  border: 2px solid #7bb6e6 !important;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.user-menu-language select:focus {
  outline: none;
  background: #7bb6e6 !important;
  color: #232a34 !important;
}

.user-menu-language option {
  background: #4b6e8e !important;
  color: #e3e7ee !important;
}

.lang-select-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

/* Chatbox Anpassung */
.forum-container {
    max-width: 700px;
    margin: 40px auto;
    background: #2c3440 !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(163,201,226,0.08);
    padding: 32px 24px;
    text-align: center;
    color: #e3e7ee !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum-container h1 {
    margin-bottom: 18px;
    color: #e3e7ee !important;
}

.chatbox {
    margin: 32px auto 0 auto;
    max-width: 400px;
    background: #4b6e8e !important;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(163,201,226,0.10);
    border: 2px solid #7bb6e6 !important;
    padding: 32px 24px 24px 24px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-messages {
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 16px;
    background: #2c3440 !important;
    border-radius: 8px;
    border: 1px solid #bfc7d5;
    padding: 10px;
    font-size: 1em;
    color: #e3e7ee !important;
    width: 100%;
}

.chat-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
}

#chat-input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1.5px solid #7bb6e6 !important;
    font-size: 1em;
    color: #e3e7ee !important;
    margin-bottom: 12px;
    box-sizing: border-box;
    background: #232a34 !important;
}

.chat-form button {
    width: 60%;
    min-width: 120px;
    padding: 10px 0;
    border-radius: 6px;
    border: 2px solid #7bb6e6 !important;
    background: #7bb6e6 !important;
    color: #232a34 !important;
    cursor: pointer;
    font-size: 1em;
    margin: 0 auto;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.chat-form button:hover {
    background: #e3e7ee !important;
    color: #232a34 !important;
    border: 2px solid #7bb6e6 !important;
}

/* Optional: Passe Schatten an, damit sie weniger hell wirken */
.panel,
.forum-container,
.chatbox,
.dropdown.top-left .panel,
.dropdown.top-left .visible,
.user-interface {
  box-shadow: 0 2px 16px rgba(75, 110, 142, 0.18) !important;
}

.hero {
  max-width: 700px;
  margin: 0 auto;
  background: #232a34;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(75,110,142,0.18);
  padding: 48px 40px 36px 40px;
  text-align: center;
  color: #e3e7ee;
}

.hero h1 {
  font-size: 2.4em;
  margin-bottom: 18px;
  color: #e3e7ee;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 1.18em;
  color: #bfc7d5;
  margin-bottom: 32px;
  line-height: 1.5;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.feature {
  background: #2c3440;
  border-radius: 12px;
  padding: 18px 24px;
  min-width: 160px;
  max-width: 210px;
  box-shadow: 0 2px 8px rgba(163,201,226,0.08);
  font-size: 1.08em;
  color: #e3e7ee;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.cta-btn {
  display: inline-block;
  background: #0078d4;
  color: #fff !important;
  padding: 13px 36px;
  border-radius: 9px;
  font-size: 1.18em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 22px;
  margin-bottom: 10px;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 8px rgba(75,110,142,0.10);
}

.cta-btn:hover {
  background: #005fa3;
  color: #e3e7ee !important;
  box-shadow: 0 4px 16px rgba(75,110,142,0.18);
}

.lang-login-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 0;
}

.lang-login-row select {
  background: #2c3440;
  color: #e3e7ee;
  border-radius: 7px;
  border: 1.5px solid #4b6e8e;
  padding: 8px 18px;
  font-size: 1em;
  min-width: 120px;
  box-sizing: border-box;
  transition: border 0.2s, background 0.2s;
}

.lang-login-row select:focus {
  border: 1.5px solid #0078d4;
  background: #232a34;
  outline: none;
}

.login-btn {
  background: #0078d4;
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 8px rgba(75,110,142,0.10);
}

.login-btn:hover {
  background: #005fa3;
  color: #e3e7ee !important;
  box-shadow: 0 4px 16px rgba(75,110,142,0.18);
}

.contact-link {
  margin-top: 22px;
  display: inline-block;
  color: #7bb6e6 !important;
  font-size: 1.08em;
  text-decoration: underline;
  transition: color 0.2s;
}

.contact-link:hover {
  color: #005fa3 !important;
}

/* Coinflip Animation Styles */
.coinflip-anim-container {
    width: 120px;
    height: 120px;
    margin: 24px auto 0 auto;
    position: relative;
    perspective: 600px;
}
.coin {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 2px 12px #0006;
    position: absolute;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #23272a;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}
.coin.heads {
    background: #ffd700;
}
.coin.tails {
    background: #b9bbbe;
}
.coin.flip {
    animation: coinflip 1.2s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes coinflip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.bio-box {
  background: #2c3440 !important;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 2px 8px rgba(163,201,226,0.10);
  color: #e3e7ee !important;
  border: 1.5px solid #4b6e8e !important;
  width: 400px;
  margin: 0 auto 24px auto;
  font-size: 1.08em;
  word-break: break-word;
}
/* Optional: Style für das eigene Bio-Formular */
form textarea[name="bio"] {
  background: #232a34 !important;
  color: #e3e7ee !important;
  border: 1.5px solid #4b6e8e !important;
  border-radius: 8px;
  font-size: 1em;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  resize: vertical;
}

form button[type="submit"] {
  background: #4b6e8e !important;
  color: #e3e7ee !important;
  border: 2px solid #7bb6e6 !important;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

form button[type="submit"]:hover {
  background: #7bb6e6 !important;
  color: #232a34 !important;
}