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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050509;
    color: white;
    overflow-x: hidden;
}

/* Hintergrund */

.background {
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(90, 50, 255, 0.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0, 200, 255, 0.2),
            transparent 30%
        ),
        #050509;
}

.background::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

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

/* Header */

header {
    width: 100%;
    height: 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 8%;

    position: fixed;
    top: 0;
    z-index: 10;

    background: rgba(5, 5, 9, 0.65);
    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: #7c5cff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag {
    width: 26px;
    height: 18px;
    object-fit: cover;
    cursor: pointer;
    display: block;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}

.lang-switcher a:hover .flag {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.lang-switcher a.active .flag {
    outline: 2px solid rgba(124,92,255,0.6);
    box-shadow: 0 10px 30px rgba(124,92,255,0.12);
}

/*Discord*/

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

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

/* Hero */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 20px 80px;
}

.badge {
    padding: 10px 18px;

    border-radius: 100px;

    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.35);

    color: #b9aaff;

    font-size: 13px;
    font-weight: bold;

    margin-bottom: 25px;

    box-shadow: 0 0 30px rgba(124, 92, 255, 0.15);
}

h1 {
    font-size: clamp(55px, 9vw, 110px);
    line-height: 0.95;
    letter-spacing: -5px;

    margin-bottom: 30px;
}

h1 span {
    background: linear-gradient(
        90deg,
        #7c5cff,
        #00d4ff,
        #7c5cff
    );

    background-size: 200%;

    -webkit-background-clip: text;
    color: transparent;

    animation: gradient 4s infinite linear;
}

@keyframes gradient {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

.description {
    max-width: 600px;

    color: #999;

    font-size: 18px;
    line-height: 1.6;

    margin-bottom: 50px;
}

/* Countdown */

.countdown {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 50px;
}

.time-box {
    width: 125px;
    height: 125px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(15px);

    box-shadow:
        inset 0 0 30px rgba(255,255,255,0.02),
        0 10px 50px rgba(0,0,0,0.3);

    transition: 0.3s;
}

.time-box:hover {
    transform: translateY(-8px);

    border-color: rgba(124,92,255,0.5);

    box-shadow:
        0 0 40px rgba(124,92,255,0.2);
}

.time-box div {
    font-size: 45px;
    font-weight: 800;
}

.time-box small {
    color: #777;
    font-size: 10px;
    letter-spacing: 2px;

    margin-top: 5px;
}

.separator {
    color: #555;
    font-size: 35px;
}

/* Buttons */

.buttons {
    display: flex;
    gap: 15px;
}

.button {
    padding: 15px 25px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.primary {
    color: white;

    background: linear-gradient(
        135deg,
        #7c5cff,
        #5740d8
    );

    box-shadow:
        0 10px 30px rgba(124,92,255,0.25);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(124,92,255,0.4);
}

.secondary {
    color: white;

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

    border: 1px solid rgba(255,255,255,0.1);
}

.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Sections */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 120px 30px;
}

.section h2 {
    text-align: center;

    font-size: 45px;

    margin-bottom: 20px;
}

.section > p {
    max-width: 650px;

    margin: auto;

    text-align: center;

    color: #888;

    line-height: 1.7;
}

/* Cards */

.cards {
    display: grid;

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

    gap: 20px;

    margin-top: 60px;
}

.card {
    padding: 35px;

    border-radius: 20px;

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

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);

    border-color: rgba(124,92,255,0.4);

    background: rgba(124,92,255,0.06);
}

.icon {
    font-size: 35px;

    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;

    font-size: 22px;
}

.card p {
    color: #888;

    line-height: 1.6;
}

/* About */

.about {
    text-align: center;

    min-height: 500px;
}

/* Footer */

footer {
    padding: 30px;

    text-align: center;

    color: #555;

    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile */

@media (max-width: 700px) {

    header {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    h1 {
        letter-spacing: -3px;
    }

    .countdown {
        gap: 5px;
    }

    .time-box {
        width: 75px;
        height: 90px;
    }

    .time-box div {
        font-size: 28px;
    }

    .time-box small {
        font-size: 7px;
    }

    .separator {
        font-size: 20px;
    }

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

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .button {
        text-align: center;
    }

    .flag {
        width: 22px;
        height: 14px;
    }
}
