body {
  background-color: #1e1e1e;
  color: #f5f5f5;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

h1 {
  color: #fff;
  font-style: italic;
  max-width: 400px;
  margin: 20px auto;
  border: 5px solid rgb(203, 99, 99);
  padding: 30px;
  background-color: rgb(45, 184, 89);
  text-align: center;
  border-radius: 12px;
  background-color: transparent;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
  line-height: 1.6;
}

p {
  margin-bottom: 20px;
  color: white;
}

.text-highlight {
  background-color: greenyellow;
  font-size: 20px;
  padding: 15px;
  border-radius: 8px;
}

.text-img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  display: block;
  margin: 20px auto;
}

.text-img:hover {
  transform: scale(1.05);
}

.badge {
  background-color: #ff6b6b;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.server-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-chronicle {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}

.btn-discord {
  background-color: #5865f2;
  border: 2px solid #404eed;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.text {
  color: white;
  font-size: 20px;
  padding: 15px;
  border-radius: 8px;
}

.btn-map {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}

.btn-form {
  background-color: #4caf50;
  border: 2px solid #388e3c;
  color: white;
  text-decoration: none;
}

.server-status-box {
  background-color: #222;
  border: 2px solid #444;
  border-radius: 10px;
  padding: 15px;
  margin: 20px auto;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.server-status-box h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-ds-map {
  background-color: #4862c2;
  border: 2px solid #5865f2;
  color: white;
  text-decoration: none;
}

.server-showcase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.showcase-media,
.showcase-widget {
  flex: 1;
  min-width: 300px;
}

@media (max-width: 768px) {
  .server-showcase {
    flex-direction: center;
  }
}

.btn-ds {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}

.btn-wiki {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.footer {
  text-align: center;
  padding: 5px;
  background-color: #1e1e2e;
  color: #cdd6f4;
  font-family: sans-serif;
  line-height: 1.25;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #2c2f33;
  color: white;
  margin: 15% auto;
  padding: 20px;
  border: 2px solid #7289da;
  border-radius: 8px;
  width: 50%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}

.close-btn:hover {
  color: #ff5555;
}

.btn-win0 {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}

.btn-news {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header h1 {
  color: #ff9f43;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.back-link:hover {
  color: #ff9f43;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 10px 0;
}

.news-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 159, 67, 0.2);
}

.news-image-placeholder {
  height: 180px;
  background-color: #3e3e3e;
  background-size: cover;
  background-position: center;
  position: relative;
}

.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.category-tag.event {
  background-color: #ff9f43;
}

.category-tag.update {
  background-color: #54a0ff;
}

.category-tag.lore {
  background-color: #1dd1a1;
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-content h2 {
  font-size: 1.3rem;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.news-content p {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  color: #ff9f43;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}

.news-spoiler summary {
  color: #ff9f43;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
  outline: none;
}

.news-spoiler summary:hover {
  text-decoration: underline;
}

.full-text {
  padding-top: 15px;
  border-top: 1px dashed #3e3e3e;
  margin-top: 10px;
  color: #e0e0e0;
}

.server-ip {
  color: #fff;
  font-style: italic;
  max-width: 400px;
  margin: 20px auto;
  border: 5px solid rgb(203, 99, 99);
  padding: 30px;
  background-color: rgb(45, 184, 89);
  text-align: center;
  border-radius: 12px;
  background-color: transparent;
}

.category-tag.bild {
  background-color: rgb(199, 144, 24);
}

.btn-secret {
  text-align: center;
}

.btn-download {
  background-color: #3c1469;
  border: 2px solid #261040;
  color: white;
}

.btn-download-arg {
  background-color: #2b2b2b;
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 10px;
  cursor: pointer;
  font-family: monospace;
}

.category-tag.docs {
  background-color: #00b894;
}

.category-tag.global {
  background-color: #0984e3;
}

.btn-hi {
  background-color: #dca355;
  border: 2px solid #b57c32;
  color: white;
  text-decoration: none;
}
