/* ==============================
   Allgemeines Layout & Schrift
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Noto+Serif+SC:wght@400;700&display=swap');

body {
  background: url('../images/mop-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: "Noto Serif SC", serif;
  color: #f5e6c8; /* warmes Pergament-Gold */
  margin: 0;
  padding: 0;
}

/* ==============================
   Navigation
   ============================== */
.navbar {
  background-color: rgba(0, 0, 0, 0.4) !important; /* leicht transparentes Schwarz */
  border-bottom: 3px solid #d4af37;
  font-family: "Cinzel Decorative", serif;
}

.navbar-brand {
  font-size: 1.6rem;
  color: #f5e6c8 !important;
  text-shadow: 2px 2px 2px #000;
}

.navbar-nav {
  flex-direction: row !important;   /* horizontal erzwingen */
  gap: 15px;                         /* Abstand zwischen Links */
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: #f5e6c8 !important;
  font-weight: bold;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  white-space: nowrap;               /* verhindert Zeilenumbruch */
  transition: color 0.2s, background-color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  color: #d4af37 !important;
  background-color: rgba(212, 175, 55, 0.2) !important;
  border-radius: 6px;
}

.navbar-nav .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.4) !important;
  min-width: 180px;
}

/* ==============================
   Karten / Boxen
   ============================== */
.card {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #d4af37;
  border-radius: 12px;
  color: #f5e6c8;
  box-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.card h5, 
.card h6 {
  color: #d4af37;
  font-weight: bold;
}

.card:hover h5,
.card:hover h6,
.card:hover p,
.card:hover li {
  color: #ffd966; /* warmes Gold */
  transition: color 0.2s ease;
}

/* ==============================
   Headlines & Texte
   ============================== */
h4 {
  color: #d4af37;
  text-shadow: 1px 1px 2px #000;
  font-family: "Cinzel Decorative", serif;
  margin-bottom: 10px;
}

h4 i {
  color: #c0392b; /* Tiefrot für Icons */
  margin-right: 6px;
}

p, li {
  color: #fdfdfd;
}

/* ==============================
   Shoutbox
   ============================== */
.shoutbox-message {
  color: #ffffff;
  font-style: italic;
  margin-bottom: 8px;
}

.shoutbox a.shoutbox-popup-link {
  color: #f5e6c8;
  text-decoration: underline;
  cursor: pointer;
}
.shoutbox a.shoutbox-popup-link:hover {
  color: #d4af37;
}

/* ==============================
   Forum Übersicht
   ============================== */
.right .card h6 {
  color: #2ecc71; /* jadegrün */
  font-weight: bold;
}

.news-preview, .forum-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* nur 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================
   Neuigkeiten
   ============================== */
.center .card h5 {
  color: #2980b9; /* tiefblau */
}

.center .card p {
  color: #fdfdfd;
}

/* ==============================
   Badges für Klassenfarben
   ============================== */
.badge {
  border: 1px solid #000;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000;
}

/* ==============================
   Buttons
   ============================== */
.btn-warning {
  background: #d4af37;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
}

.btn-warning:hover {
  background: #f5e6c8;
  color: #7d1414;
}

/* ==============================
   Scrollbars (asiatischer Look)
   ============================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b9972f;
}

/* ==============================
   TS3 / Server Info
   ============================== */
.ts3-channel {
  margin-bottom: 10px;
  padding: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
}

.ts3-channel-name {
  font-weight: bold;
  font-size: 1.05rem;
  color: #FFD700;
  margin-bottom: 3px;
}

.ts3-client {
  padding-left: 20px;
  font-size: 0.9rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ts3-client:hover {
  color: #f0c674;
}

.ts3-channel-name i, .ts3-client i {
  width: 16px;
  text-align: center;
}

/* ==============================
   Forum Container
   ============================== */
.forum-container {
  max-width: 1000px;
  margin: 50px auto;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.forum-container h1 {
  margin-top: 0;
  color: #ffd36b;
  text-shadow: 0 0 5px #000;
  text-align: center;
}

/* ==============================
   Kategorie-Boxen
   ============================== */
.category {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 15px;
  transition: background 0.3s;
}

.category:hover {
  background: rgba(255,255,255,0.15);
}

.category h2 {
  margin: 0;
  font-size: 1.3em;
}

.category h2 a {
  color: #ffd36b;
  text-decoration: none;
}

.category h2 a:hover {
  color: #ffeb9c;
}

.category-desc {
  font-size: 0.9em;
  color: #ccc;
  margin-top: 6px;
}

.moderators {
  font-size: 0.85em;
  color: #9fd;
  margin-top: 8px;
}

/* ==============================
   Thread-Liste
   ============================== */
.thread {
  background: rgba(255,255,255,0.05);
  border: 1px solid #ffd36b;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.thread:hover {
  background: rgba(255,255,255,0.1);
}

.thread a {
  color: #ffd36b;
  text-decoration: none;
}

.thread a:hover {
  color: #ffeb9c;
}

/* ==============================
   Thread-Info
   ============================== */
.thread-info {
  font-size: 0.85em;
  color: #ccc;
}

.thread-actions {
  display: flex;
  gap: 5px;
}

.thread-actions button {
  background: #d4af37;
  border: none;
  color: #000;
  font-size: 0.8em;
  padding: 2px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.thread-actions button:hover {
  background: #ffd36b;
}

/* ==============================
   Post-Box
   ============================== */
.post {
  background: rgba(255,255,255,0.05);
  border: 1px solid #9fd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.post-author {
  font-weight: bold;
  color: #ffd36b;
}

.post-date {
  font-size: 0.8em;
  color: #ccc;
}

.post-content {
  margin-top: 5px;
}

.post-actions {
  margin-top: 5px;
  display: flex;
  gap: 5px;
}

.post-actions button {
  background: #d4af37;
  border: none;
  color: #000;
  font-size: 0.8em;
  padding: 2px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.post-actions button:hover {
  background: #ffd36b;
}

/* ============================
   Signaturen & Zitate
   ============================ */

.post-signature {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.2);
  color: #d3c19b;
  font-size: 0.9em;
  font-style: italic;
  opacity: 0.85;
}

blockquote, [quote] {
  display: block;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid #b99d61;
  margin: 8px 0;
  padding: 10px 12px;
  font-style: italic;
  color: #f1e4c3;
}

/* Versteckter Beitrag */
.post-hidden {
    color: #fff !important;
    opacity: 0.7;
    font-style: italic;
}


.post-content.text-muted.fst-italic {
    color: #ffffff !important;  /* Text jetzt weiß */
    opacity: 0.7;               /* leicht transparent, damit er sich abhebt */
    font-style: italic;
}

.character-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.character-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    margin-bottom: 8px;
}

.character-item .icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 6px;
}

.character-item .delete-btn {
    margin-left: auto;
    color: #ff6666;
    text-decoration: none;
    font-weight: bold;
}

.character-item .delete-btn:hover {
    color: #ff0000;
}


/* ==============================
   Emoji-Font
   ============================== */
body {
  font-family: "Noto Color Emoji", "Segoe UI Emoji", "Apple Color Emoji", "Twemoji Mozilla", sans-serif;
}