* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050816;
    --panel: rgba(8, 13, 27, 0.94);
    --panel-2: rgba(12, 18, 34, 0.92);
    --border: rgba(49, 76, 140, 0.2);
    --blue: #1677ff;
    --blue-2: #2771ff;
    --text: #ffffff;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, rgba(16, 40, 100, 0.35), transparent 35%),
        linear-gradient(180deg, var(--bg) 0%, #04070f 100%);
    color: var(--text);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* HEADER */

.header {
    height: 84px;
    padding: 0 28px;
    background: rgba(3, 6, 17, 0.96);
    border-bottom: 1px solid rgba(40, 80, 180, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex: 1;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 18px 6px 26px;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after,
.nav-home::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: #1677ff;
    box-shadow: 0 0 8px rgba(22, 119, 255, 0.9);
    transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-home:hover,
.nav-home.active {
    color: #2d8cff;
    text-shadow: 0 0 12px rgba(45, 140, 255, 0.55);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-home:hover::after,
.nav-home.active::after {
    width: 78%;
}

.nav-home-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(45, 140, 255, 0.65));
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(8, 13, 27, 0.98);
    border: 1px solid rgba(49, 76, 140, 0.25);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 2000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(22, 119, 255, 0.15);
    color: #2d8cff;
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
    display: block;
}

.nav-dropdown-wide .dropdown-menu {
    min-width: 150px;
}

/* Gesetzbuch: 1. Ebene mit zwei Punkten */
.dropdown-laws {
    display: none;
    gap: 12px;
    padding: 12px;
    min-width: 150px;
}

.nav-dropdown-wide:hover > .dropdown-menu,
.nav-dropdown-wide:focus-within > .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.submenu-group {
    position: relative;
}

.submenu-group::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 15px;
    height: 100%;
}

.submenu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu-title:hover {
    background: rgba(22, 119, 255, 0.15);
    color: #2d8cff;
}

.submenu-title span {
    font-size: 12px;
    opacity: 0.85;
}

/* 2. Ebene rechts daneben */
.submenu-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    min-width: 210px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(8, 13, 27, 0.98);
    border: 1px solid rgba(49, 76, 140, 0.25);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 2100;
}

.submenu-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu-menu a:hover {
    background: rgba(22, 119, 255, 0.15);
    color: #2d8cff;
}

.submenu-group:hover > .submenu-menu,
.submenu-group:focus-within > .submenu-menu {
    display: block;
}

.login-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(180deg, var(--blue-2) 0%, #1450d6 100%);
    border: 1px solid rgba(68, 123, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(14, 38, 97, 0.6), 0 8px 20px rgba(11, 37, 110, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.discord-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* HERO */

.hero-shell {
    position: relative;
    width: 100%;
    min-height: 850px;
    padding-top: 18px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/background.png") center center / cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 22, 0.88) 0%,
            rgba(5, 8, 22, 0.55) 28%,
            rgba(5, 8, 22, 0.18) 48%,
            rgba(5, 8, 22, 0) 62%
        ),
        linear-gradient(
            180deg,
            rgba(5, 8, 22, 0.12) 0%,
            rgba(5, 8, 22, 0.22) 45%,
            rgba(5, 8, 22, 0.72) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(620px, 100%);
    padding-top: 64px;

    margin-left: calc((100% - min(1500px, calc(100% - 60px))) / 2);
}

.hero-logo {
    width: 580px;
    max-width: 100%;
    margin-bottom: 0;
    filter: drop-shadow(0 0 18px rgba(38, 123, 255, 0.45));
    position: relative;
    z-index: 4;
}

.hero-slogan {
    width: 450px;
    max-width: 100%;
    height: auto;
    margin-top: -5px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 18px rgba(20, 90, 255, 0.25));
    transform: scaleX(1.10);
    transform-origin: left center;
    position: relative;
    z-index: 4;
}

.hero-text {
    max-width: 560px;
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 4;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 4;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    padding: 0 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(180deg, var(--blue-2) 0%, #1254da 100%);
    box-shadow: 0 8px 22px rgba(10, 52, 160, 0.35);
}

.btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
}

/* STATUS BAR */

.status-bar {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 5;

    width: min(1500px, calc(100% - 60px));
    height: 92px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    border-radius: 18px;
    background: rgba(12, 18, 34, 0.92);
    border: 1px solid rgba(52, 87, 163, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 0 12px;
}

.status-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.status-item span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: rgba(164, 177, 204, 0.95);
    margin-bottom: 6px;
    line-height: 1;
}

.status-item strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.1;
    white-space: nowrap;
}

.status-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    margin: 0 42px;
}

.status-action {
    margin-left: 35px;

    height: 56px;
    min-width: 200px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: #4fa0ff;
    font-size: 14px;
    font-weight: 800;

    border: 1px solid rgba(30, 105, 255, 0.45);
    background: rgba(8, 20, 54, 0.95);
    box-shadow: inset 0 0 0 1px rgba(21, 52, 120, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.status-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.status-action img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* SECTIONS */

.guide,
.news,
.features {
    width: min(1500px, calc(100% - 60px));
    margin: 30px auto 0;
}

.guide h2,
.news h2,
.features h2 {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.guide h2::after,
.news h2::after,
.features h2::after {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 8px rgba(22, 119, 255, 0.9);
}

.guide-grid,
.news-grid,
.features-grid,
.footer-grid {
    display: grid;
    gap: 18px;
}

.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.guide-card,
.news-card,
.feature-card,
.footer-column {
    border-radius: 18px;
    border: 1px solid rgba(49, 76, 140, 0.2);
    background: rgba(8, 13, 27, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.guide-card {
    min-height: 180px;
    padding: 28px;
}

.guide-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    overflow: hidden;
}

.guide-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.guide-card h3,
.news-card h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.guide-card p {
    color: rgba(215, 224, 242, 0.85);
    line-height: 1.6;
    font-size: 15px;
}

.guide-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.news-card {
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 18px;
}

.news-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 119, 255, 0.15);
    color: #7db4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.news-content p {
    color: rgba(215, 224, 242, 0.85);
    line-height: 1.6;
    font-size: 15px;
}

.feature-card {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 16px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.4;
    flex-direction: column;
    gap: 10px;
}

.feature-card p {
    font-weight: 400;
    font-size: 14px;
    color: rgba(215, 224, 242, 0.85);
}

/* FOOTER */

.footer {
    width: min(1500px, calc(100% - 60px));
    margin: 34px auto 40px;
}

.footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-column {
    min-height: 180px;
    padding: 24px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
    color: rgba(215, 224, 242, 0.85);
}

.footer-column a {
    text-decoration: none;
    color: rgba(215, 224, 242, 0.85);
}

.footer-bottom {
    margin-top: 18px;
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(215, 224, 242, 0.65);
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .status-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: 18px;
    }

    .status-button {
        grid-column: 1 / -1;
        min-height: 52px;
    }

    .guide-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-shell {
        min-height: 720px;
    }

    .hero-content {
        padding-left: 44px;
        padding-top: 48px;
    }
}

@media (max-width: 900px) {
    .header {
        height: auto;
        padding: 18px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navigation {
        width: 100%;
        order: 3;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 6px;
    }

    .login-area {
        width: 100%;
        order: 2;
        justify-content: center;
    }

    .hero-shell {
        min-height: 700px;
        padding-bottom: 150px;
    }

    .hero-content {
        width: 100%;
        padding: 38px 18px 0;
    }

    .hero-text {
        max-width: 100%;
        font-size: 16px;
    }

    .status-bar {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        padding-top: 10px;
    }

    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .guide,
    .news,
    .features,
    .footer {
        width: calc(100% - 24px);
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .hero-shell {
        min-height: 660px;
    }

    .hero-logo {
        width: min(360px, 100%);
    }

    .hero-slogan {
        width: min(420px, 100%);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .discord-login,
    .status-button a {
        width: 100%;
    }
}