:root {
    --primary-color: #000000;
    --secondary-color: #0066ff;
    --accent-color: #003366;
    --text-color: #ffffff;
    --gradient: #2986ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(0, 102, 255, 0.1);
    --card-hover: rgba(0, 102, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background: rgba(241, 14, 14, 0);
    padding: 2rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between; /* Space between nav-links and button */
    align-items: center;
}

.navbar.scrolled {
    transform: translateY(-100%);
}

.navbar.scrolled-up {
    transform: translateY(0);
}

.navbar button {
    position: absolute;
    top: 34px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 12px;
    border: 3px solid;
    border-color: transparent;
    font-size: 15px;
    background: rgba(0, 60, 255, 0.15);
    border-radius: 100px;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 0 2px rgb(0, 89, 255), 0 12px 35px rgba(0, 68, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    animation: buttonFloat 3s ease-in-out infinite alternate;
}

.navbar button:hover {
    background: linear-gradient(135deg, rgb(0, 153, 255), rgba(102, 156, 255, 0.534));
    box-shadow: 0 0 0 2px rgb(0, 89, 255), 0 15px 40px rgba(0, 102, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 3px solid;
    border-color: rgb(0, 110, 255);
}

.navbar button a {
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(190, 190, 190, 0.336);
    margin: 0 auto;
}

.nav-links a {
    color: #afafaf;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #686868;
        border-radius: 20px;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-links a:hover {
        color: #fff;
        text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
        transform: translateY(-2px);
    }

    .nav-links a:hover::before {
        opacity: 0.2;
    }

    .nav-links a.active {
        color: #0066ff;
        background: rgba(0, 102, 255, 0.1);
    }

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        height: calc(100vh - 70px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 2rem 0;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--gradient);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

@media screen {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.server-stats {
    padding-bottom: 50px;
}

.stats-container {
    max-width: 2200px !important;
    margin: 0 auto;
    text-align: center;
}

.stats-container h2 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    margin-top: 5.5rem;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 4rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--card-hover);
    border-color: var(--secondary-color);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--text-color);
}

.stat-content {
    text-align: center;
}

.stat-content h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-content p {
    color: #888888;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    width: 100%;
    rgba(255, 255, 255, 0.06);
    padding: 0.75rem 2rem;
    backdrop-filter: blur(10px);
    background-color: #50505036;
    margin-top: 4rem;
    z-index: 1;
    border-top: 2px solid rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 102, 255, 0.3),
        transparent
    );
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.footer-content::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 102, 255, 0.3),
        transparent
    );
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    padding: 1rem 2rem;
}

.footer-links a {
    color: #2986ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    border-radius: 20px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0066ff, #003366);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

.footer-links a:hover::before {
    opacity: 0.2;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-brand {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--card-hover);
} 

.home-bg {
    background-image: 
    radial-gradient(3px 3px at 20px 30px, rgba(255,255,255,0.4), transparent), 
    radial-gradient(2px 2px at 40px 70px, rgba(105, 183, 255, 0.6), transparent), 
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent), 
    radial-gradient(2px 2px at 130px 80px, rgba(105, 183, 255, 0.4), transparent), 
    radial-gradient(1px 1px at 160px 30px, rgba(255, 107, 157, 0.5), transparent),
    url('../img/background.png');
}

.ueberuns-bg {
    background-image: 
    radial-gradient(3px 3px at 20px 30px, rgba(255,255,255,0.4), transparent), 
    radial-gradient(2px 2px at 40px 70px, rgba(105, 183, 255, 0.6), transparent), 
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent), 
    radial-gradient(2px 2px at 130px 80px, rgba(105, 183, 255, 0.4), transparent), 
    radial-gradient(1px 1px at 160px 30px, rgba(255, 107, 157, 0.5), transparent),
    url('../img/background.png');
}

.hero {
    height: auto;
    background-repeat: repeat, no-repeat; /* Ensure the image doesn't repeat */
    background-size: 200px 100px, cover;
    background-attachment: fixed; /* Keeps the background image fixed while scrolling */
    animation: particleWave 15s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    flex-direction: column; /* Stack content vertically */
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

@keyframes particleWave {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 200px 100px, 0 0;
    }
}



.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}


.hero-content h1 {
    font-size: 3.7rem;
    margin-bottom: 1.2rem;
    margin-top: 9.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #888;
}

.home-container {
    backdrop-filter: blur(10px);
    margin: auto;
    margin-left: 12rem;
    margin-right: 12rem;
    padding: 2.5rem 2rem;
    padding-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-container:hover {
    background: #88888841;
    transform: scale(1.04);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-container {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-container h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 1.7rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-container p {
    color: rgb(255, 249, 249);
    font-size: 1.09rem;
    line-height: 1.7;
}

.team-container h2 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    margin-top: 5.5rem;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}