@import "tailwindcss";

:root {
  --color-dark-bg: #0f0d0a;
  --color-dark-bg-secondary: #1a1410;
  --color-accent-gold: #d4a24a;
  --color-accent-gold-light: #e6b86a;
  --color-accent-gold-dark: #b8903f;
  --color-parchment: #f4e8d0;
  --color-parchment-light: #faf6f0;
  --color-text-muted: #a89f8d;
  --color-border: #2a241e;
  --color-border-light: #3a342e;
  --color-success: #4ade80;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 162, 74, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 162, 74, 0.6);
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-slide-in-bottom {
  animation: slideInFromBottom 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
}

.animate-typewriter {
  overflow: hidden;
  border-right: 2px solid var(--color-accent-gold);
  white-space: nowrap;
  animation: typewriter 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--color-accent-gold);
  }
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }
.animate-delay-900 { animation-delay: 0.9s; }
.animate-delay-1000 { animation-delay: 1.0s; }

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--color-dark-bg);
  color: var(--color-parchment);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cardo', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
  color: var(--color-dark-bg);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 162, 74, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-parchment);
  border: 2px solid var(--color-accent-gold);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-accent-gold);
  color: var(--color-dark-bg);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  filter: brightness(0) invert(1);
}

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 13, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-parchment);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  filter: none; /* Filter entfernen */
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-parchment);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-text-muted);
  margin-right: 0.5rem;
}

.status-dot.online {
  background: var(--color-success);
}

.status-dot.offline {
  background: var(--color-error);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#background-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 13, 10, 0.8) 0%, rgba(26, 20, 16, 0.9) 100%), url('/public/icons/Mittelalter.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-title-main {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  color: var(--color-text-muted);
  font-size: 1.2rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-parchment);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(42, 36, 30, 0.5);
  border-radius: 1rem;
  border: 1px solid var(--color-border-light);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-parchment);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.rules-section {
  padding: 5rem 0;
  background: var(--color-dark-bg-secondary);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.rule-card {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-gold);
}

.rule-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.rule-card h3 {
  margin-bottom: 1rem;
  color: var(--color-accent-gold);
}

.rule-card p {
  color: var(--color-text-muted);
}

.news-section {
  padding: 5rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-gold);
}

.news-image {
  height: 200px;
  width: 100%;
  background: var(--color-dark-bg-secondary);
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* skaliert das Bild, ohne zu verzerren */
  display: block;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-parchment);
}

.news-excerpt {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.news-read-more {
  color: var(--color-accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.news-read-more:hover {
  text-decoration: underline;
}

.vote-section {
  padding: 5rem 0;
  background: var(--color-dark-bg-secondary);
}

.vote-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vote-info h3 {
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.vote-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vote-benefits li {
  margin-bottom: 0.5rem;
  color: var(--color-parchment);
}

.vote-links h3 {
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.vote-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  color: var(--color-parchment);
  text-decoration: none;
  transition: all 0.3s ease;
}

.vote-btn:hover {
  border-color: var(--color-accent-gold);
  transform: translateX(5px);
}

.vote-btn img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

.wiki-section {
  padding: 5rem 0;
}

.wiki-content {
  max-width: 800px;
  margin: 0 auto;
}

.wiki-search {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wiki-search input {
  flex: 1;
  padding: 0.75rem;
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  color: var(--color-parchment);
  font-size: 1rem;
}

.wiki-search input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.wiki-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-border-light);
  border-radius: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
  background: var(--color-accent-gold);
  color: var(--color-dark-bg);
  border-color: var(--color-accent-gold);
}

.wiki-articles {
  display: grid;
  gap: 1.5rem;
}

.wiki-article {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  padding: 1.5rem;
}

.wiki-article h3 {
  color: var(--color-accent-gold);
  margin-bottom: 0.5rem;
}

.wiki-article .category {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.wiki-article p {
  color: var(--color-parchment);
}

.shop-section {
  padding: 5rem 0;
  background: var(--color-dark-bg-secondary);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.shop-card {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-gold);
}

.shop-card.featured {
  border-color: var(--color-accent-gold);
  transform: scale(1.05);
}

.shop-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-gold);
  color: var(--color-dark-bg);
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.shop-header {
  margin-bottom: 1.5rem;
}

.shop-header h3 {
  font-size: 1.8rem;
  color: var(--color-accent-gold);
  margin-bottom: 0.5rem;
}

.shop-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-parchment);
}

.shop-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.shop-features li {
  margin-bottom: 0.5rem;
  color: var(--color-parchment);
}

.shop-btn {
  width: 100%;
}

.history-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent-gold);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 50%;
  left: 50%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  left: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: var(--color-accent-gold);
  border-radius: 50%;
  top: 1rem;
  right: -0.5rem;
  z-index: 1;
}

.timeline-item:nth-child(even)::before {
  right: auto;
  left: -0.5rem;
}

.timeline-date {
  color: var(--color-accent-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: 2rem;
}

.timeline-content h3 {
  color: var(--color-parchment);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--color-text-muted);
  margin: 0;
}

.guide-section {
  padding: 5rem 0;
  background: var(--color-dark-bg-secondary);
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--color-accent-gold);
  color: var(--color-dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--color-parchment);
  margin: 0;
}

.step-content code {
  background: rgba(42, 36, 30, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  color: var(--color-accent-gold);
}

.footer {
  background: var(--color-dark-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 36, 30, 0.5);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-accent-gold);
}

.social-link img {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent-gold);
}

.server-info p {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* Scroll nur, falls Modal höher als Viewport */
  padding: 1rem;    /* verhindert, dass Modal am Rand klebt */
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--color-dark-bg);
  border: 1px solid var(--color-border-light);
  border-radius: 1rem;
  max-width: 90%;    /* maximal 90% der Bildschirmbreite */
  width: 100%;
  max-height: 90vh;  /* maximal 90% der Viewport-Höhe */
  overflow: hidden;  /* Scroll nur im inneren, falls nötig */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  flex-shrink: 0;
}

.modal-header h3 {
  color: var(--color-accent-gold);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-parchment);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1rem 1.5rem;
  overflow-y: auto; /* Scroll innerhalb der Body, falls nötig */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Optimiertes Bild für Modal */
.modal-body img {
  max-width: 100%;      /* passt sich der Modal-Breite an */
  max-height: 70vh;     /* Bild maximal 70% der Viewport-Höhe */
  object-fit: cover;    /* nicht verzerren */
  display: block;
  border-radius: 0.5rem; /* optional */
}


.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purchase-form label {
  color: var(--color-parchment);
  font-weight: 600;
}

.purchase-form input {
  padding: 0.75rem;
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  color: var(--color-parchment);
  font-size: 1rem;
}

.purchase-form input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.auth-tab.active {
  color: var(--color-accent-gold);
  border-bottom-color: var(--color-accent-gold);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form label {
  color: var(--color-parchment);
  font-weight: 600;
}

.auth-form input,
.auth-form textarea {
  padding: 0.75rem;
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  color: var(--color-parchment);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.auth-form input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.dropdown-menu {
  position: fixed;
  top: 4.5rem;
  right: 1rem;
  background: var(--color-dark-bg);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  padding: 0.5rem;
  z-index: 1001;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--color-parchment);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.dropdown-item:hover {
  background: var(--color-accent-gold);
  color: var(--color-dark-bg);
}

.admin-panel-content {
  max-width: 800px;
}

.admin-section {
  margin-bottom: 2rem;
}

.admin-section h4 {
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-form label {
  color: var(--color-parchment);
  font-weight: 600;
}

.admin-form input,
.admin-form textarea {
  padding: 0.75rem;
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  color: var(--color-parchment);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.admin-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-news-item {
  background: rgba(42, 36, 30, 0.5);
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-news-info h5 {
  color: var(--color-accent-gold);
  margin: 0 0 0.5rem 0;
}

.admin-news-info p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.admin-news-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-danger {
  background: var(--color-error);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  opacity: 0.8;
}

.user-info {
  color: var(--color-parchment);
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(42, 36, 30, 0.5);
  border-radius: 0.5rem;
}

.user-info strong {
  color: var(--color-accent-gold);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .vote-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guide-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    justify-content: flex-start;
  }

  .timeline-content {
    margin-left: 2rem;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item::before {
    left: 0.5rem;
    right: auto;
  }
}
.divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent-gold), var(--color-accent-gold-light));
  position: relative;
  margin: 3rem 0;
}

.divider::before,
.divider::after {
  content: "✦"; /* Mittelalterliche Sternchen als Ornamente */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent-gold-dark);
  font-size: 1.5rem;
}

.divider::before {
  left: -1.5rem;
}

.divider::after {
  right: -1.5rem;
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
