/* --- Basis-Styling & Variablen --- */
:root {
    --bg-dark: #0b0710;
    --bg-panel: #180e22;
    --primary-purple: #7b2cbf;
    --light-purple: #9d4edd;
    --text-main: #e0e0e0;
    --text-muted: #a09eb0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Hintergrund-Partikel Animation --- */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.bg-particles li {
    position: absolute;
    list-style: none;
    border-radius: 50%;
    width: 5px; 
    height: 5px;
    background: rgba(157, 78, 221, 0.4); 
    animation: animateParticles 25s linear infinite;
    bottom: -150px;
}

.bg-particles li:nth-child(1) { left: 25%; width: 6px; height: 6px; animation-delay: 0s; }
.bg-particles li:nth-child(2) { left: 10%; width: 3px; height: 3px; animation-delay: 2s; animation-duration: 12s; }
.bg-particles li:nth-child(3) { left: 70%; width: 4px; height: 4px; animation-delay: 4s; }
.bg-particles li:nth-child(4) { left: 40%; width: 8px; height: 8px; animation-delay: 0s; animation-duration: 18s; }
.bg-particles li:nth-child(5) { left: 65%; width: 3px; height: 3px; animation-delay: 0s; }
.bg-particles li:nth-child(6) { left: 75%; width: 7px; height: 7px; animation-delay: 3s; }
.bg-particles li:nth-child(7) { left: 35%; width: 5px; height: 5px; animation-delay: 7s; }
.bg-particles li:nth-child(8) { left: 50%; width: 4px; height: 4px; animation-delay: 15s; animation-duration: 45s; }
.bg-particles li:nth-child(9) { left: 20%; width: 3px; height: 3px; animation-delay: 2s; animation-duration: 35s; }
.bg-particles li:nth-child(10) { left: 85%; width: 6px; height: 6px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animateParticles {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* --- Layout Helfer --- */
.hidden { display: none !important; }

/* --- Navigation --- */
nav {
    background-color: var(--bg-panel);
    border-bottom: 2px solid var(--primary-purple);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover, nav a.active { color: var(--light-purple); }

/* --- Startseite (Hero) --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(46, 16, 69, 0.5) 0%, transparent 80%);
}

.banner-logo {
    max-width: 600px;
    width: 100%;
    filter: drop-shadow(0 0 25px rgba(157, 78, 221, 0.5));
    margin-bottom: 30px;
}

.server-ip-box {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-purple);
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-purple);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.server-ip-box:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.05);
}

.copy-hint { margin-top: 15px; color: var(--text-muted); font-size: 0.95rem; }

/* --- Container & Inhalt --- */
.container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.flex-column { flex-direction: column; align-items: stretch; }

.info-text h2 { color: var(--light-purple); font-size: 2.5rem; margin-bottom: 15px; }
.info-text p { color: var(--text-muted); font-size: 1.1rem; }

.server-icon { flex: 0 0 300px; }
.server-icon img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3); }

/* --- Regelwerk --- */
.rules-section h2 { text-align: center; color: var(--light-purple); font-size: 2.5rem; margin-bottom: 40px; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 25px; }

.rule-box {
    background-color: var(--bg-panel);
    border-left: 4px solid var(--primary-purple);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease;
}

.rule-box:hover { transform: translateY(-5px); border-left-color: var(--light-purple); }
.rule-box h3 { color: white; margin-top: 0; font-size: 1.3rem; border-bottom: 1px solid rgba(157, 78, 221, 0.2); padding-bottom: 12px; }
.rule-box ul { list-style: none; padding-left: 0; }
.rule-box ul li { margin-bottom: 12px; color: var(--text-muted); }
.rule-box ul li strong { color: var(--light-purple); }

/* --- Discord & Shop Sektionen --- */
.discord-section h2, .coming-soon-box h1 { text-align: center; color: var(--light-purple); font-size: 2.5rem; }
.discord-box { text-align: center; padding: 50px 30px; max-width: 600px; margin: 0 auto; }
.discord-btn {
    background-color: #5865F2;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}
.discord-btn:hover { background-color: #4752C4; transform: translateY(-3px); }

.coming-soon-box { text-align: center; padding: 80px 20px; }
.coming-soon-desc { color: var(--text-muted); font-size: 1.3rem; max-width: 600px; margin: 20px auto; }
.icon-large { font-size: 5rem; margin-bottom: 20px; }

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-panel);
    color: var(--text-muted);
    border-top: 1px solid var(--primary-purple);
    margin-top: 80px;
}

@media (max-width: 768px) {
    .container:not(.flex-column) { flex-direction: column; text-align: center; }
    .rules-grid { grid-template-columns: 1fr; }
}

