@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #7289da;
    --primary-dark: #5865f2;
    --background: #0f1729;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --nav-color: #b8c7ff;
    --nav-hover: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Erweiterte Sternenfeld Animation mit Schweif */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(1.5px 1.5px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 40px 70px, #b8c7ff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 90px 40px, #7289da, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #b8c7ff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars-move 20s linear infinite;
    opacity: 0.8;
    z-index: 1;
}

/* Sternenschweif Animation */
.comet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.comet::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 
        0 0 40px 3px rgba(184, 199, 255, 0.9),
        0 0 70px 7px rgba(114, 137, 218, 0.4);
    animation: comet 6s linear infinite;
}

.comet:nth-child(2)::before {
    animation-delay: 3s;
    animation-duration: 8s;
    opacity: 0.6;
}

.comet:nth-child(3)::before {
    animation-delay: 5s;
    animation-duration: 10s;
    opacity: 0.5;
}

@keyframes comet {
    0% {
        transform: translate(-50%, -50%) rotate(240deg) translateX(-100vw);
        width: 5px;
    }
    30% {
        width: 5px;
    }
    70% {
        width: 80px;
        box-shadow: 
            0 0 40px 3px rgba(184, 199, 255, 0.9),
            0 0 70px 7px rgba(114, 137, 218, 0.4);
    }
    100% {
        transform: translate(-50%, -50%) rotate(240deg) translateX(100vw);
        width: 5px;
    }
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.header {
    background: linear-gradient(to bottom, 
        rgba(15, 23, 41, 0.9) 0%,
        rgba(15, 23, 41, 0.7) 100%
    );
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    clip-path: polygon(
        0% 0%,
        2% 10%,
        98% 10%,
        100% 0%,
        98% 100%,
        85% 90%,
        15% 90%,
        2% 100%
    );
    border: 1px solid rgba(184, 199, 255, 0.1);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 4rem;
    padding: 1.5rem 4rem;
    position: relative;
}

.nav-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.nav-link {
    position: relative;
    color: var(--nav-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    clip-path: polygon(
        10% 0%,
        90% 0%,
        100% 50%,
        90% 100%,
        10% 100%,
        0% 50%
    );
    overflow: hidden;
}

.nav-link:hover {
    color: var(--nav-hover);
    border: 1px solid rgba(184, 199, 255, 0.3);
    background: linear-gradient(180deg,
        rgba(184, 199, 255, 0.1) 0%,
        rgba(114, 137, 218, 0.05) 100%
    );
    box-shadow: 0 0 15px rgba(184, 199, 255, 0.2);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: flex-end;
}

.server-status {
    color: var(--nav-color);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.server-status:hover {
    color: var(--nav-hover);
}

.server-status.copied {
    background: var(--primary);
    animation: flash 0.5s ease;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.server-status:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.server-status .dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #2ecc71;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px #2ecc71; }
    50% { box-shadow: 0 0 20px #2ecc71; }
}

.hero {
    padding-top: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: fadeOut 2s ease-out forwards;
    background: transparent;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), #99aab5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(114, 137, 218, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: #99aab5;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(114, 137, 218, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-button {
    background: linear-gradient(180deg,
        rgba(114, 137, 218, 1) 0%,
        rgba(84, 101, 160, 1) 100%
    );
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(114, 137, 218, 0.3);
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.2);
}

.cta-button:hover {
    background: linear-gradient(180deg,
        rgba(134, 157, 238, 1) 0%,
        rgba(114, 137, 218, 1) 100%
    );
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.4);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--nav-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    text-shadow: 0 0 10px rgba(184, 199, 255, 0.5);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(184, 199, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(184, 199, 255, 0.8); }
}

/* About Us Section Styles */
.about-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--nav-color);
    position: relative;
    display: inline-block;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8c7ff;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(114, 137, 218, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(184, 199, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(114, 137, 218, 0.2);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #b8c7ff;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    background: #5865F2 !important;
    padding: 0.8rem 1.5rem !important;
}

.discord-button:hover {
    background: #4752C4 !important;
    transform: translateY(-2px);
}

.discord-icon {
    transition: transform 0.3s ease;
}

.discord-button:hover .discord-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .nav-container {
        padding: 1rem;
    }
} 