/* --- Global & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  font-size: 16px;
  background: #121212;
  color: #ccc;
  line-height: 1.5;
  text-align: left;
}

/* --- Container --- */
#container {
  width: 1100px;
  margin: 30px auto;
  background: #1f1f1f;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 60, 60, 0.15);
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  overflow-wrap: break-word;
}

/* --- Banner --- */
#head {
  height: 220px;
  background: url('./img/layout2/banner222.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 30px rgba(255, 60, 60, 0.3);
  position: relative;
}
#head h1 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ff4d4d;
  font-size: 2.8em;
  text-shadow: 1px 1px 5px #660000;
}

/* --- Loginbar --- */
#loginbar {
  padding: 8px 20px;
  background: #292929;
  color: #ff4d4d;
  font-size: 0.9em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Navigation --- */
#navi {
  background: #2a2a2a;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  box-shadow: inset 0 -3px 3px rgba(255, 80, 80, 0.25);
}
#navi ul {
  display: flex;
  gap: 12px;
  list-style: none;
}
#navi a {
  padding: 10px 18px;
  background: #3a3a3a;
  color: #ff9999;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}
#navi a:hover {
  background: #ff4d4d;
  color: #1b1b1b;
  cursor: pointer;
}

/* --- Content Bereich --- */
#content {
  flex-grow: 1;
  padding: 25px 30px;
  background: #222222;
  border-radius: 0 0 10px 10px;
  color: #ddd;
}

/* --- Überschriften und Paragraphen --- */
h2, h3 {
  background-color: #3b3b3b;
  color: #ff7070;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 0 7px rgba(255, 70, 70, 0.4);
}
p {
  background-color: #2f2f2f;
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 16px;
  color: #d9cbb1;
  box-shadow: inset 0 0 8px rgba(255, 70, 70, 0.15);
  word-wrap: break-word;
}

/* --- Split Columns (float-based) --- */
.splitLeft, .splitRight {
  width: 48%;
}
.splitLeft {
  float: left;
}
.splitRight {
  float: right;
}

/* Clearfix für Float-Container */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* --- Chatpanel --- */
#chatpanel {
  margin: 10px 0 20px 0;
  padding: 14px;
  background: #2d2d2d;
  color: #ff8080;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 80, 80, 0.3);
}

/* --- User Info Buttons --- */
#userInfo {
  float: right;
  display: flex;
  gap: 10px;
}
#userInfo a {
  display: block;
  padding: 6px 14px;
  background: #600000;
  color: #ffb3b3;
  font-size: 0.9em;
  border-radius: 6px;
  border-right: 2px solid #4a0000;
  border-bottom: 1px solid #4a0000;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
#userInfo a:hover {
  background: #ff4d4d;
  color: #2a0000;
  cursor: pointer;
}

/* --- Inputs und Buttons --- */
input, textarea, select {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 9px;
  font-size: 1em;
  border: 1px solid #660000;
  border-radius: 6px;
  background: #311111;
  color: #ffb3b3;
}
input::placeholder, textarea::placeholder {
  color: #aa5050;
}
.isBuy a {
  display: inline-block;
  margin: 8px 0;
  padding: 9px 16px;
  background: #ff4d4d;
  color: #2b0000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.25s ease;
}
.isBuy a:hover {
  background: #cc0000;
  cursor: pointer;
  color: #fff;
}

/* --- Menüs --- */
ul.menue {
  list-style: none;
  padding: 0;
}
ul.menue li {
  margin-bottom: 8px;
}
ul.menue a {
  display: block;
  padding: 10px 14px;
  background: #3a3030;
  color: #e6d8b7;
  border-left: 6px solid #ff4d4d;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
ul.menue a:hover {
  background: #5a4444;
  color: #fff8d1;
  cursor: pointer;
}

/* --- IP List Box --- */
.ipListBox {
  width: 100%;
  height: 190px;
  padding: 14px;
  background: #2e2727;
  border: 1px solid #8a5252;
  border-radius: 6px;
  overflow-y: auto;
  color: #f0d6d6;
}

/* --- Newsblock --- */
.newsblock {
  margin: 20px 0;
  border-bottom: 1px solid #5e3a3a;
  padding-bottom: 12px;
}
.newsblock h3 {
  background: #3a2626;
  padding: 9px 13px;
  font-size: 1.3em;
  margin-bottom: 6px;
  color: #d68c8c;
  box-shadow: 0 0 5px rgba(214, 140, 140, 0.3);
  border-radius: 6px;
  font-weight: 600;
}
.newsblock h3 a {
  color: inherit;
  text-decoration: none;
}
.newsblock h3 a:hover {
  color: #ff6666;
}
.newsblock p {
  background: #3b2929;
  padding: 8px 12px;
  margin-bottom: 8px;
  color: #ead0d0;
}
.newsblock p.footer {
  background: #2e2121;
  padding: 7px 12px;
  font-size: 0.9em;
  color: #b76f6f;
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 22px;
}
table {
  width: 100%;
  border-collapse: collapse;
  color: #f4c1c1;
}
th, td {
  padding: 12px;
  border: 1px solid #7a3939;
}
th {
  background: #552727;
  color: #fff3b0;
}
.tmarkiert {
  background: #ff7373;
  color: #3a0000;
}

/* --- Clears --- */
.clear {
  clear: both;
}

/* --- Iframe --- */
iframe.pscCheck {
  width: 100%;
  height: 520px;
  border: 1px solid #7a3d3d;
  background: #3c2e2e;
}

/* --- Background Line --- */
#bgLine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, #381212, #1c0606);
  z-index: -1;
}

/* --- Footer --- */
address {
  padding: 12px;
  background: #3a1e1e;
  color: #ffbaba;
  text-align: center;
  border-radius: 0 0 10px 10px;
  user-select: none;
  font-size: 0.9em;
}

/* --- Alle Links ohne Unterstreichung --- */
a, #navi a, #userInfo a, ul.menue a, .isBuy a {
  text-decoration: none !important;
}
