body, .card, .features, .guide-container, .hero-content, p, h1, h2, h3, h4, h5, h6, ul, li {
    color: #f5f3ff !important;
}

body {
    background: #0b0c1a;
    background-image:
        linear-gradient(rgba(15,16,40,0.82), rgba(15,16,40,0.82)),
        url('images/vonita.png');
    background-repeat: no-repeat;
    background-position: center 200px;
    background-attachment: fixed;
    background-size: contain;
header {
    width: 100%;
    background: none;
    position: relative;
    z-index: 10010;
}
.header-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}
nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: auto;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}
nav a:hover {
    background: rgba(168,85,247,0.10);
    color: #a855f7;
}
@media (min-width: 901px) {
    .sidebar-toggle {
        display: none !important;
    }
    .rule-sidebar {
        left: unset !important;
        position: sticky;
        top: 120px;
        height: fit-content;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.04);
        padding: 24px 18px;
        min-width: 200px;
        z-index: 2;
    }
}

@media (min-width: 901px) {
    .sidebar-toggle {
        display: none !important;
    }
    .rule-sidebar {
        left: unset !important;
        position: sticky;
        top: 120px;
        height: fit-content;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.04);
        padding: 24px 18px;
        min-width: 200px;
        z-index: 2;
    }
}

body > *:not(.background-overlay) {
    position: relative;
    z-index: 1;

}
.rule-content h1, .rule-content h2, .rule-content > h1, .rule-content > h2 {
    color: #a855f7 !important;
    text-shadow: 0 2px 12px rgba(168,85,247,0.18), 0 1.5px 8px rgba(0,0,0,0.18);
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

.guide-bg {
    background: #0b0c1a;
    background-image: url('images/vonita.png');
    background-repeat: no-repeat;
    background-position: center 200px;
    background-attachment: fixed;
    background-size: contain;
    color: white;
    min-height: 100vh;
}

.guide-container {
    max-width: 700px;
    margin: 120px auto 40px auto;
    background: rgba(15,16,40,0.25);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
    padding: 48px 32px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.guide-container h1, .guide-container h2 {
    background: linear-gradient(90deg, #a855f7, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.guide-container ul {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.guide-container li {
    margin-bottom: 0.5em;
}
.rule-layout {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.rule-sidebar {
    min-width: 230px;
    max-width: 260px;
    background: rgba(15,16,40,0.72);
    border-radius: 20px;
    padding: 36px 22px 36px 22px;
    position: sticky;
    top: 100px;
    height: fit-content;
    box-shadow: 0 4px 24px 0 rgba(99,102,241,0.10), 0 1.5px 8px 0 rgba(168,85,247,0.08);
    margin-right: 36px;
    align-self: flex-start;
    border: 1.5px solid rgba(168,85,247,0.10);
    transition: box-shadow 0.2s, border 0.2s;
    z-index: 2;
}

.rule-sidebar h3 {
    margin-bottom: 22px;
    color: #a855f7;
    text-align: left;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-left: 4px;
}

.rule-sidebar a {
    display: block;
    margin-bottom: 8px;
    color: #f5f3ff;
    text-decoration: none;
    padding: 10px 0 10px 18px;
    border-radius: 8px 18px 18px 8px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    text-align: left;
    font-weight: 500;
    font-size: 1.08rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    position: relative;
    letter-spacing: 0.01em;
}

.rule-sidebar a:hover {
    background: linear-gradient(90deg, rgba(168,85,247,0.10) 0%, rgba(99,102,241,0.10) 100%);
    color: #a855f7;
    border-left: 3px solid #a855f7;
    box-shadow: 0 2px 12px 0 rgba(168,85,247,0.08);
}
.rule-sidebar a.active {
    background: #2a2250;
    color: #a855f7;
}

.rule-content {
    flex: 1;
    max-width: 820px;
    background: none;
    border-radius: 22px;
    padding: 48px 40px 48px 40px;
    box-shadow: 0 8px 32px 0 rgba(15,16,40,0.18), 0 1.5px 8px 0 rgba(168,85,247,0.08);
    color: #c084fc;
    text-align: center;
        text-align: center;
    word-break: break-word;
    font-size: 1.13rem;
    line-height: 1.7;
    border: none;
    transition: box-shadow 0.2s;
    margin-bottom: 32px;
    /* kein Overlay mehr */
}

.rule-section h2 {
    text-align: center;
    color: #a855f7;
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding-left: 2px;
    text-shadow: 0 2px 12px rgba(168,85,247,0.10), 0 1.5px 8px rgba(0,0,0,0.10);
}

.rule-section ul {
    margin: 0 0 12px 0;
    max-width: 700px;
    padding-left: 24px;
    list-style: none;
}
.rule-section ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
    line-height: 1.7;
}
.rule-section ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(90deg,#a855f7,#6366f1);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(168,85,247,0.18);
}

.rule-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


header {
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0.5vw;
    min-height: 48px;
    backdrop-filter: blur(18px);
    background: linear-gradient(to top, rgba(15,16,40,0.95) 80%, rgba(15,16,40,0.85) 100%);
    z-index: 10001;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.22);
    gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo {
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    -webkit-background-clip: text;
        background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #a855f7;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.15), transparent 40%),
        linear-gradient(160deg, rgba(11,12,26,0.85), rgba(20,22,46,0.85));
    animation: backgroundMove 12s infinite alternate ease-in-out;
    z-index: 1;
}



.hero h1 {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 20px;
}

.hero span {
    background: linear-gradient(90deg, #a855f7, #6366f1);
        -webkit-background-clip: text;
        background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(16px, 1.3vw, 22px);
    margin-bottom: 40px;
    opacity: 0.9;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 50px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.primary {
    background: linear-gradient(90deg, #a855f7, #6366f1);
    color: white;
}

.secondary {
    background: #5865F2;
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 120px 8%;
    background: #11122a;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card h3 {
    margin-bottom: 15px;
    color: #a855f7;
}

footer {
    text-align: center;
    padding: 40px;
    background: #0d0e20;
    opacity: 0.8;
}



@media (max-width: 900px) {
    body {
        padding-top: 60px;
    }
    header {
        min-height: 56px;
        padding: 0 1vw;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22);
    }
    nav {
        position: fixed;
        top: 0;
        right: -100vw;
        flex-direction: column;
        background: #11122a;
        padding: 4vw 0;
        width: 70vw;
        min-width: 180px;
        max-width: 100vw;
        height: 100vh;
        transition: right 0.4s;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        border-radius: 0 0 18px 18px;
        z-index: 10002;
        gap: 0;
        overflow-y: auto;
    }
    nav a {
        padding: 4vw 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        margin: 0;
        font-size: 1.1rem;
    }
    nav.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
    }
    .header-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 2vw;
    }
    .hero {
        height: auto;
        min-height: 50vh;
        padding: 12vw 0 8vw 0;
    }
    .hero-content {
        padding: 0 4vw;
    }
    .hero h1 {
        font-size: clamp(1.3rem, 6vw, 2.2rem);
    }
    .hero p {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    .features {
        padding: 8vw 2vw;
        gap: 4vw;
        grid-template-columns: 1fr;
    }
    .card {
        padding: 6vw 2vw;
        font-size: 1rem;
    }
    footer {
        padding: 6vw 2vw;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 48px;
    }
    header {
        min-height: 44px;
        padding: 0 0.5vw;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.24);
    }
    nav {
        width: 100vw;
        left: 0;
        right: -100vw;
        border-radius: 0 0 18px 18px;
        min-width: unset;
        height: 100vh;
    }
    nav.active {
        right: 0;
    }
    .menu-toggle {
        font-size: 2rem;
    }
    .hero {
        padding-top: 60px;
    }
    .hero h1 {
        font-size: clamp(1rem, 8vw, 1.5rem);
    }
    .hero-content {
        padding: 0 1vw;
    }
    .features {
        padding: 4vw 0 24px 0;
        gap: 2vw;
    }
    .card {
        padding: 4vw 1vw;
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    .buttons {
        gap: 18px;
        margin-top: 18px;
    }
    footer {
        font-size: 0.85rem;
    }
}

.hero-content, .features, .card, footer, header, nav {
    position: relative;
    z-index: 3;
}
}