/* Schriftarten */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@500;600;700;800;900&display=swap');

/* Farben und Werte */

:root {

    --bg: #05030a;
    --bg-2: #09050f;

    --panel: #0d0815;
    --panel-2: #110a1b;

    --purple: #d000ff;
    --purple-bright: #ef45ff;
    --purple-light: #ff75ff;

    --purple-dark: #7000a8;

    --text: #f5eff8;
    --text-soft: #d7cde0;
    --muted: #9a8da5;

    --border: rgba(208, 0, 255, 0.65);
    --border-bright: rgba(239, 69, 255, 0.95);

    --glow:
        0 0 5px rgba(208, 0, 255, 0.9),
        0 0 15px rgba(208, 0, 255, 0.55),
        0 0 35px rgba(208, 0, 255, 0.25);

    --glow-small:
        0 0 5px rgba(208, 0, 255, 0.8),
        0 0 12px rgba(208, 0, 255, 0.35);

    --green: #58ff91;

    --radius: 12px;

}

/* Grundlayout */

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

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(157, 0, 255, 0.13),
            transparent 35%
        ),
        radial-gradient(
            circle at 0% 50%,
            rgba(208, 0, 255, 0.06),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #05030a 0%,
            #08040e 50%,
            #040208 100%
        );

    color: var(--text);

    font-family: "Inter", sans-serif;

    overflow-x: hidden;

}

/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05030a;
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(
        180deg,
        var(--purple),
        var(--purple-dark)
    );

    border-radius: 10px;

    box-shadow: var(--glow-small);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-bright);
}

/* Markierter Text */

::selection {

    background: var(--purple);

    color: white;

}

/* Inhaltsbreite */

.container {

    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;

}

/* Kopfbereich */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 76px;

    background:
        rgba(5, 3, 10, 0.88);

    border-bottom:
        1px solid rgba(208, 0, 255, 0.22);

    backdrop-filter: blur(18px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}

.header.scrolled {

    background:
        rgba(5, 3, 10, 0.96);

    border-bottom-color:
        rgba(208, 0, 255, 0.5);

    box-shadow:
        0 5px 35px rgba(0, 0, 0, 0.45);

}

.header-inner {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

/* Logo */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: white;

}

.logo-mark {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid var(--purple);

    border-radius: 8px;

    color: white;

    font-family: "Orbitron", sans-serif;

    font-size: 18px;

    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            rgba(208, 0, 255, 0.3),
            rgba(112, 0, 168, 0.1)
        );

    box-shadow: var(--glow-small);

}

.logo-text {

    font-family: "Orbitron", sans-serif;

    font-weight: 900;

    font-size: 19px;

    letter-spacing: -0.5px;

}

.logo-text span {
    color: var(--purple-bright);
    text-shadow: var(--glow-small);
}

/* Navigation */

.nav {

    display: flex;

    align-items: center;

    gap: 32px;

}

.nav-link {

    position: relative;

    color: var(--muted);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition: color 0.2s ease;

}

.nav-link:hover,
.nav-link.active {

    color: white;

    text-shadow:
        0 0 10px rgba(239, 69, 255, 0.8);

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -9px;

    width: 0;

    height: 2px;

    background: var(--purple-bright);

    box-shadow: var(--glow-small);

    transition: width 0.25s ease;

}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */

.button {

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 22px;

    border-radius: 7px;

    border: 1px solid var(--purple);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}

.button:hover {

    transform: translateY(-2px);

}

.button-primary {

    color: white;

    background:
        linear-gradient(
            135deg,
            #bd00e9,
            #7d00b9
        );

    border-color: #ec48ff;

    box-shadow: var(--glow-small);

}

.button-primary:hover {

    box-shadow: var(--glow);

}

.button-secondary {

    color: white;

    background:
        rgba(208, 0, 255, 0.07);

}

.button-secondary:hover {

    background:
        rgba(208, 0, 255, 0.18);

    box-shadow: var(--glow-small);

}

.button-discord {

    min-height: 38px;

    padding: 0 17px;

    color: white;

    background:
        rgba(208, 0, 255, 0.12);

}

/* Menü-Button für Handy */

.mobile-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: rgba(208, 0, 255, 0.08);

    cursor: pointer;

    padding: 9px;

}

.mobile-menu-button span {

    display: block;

    height: 2px;

    margin: 5px 0;

    background: var(--purple-bright);

    box-shadow: var(--glow-small);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;

}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Handy-Navigation */

.mobile-nav {

    display: none;

    position: fixed;

    top: 76px;

    left: 0;

    right: 0;

    z-index: 999;

    padding: 15px 20px 20px;

    background:
        rgba(5, 3, 10, 0.98);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5);

}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {

    display: block;

    padding: 14px 5px;

    color: var(--text-soft);

    text-decoration: none;

    border-bottom:
        1px solid rgba(208, 0, 255, 0.12);

    font-weight: 700;

    font-size: 13px;

    text-transform: uppercase;

}

.mobile-nav a:hover {
    color: var(--purple-bright);
}

.mobile-nav .mobile-discord {

    margin-top: 12px;

    text-align: center;

    border:
        1px solid var(--purple);

    border-radius: 6px;

    background:
        rgba(208, 0, 255, 0.12);

}

/* Startbereich */

.hero {

    position: relative;

    min-height: 680px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-bottom:
        1px solid rgba(208, 0, 255, 0.2);

}

.hero-background {

    position: absolute;

    inset: 0;

    pointer-events: none;

}

/* Raster im Startbereich */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.25;

    background-image:

        linear-gradient(
            rgba(208, 0, 255, 0.12) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(208, 0, 255, 0.12) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );

}

/* Lichteffekte im Startbereich */

.hero-orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(70px);

}

.hero-orb-1 {

    width: 400px;

    height: 400px;

    top: -160px;

    left: 50%;

    background:
        rgba(208, 0, 255, 0.18);

}

.hero-orb-2 {

    width: 300px;

    height: 300px;

    bottom: -150px;

    right: -50px;

    background:
        rgba(112, 0, 168, 0.12);

}

/* Dekoration im Startbereich */

.hero-block {

    position: absolute;

    border: 1px solid rgba(208, 0, 255, 0.2);

    background:
        rgba(208, 0, 255, 0.025);

    transform: rotate(45deg);

}

.hero-block-1 {

    width: 120px;

    height: 120px;

    right: 13%;

    top: 20%;

}

.hero-block-2 {

    width: 60px;

    height: 60px;

    right: 25%;

    bottom: 18%;

}

.hero-block-3 {

    width: 180px;

    height: 180px;

    left: -80px;

    bottom: -80px;

}

/* Inhalt im Startbereich */

.hero-container {

    position: relative;

    z-index: 2;

}

.hero-content {

    max-width: 760px;

}

/* Serverstatus */

.status-pill {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    padding: 7px 12px;

    border:
        1px solid rgba(88, 255, 145, 0.3);

    border-radius: 999px;

    background:
        rgba(88, 255, 145, 0.05);

    color: #baffd2;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}

.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 7px var(--green),
        0 0 15px rgba(88, 255, 145, 0.6);

}

/* Text im Startbereich */

.hero-eyebrow {

    margin-bottom: 12px;

    color: var(--purple-bright);

    font-family: "Orbitron", sans-serif;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    text-shadow: var(--glow-small);

}

.hero h1 {

    margin-bottom: 20px;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(
        38px,
        6vw,
        76px
    );

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -3px;

}

.hero h1 span {

    display: block;

    color: var(--purple-bright);

    text-shadow:
        0 0 8px rgba(239, 69, 255, 0.9),
        0 0 30px rgba(208, 0, 255, 0.45);

}

.hero-description {

    max-width: 600px;

    margin-bottom: 30px;

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.7;

}

/* Buttons im Startbereich */

.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-bottom: 35px;

}

/* Server-Adresse */

.server-connect {

    width: fit-content;

}

.server-connect-label {

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

}

.server-connect-box {

    min-width: 260px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 11px 12px 11px 15px;

    border:
        1px solid var(--border);

    border-radius: 6px;

    background:
        rgba(10, 5, 17, 0.8);

    box-shadow:
        inset 0 0 20px rgba(208, 0, 255, 0.035),
        var(--glow-small);

}

.server-connect-box span {

    color: white;

    font-family: monospace;

    font-size: 14px;

    font-weight: 700;

}

.copy-button {

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(208, 0, 255, 0.5);

    border-radius: 5px;

    color: var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.1);

    cursor: pointer;

}

.copy-button svg {

    width: 15px;

    height: 15px;

}

.copy-button:hover {

    background:
        rgba(208, 0, 255, 0.25);

    box-shadow:
        var(--glow-small);

}

.copy-button.copied {

    color: var(--green);

    border-color:
        rgba(88, 255, 145, 0.5);

}

/* Abschnitte */

.server-section,
.features-section,
.rules-section,
.news-section,
.discord-section {

    position: relative;

    padding: 110px 0;

}

/* Überschriften */

.section-heading {

    max-width: 700px;

    margin-bottom: 50px;

}

.section-heading.centered {

    margin-left: auto;

    margin-right: auto;

    text-align: center;

}

.section-tag {

    margin-bottom: 10px;

    color: var(--purple-bright);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;

    text-shadow: var(--glow-small);

}

.section-heading h2 {

    margin-bottom: 13px;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(
        27px,
        4vw,
        44px
    );

    line-height: 1.15;

    font-weight: 900;

    letter-spacing: -1px;

}

.section-heading h2 span {

    color: var(--purple-bright);

    text-shadow: var(--glow-small);

}

.section-heading p {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;

}

/* Statistiken */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}

.stat-card {

    min-height: 105px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(17, 10, 27, 0.95),
            rgba(7, 4, 12, 0.95)
        );

    box-shadow:
        inset 0 0 30px rgba(208, 0, 255, 0.025);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;

}

.stat-card:hover {

    transform: translateY(-3px);

    border-color:
        var(--border-bright);

    box-shadow:
        var(--glow-small);

}

.stat-icon {

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(208, 0, 255, 0.4);

    border-radius: 8px;

    color: var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.07);

}

.stat-icon svg {

    width: 22px;

    height: 22px;

}

.online-icon {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 7px var(--green),
        0 0 18px rgba(88, 255, 145, 0.5);

}

.stat-info {

    min-width: 0;

}

.stat-label {

    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}

.stat-value {

    display: block;

    color: white;

    font-size: 17px;

    font-weight: 800;

}

.stat-value.online {
    color: var(--green);
}

/* Server-Funktionen */

.features-section {

    background:
        linear-gradient(
            180deg,
            rgba(208, 0, 255, 0.025),
            transparent
        );

}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}

.feature-card {

    position: relative;

    min-height: 280px;

    padding: 28px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(17, 10, 27, 0.95),
            rgba(7, 4, 12, 0.95)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}

.feature-card:hover {

    transform: translateY(-5px);

    border-color:
        var(--border-bright);

    box-shadow:
        var(--glow);

}

.feature-number {

    position: absolute;

    top: 17px;

    right: 20px;

    color:
        rgba(239, 69, 255, 0.18);

    font-family: "Orbitron", sans-serif;

    font-size: 28px;

    font-weight: 900;

}

.feature-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    margin-bottom: 30px;

    border:
        1px solid rgba(208, 0, 255, 0.5);

    border-radius: 9px;

    color: var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.08);

    box-shadow:
        var(--glow-small);

}

.feature-icon svg {

    width: 25px;

    height: 25px;

}

.feature-card h3 {

    margin-bottom: 10px;

    font-family: "Orbitron", sans-serif;

    font-size: 18px;

    font-weight: 800;

}

.feature-card p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

}

/* Regeln */

.rules-section {

    background:
        rgba(208, 0, 255, 0.018);

}

.rules-wrapper {

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 70px;

    align-items: start;

}

.rules-content {

    position: sticky;

    top: 110px;

}

.rules-content h2 {

    margin-bottom: 15px;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(
        28px,
        4vw,
        44px
    );

    line-height: 1.1;

}

.rules-content h2 span {

    display: block;

    color: var(--purple-bright);

    text-shadow: var(--glow-small);

}

.rules-content > p {

    max-width: 430px;

    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

}

/* Regelliste */

.rules-list {

    display: flex;

    flex-direction: column;

    gap: 9px;

}

.rule-item {

    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 15px;

    padding: 17px;

    border:
        1px solid rgba(208, 0, 255, 0.35);

    border-radius: 9px;

    background:
        rgba(13, 8, 21, 0.8);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;

}

.rule-item:hover {

    border-color:
        var(--border-bright);

    background:
        rgba(208, 0, 255, 0.07);

}

.rule-number {

    color: var(--purple-bright);

    font-family: "Orbitron", sans-serif;

    font-size: 12px;

    font-weight: 900;

    text-shadow:
        var(--glow-small);

}

.rule-item h3 {

    margin-bottom: 4px;

    font-size: 14px;

    font-weight: 800;

}

.rule-item p {

    color: var(--muted);

    font-size: 12px;

}

/* News */

.news-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;

}

.news-card {

    position: relative;

    min-height: 260px;

    display: flex;

    flex-direction: column;

    padding: 25px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(17, 10, 27, 0.95),
            rgba(7, 4, 12, 0.95)
        );

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}

.news-card:hover {

    transform: translateY(-4px);

    border-color:
        var(--border-bright);

    box-shadow:
        var(--glow-small);

}

.news-date {

    margin-bottom: 18px;

    color: var(--purple-bright);

    font-family: "Orbitron", sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

}

.news-card h3 {

    margin-bottom: 12px;

    font-family: "Orbitron", sans-serif;

    font-size: 17px;

    font-weight: 800;

}

.news-card p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

}

.news-link {

    margin-top: auto;

    padding-top: 20px;

    color: var(--purple-bright);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

}

.news-link span {

    display: inline-block;

    margin-left: 5px;

    transition:
        transform 0.2s ease;

}

.news-link:hover span {
    transform: translateX(5px);
}

/* Discord-Bereich */

.discord-section {

    padding-top: 20px;

    padding-bottom: 110px;

}

.discord-card {

    position: relative;

    min-height: 300px;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding: 50px;

    border:
        1px solid var(--border-bright);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(48, 7, 62, 0.95),
            rgba(11, 5, 17, 0.98)
        );

    box-shadow:
        0 0 30px rgba(208, 0, 255, 0.15),
        inset 0 0 70px rgba(208, 0, 255, 0.04);

}

.discord-glow {

    position: absolute;

    width: 350px;

    height: 350px;

    right: 0;

    top: 50%;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background:
        rgba(208, 0, 255, 0.18);

    filter: blur(80px);

}

.discord-content {

    position: relative;

    z-index: 2;

    max-width: 600px;

}

.discord-label {

    margin-bottom: 10px;

    color: var(--purple-bright);

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}

.discord-card h2 {

    margin-bottom: 10px;

    font-family: "Orbitron", sans-serif;

    font-size: 42px;

    font-weight: 900;

}

.discord-card p {

    max-width: 520px;

    margin-bottom: 25px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.7;

}

/* Discord-Dekoration */

.discord-decoration {

    position: absolute;

    right: 80px;

    width: 220px;

    height: 220px;

}

.discord-circle {

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(239, 69, 255, 0.3);

    border-radius: 50%;

    box-shadow:
        0 0 40px rgba(208, 0, 255, 0.15);

}

.discord-circle::before,
.discord-circle::after {

    content: "";

    position: absolute;

    border:
        1px solid rgba(239, 69, 255, 0.18);

    border-radius: 50%;

}

.discord-circle::before {
    inset: 25px;
}

.discord-circle::after {
    inset: 55px;
}

.discord-square {

    position: absolute;

    width: 75px;

    height: 75px;

    top: 72px;

    left: 72px;

    border:
        1px solid var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.12);

    transform: rotate(45deg);

    box-shadow:
        var(--glow);

}

/* Fußbereich */

.footer {

    border-top:
        1px solid rgba(208, 0, 255, 0.25);

    background:
        #040208;

}

.footer-top {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    padding: 60px 0 45px;

}

.footer-brand p {

    margin-top: 13px;

    color: var(--muted);

    font-size: 12px;

}

.footer-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-column h4 {

    margin-bottom: 5px;

    color: white;

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 1px;

}

.footer-column a {

    color: var(--muted);

    text-decoration: none;

    font-size: 11px;

    transition:
        color 0.2s ease;

}

.footer-column a:hover {

    color: var(--purple-bright);

}

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top:
        1px solid rgba(208, 0, 255, 0.12);

    color: #665c6e;

    font-size: 10px;

}

/* Ansicht für kleinere Bildschirme */

@media (max-width: 950px) {

    .nav {
        display: none;
    }

    .header-actions .button-discord {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

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

    .feature-card {
        min-height: 220px;
    }

    .rules-wrapper {
        grid-template-columns:
            1fr;

        gap: 40px;
    }

    .rules-content {
        position: static;
    }

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

    .news-card {
        min-height: 220px;
    }

    .footer-top {
        grid-template-columns:
            1fr;
    }

}

@media (max-width: 650px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header {
        height: 68px;
    }

    .mobile-nav {
        top: 68px;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

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

    .button {
        width: 100%;
    }

    .server-connect {
        width: 100%;
    }

    .server-connect-box {
        width: 100%;
        min-width: 0;
    }

    .server-section,
    .features-section,
    .rules-section,
    .news-section {
        padding: 75px 0;
    }

    .discord-section {
        padding-bottom: 75px;
    }

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

    .section-heading {
        margin-bottom: 32px;
    }

    .discord-card {
        min-height: 0;
        padding: 35px 25px;
    }

    .discord-card h2 {
        font-size: 32px;
    }

    .discord-decoration {
        opacity: 0.3;
        right: -70px;
    }

    .footer-links {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 400px) {

    .logo-text {
        font-size: 16px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .server-connect-box span {
        font-size: 12px;
    }

    .footer-links {
        grid-template-columns:
            1fr;
    }

}

/* Seite */

.rules-page {

    position: relative;

    min-height: 100vh;

    padding:
        90px 0 120px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(208, 0, 255, 0.08),
            transparent 35%
        );

}

/* Seitenüberschrift */

.rules-page-heading {

    max-width: 760px;

    margin-bottom: 35px;

}

.rules-page-heading h1 {

    margin-bottom: 15px;

    font-family: "Orbitron", sans-serif;

    font-size:
        clamp(
            38px,
            6vw,
            64px
        );

    line-height: 1;

    font-weight: 900;

    letter-spacing: -2px;

}

.rules-page-heading h1 span {

    color:
        var(--purple-bright);

    text-shadow:
        0 0 8px rgba(239, 69, 255, 0.9),
        0 0 25px rgba(208, 0, 255, 0.4);

}

.rules-page-heading p {

    max-width: 600px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.7;

}

/* Steuerung */

.rules-controls {

    display: flex;

    gap: 8px;

    margin-bottom: 15px;

}

.rules-control {

    padding:
        8px 14px;

    border:
        1px solid
        rgba(208, 0, 255, 0.35);

    border-radius: 6px;

    color:
        var(--text-soft);

    background:
        rgba(208, 0, 255, 0.05);

    font-family:
        "Inter",
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
        all 0.2s ease;

}

.rules-control:hover {

    color: white;

    border-color:
        var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.15);

    box-shadow:
        var(--glow-small);

}

/* Aufklappbare Liste */

.rules-accordion {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

/* Kategorie */

.rule-category {

    overflow: hidden;

    border:
        1px solid
        rgba(208, 0, 255, 0.38);

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(17, 8, 25, 0.98),
            rgba(7, 4, 12, 0.98)
        );

    box-shadow:
        inset 0 0 30px
        rgba(208, 0, 255, 0.018);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}

.rule-category:hover {

    border-color:
        rgba(208, 0, 255, 0.7);

}

.rule-category.open {

    border-color:
        var(--purple-bright);

    box-shadow:
        0 0 15px
        rgba(208, 0, 255, 0.12);

}

/* Kategorie-Kopf */

.rule-category-header {

    width: 100%;

    min-height: 78px;

    display: grid;

    grid-template-columns:
        50px 1fr 35px;

    align-items: center;

    gap: 15px;

    padding:
        13px 17px;

    border: none;

    color: white;

    background: transparent;

    text-align: left;

    cursor: pointer;

}

/* Symbol */

.rule-category-icon {

    width: 43px;

    height: 43px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(208, 0, 255, 0.55);

    border-radius: 7px;

    color:
        var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.08);

    font-size: 20px;

    box-shadow:
        0 0 10px
        rgba(208, 0, 255, 0.15);

    transition:
        all 0.25s ease;

}

.rule-category.open
.rule-category-icon {

    background:
        rgba(208, 0, 255, 0.18);

    box-shadow:
        var(--glow-small);

}

/* Titel */

.rule-category-title {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 11px;

}

.rule-category-number {

    color:
        rgba(239, 69, 255, 0.4);

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 10px;

    font-weight: 900;

}

.rule-category-title strong {

    color: white;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 15px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.3px;

}

.rule-category-title small {

    padding:
        3px 7px;

    border:
        1px solid
        rgba(208, 0, 255, 0.25);

    border-radius: 4px;

    color:
        var(--muted);

    background:
        rgba(208, 0, 255, 0.04);

    font-size: 9px;

    font-weight: 700;

}

/* Auf- und Zuklappen */

.rule-category-arrow {

    width: 29px;

    height: 29px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(208, 0, 255, 0.4);

    border-radius: 5px;

    color:
        var(--purple-bright);

    font-size: 20px;

    line-height: 1;

    transition:
        all 0.25s ease;

}

.rule-category.open
.rule-category-arrow {

    color: white;

    background:
        var(--purple-dark);

    border-color:
        var(--purple-bright);

    box-shadow:
        var(--glow-small);

    transform:
        rotate(45deg);

}

/* Inhalt */

.rule-category-content {

    height: 0;

    overflow: hidden;

    transition:
        height 0.3s
        cubic-bezier(
            0.4,
            0,
            0.2,
            1
        );

}

.rule-category-inner {

    padding:
        0 12px 12px;

    border-top:
        1px solid
        rgba(208, 0, 255, 0.18);

}

/* Regel */

.rule-entry {

    min-height: 46px;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        35px
        auto;

    align-items: center;

    gap: 8px;

    padding:
        8px 10px;

    border-bottom:
        1px solid
        rgba(208, 0, 255, 0.09);

    transition:
        background 0.2s ease,
        padding 0.2s ease;

}

.rule-entry:last-child {
    border-bottom: none;
}

.rule-entry:hover {

    padding-left: 14px;

    background:
        rgba(208, 0, 255, 0.055);

}

/* Regelnummer */

.rule-entry-number {

    color:
        rgba(239, 69, 255, 0.35);

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 9px;

    font-weight: 800;

}

/* Regelname */

.rule-entry-name {

    min-width: 0;

    color:
        var(--text-soft);

    font-size: 12px;

    font-weight: 500;

}

/* Pfeil */

.rule-entry-arrow {

    color:
        var(--purple-bright);

    font-size: 14px;

    font-weight: 800;

    text-align: center;

    text-shadow:
        var(--glow-small);

}

/* Strafe */

.rule-entry-punishment {

    min-width: 80px;

    padding:
        5px 9px;

    border:
        1px solid
        rgba(208, 0, 255, 0.4);

    border-radius: 4px;

    color:
        var(--purple-bright);

    background:
        rgba(208, 0, 255, 0.07);

    font-size: 10px;

    font-weight: 800;

    text-align: center;

    white-space: nowrap;

    box-shadow:
        0 0 7px
        rgba(208, 0, 255, 0.06);

}

/* Strafstufen */

.punishment-light {

    color:
        #dca9ff;

    border-color:
        rgba(180, 80, 255, 0.35);

}

.punishment-normal {

    color:
        var(--purple-bright);

    border-color:
        rgba(208, 0, 255, 0.5);

}

.punishment-medium {

    color:
        #ff57ed;

    border-color:
        rgba(255, 45, 230, 0.55);

    background:
        rgba(255, 0, 220, 0.08);

}

.punishment-heavy {

    color:
        #ff3ddf;

    border-color:
        rgba(255, 45, 220, 0.7);

    background:
        rgba(255, 0, 220, 0.12);

    box-shadow:
        0 0 9px
        rgba(255, 0, 220, 0.12);

}

.punishment-permanent {

    color:
        #ff63ff;

    border-color:
        rgba(255, 70, 255, 0.9);

    background:
        rgba(255, 0, 255, 0.15);

    box-shadow:
        0 0 12px
        rgba(255, 0, 255, 0.2);

}

/* Wichtige Regel */

.rule-category-important {

    border-color:
        rgba(255, 60, 220, 0.65);

}

.rule-category-important
.rule-category-icon {

    color:
        #ff55ed;

    border-color:
        rgba(255, 60, 220, 0.7);

    background:
        rgba(255, 0, 220, 0.1);

}

/* Laden */

.rules-loading {

    min-height: 120px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border:
        1px solid
        rgba(208, 0, 255, 0.25);

    border-radius: 9px;

    color:
        var(--muted);

    font-size: 12px;

}

.loading-spinner {

    width: 18px;

    height: 18px;

    border:
        2px solid
        rgba(208, 0, 255, 0.2);

    border-top-color:
        var(--purple-bright);

    border-radius: 50%;

    animation:
        rulesSpin 0.8s
        linear infinite;

}

@keyframes rulesSpin {

    to {
        transform: rotate(360deg);
    }

}

/* Fehler */

.rules-error {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border:
        1px solid
        rgba(255, 50, 100, 0.45);

    border-radius: 9px;

    background:
        rgba(255, 20, 70, 0.05);

}

.rules-error-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255, 50, 100, 0.6);

    border-radius: 50%;

    color:
        #ff6688;

    font-weight: 900;

}

.rules-error strong {

    display: block;

    margin-bottom: 4px;

    color: #ff6688;

    font-size: 13px;

}

.rules-error p {

    color:
        var(--muted);

    font-size: 11px;

}

/* Footer info */

.rules-footer-info {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 20px;

    padding: 18px;

    border:
        1px solid
        rgba(208, 0, 255, 0.25);

    border-radius: 9px;

    background:
        rgba(208, 0, 255, 0.035);

}

.rules-footer-icon {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border:
        1px solid
        var(--purple);

    border-radius: 50%;

    color:
        var(--purple-bright);

    font-family:
        "Orbitron",
        sans-serif;

    font-weight: 900;

    box-shadow:
        var(--glow-small);

}

.rules-footer-info strong {

    display: block;

    margin-bottom: 4px;

    color: white;

    font-size: 12px;

}

.rules-footer-info p {

    color:
        var(--muted);

    font-size: 11px;

    line-height: 1.6;

}

/* Mobile */

@media (max-width: 650px) {

    .rules-page {

        padding:
            60px 0 80px;

    }

    .rules-page-heading h1 {

        font-size: 40px;

    }

    .rules-controls {

        width: 100%;

    }

    .rules-control {

        flex: 1;

    }

    .rule-category-header {

        grid-template-columns:
            42px
            1fr
            30px;

        gap: 10px;

        min-height: 68px;

        padding:
            10px;

    }

    .rule-category-icon {

        width: 38px;

        height: 38px;

        font-size: 17px;

    }

    .rule-category-title {

        flex-wrap: wrap;

        gap: 5px 8px;

    }

    .rule-category-title strong {

        font-size: 12px;

    }

    .rule-category-title small {

        width: 100%;

        border: none;

        padding: 0;

        background: transparent;

    }

    .rule-entry {

        grid-template-columns:
            25px
            minmax(0, 1fr);

        gap: 5px;

        padding:
            11px 5px;

    }

    .rule-entry-arrow {

        display: none;

    }

    .rule-entry-punishment {

        grid-column:
            2;

        width: fit-content;

        min-width: 0;

    }

    .rule-entry:hover {

        padding-left: 8px;

    }

}


/* SHOP */

.shop-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 130px 0 60px;
}

.shop-header,
.shop-section-heading {
    text-align: center;
}

.shop-header {
    margin-bottom: 32px;
}

.shop-label {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary-glow);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-header h1 {
    margin: 16px 0 10px;
    font-size: clamp(2.3rem, 6vw, 4rem);
}

.shop-header h1 span {
    color: var(--primary-glow);
}

.shop-header p,
.shop-section-heading p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.shop-demo-notice {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 18px 22px;
    border: 1px solid #8c6b35;
    border-radius: var(--radius);
    background: var(--card);
}

.shop-demo-notice strong {
    display: block;
    margin-bottom: 6px;
    color: #f0c36b;
}

.shop-demo-notice p {
    margin: 0;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.shop-section {
    margin: 48px 0;
}

.shop-section-heading {
    margin-bottom: 26px;
}

.shop-section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.shop-section-heading p {
    margin: 0;
}

.shop-ranks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.rank-card,
.shop-panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--gradient-panel);
}

.rank-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.rank-heading {
    text-align: center;
}

.rank-name {
    margin: 0;
    color: var(--primary-glow);
    font-size: 1.65rem;
}

.rank-description,
.rank-benefit-list,
.rank-command-list {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.rank-prices h3,
.rank-benefits h3,
.rank-commands h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.rank-price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.rank-price-row:last-child {
    border-bottom: 0;
}

.rank-price-duration {
    color: var(--muted-foreground);
}

.rank-price-value {
    font-weight: 700;
    text-align: right;
}

.rank-benefit-list,
.rank-command-list {
    margin: 0;
    padding-left: 20px;
    overflow-wrap: anywhere;
}

.rank-benefit-list li::marker {
    color: var(--primary-glow);
}

.rank-empty {
    color: var(--muted-foreground);
}

.rank-note {
    margin: auto 0 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--muted-foreground);
    font-size: 0.85rem;
    text-align: center;
}

.shop-loading,
.shop-error {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.shop-loading {
    color: var(--muted-foreground);
}

.shop-error {
    color: #ffaaaa;
}

.shop-panel {
    margin-top: 28px;
}

.shop-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.shop-payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.shop-payment-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
}

.shop-small-note {
    margin-top: 18px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    text-align: center;
}

.shop-purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.shop-step {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.shop-step-number {
    color: var(--primary-glow);
    font-size: 0.85rem;
    font-weight: 800;
}

.shop-step h3 {
    margin: 10px 0 8px;
}

.shop-step p {
    margin: 0;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.shop-discord-button {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 12px 22px;
    border-radius: 9px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    color: var(--primary-foreground);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.shop-discord-button:hover {
    transform: translateY(-2px);
}

.shop-footer {
    padding-top: 28px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    text-align: center;
}

[hidden] {
    display: none !important;
}

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

    .shop-payment-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .shop-page {
        width: calc(100% - 24px);
        padding-top: 110px;
    }

    .shop-ranks,
    .shop-payment-methods,
    .shop-purchase-steps {
        grid-template-columns: 1fr;
    }

    .rank-card,
    .shop-panel {
        padding: 18px;
    }
}
