:root {
  --primary: #2ecc71;
  --accent: #f1c40f;
  --bg-light: #fefefa;
  --bg-dark: #121212;
  --text-light: #ffffff;
  --text-dark: #1e1e1e;
}

body {
  display: flex;
  flex-direction: column; 
  min-height: 100vh;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow-x: hidden;
}

main {
  flex: 1;
  width: 100%;
}

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

header {
  background: linear-gradient(90deg, #00c896, #4be3a8);
  color: white;
  padding: 1rem;
  text-align: center;
  background-image: url('https://cdn.pixabay.com/photo/2016/11/22/20/07/beach-1852945_1280.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  box-sizing: border-box;
}

a {
    color: var(--primary, #2196f3);
    text-decoration: underline;
}
a {
    color: var(--primary, #2196f3);
    text-decoration: underline;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Logo Container */
.logo-container {
  text-align: center;
  padding: 1rem 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transition: background 0.3s, border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.logo-container img {
  max-width: 120px;
  height: auto;
  display: inline-block;
}

/* ensure container can show glow pseudo-element */
.logo-container { position: relative; }

/* RGB Glow effect only for the logo file 'paradi_logo.png' */
.logo-container img[src*="paradi_logo.png"] {
  filter: drop-shadow(0 0 6px rgba(255,0,0,0.45)) drop-shadow(0 0 6px rgba(0,255,0,0.35)) drop-shadow(0 0 8px rgba(0,120,255,0.3));
  transition: filter 250ms ease, transform 220ms ease;
  animation: rgb-glow 3s linear infinite;
}

@keyframes rgb-glow {
  0% {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.45)) drop-shadow(0 0 6px rgba(0,255,0,0.0)) drop-shadow(0 0 8px rgba(0,120,255,0.0));
    transform: translateY(0);
  }
  33% {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.0)) drop-shadow(0 0 8px rgba(0,255,0,0.45)) drop-shadow(0 0 8px rgba(0,120,255,0.0));
    transform: translateY(-1px);
  }
  66% {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.0)) drop-shadow(0 0 6px rgba(0,255,0,0.0)) drop-shadow(0 0 10px rgba(0,120,255,0.5));
    transform: translateY(0);
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.45)) drop-shadow(0 0 6px rgba(0,255,0,0.35)) drop-shadow(0 0 8px rgba(0,120,255,0.3));
    transform: translateY(0);
  }
}

/* stronger glow on hover/focus for accessibility */
.logo-container img[src*="paradi_logo.png"]:hover,
.logo-container img[src*="paradi_logo.png"]:focus {
  filter: drop-shadow(0 0 12px rgba(255,0,0,0.6)) drop-shadow(0 0 12px rgba(0,255,0,0.55)) drop-shadow(0 0 14px rgba(0,120,255,0.55));
  transform: translateY(-2px) scale(1.02);
  animation-duration: 2.2s;
}

@media (prefers-reduced-motion: reduce) {
  .logo-container img[src*="paradi_logo.png"] {
    animation: none;
    transition: filter 150ms ease, transform 150ms ease;
  }
}

/* Mobile tweaks: soften filter for better performance on mobile */
@media (max-width: 600px) {
  .logo-container img[src*="paradi_logo.png"] {
    filter: drop-shadow(0 0 4px rgba(255,0,0,0.35)) drop-shadow(0 0 4px rgba(0,255,0,0.28)) drop-shadow(0 0 6px rgba(0,120,255,0.25));
    animation-duration: 3.6s;
  }
}

/* Stronger overlay visibility when nav is open (optional subtle dim) */
body.nav-open {
  /* allow potential styling when navigation overlay open */
}

.darkmode .logo-container {
  background-color: #1e1e1e;
  border-bottom-color: #333;
}

nav {
  background-color: #28b485;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
  position: relative;
}

nav.collapsed {
  display: none;
}

nav.expanded {
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 3.5rem);
  overflow-y: auto;
  z-index: 9999;
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  border-bottom: 1px solid #1c9b6f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  display: block;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a:focus {
  background-color: #1c9b6f;
  color: white;
  text-decoration: none;
}

.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  width: 40px;
  height: 40px;
  background: #28b485;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  background: #fff;
  height: 4px;
  width: 26px;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s;
  content: '';
}
.hamburger span {
  position: relative;
}
.hamburger span::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 0;
  width: 26px;
  height: 4px;
  background: #fff;
}
.hamburger span::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 26px;
  height: 4px;
  background: #fff;
}

/* Hamburger Animation (open/close) */
.hamburger.active span {
  background: transparent;
}
.hamburger.active span::before {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span::after {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .logo-container {
    padding: 0.8rem 0;
  }

  .logo-container img {
    max-width: 100px;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  
  nav.expanded {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-bottom: 1px solid #1c9b6f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
  }
  
  .hamburger {
    display: flex;
  }
  nav a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .gallery-folder-list, .guide-accordion, .infos-section, .vote-section {
    padding: 0 0.5rem;
  }
  .gallery-folder, .guide-section, .infos-box, .vote-link-card {
    padding: 1rem 0.5rem;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .team-list, .social-links-list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .team-member, .social-link-card {
    min-width: unset;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1rem 0.5rem;
  }
}

/* RESPONSIVE: Grundlegende Anpassungen */
@media (max-width: 900px) {
  main {
    padding: 1rem;
  }
  .card {
    padding: 1rem 0.5rem;
    margin-bottom: 1.2rem;
  }
  .feature-list {
    gap: 0.7rem;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    margin: 0 auto;
  }
  .gallery-folder-list, .guide-accordion, .infos-section, .vote-section {
    padding: 0 0.5rem;
  }
  .gallery-folder, .guide-section, .infos-box, .vote-link-card {
    padding: 1rem 0.5rem;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .team-list, .social-links-list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .team-member, .social-link-card {
    min-width: unset;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 700px) {
  .gallery-folder-list, .guide-accordion, .infos-section, .vote-section {
    padding: 0 0.2rem;
  }
  .gallery-folder, .guide-section, .infos-box, .vote-link-card {
    padding: 0.7rem 0.2rem;
    border-radius: 6px;
  }
}

@media (max-width: 600px) {
  .logo-container {
    padding: 0.6rem 0;
  }

  .logo-container img {
    max-width: 80px;
  }

  body {
    font-size: 0.98rem;
  }
  header h1 {
    font-size: 1.3rem;
  }
  main {
    padding: 0.5rem;
  }
  .card {
    padding: 0.7rem 0.2rem;
    border-radius: 6px;
  }
  .feature-list {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
    font-size: 0.95rem;
    padding: 0.7rem 0.2rem;
  }
  .hero-title {
    font-size: 1.1rem;
    padding: 0 0.1em;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  .hero-cta, .hero-discord, .wiki-btn {
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
  }
  .gallery-folder-header, .guide-section-header, .infos-box h2, .vote-title {
    font-size: 1.1rem;
    padding: 0.7rem 0.2rem;
  }
  .team-member, .social-link-card {
    padding: 0.7rem 0.2rem;
    border-radius: 6px;
  }
  .team-member h3, .social-link-card h3 {
    font-size: 1.05rem;
  }
}

/* RESPONSIVE: Tabellen und Bilder */
img, video {
  max-width: 100%;
  height: auto;
}

/* RESPONSIVE: Footer */
@media (max-width: 600px) {
  footer {
    font-size: 0.95rem;
    padding: 0.7rem 0.2rem;
  }
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: background 0.3s, color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

/* Feature-List & Hero-Section Anpassungen */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.feature-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  min-width: 180px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  color: var(--text-dark);
  transition: background 0.3s, color 0.3s;
}
.hero-ip {
  background: #f1f1f1;
  color: var(--text-dark);
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  font-family: monospace;
  transition: background 0.3s, color 0.3s;
}
.hero-copy-btn {
  margin-left: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.hero-discord {
  display: inline-block;
  background: #5865F2;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
  transition: background 0.2s;
}

/* Darkmode Anpassungen */
.darkmode .card {
  background-color: #1e1e1e;
  color: var(--text-light);
}
.darkmode .feature-item {
  background: #23272b;
  color: var(--text-light);
}
.darkmode .hero-ip {
  background: #23272b;
  color: var(--text-light);
}
.darkmode .hero-cta {
  background: var(--accent);
  color: var(--text-dark);
}
.darkmode .hero-copy-btn {
  background: var(--primary);
  color: #fff;
}
.darkmode .hero-discord {
  background: #4752c4;
  color: #fff;
}
.darkmode .events-mc-title,
.darkmode .event-mc-header,
.darkmode .event-mc-body {
  color: #fff;
}
.darkmode .event-mc-block {
  background: #23272b !important;
  border-color: #444;
}
.darkmode .event-mc-header {
  background: #2c3e50 !important;
  border-bottom: 1px solid #444;
}
.darkmode .event-mc-block.past {
  opacity: 0.6;
}
.darkmode .calendar-table-mc {
  background: #23272b;
  color: #fff;
}
.darkmode .calendar-table-mc th,
.darkmode .calendar-table-mc td {
  border-color: #444;
}
.darkmode .event-mc-day {
  background: #43a047;
  color: #fff;
}

.darkmode {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.darkmode .card {
  background-color: #1e1e1e;
  color: white;
}

.toggle-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #f39c12;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  z-index: 2000;
}

/* Minecraft Event Styles */
.events-mc-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.events-mc-overview, .events-mc-history {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.maintenance-day {
  background: #ffe066 !important;
  color: #23272b !important;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 0 0 2px #f7d56033;
}
.event-mc-block {
  border: 2px solid #bdbdbd;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  width: 320px;
  min-width: 220px;
  max-width: 100%;
  margin-bottom: 1rem;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
}
.event-mc-header {
  padding: 0.5rem 1rem;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  border-bottom: 1px solid #ccc;
  border-radius: 8px 8px 0 0;
}
.event-mc-icon {
  font-size: 1.5em;
}
.event-mc-body {
  padding: 0.5rem 1rem;
}
.event-mc-block.past {
  opacity: 0.7;
}
.events-mc-calendar {
  margin: 2rem 0;
}
.calendar-table-wrapper {
  width: 100%;
  overflow-x: visible;
  box-sizing: border-box;
}
.calendar-table-mc {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
  background: #fafafa;
}
.calendar-table-mc th, .calendar-table-mc td {
  border: 1px solid #bdbdbd;
  text-align: center;
  padding: 0.3em;
  min-width: auto;
}
.event-mc-day {
  background: #7ec850;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .events-mc-overview, .events-mc-history {
    flex-direction: column;
    gap: 0.5rem;
  }
  .event-mc-block {
    width: 100%;
    min-width: 0;
  }
  .calendar-table-mc {
    font-size: 0.95em;
  }
}
@media (max-width: 600px) {
  .events-mc-calendar {
    margin: 1rem 0;
  }
  .calendar-table-mc th, .calendar-table-mc td {
    padding: 0.2em;
    min-width: 24px;
  }
  .events-mc-title {
    font-size: 1.2rem;
  }
}

/* Social Links Anpassungen */
.social-links-list {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.social-link-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: var(--text-dark);
  transition: background 0.3s, color 0.3s;
  flex: 1 1 260px;
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.social-link-card:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 900px) {
  .social-link-card {
    min-height: 180px;
  }
}
@media (max-width: 600px) {
  .social-link-card {
    min-height: 140px;
  }
}
/*
//       ______
//      / ____/
//     / /
//    / /
//   / /
//  / /____
// /______/
// PPPPPP    AAAAAA   RRRRRR    AAAAAA   DDDDDD   IIIIIIII   SSSSSS   EEEEEEEE
// P    P   A    A   R    R   A    A   D    D      II     S        E
// PPPPPP   AAAAAA   RRRRRR   AAAAAA   D    D      II      SSSSSS  EEEEEEEE
// P       A    A   R R     A    A   D    D      II           S  E
// P       A    A   R  R    A    A   DDDDDD   IIIIIIII   SSSSSS   EEEEEEEE
*\
