/* =========================================================
   1. VARIABLES / COLORS
   ========================================================= */

:root {
    --bg: #090b10;
    --bg-light: #0f1219;
    --card: #151925;
    --card-hover: #191e2c;

    --text: #f5f5f7;
    --text-muted: #9ca3b5;

    --purple: #8b5cff;
    --pink: #ff4d8d;
    --cyan: #22d3ee;
    --blue: #4d8dff;

    --button-purple: #7c2cff;

    --border: #262c3a;
}


/* =========================================================
   2. GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: Arial, sans-serif;

    background-color: var(--bg);
    color: var(--text);

    /* Subtiles Gaming-/Tech-Grid */
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.02) 1px,
                    transparent 1px
            );

    background-size: 40px 40px;
}

a {
    color: inherit;
}


/* =========================================================
   3. NAVIGATION
   ========================================================= */

header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(9, 11, 16, 0.95);

    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    height: 75px;

    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;

    gap: 40px;
}


/* LOGO */

.logo {
    font-size: 22px;
    font-weight: bold;

    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    color: var(--text);
}


/* NAVIGATION LINKS */

.nav-links {
    display: none;
    gap: 30px;

    margin-left: auto;
}

.nav-links a {
    color: var(--text-muted);

    text-decoration: none;

    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}


/* JOIN BUTTON */

.join-button {
    margin-left: auto;
    padding: 12px 20px;

    background-color: #7c2cff;
    color: white;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    transition:
            transform 0.2s,
            box-shadow 0.2s;
}

.join-button:hover {
    background-color: #7c2cff;

    transform: translateY(-2px);

    box-shadow:
            0 0 20px rgba(124, 44, 255, 0.4);
}


/* =========================================================
   4. GENERAL SECTIONS
   ========================================================= */

section {
    max-width: 1200px;

    margin: auto;
    padding: 80px 30px;
}

section,
#events,
#projects {
    scroll-margin-top: 90px;
}


/* =========================================================
   5. HOME / HERO
   ========================================================= */

#home {
    min-height: calc(100vh - 75px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;

    background:
            radial-gradient(
                    circle at 20% 40%,
                    rgba(139, 92, 255, 0.15),
                    transparent 35%
            ),
            radial-gradient(
                    circle at 80% 60%,
                    rgba(34, 211, 238, 0.08),
                    transparent 35%
            );
}

#home h1 {
    margin: 0 0 10px;

    font-size: 70px;
    line-height: 1;

    letter-spacing: -2px;
}

#home h2 {
    margin: 0 0 20px;

    font-size: 35px;

    color: var(--cyan);
}

#home p {
    max-width: 650px;

    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.6;
}

#home .join-button {
    align-self: flex-start;
    width: auto;
    margin-left: 0;
}

.gradient-text {
    background: linear-gradient(
            90deg,
            var(--purple),
            var(--cyan)
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-text {
    max-width: 700px;
    margin: 25px 0 10px;

    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.7;
}

.hero-cta-text {
    margin: 15px 0 20px;

    color: var(--text);
    font-weight: bold;
}


/* =========================================================
   6. BEREICHE
   ========================================================= */

#bereiche {
    padding: 50px 30px 70px;
}


/* SECTION HEADING */

.section-heading {
    margin-bottom: 30px;
}

.section-heading p {
    margin-bottom: 8px;

    color: var(--cyan);

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 5px 0;

    font-size: 32px;
}


/* AREA GRID */

.area-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* AREA CARDS */

.area-card {
    min-height: 190px;

    padding: 26px;

    position: relative;
    overflow: hidden;

    background: linear-gradient(
            145deg,
            var(--card),
            #10131b
    );

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
            transform 0.25s,
            border-color 0.25s,
            box-shadow 0.25s;
}

.area-card:hover {
    transform: translateY(-5px);

    background: var(--card-hover);

    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.35),
            0 0 20px rgba(139, 92, 255, 0.12);
}


/* each card gets it's own color */

.area-card:nth-child(1) {
    border-top: 3px solid var(--purple);
}

.area-card:nth-child(2) {
    border-top: 3px solid var(--pink);
}

.area-card:nth-child(3) {
    border-top: 3px solid var(--cyan);
}

.area-card:nth-child(4) {
    border-top: 3px solid var(--blue);
}


/* ICONS */

.area-icon {
    margin-bottom: 18px;

    font-size: 28px;
    font-weight: bold;
}

.area-card:nth-child(1) .area-icon {
    color: var(--purple);
}

.area-card:nth-child(2) .area-icon {
    color: var(--pink);
}

.area-card:nth-child(3) .area-icon {
    color: var(--cyan);
}

.area-card:nth-child(4) .area-icon {
    color: var(--blue);
}


/* AREA TEXT */

.area-card h3 {
    margin: 0 0 12px;

    color: var(--text);

    font-size: 20px;
}

.area-card p {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.6;
}

.area-card a {
    display: inline-block;

    margin-top: 20px;

    color: var(--cyan);

    text-decoration: none;

    font-size: 20px;
}


/* =========================================================
   7. EVENTS + PROJECTS OVERVIEW
   ========================================================= */

.overview {
    max-width: 1200px;

    margin: auto;
    padding: 60px 30px 100px;

    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 60px;
}


/* SECTION TITLE */

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.section-title-row h2 {
    margin: 0;
}

.section-title-row a {
    color: var(--cyan);

    text-decoration: none;

    font-size: 14px;
}

.section-title-row a:hover {
    color: var(--purple);
}


/* =========================================================
   8. EVENTS
   ========================================================= */

.event {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 10px;
    padding: 18px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 8px;

    transition:
            transform 0.2s,
            border-color 0.2s;
}

.event:hover {
    transform: translateX(4px);

    border-color: var(--purple);
}


/* DATE */

.event-date {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    background: #1d2230;

    border: 1px solid #31394c;
    border-radius: 7px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date strong {
    color: var(--cyan);

    font-size: 20px;
}

.event-date span {
    color: var(--text-muted);

    font-size: 11px;
}


/* EVENT TEXT */

.event h3 {
    margin: 0 0 5px;
}

.event p {
    margin: 0 0 5px;

    color: var(--text-muted);
}

.event small {
    color: #747d91;
}


/* =========================================================
   9. PROJECTS
   ========================================================= */

.project-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.project-card {
    overflow: hidden;

    padding-bottom: 18px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
            transform 0.2s,
            border-color 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);

    border-color: var(--purple);
}


/* PROJECT IMAGE */

.project-image {
    height: 120px;

    overflow: hidden;

    background: #1c2230;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--text-muted);
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* PROJECT TEXT */

.project-card h3 {
    margin: 15px 15px 5px;
}

.project-card p {
    margin: 0 15px 12px;

    color: var(--text-muted);

    font-size: 14px;
}


/* PROJECT TAGS */

.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-left: 15px;
    margin-right: 15px;
}

.tags span {
    padding: 5px 9px;

    background: rgba(139, 92, 255, 0.12);

    border: 1px solid rgba(139, 92, 255, 0.3);
    border-radius: 20px;

    color: #bca7ff;

    font-size: 11px;
}


/* =========================================================
   10. PLACEHOLDERS
   ========================================================= */

.placeholder-box {
    min-height: 220px;

    padding: 30px;

    background:
            linear-gradient(
                    145deg,
                    rgba(139, 92, 255, 0.08),
                    rgba(34, 211, 238, 0.03)
            );

    border: 1px dashed rgba(139, 92, 255, 0.6);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


/* if projects placeholder is alone,
   make it full width */

.project-grid .placeholder-box {
    grid-column: 1 / -1;
}


.placeholder-icon {
    margin-bottom: 15px;

    font-size: 40px;
}

.placeholder-box h3 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 24px;
}

.placeholder-box p {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.6;
}


/* =========================================================
   11. PROJECTS PAGE
   ========================================================= */

.projects-page {
    max-width: 1200px;

    margin: auto;
    padding: 100px 30px;
}

.projects-page-intro {
    max-width: 700px;

    margin-bottom: 50px;
}


/* LABEL */

.section-label {
    color: var(--cyan);

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* TITLE */

.projects-page h1 {
    margin: 10px 0 20px;

    font-size: 50px;
}


/* INTRO TEXT */

.projects-page-intro p {
    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   12. PROJECTS COMING SOON
   ========================================================= */

.projects-coming-soon {
    min-height: 300px;

    padding: 50px;

    background:
            linear-gradient(
                    145deg,
                    rgba(139, 92, 255, 0.10),
                    rgba(34, 211, 238, 0.04)
            );

    border: 2px dashed rgba(139, 92, 255, 0.5);
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.coming-soon-icon {
    margin-bottom: 20px;

    color: var(--cyan);

    font-size: 50px;
    font-weight: bold;
}

.projects-coming-soon h2 {
    margin: 0 0 15px;

    font-size: 30px;
}

.projects-coming-soon p {
    max-width: 500px;

    margin-bottom: 20px;

    color: var(--text-muted);

    line-height: 1.6;
}

.projects-coming-soon span {
    color: var(--purple);

    font-weight: bold;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

footer {
    padding: 40px;

    text-align: center;

    color: var(--text-muted);

    background: #07090d;

    border-top: 1px solid var(--border);
}


/* =========================================================
   14. RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 15px;
    }
}


@media (max-width: 650px) {

    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .join-button {
        margin-left: auto;
    }

    #home h1 {
        font-size: 48px;
    }

    #home h2 {
        font-size: 27px;
    }

    .area-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    section,
    #bereiche,
    .overview,
    .projects-page {
        padding-left: 20px;
        padding-right: 20px;
    }
}

    /* =========================================================
   COMING SOON
   ========================================================= */

    .coming-soon-section {
        max-width: 900px;

        margin: 70px auto 100px;
        padding: 60px 50px;

        position: relative;
        overflow: hidden;

        text-align: center;

        background:
                radial-gradient(
                        circle at 50% 0%,
                        rgba(139, 92, 255, 0.16),
                        transparent 45%
                ),
                var(--card);

        border: 1px solid var(--border);
        border-radius: 18px;

        display: flex;
        flex-direction: column;
        align-items: center;

        box-shadow:
                0 20px 50px rgba(0, 0, 0, 0.25);
    }


    /* kleines Status-Badge */

    .coming-badge {
        padding: 7px 12px;
        margin-bottom: 30px;

        color: var(--cyan);

        background: rgba(34, 211, 238, 0.08);

        border: 1px solid rgba(34, 211, 238, 0.25);
        border-radius: 100px;

        font-size: 11px;
        font-weight: bold;

        letter-spacing: 1.5px;
    }


    /* Icon */

    .coming-icon {
        width: 75px;
        height: 75px;

        margin-bottom: 25px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: var(--cyan);

        font-size: 30px;
        font-weight: bold;

        background: rgba(139, 92, 255, 0.10);

        border: 1px solid rgba(139, 92, 255, 0.35);
        border-radius: 18px;

        box-shadow:
                0 0 30px rgba(139, 92, 255, 0.12);
    }

    .coming-soon-section h2 {
        margin: 0 0 18px;

        font-size: 34px;
    }

    .coming-text {
        max-width: 650px;

        margin: 0 0 20px;

        color: var(--text-muted);

        font-size: 17px;
        line-height: 1.7;
    }

    .coming-highlight {
        margin: 0 0 25px;

        color: var(--text);

        font-weight: bold;
    }

    .coming-soon-section .join-button {
        margin: 0;
    }