/* ==========================================
   ECLYPSE ROLEPLAY — CSS
   Palette: Deep black, dark purple, electric violet, white
   ========================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black:      #0a0a0f;
  --dark:       #0f0f1a;
  --purple-deep:#1a0a2e;
  --purple:     #7c3aed;
  --violet:     #a855f7;
  --violet-glow:#c084fc;
  --orange:     #f0813d;
  --white:      #f0eeff;
  --silver:     #b4b0cc;
  --card-bg:    rgba(124, 58, 237, 0.07);
  --card-border:rgba(168, 85, 247, 0.18);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -ms-overflow-style: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--violet);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: color 0.25s ease;
  letter-spacing: 0.03em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links .cta {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-links .cta:hover {
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  z-index: 1001;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 6% 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
              var(--black);
  overflow: hidden;
  z-index: 1;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
  animation: none;
  opacity: 0.8;
}

@keyframes pulse-glow {
  from { opacity: 0.6; transform: translate(-50%, -60%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%, -60%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-logo-wrap {
  margin-bottom: 28px;
}

.hero-logo {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 80px rgba(124, 58, 237, 0.2);
  transform: translateZ(0);
  animation: none;
}

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

.hero-tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--violet);
  display: inline-block;
  position: relative;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--silver);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 60px;
  padding: 16px 36px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--silver);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(168, 85, 247, 0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.7), transparent);
  margin: 0 auto;
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0; transform: scaleY(0.3); }
  50%       { opacity: 1; transform: scaleY(1); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(88, 101, 242, 0.6);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.features {
  position: relative;
  z-index: 1;
  padding: 110px 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
  border-color: rgba(168, 85, 247, 0.45);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--silver);
}

.about {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.06) 50%, transparent 100%);
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 12px;
}

.about-visual {
  flex: 0 0 340px;
}

.about-card {
  background: rgba(168, 85, 247, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.15);
}

.about-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.about-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.about-card-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-server-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.about-server-status {
  font-size: 0.78rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: none;
}

@keyframes blink-dot {
  0%   { opacity: 1; }
  50%  { opacity: 0.35; }
  100% { opacity: 1; }
}

.about-card-stats {
  display: flex;
  justify-content: space-around;
  padding: 22px 16px;
}

.astat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.astat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet);
}

.astat-key {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.join {
  position: relative;
  z-index: 1;
  padding: 120px 6%;
  text-align: center;
  overflow: hidden;
}

.join-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.join-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.join-content .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.join-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
}

.join-content > p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 40px;
}

.join-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.join-ip {
  font-size: 0.85rem;
  color: var(--silver);
}

.join-ip code {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--violet);
  background: rgba(168, 85, 247, 0.12);
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  letter-spacing: 0.06em;
}

footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  padding: 40px 6%;
  z-index: 1;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: rgba(180, 176, 204, 0.45);
  max-width: 500px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    flex-direction: column;
    gap: 50px;
  }

  .about-visual {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    border-radius: 14px;
    padding: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

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

  .pdf-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pdf-topbar-right {
    width: 100%;
  }

  .pdf-topbar-right .btn {
    flex: 1;
    justify-content: center;
  }

  .pdf-iframe {
    height: 500px;
  }
}

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

  .hero-logo {
    width: 85px;
    height: 85px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .join-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.license-hidden *:not(#license-overlay):not(#license-overlay *) {
    visibility: hidden;
}

.loader {
    color: white;
    font-size: 24px;
    font-family: Orbitron, sans-serif;
}

.loader::after {
    content: "";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% { content: ""; }
    33% { content: "."; }
    66% { content: ".."; }
    100% { content: "..."; }
}

#license-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#license-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#license-overlay .box {
    position: relative;
    z-index: 2;
    width: min(520px, 90%);
    padding: 32px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.25);
    text-align: center;
}

#license-overlay .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--violet);
    margin-bottom: 10px;
}

#license-overlay .text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--silver);
    line-height: 1.6;
    margin-bottom: 18px;
}

#license-overlay .contact {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    font-size: 13px;
    color: var(--white);
}

#license-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.regels {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.regels-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pdf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px 12px 0 0;
  padding: 16px 22px;
  flex-wrap: wrap;
}

.pdf-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--violet);
}

.pdf-topbar-left svg {
  flex-shrink: 0;
  stroke: var(--violet);
}

.pdf-title {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.pdf-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--silver);
  margin-top: 2px;
}

.pdf-topbar-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.pdf-viewer-wrap {
  position: relative;
  width: 100%;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #0d0d18;
}

.pdf-iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: none;
}

.pdf-fallback {
  padding: 40px;
  text-align: center;
  color: var(--silver);
  font-size: 0.9rem;
}

.pdf-fallback a {
  color: var(--violet);
  text-decoration: underline;
}

.pdf-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--silver);
  text-align: center;
}

.pdf-note a {
  color: var(--violet);
  text-decoration: none;
}

.pdf-note a:hover {
  text-decoration: underline;
}

.team-section {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
}

.team-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.team-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.team-tab {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--silver);
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.team-tab:hover {
  color: var(--white);
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.08);
}

.team-tab.active {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

#team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#team-grid .team-card {
  width: 180px;
  flex-shrink: 0;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

.team-avatar-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.35);
  overflow: hidden;
  background: rgba(124, 58, 237, 0.15);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.team-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.team-role {
  font-size: 0.7rem;
  color: var(--violet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--silver);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.team-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.team-error {
  text-align: center;
  padding: 40px;
  color: var(--silver);
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 80, 80, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  #team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.soll-section {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.soll-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.soll-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--silver);
}

.soll-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.soll-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.soll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.soll-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.soll-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.req {
  color: var(--violet);
}

.soll-optional {
  color: var(--silver);
  font-weight: 400;
  font-size: 0.78rem;
}

.soll-field input,
.soll-field select,
.soll-field textarea {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.soll-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.soll-field select option {
  background: var(--dark);
  color: var(--white);
}

.soll-field input::placeholder,
.soll-field textarea::placeholder {
  color: var(--silver);
  opacity: 0.5;
}

.soll-field input:focus,
.soll-field select:focus,
.soll-field textarea:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.soll-field textarea {
  resize: vertical;
  min-height: 100px;
}

.soll-char-count {
  font-size: 0.72rem;
  color: var(--silver);
  text-align: right;
  margin-top: -4px;
}

.soll-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
}

.soll-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.soll-status {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.soll-status--success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.soll-status--error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.soll-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}

.soll-info-card {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 12px;
  padding: 22px;
}

.soll-info-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.soll-requirements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soll-requirements li {
  font-size: 0.85rem;
  color: var(--silver);
  padding-left: 18px;
  position: relative;
}

.soll-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 700;
}

.soll-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: steps;
}

.soll-steps li {
  font-size: 0.85rem;
  color: var(--silver);
  padding-left: 26px;
  position: relative;
  counter-increment: steps;
}

.soll-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  top: 1px;
}

@media (max-width: 900px) {
  .soll-layout {
    grid-template-columns: 1fr;
  }

  .soll-info {
    position: static;
  }
}

@media (max-width: 600px) {
  .soll-row {
    grid-template-columns: 1fr;
  }
}

.soll-functies-status {
  font-size: 0.78rem;
  margin-top: -4px;
}

.nieuws-section {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.nieuws-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nieuws-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.nieuws-tab {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--silver);
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nieuws-tab:hover {
  color: var(--white);
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.08);
}

.nieuws-tab.active {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

.updates-bar {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
  display: none;
}

.updates-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.updates-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.updates-count {
  font-size: 0.72rem;
  color: var(--silver);
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(168, 85, 247, 0.05);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.update-item:hover {
  background: rgba(168, 85, 247, 0.12);
}

.update-datum {
  font-size: 0.72rem;
  color: var(--muted, #6b6880);
  white-space: nowrap;
  flex-shrink: 0;
}

.update-titel {
  font-size: 0.87rem;
  color: var(--white);
  font-weight: 500;
}

.nieuws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nieuws-leeg-filter {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--silver);
  padding: 40px;
  font-size: 0.9rem;
}

.nieuws-meer-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.nieuws-meer-btn {
  font-size: 0.85rem;
  padding: 11px 26px;
}

.nieuws-card {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nieuws-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

.nieuws-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: rgba(124, 58, 237, 0.1);
  flex-shrink: 0;
  position: relative;
}

.nieuws-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}

.nieuws-card-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 5px;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nieuws-badge--algemeen {
  background: rgba(124, 58, 237, 0.88);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.nieuws-badge--update {
  background: rgba(234, 179, 8, 0.92);
  color: #1a1404;
  border: 1px solid rgba(234, 179, 8, 0.5);
}

.nieuws-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nieuws-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nieuws-datum {
  font-size: 0.72rem;
  color: var(--muted, #6b6880);
}

.nieuws-auteur {
  font-size: 0.72rem;
  color: var(--violet);
}

.nieuws-titel {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.nieuws-excerpt {
  font-size: 0.83rem;
  color: var(--silver);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.nieuws-lees-meer {
  font-size: 0.8rem;
  color: var(--violet);
  font-weight: 600;
  margin-top: 4px;
}

.nieuws-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--silver);
  font-size: 0.9rem;
}

.nieuws-skeleton { pointer-events: none; }

.skeleton-block {
  background: linear-gradient(90deg, rgba(168,85,247,0.08) 25%, rgba(168,85,247,0.15) 50%, rgba(168,85,247,0.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(168,85,247,0.08) 25%, rgba(168,85,247,0.15) 50%, rgba(168,85,247,0.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.w60  { width: 60%; }
.skeleton-line.w80  { width: 80%; }
.skeleton-line.w100 { width: 100%; }

.nieuws-skeleton-inline {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(168,85,247,0.06) 25%, rgba(168,85,247,0.12) 50%, rgba(168,85,247,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.post-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.post-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.post-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(780px, 92vw);
  max-height: 85vh;
  background: var(--dark);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  overflow: hidden;
  overflow-y: auto;
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  scrollbar-width: none;
}

.post-modal::-webkit-scrollbar { display: none; }

.post-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

.post-modal-sluit {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.post-modal-sluit:hover {
  background: rgba(168, 85, 247, 0.3);
}

.post-modal-hero {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  margin-top: -52px;
}

.post-modal-content {
  padding: 28px 32px 36px;
}

.post-modal-cats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.post-modal-cat {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 5px;
  line-height: 1;
  background: rgba(124, 58, 237, 0.88);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.post-modal-cat.nieuws-badge--update {
  background: rgba(234, 179, 8, 0.92);
  color: #1a1404;
  border: 1px solid rgba(234, 179, 8, 0.5);
}

.post-modal-titel {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-modal-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--silver);
  opacity: 0.7;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.post-modal-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--silver);
}

.post-modal-body h1,
.post-modal-body h2,
.post-modal-body h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--white);
  margin: 24px 0 12px;
}

.post-modal-body p {
  margin-bottom: 16px;
  color: var(--silver);
}

.post-modal-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

.post-modal-body a {
  color: var(--violet);
  text-decoration: underline;
}

.post-modal-body ul,
.post-modal-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.post-modal-body li {
  margin-bottom: 6px;
  color: var(--silver);
}

.post-modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 20px;
  color: var(--silver);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nieuws-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nieuws-grid { grid-template-columns: 1fr; }
  .post-modal-content { padding: 20px; }
  .post-modal-hero { height: 180px; }
  .update-item { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.status-section {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
}

.status-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.status-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.status-main-card {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

.status-overall {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.status-check-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(168, 85, 247, 0.15);
  color: var(--violet);
}

.status-check-icon--ok {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.status-check-icon--issue {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.status-overall h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.status-update-time {
  font-size: 0.78rem;
  color: var(--silver);
  opacity: 0.7;
}

.status-items {
  display: flex;
  flex-direction: column;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.status-item:last-child {
  border-bottom: none;
}

.status-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--white);
}

.status-icon {
  font-size: 1.1rem;
}

.status-badge-online {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
}

.status-badge-offline {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.02em;
}

.status-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-players-card {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  padding: 24px;
}

.status-players-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 16px;
}

.status-player-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--violet);
  margin-bottom: 14px;
}

.status-player-bar {
  width: 100%;
  height: 8px;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.status-player-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  border-radius: 8px;
  transition: width 0.6s ease;
}

.status-player-note {
  font-size: 0.78rem;
  color: var(--silver);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .status-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .status-item {
    padding: 14px 18px;
  }

  .status-overall {
    padding: 18px;
  }
}