@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

:root {
  --bg1: #0a0f1a;
  --bg2: #050810;
  --accent: #00d9ff;
  --accent-secondary: #00ffaa;
  --accent-tertiary: #00b4ff;
  --card-bg: rgba(15, 30, 50, 0.6);
  --topbar-bg: rgba(0, 217, 255, 0.05);
  --text-color: #ffffff;
  --muted-border: rgba(0, 217, 255, 0.2);
  --muted-fill: rgba(0, 217, 255, 0.08);
}

html {
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 80px 0 20px 0;
  color: var(--text-color);
  background: linear-gradient(135deg, #0a0f1a, #0d1a2a);
  background-size: 400% 400%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 255, 170, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 40% 0%, rgba(0, 180, 255, 0.06) 0%, transparent 50%);
  z-index: -2;
  animation: gradientFlow 20s ease infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 16, 0.5);
  z-index: -1;
  pointer-events: none;
}

@keyframes gradientFlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Theme variants: Purple and Green */
body.purple-mode {
  --bg1: #1a0d2e;
  --bg2: #0f0620;
  --accent: #b366ff;
  --accent-secondary: #ff66e6;
  --accent-tertiary: #9933ff;
  --topbar-bg: rgba(179, 102, 255, 0.08);
  --card-bg: rgba(30, 10, 50, 0.7);
  --muted-border: rgba(179, 102, 255, 0.2);
  --muted-fill: rgba(179, 102, 255, 0.08);
}

body.green-mode {
  --bg1: #0d1f15;
  --bg2: #061208;
  --accent: #00ff88;
  --accent-secondary: #00cc99;
  --accent-tertiary: #00ff66;
  --topbar-bg: rgba(0, 255, 136, 0.08);
  --card-bg: rgba(10, 40, 25, 0.7);
  --muted-border: rgba(0, 255, 136, 0.2);
  --muted-fill: rgba(0, 255, 136, 0.08);
}

/* Light Mode: switch CSS variables */
body.light-mode {
  --bg1: #ffffff;
  --bg2: #f2f2f2;
  --topbar-bg: rgba(20, 20, 20, 0.04);
  --text-color: #000000;
  --muted-border: rgba(0, 0, 0, 0.12);
  --muted-fill: rgba(0, 0, 0, 0.03);
  --card-bg: rgba(255, 255, 255, 0.95);
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.button-glass {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.2s;
}

.button-glass,
.button-glass * {
  color: #fff !important;
}
.button-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}



/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid rgba(0, 217, 255, 0.4);
  border-radius: 50%;
  color: #00d9ff;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  backdrop-filter: blur(10px);
}

.scroll-to-top.show {
  display: flex;
  animation: slideInRight 0.3s ease-out;
}

.scroll-to-top:hover {
  background: rgba(0, 217, 255, 0.3);
  border-color: #00d9ff;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.top-bar {
  width: 100%;
  height: auto;
  min-height: 60px;
  background: var(--topbar-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.menu-button {
  font-size: clamp(20px, 4vw, 28px);
  cursor: pointer;
  color: var(--text-color);
  background: transparent;
  border: none;
  padding: 8px;
}

.left-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  color: var(--text-color);
  font-weight: 800;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 1px;
  text-transform: uppercase;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.site-title:hover {
  opacity: 0.7;
}

.right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  transform: translateX(-8px);
  z-index: 1001;
}

/* Top bar shortcut buttons (emoji + hover title) */
.top-shortcuts {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 10px;
}
.top-shortcuts .shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  color: var(--accent);
  font-size: 18px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
  position: relative;
  backdrop-filter: blur(4px);
}
.top-shortcuts .shortcut:hover,
.top-shortcuts .shortcut:focus {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(0,217,255,0.06), rgba(0,180,255,0.04));
  box-shadow: 0 10px 28px rgba(0,217,255,0.08);
  color: #00d9ff;
}

/* tooltip using data-title */
.top-shortcuts .shortcut[data-title]::after {
  content: attr(data-title);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(8,12,18,0.92);
  color: #e6fbff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}
.top-shortcuts .shortcut:hover[data-title]::after,
.top-shortcuts .shortcut:focus[data-title]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 680px) {
  .top-shortcuts .shortcut { width: 32px; height: 32px; font-size: 16px; }
}

/* Theme selector dropdown menu */
.theme-selector-wrapper {
  position: relative;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(10, 15, 26, 0.98);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 10px;
  padding: 8px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scaleY(0.9);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.theme-option {
  background: transparent;
  border: 1px solid rgba(0, 217, 255, 0.2);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: all 0.2s ease;
  text-align: left;
}

.theme-option:hover {
  background: rgba(0, 217, 255, 0.15);
  border-color: rgba(0, 217, 255, 0.6);
  transform: translateX(4px);
}

.theme-option.active {
  background: rgba(0, 217, 255, 0.3);
  border-color: rgba(0, 217, 255, 0.8);
  font-weight: 600;
}

/* Cookie collector panel */
.cookie-collector {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 18px 12px 8px 12px;
  box-sizing: border-box;
}
.collector-card {
  width: 100%;
  max-width: 980px;
  background: linear-gradient(180deg, rgba(10,14,22,0.55), rgba(6,8,12,0.45));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
}
.collector-left h4 { margin: 0 0 6px 0; color: #dffcff; font-size: 16px; }
.collector-sub { margin: 0; color: rgba(220,255,255,0.7); font-size: 13px; }
.collector-right { display: flex; align-items: center; gap: 12px; }
.collect-btn {
  width: 56px; height: 56px; border-radius: 12px; display: inline-grid; place-items: center;
  font-size: 22px; color: #fff; background: linear-gradient(180deg,#00c6ff,#0088d1);
  border: none; cursor: pointer; box-shadow: 0 8px 30px rgba(0,198,255,0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.collect-btn:active { transform: translateY(2px) scale(0.98); }
.cookie-stats { text-align: center; color: #cfeff6; }
.cookie-stats #cookieCount { display: block; font-weight: 800; font-size: 20px; }

@media (max-width: 640px) {
  .collector-card { padding: 10px; gap: 8px; }
  .collector-left h4 { font-size: 14px; }
  .collect-btn { width: 48px; height: 48px; font-size: 18px; }
}

/* cookie particle animation (little cookies that fly out when clicked) */
.cookie-particle {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
  z-index: 2000;
  opacity: 1;
  animation-name: cookie-pop;
  animation-timing-function: cubic-bezier(.2,.9,.25,1);
  animation-fill-mode: forwards;
}

@keyframes cookie-pop {
  0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  60% { transform: translate(var(--dx-mid, 0px), var(--dy-mid, -40px)) scale(0.96); opacity: 1; }
  100% { transform: translate(var(--dx, -40px), var(--dy, -80px)) scale(0.72) rotate(var(--rot, 60deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-particle { animation: none; opacity: 0; }
}

.server-icon {
  width: clamp(40px, 6vw, 44px);
  height: clamp(40px, 6vw, 44px);
  border-radius: 8px;
  background: var(--muted-fill);
  border: 2px solid var(--muted-border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  background-size: cover;
  background-position: center;
  display: none;
}

/* Large Server Icon in Hero */
.server-icon-large {
  width: clamp(140px, 28vw, 220px);
  height: clamp(140px, 28vw, 220px);
  border-radius: 50%;
  background-color: var(--muted-fill);
  border: 8px solid rgba(0, 217, 255, 0.7);
  box-shadow: 0 0 48px rgba(0, 217, 255, 0.45), inset 0 0 22px rgba(0, 217, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  animation: hero-entry 700ms cubic-bezier(.2,.9,.25,1) both, hero-breath 6s ease-in-out 900ms infinite;
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow 600ms ease, transform 600ms ease;
}

.server-icon-large { padding: 6px; box-sizing: border-box; }
.server-icon-large { position: relative; z-index: 1001; pointer-events: none; }
.server-icon-large .icon-img { pointer-events: auto; }

/* pronounced but soft glow around the icon, doesn't block clicks */
.server-icon-large::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1002;
  background: radial-gradient(circle at 50% 40%, rgba(0,217,255,0.16) 0%, rgba(0,217,255,0.10) 18%, rgba(0,180,255,0.04) 40%, transparent 65%);
  /* reduced blur/intensity for a smoother, less harsh glow */
  filter: blur(16px);
  mix-blend-mode: normal;
  opacity: 0.70;
}

/* additional soft inner rim for better smoothness */
.server-icon-large::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1003;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.04) 0%, rgba(0,217,255,0.04) 12%, transparent 35%);
  filter: blur(6px);
  opacity: 0.60;
}

@media (prefers-reduced-motion: reduce) {
  .server-icon-large { animation: none !important; transition: none !important; }
  .cube { animation: none !important; }
  .snowflake { animation: none !important; }
}

.icon-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* apply a soft, subtle drop-shadow to the actual img and smooth transitions */
.server-icon-large .icon-img {
  /* milder drop-shadow on the image */
  filter: url(#soft-glow) drop-shadow(0 6px 12px rgba(0,217,255,0.18));
  transition: transform 0.28s ease, filter 0.28s ease;
  will-change: transform, filter;
}

.server-icon-large:hover .icon-img {
  transform: scale(1.02);
  filter: url(#soft-glow) drop-shadow(0 10px 22px rgba(0,217,255,0.24));
}

@keyframes hero-entry {
  0% { opacity: 0; transform: translateY(-28px) scale(.98); }
  60% { opacity: 1; transform: translateY(4px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-breath {
  0% { transform: scale(1); box-shadow: 0 0 40px rgba(0,217,255,0.18), inset 0 0 18px rgba(0,217,255,0.08); }
  50% { transform: scale(1.02); box-shadow: 0 0 62px rgba(0,217,255,0.24), inset 0 0 26px rgba(0,217,255,0.12); }
  100% { transform: scale(1); box-shadow: 0 0 40px rgba(0,217,255,0.18), inset 0 0 18px rgba(0,217,255,0.08); }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: transparent;
  color: var(--text-color);
  border-radius: 8px;
  border: 1px solid var(--muted-border);
  cursor: pointer;
}

.icon-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.08);
  outline-offset: 2px;
}

.icon-btn i { font-size: 18px; }

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.icon-btn.success {
  background: rgba(50, 200, 120, 0.12);
  border-color: rgba(50, 200, 120, 0.18);
  color: #a8ffd4;
}

.menu {
  position: fixed;
  top: 60px;
  left: -290px;
  width: 250px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 999;
  overflow: hidden;
}

.menu a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 20px;
  margin: 15px 0;
  transition: color 0.2s;
}

.menu a:hover { color: var(--accent); }
.menu.show { left: 0; }

.logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  padding: 4px;
  background: var(--muted-fill);
  border: 2px solid var(--muted-border);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transform: translateX(-6px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.logo:hover {
  transform: translateX(-6px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7), inset 0 0 8px color-mix(in srgb, var(--accent) 10%, rgba(255, 255, 255, 0));
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px 0px;
  position: relative;
  z-index: 2;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22vh;
  padding: 12px 0;
}

.hero h1 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1.05;
  padding: 18px 36px;
  border-radius: 14px;
  background: var(--muted-fill);
  border: 1px solid var(--muted-border);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.55), 0 0 10px rgba(0, 0, 0, 0.25) inset;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.hero p {
  margin-top: 16px;
  text-align: center;
  color: var(--text-color);
}

.section { 
  margin-top: 20px; 
  margin-bottom: 40px;
  padding: 20px 0;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--accent);
}

.section-title.admin { color: #8b0000; }
.section-title.management { color: #ff6666; }
.section-title.development { color: #ff6666; }
.section-title.teamleitung { color: #ff6666; }
.section-title.moderation { color: #ff6666; }
.section-title.content { color: #ff6666; }

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.member-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(.2,.9,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(100,180,255,0.4);
}

/* Social links reveal on hover (desktop). Names and ranks are visible by default. */
.member-card .socials {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
  visibility: hidden;
  pointer-events: none;
}

.member-card .skin-container { width: 140px; height: 140px; overflow: hidden; border-radius: 8px; display:flex; align-items:center; justify-content:center; }
.member-card .skin-container img { width: 100%; height: 100%; object-fit: cover; display:block; }

.member-card:hover .socials,
.member-card:focus-within .socials {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.member-card .socials { display:flex; gap:8px; margin-top:10px; justify-content:center }
.member-card .socials a { color:var(--text-color); opacity:0.95; padding:6px; border-radius:8px; background:rgba(255,255,255,0.02); transition:transform 160ms ease, background 160ms ease }
.member-card .socials a:hover { transform:translateY(-3px); background:rgba(0,217,255,0.06) }

On small screens show socials by default (touch-friendly)
@media (max-width:720px) {
  .member-card .socials {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .member-card .skin-container { width: 110px; height:110px }
}

.member-card.admin { border-color: #cc0000; }
.member-card.management { border-color: #ff6666; }
.member-card.development { border-color: #ff6666; }
.member-card.head-moderation { border-color: #ff6666; }
.member-card.teamleitung { border-color: #ff6666; }
.member-card.moderation { border-color: #ff6666; }
.member-card.content { border-color: #ff6666; }

.member-card:hover {
  transform: scale(1.08);
  border-color: color-mix(in srgb, var(--accent) 60%, #ffffff);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 70%, #000000);
}

.member-card.admin:hover {
  border-color: #ff3333;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.7);
}

.member-card.management:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.member-card.development:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.member-card.head-moderation:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.member-card.teamleitung:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.member-card.moderation:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.member-card.content:hover {
  border-color: #ff7777;
  box-shadow: 0 0 20px rgba(255, 119, 119, 0.7);
}

.skin-container {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.9,.2,1), filter 0.4s ease;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.member-card:hover .skin-container { 
  transform: scale(1.18);
  filter: drop-shadow(0 0 22px rgba(100,200,255,0.7)) brightness(1.2);
}
.skin-container img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }

.p, p { color: var(--text-color); font-weight: bold; margin: 0; margin-bottom: 5px; }
.rank { font-size: 16px; color: var(--accent); margin-bottom: 12px; }
.rank.admin { color: #cc2222; }
.rank.management { color: #ff6666; }
.rank.development { color: #ff6666; }
.rank.teamleitung { color: #ff6666; }
.rank.moderation { color: #ff6666; }
.rank.content { color: #ff6666; }

.socials {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 8px;
  pointer-events: none;
}

.member-card:hover .socials {
  opacity: 1;
  pointer-events: all;
}
.socials a { color: var(--text-color); font-size: 24px; transition: color 0.2s; }
.socials a:hover { color: color-mix(in srgb, var(--accent) 70%, #ffffff); }

.member-link { color: var(--text-color); text-decoration: none; font-weight: 800; }
.member-link:hover { color: color-mix(in srgb, var(--accent) 70%, #ffffff); text-decoration: underline; }

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--muted-border);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.content-card + .content-card { margin-top: 18px; }

.card-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.card-text {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 400;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.cta-btn:active { transform: translateY(0); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--muted-border);
  background: var(--muted-fill);
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
}

.pill:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--muted-border)); }

footer {
  text-align: center;
  padding: 20px 0;
  color: var(--text-color);
  margin-top: auto;
  font-size: 14px;
}

/* ============= MODERN MINECRAFT DESIGN ============= */

/* Floating Cubes Animation */
.skew-panels {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: -3;
  object-fit: cover;
  object-position: center center;
  max-width: 100%;
  overflow: visible;
}

.skew-panel {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.06;
  filter: grayscale(8%) contrast(1.02) saturate(0.92) blur(0.6px);
  transition: transform 1.2s cubic-bezier(.16,.84,.24,1), opacity 0.5s ease;
  mix-blend-mode: overlay;
  transform-origin: center center;
}
.skew-panel.p1 { top: 4%; left: -12%; width: 58%; height: 42%; transform: rotate(-7deg) skew(-6deg) scale(1.02); }
.skew-panel.p2 { top: 28%; right: -18%; width: 62%; height: 48%; transform: rotate(6deg) skew(5deg); }
.skew-panel.p3 { bottom: 8%; left: 8%; width: 56%; height: 44%; transform: rotate(-4deg) skew(-3deg); }

.skew-panel:hover { opacity: 0.16; }

.skew-panels { display: block; }

.skew-panels .skew-panel { will-change: transform; }

.skew-panels img { display:block; max-width:none; }

/* On Datenschutzerklärung page hide decorative panels and floating cubes to avoid overflow on the left */
body[data-page="datenschutz"] .skew-panels,
body[data-page="datenschutz"] .floating-cubes {
  display: none !important;
}

.floating-cubes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.cube {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0,217,255,0.06), rgba(0,180,255,0.04));
  border: 1px solid rgba(0, 217, 255, 0.06);
  opacity: 0.03;
  animation: float 36s infinite;
  border-radius: 6px;
  transform-origin: center center;
  will-change: transform, opacity;
}

.cube:nth-child(1) { top: 10%; left: 10%; width: 60px; height: 60px; animation-delay: 0s; }
.cube:nth-child(2) { top: 30%; right: 15%; width: 50px; height: 50px; animation-delay: 2s; }
.cube:nth-child(3) { top: 50%; left: 20%; width: 70px; height: 70px; animation-delay: 4s; }
.cube:nth-child(4) { bottom: 20%; right: 25%; width: 45px; height: 45px; animation-delay: 6s; }
.cube:nth-child(5) { bottom: 40%; left: 15%; width: 55px; height: 55px; animation-delay: 8s; }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  25% { transform: translateY(-8px) rotate(1deg) scale(1.01); }
  50% { transform: translateY(-14px) rotate(0deg) scale(1.02); }
  75% { transform: translateY(-9px) rotate(-1deg) scale(1.01); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

/* Snowfall */
.snow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.snowflake {
  position: absolute;
  top: -10px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

@keyframes fall {
  0% { transform: translateY(-5vh) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(120vh) translateX(30px) rotate(360deg); opacity: 0.85; }
}

/* Reveal-on-load helpers (build-up animations for pages) */
.reveal-on-load { --reveal-delay: 0ms; }
.reveal-on-load * { opacity: 0; transform: translateY(14px) scale(0.996); transition: opacity 320ms cubic-bezier(.2,.9,.2,1), transform 320ms cubic-bezier(.2,.9,.2,1); }
.reveal-on-load.revealed * { opacity: 1; transform: translateY(0) scale(1); }
.reveal-on-load .hero-content, .reveal-on-load .section-title, .reveal-on-load .feature-card, .reveal-on-load .member-card, .reveal-on-load .content-card { will-change: transform, opacity; }

/* Slight initial entrance for elements that should stand out */
.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity 320ms ease, transform 320ms ease; }
.reveal-item.reveal { opacity: 1; transform: translateY(0); }

/* Hero Modern Section */
.hero-modern {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* allow icon glow to extend outside hero bounds */
  overflow: visible;
}

.hero-content {
  text-align: center;
  z-index: 30;
  animation: slideInDown 1s ease-out;
  max-width: 920px;
  padding: 24px 18px;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow-title {
  margin-bottom: 15px;
}

.minecraft-title {
  font-size: clamp(34px, 9vw, 86px);
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #00d9ff, #00ffaa, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* softened neon text glow */
  text-shadow:
    0 1px 0 rgba(0,0,0,0.45),
    0 0 6px rgba(0,217,255,0.16),
    0 0 12px rgba(0,217,255,0.20),
    0 0 20px rgba(0,255,170,0.06);
  /* disable pulsing animation so the title doesn't blink */
  animation: none !important;
  /* keep a subtle static glow */
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.20));
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.32)); }
  50% { filter: drop-shadow(0 0 24px rgba(0, 255, 170, 0.46)); }
}

.subtitle {
  font-size: clamp(12px, 2.2vw, 18px);
  color: #00ffaa;
  margin: 10px 0 16px 0;
  letter-spacing: 1px;
  font-weight: 700;
  animation: slideInUp 1s ease-out 0.3s both;
}

/* Hero socials (direct under status) */
.hero-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 10px auto 0;
  z-index: 10;
}
.hero-socials .social-btn.hero {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.4px;
  transition: transform 0.25s ease, filter 0.25s ease;
  opacity: 1;
  background: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.7);
}
.hero-socials .social-btn.hero i { font-size: 16px; }
.hero-socials .social-btn.hero span { display: none; }
.hero-socials .social-btn.hero:hover { 
  transform: translateY(-4px);
  color: #00ffaa;
  filter: drop-shadow(0 0 12px rgba(0,255,170,0.6));
}

.hero-socials .twitch { background: none; box-shadow: none; }
.hero-socials .youtube { background: none; box-shadow: none; }
.hero-socials .instagram { background: none; box-shadow: none; }
.hero-socials .tiktok { background: none; box-shadow: none; }
.hero-socials .discord { background: none; box-shadow: none; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(0, 255, 170, 0.12);
  border: 2px solid rgba(0, 255, 170, 0.28);
  border-radius: 50px;
  color: #00ffaa;
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
  animation: slideInUp 1s ease-out 0.6s both;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #00ffaa;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px #00ffaa;
}

/* Streamer Status Badge */
.streamer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(139, 0, 139, 0.12);
  border: 2px solid rgba(139, 0, 139, 0.28);
  border-radius: 50px;
  color: #ff66ff;
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
  animation: slideInUp 1s ease-out 0.7s both;
  backdrop-filter: blur(8px);
}

.streamer-status.live {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ff4444;
}

.status-indicator {
  width: 12px;
  height: 12px;
  background: #ff66ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff66ff;
}

.streamer-status.live .status-indicator {
  background: #ff4444;
  animation: pulse-red 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px #ff4444;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; box-shadow: 0 0 15px #ff4444; }
  50% { opacity: 0.6; box-shadow: 0 0 25px #ff4444; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px #00ffaa; }
  50% { opacity: 0.5; box-shadow: 0 0 20px #00ffaa; }
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  animation: slideInUp 1s ease-out 0.8s both;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 50%;
  color: #00d9ff;
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(0, 217, 255, 0.3);
  border-color: #00d9ff;
  color: #ffffff;
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
}

/* small centered separator dot above social icons (like in mockup) */
/* remove small centered decorative dot above social icons (was visually distracting) */
.social-links::before { display: none; }

/* center social icons and nudge the second and fourth icons slightly inward for balanced spacing */
.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
}
.social-links a { transition: transform 0.22s cubic-bezier(.2,.9,.2,1), box-shadow 0.22s; }
.social-links a:nth-child(2) { transform: translateX(6px); }
.social-links a:nth-child(4) { transform: translateX(-6px); }

/* badges inline on one row */
.status-badge, .streamer-status { vertical-align: middle; display: inline-flex; }
.status-badge + .streamer-status { margin-left: 12px; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 0;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: rgba(30, 30, 30, 0.8);
  border: 2px solid rgba(0, 217, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out both;
  will-change: transform;
}

/* Make common start-page blocks have rounded corners */
.feature-card,
.cta-section .server-info,
.info-section .info-content,
.hero-modern .hero-content {
  border-radius: 18px;
  overflow: hidden;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translate(-100%, -100%) rotate(45deg); }
  100% { transform: translate(100%, 100%) rotate(45deg); }
}

.feature-card:hover {
  border-color: rgba(0, 217, 255, 0.8);
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
}

.feature-icon {
  font-size: 50px;
  color: #00d9ff;
  margin-bottom: 20px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.feature-card h3 {
  font-size: 24px;
  color: #00ffaa;
  margin: 15px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 255, 170, 0.1));
  border-top: 2px solid rgba(0, 217, 255, 0.3);
  border-bottom: 2px solid rgba(0, 217, 255, 0.3);
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.cta-section h2 {
  font-size: 3rem;
  color: #00ffaa;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: slideInDown 1s ease-out;
}

.server-info {
  background: rgba(20, 20, 20, 0.9);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid rgba(0, 217, 255, 0.3);
  max-width: 500px;
  margin: 0 auto;
  animation: slideInUp 0.8s ease-out 0.3s both;
  backdrop-filter: blur(10px);
}

.server-address {
  text-align: center;
}

.server-address .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.server-address .address {
  font-size: 28px;
  font-weight: 800;
  color: #00d9ff;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.copy-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #00d9ff, #00b4ff);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.copy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.copy-btn.success {
  background: linear-gradient(135deg, #00ffaa, #00c896);
  box-shadow: 0 10px 30px rgba(0, 255, 170, 0.5);
}

/* Info Section - About Server */
.info-section {
  padding: 60px 40px;
  background: rgba(0, 20, 40, 0.7);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  margin: 40px 0;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color);
}

.info-content h2 {
  font-size: 2.5rem;
  color: #00ffaa;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.info-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 30px 0;
  color: rgba(255,255,255,0.85);
}

.info-content h3 {
  font-size: 1.5rem;
  color: #00ffaa;
  margin: 30px 0 15px 0;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-content li {
  padding: 12px 0;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  text-align: left;
}

.info-content li:before {
  content: "▸ ";
  color: #00ffaa;
  font-weight: bold;
  margin-right: 10px;
}

/* Socials Section */
.socials-section {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.socials-section h2 {
  font-size: 2.5rem;
  color: #00ffaa;
  margin: 0 0 50px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: slideInDown 0.8s ease-out;
}

.socials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 140px;
  height: 140px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out both;
}

.social-btn:nth-child(1) { animation-delay: 0.1s; }
.social-btn:nth-child(2) { animation-delay: 0.2s; }
.social-btn:nth-child(3) { animation-delay: 0.3s; }
.social-btn:nth-child(4) { animation-delay: 0.4s; }
.social-btn:nth-child(5) { animation-delay: 0.5s; }

.social-btn i {
  font-size: 40px;
  transition: all 0.3s ease;
}

.social-btn span {
  letter-spacing: 1px;
  text-transform: uppercase;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.social-btn:hover::before {
  left: 100%;
}

.social-btn.twitch {
  background: linear-gradient(135deg, rgba(139, 44, 185, 0.4), rgba(139, 44, 185, 0.2));
  border: 2px solid rgba(139, 44, 185, 0.5);
  color: #b084cc;
}

.social-btn.twitch:hover {
  border-color: #b084cc;
  box-shadow: 0 0 30px rgba(139, 44, 185, 0.5);
  transform: translateY(-10px);
}

.social-btn.youtube {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.4), rgba(255, 0, 0, 0.2));
  border: 2px solid rgba(255, 0, 0, 0.5);
  color: #ff6b6b;
}

.social-btn.youtube:hover {
  border-color: #ff6b6b;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
  transform: translateY(-10px);
}

.social-btn.instagram {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.4), rgba(255, 20, 147, 0.2));
  border: 2px solid rgba(255, 20, 147, 0.5);
  color: #ff69b4;
}

.social-btn.instagram:hover {
  border-color: #ff69b4;
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
  transform: translateY(-10px);
}

.social-btn.tiktok {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.social-btn.tiktok:hover {
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

.social-btn.discord {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.4), rgba(88, 101, 242, 0.2));
  border: 2px solid rgba(88, 101, 242, 0.5);
  color: #7289da;
}

.social-btn.discord:hover {
  border-color: #7289da;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
  transform: translateY(-10px);
}

/* Layout helpers */
.stack { display: flex; flex-direction: column; gap: 14px; }
.muted { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 480px) {
  .logo { height: 40px; width: 40px; transform: translateX(0); border-radius: 50%; }
  .top-bar { padding: 0 16px; height: 60px; }
  body { padding-top: 120px; }
  .hero { min-height: 30vh; padding: 24px 0; }
  .hero h1 { font-size: 2rem; padding: 10px 18px; border-radius: 10px; }
  .right-group { transform: translateX(0); }
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, rgba(10, 15, 26, 0.3), rgba(13, 26, 42, 0.3));
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.faq-title {
  font-size: clamp(28px, 6vw, 42px);
  color: var(--accent-secondary);
  text-align: center;
  margin: 0 0 50px 0;
  text-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
  font-weight: 900;
  letter-spacing: 2px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}

.faq-item {
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  backdrop-filter: none;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(0, 217, 255, 0.7);
  background: transparent;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.25);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.3s ease;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--accent-secondary);
}

.faq-question i {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  font-size: 14px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  background: transparent;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.faq-answer a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.faq-answer a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-title {
    margin-bottom: 30px;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 15px;
  }
  
  .faq-answer p {
    padding: 15px;
  }
  
  /* Hero responsive */
  .minecraft-title {
    font-size: clamp(20px, 5vw, 36px) !important;
  }
  
  .subtitle {
    font-size: clamp(10px, 2.5vw, 14px) !important;
  }
  
  .server-icon-large {
    width: clamp(100px, 25vw, 150px) !important;
    height: clamp(100px, 25vw, 150px) !important;
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .feature-card {
    padding: 25px 15px;
  }

  .feature-icon {
    font-size: 40px;
  }

  .feature-card h3 {
    font-size: 18px;
  }
  
  .feature-card h3 {
    font-size: 16px;
  }
  
  /* Team cards */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .member-card {
    padding: 15px;
  }
  
  .skin-container {
    width: clamp(80px, 20vw, 100px);
    height: clamp(80px, 20vw, 100px);
  }

  /* Social links responsive */
  .social-links {
    gap: 16px;
  }

  .social-links a {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  /* Hero responsive */
  .minecraft-title {
    font-size: clamp(16px, 4vw, 28px) !important;
  }
  
  .subtitle {
    font-size: clamp(9px, 2vw, 12px) !important;
  }
  
  .server-icon-large {
    width: clamp(80px, 22vw, 120px) !important;
    height: clamp(80px, 22vw, 120px) !important;
    margin: 0 auto 10px auto !important;
  }
  
  .glow-title {
    margin-bottom: 10px;
    position: relative;
    overflow: visible; /* allow halo to extend beyond parent */
  }
  /* wider, smoothly fading halo behind title so left/right aren't clipped */
  .glow-title::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    width: 1100px; /* wide enough to reach beyond both sides */
    height: 220px; /* taller for softer vertical falloff */
    pointer-events: none;
    z-index: 29;
    background: radial-gradient(ellipse at center, rgba(0,217,255,0.16) 0%, rgba(0,217,255,0.10) 12%, rgba(0,180,255,0.04) 30%, rgba(0,180,255,0.02) 45%, transparent 75%);
    filter: blur(38px); /* larger blur for very soft edges */
    opacity: 0.65;
    mix-blend-mode: screen; /* screen blends nicely with dark background */
    transform-origin: center;
  }
  
  /* Top bar */
  .site-title {
    font-size: clamp(14px, 3vw, 18px);
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 30px 15px;
  }
  
  .feature-card {
    padding: 15px;
  }
  
  .feature-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    font-size: 12px;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 40px 15px;
  }
  
  .cta-section h2 {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  /* Team cards */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px;
  }
  
  .member-card {
    padding: 12px;
  }
  
  .skin-container {
    width: clamp(60px, 18vw, 80px);
    height: clamp(60px, 18vw, 80px);
    margin-bottom: 10px;
  }
  
  .p, p {
    margin-bottom: 3px;
    font-size: 13px;
  }
  
  .rank {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  /* FAQ */
  .faq-section {
    padding: 40px 15px;
  }
  
  .faq-title {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 20px;
  }
  
  .faq-question {
    padding: 12px;
    font-size: 13px;
    gap: 8px;
  }
  
  .faq-question i {
    font-size: 12px;
  }
  
  .faq-answer p {
    padding: 12px;
    font-size: 13px;
  }
  
  /* Info section */
  .info-section {
    padding: 40px 15px;
  }
  
  .info-content h2 {
    font-size: clamp(18px, 5vw, 24px);
  }
  
  .info-content h3 {
    font-size: 14px;
  }
  
  .info-content ul li {
    font-size: 13px;
  }

  /* Social links responsive */
  .social-links {
    gap: 12px;
    margin-top: 24px; /* More space on small screens */
  }

  .social-links a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* Boxed Section Styling */
.boxed-section {
  background: rgba(0, 20, 40, 0.8);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  padding: 30px 25px;
  margin: 20px auto;
  max-width: 800px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 217, 255, 0.1);
}

.boxed-section h2 {
  color: #00d9ff;
  margin-bottom: 15px;
  font-size: clamp(18px, 4vw, 24px);
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.boxed-section h3 {
  color: #00d9ff;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: clamp(16px, 3vw, 20px);
}

.boxed-section p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.boxed-section a {
  color: #00d9ff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 217, 255, 0.5);
}

.boxed-section a:hover {
  color: #00ffff;
  border-bottom-color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

@media (max-width: 768px) {
  .boxed-section {
    padding: 20px 15px;
    margin: 15px 10px;
  }
}

/* Datenschutz page - limit scroll to footer */
body[data-page="datenschutz"] .container {
  max-height: calc(100vh - 80px - 60px);
  overflow-y: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

body[data-page="datenschutz"] .container::-webkit-scrollbar {
  display: none;
}

/* Regelwerk page - no animations, full scrolling */
body[data-page="regelwerk"] .hero,
body[data-page="regelwerk"] .section,
body[data-page="regelwerk"] .content-card {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

/* Responsive Design für Mobile und Tablet */
@media (max-width: 1024px) {
  /* Ausblenden der dekorativen Panels und Cubes auf Tablets und kleineren */
  .skew-panels,
  .floating-cubes {
    display: none !important;
  }

  /* Top-Bar Anpassungen */
  .top-bar {
    padding: 10px 15px;
  }

  .left-group {
    gap: 8px;
  }

  .site-title {
    font-size: clamp(14px, 2.5vw, 20px);
  }

  .right-group {
    gap: 8px;
  }

  .top-shortcuts {
    gap: 6px;
  }

  .top-shortcuts .shortcut {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }


  .hero-content {
    text-align: center;
  }

  .server-icon-large {
    width: clamp(120px, 30vw, 180px);
    height: clamp(120px, 30vw, 180px);
  }

  .minecraft-title {
    font-size: clamp(24px, 6vw, 42px);
  }

  .subtitle {
    font-size: clamp(12px, 3vw, 16px);
  }

  .status-badge,
  .streamer-status {
    font-size: 14px;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }

  .feature-card {
    padding: 20px;
  }

  /* CTA Section */
  .cta-section {
    padding: 40px 20px;
  }

  .server-info {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .server-address {
    text-align: center;
  }

  /* Info Section */
  .info-section {
    padding: 40px 20px;
  }

  /* FAQ */
  .faq-section {
    padding: 40px 20px;
  }

  .faq-container {
    max-width: 100%;
  }

  /* Cookie Collector */
  .cookie-collector {
    padding: 15px 10px;
  }

  .collector-card {
    padding: 12px 14px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .collector-left {
    text-align: center;
  }

  .collector-right {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  /* Weitere Anpassungen für Tablets */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .socials-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  /* Menu auf Mobile */
  .menu {
    width: 250px;
  }

  /* Scroll to Top */
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  /* Mobile spezifische Anpassungen */
  body {
    padding: 70px 0 20px 0;
  }

  .top-bar {
    padding: 8px 10px;
    min-height: 50px;
  }

  .menu-button {
    font-size: 24px;
  }

  .site-title {
    font-size: 16px;
  }

  .top-shortcuts .shortcut {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }


  .server-icon-large {
    width: 100px;
    height: 100px;
  }

  .minecraft-title {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }

  .features-grid {
    padding: 0 15px;
    gap: 15px;
  }

  .feature-card {
    padding: 15px;
  }

  .cta-section {
    padding: 30px 15px;
  }

  .info-section {
    padding: 30px 15px;
  }

  .faq-section {
    padding: 30px 15px;
  }

  .cookie-collector {
    padding: 10px 5px;
  }

  .collector-card {
    padding: 10px 12px;
  }

  .collect-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .cookie-stats #cookieCount {
    font-size: 18px;
  }
}

