/* Body */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #0a0a2a;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    background-repeat: repeat;
    background-size: auto;
    color: #fff;
    min-height: 100vh;
}

/* FAQ */
.faq {
    margin: 2.5rem auto 1.5rem auto;
    max-width: 600px;
    background: rgba(30,40,60,0.93);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #00e6d022;
    padding: 1.5rem 1.2rem;
}
.faq h3 {
    color: #00e6d0;
    margin-bottom: 1rem;
}
.faq details {
    margin-bottom: 0.7rem;
    background: #1a2332;
    border-radius: 0.7rem;
    padding: 0.7rem 1rem;
    cursor: pointer;
    box-shadow: 0 1px 4px #0003;
    transition: background 0.2s;
}
.faq details[open] {
    background: #00e6d0;
    color: #1a2332;
}
.faq summary {
    font-weight: bold;
    font-size: 1.08rem;
    /* Dark/Light-Mode Toggle */
}
.mode-toggle {
    outline: none;
}
.faq details div {
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Community Info */
.community-info {
    background: rgba(20,30,40,0.97);
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px #00e6d022;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin: 2.5rem auto 2rem auto;
    max-width: 700px;
/* Light-Mode Toggle Button Style */
.mode-toggle.light {
    background: #f5f5f5;
    color: #222;
    border: 1px solid #bbb;
}
}
.community-info h2 {
    color: #00e6d0;
    margin-bottom: 1rem;
}
.community-list {
    list-style: none;
    padding: 0;
}
.community-list li {
    margin-bottom: 0.7rem;
}

/* Socials */
.social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin: 2.2rem 0 1.5rem 0;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background: #222c;
    text-decoration: none;
    box-shadow: 0 2px 8px #00e6d044;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-btn.discord { background: #5865F2; }
.social-btn.instagram { background: linear-gradient(45deg,#fd5949,#d6249f,#285AEB); }
.social-btn.youtube { background: #ff0000; }
.social-btn.tiktok { background: #010101; color: #00e6d0; }
.social-btn:hover {
    background: #00e6d0;
    color: #1a2332;
    transform: scale(1.06);
}
.social-info {
    background: rgba(30,40,60,0.93);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #00e6d022;
    padding: 1.5rem 1.2rem;
    max-width: 600px;
    margin: 2rem auto 1.5rem auto;
    text-align: center;
}
.social-info h2 {
    color: #00e6d0;
    margin-bottom: 1rem;
}
.social-info ul {
    list-style: none;
    padding: 0;
    color: #b2f7ef;
    font-size: 1.1rem;
}
.social-info li {
    margin-bottom: 0.7rem;
}

/* Regelwerk */
.rules {
    background: rgba(30,40,60,0.93);
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #00e6d022;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 700px;
    margin: 2.5rem auto 2rem auto;
}
.rules h2 {
    color: #00e6d0;
    margin-bottom: 1rem;
}
.rules ul {
    list-style: none;
    padding: 0;
    color: #b2f7ef;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.rules li {
    margin-bottom: 0.7rem;
}
.rules a {
    color: #4db8ff;
    text-decoration: underline;
    font-weight: bold;
}
.rules a:hover {
    color: #fff;
}
/* Hamburger Menü Separator */
.nav-sep {
    border-top: 1.5px solid #00e6d055;
    margin: 0.5rem 0 0.2rem 0;
    height: 0;
    pointer-events: none;
}
/* Server Info in Hero */
.server-info {
    margin: 1.5rem 0 2.5rem 0;
    font-size: 1.1rem;
    color: #b2f7ef;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
}
.server-ip, .server-version, .server-discord {
    background: rgba(20,30,40,0.7);
    border-radius: 1.2rem;
    padding: 0.4rem 1.2rem;
    box-shadow: 0 2px 8px #00e6d022;
    margin: 0 0.2rem;
}
.server-discord a {
    color: #4db8ff;
    text-decoration: underline;
    font-weight: bold;
}
.server-discord a:hover {
    color: #fff;
}

/* Screenshots */
.screenshots {
    text-align: center;
    margin: 2.5rem 0 2rem 0;
}
.screenshots h2 {
    color: #00e6d0;
    margin-bottom: 1.2rem;
}
.screenshot-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.screenshot-gallery img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px #0006;
    transition: transform 0.2s, box-shadow 0.2s;
}
.screenshot-gallery img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 8px 32px #00e6d088;
}

/* Join CTA */
.join-cta {
    background: linear-gradient(90deg, #00e6d0 10%, #1a2332 90%);
    color: #fff;
    text-align: center;
    padding: 2.5rem 1rem 2.5rem 1rem;
    border-radius: 2rem;
    margin: 2.5rem auto 1.5rem auto;
    max-width: 700px;
    box-shadow: 0 4px 24px #00e6d044;
}
.join-cta h2 {
    color: #1a2332;
    background: linear-gradient(90deg, #00e6d0 30%, #4db8ff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.join-cta a {
    color: #00e6d0;
    text-decoration: underline;
    font-weight: bold;
}
.join-cta a:hover {
    color: #fff;
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem 2rem 1rem;
}
.aquanova-gradient {
    background: linear-gradient(90deg, #00e6d0 30%, #4db8ff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.subtitle {
    font-size: 1.3rem;
    color: #b2f7ef;
    margin-bottom: 2.5rem;
}
.hero-btns {
    margin-bottom: 2.5rem;
}
.btn, .btn-secondary, .social-btn {
    display: inline-block;
    padding: 0.8em 2.2em;
    border-radius: 2em;
    font-size: 1.13em;
    font-weight: 600;
    background: linear-gradient(90deg, #7289da 0%, #8f5aff 100%);
    color: #fff;
    border: none;
    margin: 0.2em 0.5em 0.2em 0;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(114,137,218,0.13), 0 0 16px #8f5aff22;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
    text-decoration: none;
}
.btn:hover, .btn-secondary:hover, .social-btn:hover {
    background: linear-gradient(90deg, #8f5aff 0%, #7289da 100%);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
    box-shadow: 0 4px 16px #8f5aff44;
}
.btn-secondary {
    background: linear-gradient(90deg, #23272a 0%, #7289da 100%);
    color: #8f5aff;
    border: 2px solid #8f5aff;
}
.btn-secondary:hover {
    background: linear-gradient(90deg, #8f5aff 0%, #23272a 100%);
    color: #fff;
    border-color: #7289da;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0 2rem 0;
    flex-wrap: wrap;
}
.feature-card {
    background: rgba(30,40,60,0.97);
    border-radius: 18px;
    box-shadow: 0 4px 24px #0008;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    max-width: 320px;
    min-width: 220px;
    flex: 1 1 220px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px #00e6d088;
}
.feature-img {
    width: 70px;
    height: 100px;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px #00e6d044;
}
.feature-card h2 {
    color: #00e6d0;
    margin-bottom: 0.7rem;
}
.feature-card p {
    color: #fff;
    opacity: 0.85;
}

footer {
    background: rgba(20, 30, 40, 0.97);
    padding: 1.2rem 0;
    text-align: center;
    color: #b2f7ef;
    margin-top: 2rem;
}
.footer-content a {
    color: #00e6d0;
    text-decoration: underline;
    margin: 0 0.5rem;
    transition: color 0.2s;
}
.footer-content a:hover {
    color: #fff;
}
.hamburger {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 5px 0;
    background: #00e6d0;
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
.nav-menu {
    position: absolute;
    top: 70px;
    right: 2rem;
    background: rgba(20, 30, 40, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
    transform: translateY(-30px) scaleY(0);
    transform-origin: top;
    transition: 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    opacity: 0;
    pointer-events: none;
}
.nav-menu.open {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    pointer-events: auto;
    animation: popDown 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes popDown {
    0% {
        transform: translateY(-30px) scaleY(0.7);
        opacity: 0;
    }
    60% {
        transform: translateY(10px) scaleY(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    border-bottom: 1px solid #222c;
}
.nav-menu li:last-child {
    border-bottom: none;
}
.nav-menu a {
    display: block;
    padding: 1rem 2.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover {
    background: #00e6d0;
    color: #222;
}

/* Visual indicator for the active/current page in the hamburger menu */
.nav-menu a.current {
    background: linear-gradient(90deg, rgba(114,137,218,0.12), rgba(43,108,255,0.06));
    color: #cfe6ff;
    font-weight: 800;
    cursor: default;
    pointer-events: none;
}
/* place a small dot INSIDE the active link, before the text, so it appears next to the item */
.nav-menu a.current::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00e6d0;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}
.logo {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    font-size: 2.1em;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #7289da 0%, #8f5aff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 16px #7289da88, 0 0px 32px #8f5aff44;
    animation: gradient-move 3s linear infinite alternate;
}
@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@media (max-width: 600px) {
    .logo { font-size: 1.3rem; }
    .nav-menu a { font-size: 1rem; padding: 1rem 1.2rem; }
    header { padding: 1rem; }
}
