﻿@font-face {
    font-family: 'Anton';
    src: url('/fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #0a0b10;
    --bg-darker: #050508;
    --accent: #2bfe71;
    /* Vision Green */
    --accent-dark: #075016;
    --accent-glow: rgba(43, 254, 113, 0.4);
    --surface: #16161e;
    --surface-hover: #1a1b26;
    --text-main: #f8f8f2;
    --text-muted: #a9b1d6;
    --border: rgba(43, 254, 113, 0.2);
    --font-pixel: 'Anton', sans-serif;
    --font-main: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.logo-text,
.step-number {
    font-family: var(--font-pixel);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 400;
    line-height: 1.1;
}

.page-creator-hub {
    background:
        radial-gradient(circle at 20% 20%, rgba(211, 131, 255, 0.18), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(109, 214, 255, 0.18), transparent 45%),
        var(--bg-darker);
    --creator-accent: #d383ff;
    --creator-accent-secondary: #6ed4ff;
    --creator-surface: rgba(16, 11, 28, 0.9);
    --creator-surface-light: rgba(24, 18, 45, 0.9);
    --creator-border: rgba(211, 131, 255, 0.35);
}

.project-theme {
    background:
        radial-gradient(circle at 15% 15%, rgba(94, 255, 181, 0.18), transparent 40%),
        radial-gradient(circle at 70% 5%, rgba(148, 255, 211, 0.12), transparent 45%),
        var(--bg-darker);
    --creator-accent: #52f7b2;
    --creator-accent-secondary: #b6ffd8;
    --creator-border: rgba(82, 247, 178, 0.45);
}

.page-creator-hub h1,
.page-creator-hub h2,
.page-creator-hub h3,
.page-creator-hub h4 {
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: -0.01em;
}

.page-creator-hub nav {
    background: rgba(11, 6, 22, 0.95);
    border-color: var(--creator-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.page-creator-hub .cta-primary {
    background: var(--creator-accent);
    color: #170624;
    box-shadow: 0 14px 30px rgba(211, 131, 255, 0.45);
}

.page-creator-hub .cta-primary:hover {
    background: #e1a0ff;
    box-shadow: 0 18px 32px rgba(211, 131, 255, 0.55);
}

.page-creator-hub .cta-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: #f6f4ff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.page-creator-hub .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 100px;
    background:
        linear-gradient(180deg, rgba(2, 3, 5, 0.9) 0%, rgba(10, 11, 16, 0.92) 40%, var(--bg-dark) 100%),
        radial-gradient(circle at 20% 20%, rgba(43, 254, 113, 0.08), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(7, 80, 22, 0.12), transparent 40%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px);
    background-blend-mode: lighten, normal;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Cookie Info Banner --- */
.cookie-info-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 22, 30, 0.95);
    border-bottom: 2px solid rgba(43, 254, 113, 0.4);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
}

.cookie-info-banner.show {
    max-height: 200px;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text strong {
    display: block;
    color: #2bfe71;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #2bfe71;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
}

.cookie-banner-btn {
    padding: 10px 20px;
    background: rgba(43, 254, 113, 0.2);
    border: 2px solid rgba(43, 254, 113, 0.6);
    color: #2bfe71;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-banner-btn:hover {
    background: rgba(43, 254, 113, 0.3);
    border-color: rgba(43, 254, 113, 0.9);
    transform: translateY(-1px);
}

.cookie-banner-btn:active {
    transform: translateY(0px);
}

@media (max-width: 768px) {
    .cookie-info-banner.show {
        max-height: 250px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5vw;
    z-index: 100;
    transition: background 0.3s;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: rgba(22, 22, 30, 0.95);
    border: 2px solid rgba(43, 254, 113, 0.15);
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

.account-action {
    display: flex;
    align-items: flex-end;
}

.account-action .cta-primary {
    font-size: 0.9rem;
    padding: 8px 16px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
}

.nav-toggle__bar {
    display: block;
}

/* --- Hero Content --- */
.hero-content {
    text-align: center;
    z-index: 2;
    margin-top: 8vh;
    padding: 0 20px;
}

.logo-image {
    width: min(500px, 80vw);
    filter: drop-shadow(0 0 20px rgba(43, 254, 113, 0.2));
    animation: float 6s ease-in-out infinite;
    transition: filter 0.3s var(--transition-smooth);
}

.logo-image:hover {
    filter: drop-shadow(0 0 30px rgba(43, 254, 113, 0.4));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tagline {
    margin-top: 20px;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-area {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 14px 32px;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-primary:visited,
.cta-primary:hover,
.cta-primary:focus,
.cta-secondary:visited,
.cta-secondary:hover,
.cta-secondary:focus,
.join-card__cta:visited,
.join-card__cta:hover,
.join-card__cta:focus,
.footer-discord-btn:visited,
.footer-discord-btn:hover,
.footer-discord-btn:focus {
    text-decoration: none;
}

.cta-primary::before,
.cta-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-smooth), height 0.6s var(--transition-smooth);
}

.cta-primary:hover::before,
.cta-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary {
    background: var(--accent);
    color: #000;
    border: 2px solid var(--accent-dark);
    box-shadow: 0 4px 0 var(--accent-dark), 0 4px 12px rgba(43, 254, 113, 0.3);
    transition: all 0.1s ease;
}

.cta-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--accent-dark), 0 2px 8px rgba(43, 254, 113, 0.3);
}

.cta-primary:hover {
    background: #3dff7d;
    box-shadow: 0 6px 0 var(--accent-dark), 0 6px 16px rgba(43, 254, 113, 0.5);
    transform: translateY(-2px);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

.cta-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.info-panel {
    margin-top: 80px;
    display: flex;
    gap: 40px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 24px 48px;
    border-radius: 0;
    border: 3px solid rgba(43, 254, 113, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 0 rgba(7, 80, 22, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.info-panel div {
    text-align: center;
}

.info-panel span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.scroll-down {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
    background: rgba(22, 22, 30, 0.8);
    border: 2px solid var(--border);
    padding: 10px 15px;
    border-radius: 0;
    backdrop-filter: blur(5px);
    z-index: 10;
    opacity: 1;
}

.scroll-down:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(43, 254, 113, 0.1);
}

.scroll-down.scroll-down--hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Subtle grid background pattern */
.overview-section {
    position: relative;
    padding: 110px 5vw 60px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.overview-section>* {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3.5rem;
    margin: 0 0 15px;
    color: var(--text-main);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.overview-section .section-header h2 {
    color: #ffffff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(43, 254, 113, 0.35);
    letter-spacing: 0.05em;
}

.section-header h2 img {
    height: 42px;
    width: auto;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Creator Hub Page --- */
.page-creator-hub main {
    padding-top: 160px;
}

.creator-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5vw 140px;
    align-items: center;
    position: relative;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(19, 12, 45, 0.95), rgba(6, 12, 24, 0.95));
    border: 2px solid rgba(211, 131, 255, 0.2);
    overflow: hidden;
}

.creator-hero::before,
.creator-hero::after {
    content: '';
    position: absolute;
    border-radius: 0;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.creator-hero::before {
    width: 280px;
    height: 280px;
    background: rgba(211, 131, 255, 0.35);
    top: -80px;
    left: -60px;
}

.creator-hero::after {
    width: 220px;
    height: 220px;
    background: rgba(110, 212, 255, 0.35);
    bottom: -70px;
    right: -40px;
}

.creator-hero__content .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 15px;
}

.creator-hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 0 0 20px;
}

.creator-hero__content .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-callout {
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.project-callout strong {
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-right: 6px;
}

.project-theme .project-callout {
    border-color: rgba(82, 247, 178, 0.5);
    background: rgba(82, 247, 178, 0.08);
    color: #cffff0;
}

.creator-hero__stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.creator-hero__stats div {
    padding: 18px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.creator-hero__stats span {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.creator-hero__stats strong {
    display: block;
    font-size: 2rem;
    margin-top: 8px;
}

.creator-hero__media {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.creator-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-section {
    padding: 100px 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.creator-feature {
    background: var(--creator-surface);
    border: 2px solid var(--creator-border);
    padding: 30px;
    border-radius: 0;
    min-height: 220px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(211, 131, 255, 0.25), rgba(110, 212, 255, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9f5ff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.creator-feature h3 {
    margin: 0 0 12px;
}

.creator-feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

.apply-section {
    background: var(--bg-darker);
}

.timeline {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.timeline-step {
    background: var(--creator-surface-light);
    border: 2px solid rgba(110, 212, 255, 0.3);
    border-radius: 0;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.timeline-step__badge {
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: rgba(211, 131, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--creator-accent-secondary);
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-step p {
    color: var(--text-muted);
    line-height: 1.6;
}

.apply-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(19, 12, 45, 0.95), rgba(5, 12, 26, 0.95));
    border: 2px solid rgba(211, 131, 255, 0.35);
    border-radius: 0;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.apply-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.projects-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 34px auto 0;
    max-width: 1200px;
}

.projects-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 22px;
    border: 2px solid rgba(43, 254, 113, 0.65);
    background: rgba(43, 254, 113, 0.08);
    color: #dfffe9;
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(7, 80, 22, 0.75), 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.projects-load-more-btn:hover {
    background: rgba(43, 254, 113, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 0 rgba(7, 80, 22, 0.85), 0 12px 26px rgba(0, 0, 0, 0.4);
}

.projects-load-more-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(7, 80, 22, 0.85), 0 5px 12px rgba(0, 0, 0, 0.35);
}

.projects-load-more-btn:disabled {
    cursor: wait;
    opacity: 0.8;
}

.skeleton-card {
    height: 320px;
    border-radius: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

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

.overview-card {
    background: var(--surface);
    border: 3px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.project-card-main-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(43, 254, 113, 0.6);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(43, 254, 113, 0.3);
}

.overview-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-media {
    position: relative;
    height: 220px;
    background: rgba(43, 254, 113, 0.08);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 16, 0) 40%, rgba(10, 11, 16, 0.85) 100%);
    pointer-events: none;
}

.overview-card:hover .card-media img {
    transform: scale(1.06);
}

.overview-card.active-project {
    border-color: rgba(124, 255, 203, 0.85);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 255, 203, 0.45);
}

.overview-card.active-project:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 18px rgba(124, 255, 203, 0.35);
}

.card-media-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 7px 14px;
    border-radius: 0;
    background: #14161d;
    border: 2px solid #3a3f52;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #f4f7ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    text-shadow: none;
}

.card-media-status.status-active {
    color: #d7ffe9;
    background: #113726;
    border-color: #2fb77d;
}

.card-media-status.status-coming-soon {
    color: #fff1c6;
    background: #4a3b11;
    border-color: #d4aa3d;
}

.card-media-status.status-starting-shortly {
    color: #dce5ff;
    background: #273860;
    border-color: #7d9cff;
}

.active-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border: 2px solid rgba(124, 255, 203, 0.9);
    background: rgba(8, 45, 28, 0.88);
    color: #b9ffe0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.card-media-status.status-dev {
    color: #fff1c6;
    background: #4a3b11;
    border-color: #d4aa3d;
}

.card-media-status.status-closed {
    color: #ffd9d9;
    background: #4b1f25;
    border-color: #d56575;
}

.overview-card:hover .card-media-status {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.card-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 210px;
    flex: 1;
}

.card-content span {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.card-content h3 {
    font-size: 1.28rem;
    margin: 0;
    color: white;
    line-height: 1.28;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.92rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: pretty;
}

.card-actions {
    padding: 0 22px 22px;
    margin-top: auto;
}

.project-play-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-pixel);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 rgba(43, 254, 113, 0.3);
    background: rgba(43, 254, 113, 0.04);
}

.project-play-btn:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(43, 254, 113, 0.5);
}

.project-play-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* --- Join Section --- */
.join-section {
    position: relative;
    background: var(--bg-dark);
    margin-top: 0;
    padding: 60px 5vw 100px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.overview-section .section-lead {
    color: #f5f8ff;
}

.join-container h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.join-sub {
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.join-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.join-card {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.95), rgba(6, 12, 18, 0.95));
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.join-card.is-hidden {
    display: none !important;
}

.join-card.join-card--team {
    position: relative;
    border-color: rgba(43, 254, 113, 0.9);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.65), 0 14px 28px rgba(43, 254, 113, 0.22);
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(17, 30, 20, 0.96), rgba(7, 20, 12, 0.96));
}

.join-card.join-card--team::before {
    content: 'Team gesucht';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #051108;
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border: 2px solid #051108;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}

.join-card.join-card--team .join-card__cta {
    background: var(--accent);
    color: #041008;
}

.join-card.join-card--team .join-card__cta:hover {
    background: #65ff9a;
}

.join-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(7, 80, 22, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(43, 254, 113, 0.4);
}

.join-card:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.join-card__title {
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    margin-bottom: 15px;
}

.join-card__title img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.join-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.join-card__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.join-card__list li::before {
    content: none;
}

.join-card__cta {
    margin-top: auto;
    align-self: center;
    padding: 10px 30px;
    border-radius: 0;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-pixel);
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 rgba(43, 254, 113, 0.3);
}

.join-card__cta:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(43, 254, 113, 0.5);
}

.join-card__cta:active {
    transform: translateY(4px);
    box-shadow: none;
}


.join-cta {
    margin-top: 40px;
}

/* --- Homepage Download Section --- */
.download-home-section {
    position: relative;
    background: linear-gradient(180deg, rgba(5, 7, 12, 0.98) 0%, rgba(10, 11, 16, 1) 100%);
    padding: 82px 5vw 96px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.download-home-container {
    max-width: 1150px;
    margin: 0 auto;
}

.download-home-section .section-header {
    margin-bottom: 26px;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a9b1d6;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-feature i {
    color: #50fa7b;
    font-size: 1rem;
}

.download-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.download-platform-card {
    background: linear-gradient(160deg, rgba(17, 21, 30, 0.94), rgba(10, 14, 20, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.download-platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(80, 250, 123, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(80, 250, 123, 0.08);
}

.download-platform-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.download-platform-card p {
    margin: 0;
    color: #737aa2;
    font-size: 0.85rem;
    line-height: 1.4;
}

.download-platform-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-platform-icon {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #e6eaf8;
    transition: all 0.25s ease;
}

.download-platform-card:hover .download-platform-icon {
    border-color: rgba(80, 250, 123, 0.4);
    background: rgba(80, 250, 123, 0.06);
    color: #bdffd7;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 24px;
    background: rgba(80, 250, 123, 0.12);
    border: 1px solid rgba(80, 250, 123, 0.35);
    color: #50fa7b;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: rgba(80, 250, 123, 0.22);
    border-color: rgba(80, 250, 123, 0.65);
    transform: translateY(-1px);
}

.download-platform-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #d8def6;
}

.download-platform-card .join-card__cta {
    margin-top: auto;
}

.download-platform-card.is-recommended {
    border-color: rgba(43, 254, 113, 0.8);
    box-shadow: 0 16px 30px rgba(8, 30, 16, 0.45), 0 0 20px rgba(43, 254, 113, 0.2);
}

.download-platform-card.is-recommended .download-platform-badge {
    border-color: rgba(43, 254, 113, 0.75);
    background: rgba(43, 254, 113, 0.2);
    color: #d2ffe3;
}

.download-platform-card.is-recommended .download-platform-icon {
    border-color: rgba(43, 254, 113, 0.6);
    background: rgba(43, 254, 113, 0.1);
    color: #bdffd7;
}

.download-platform-card.is-recommended .download-btn {
    background: rgba(80, 250, 123, 0.22);
    border-color: rgba(80, 250, 123, 0.65);
}

.download-home-section .section-lead strong {
    color: var(--accent);
}

.download-home-section .section-lead {
    max-width: 620px;
    margin-inline: auto;
}

/* --- Team Preview Section --- */
.team-preview-section {
    padding: 90px 5vw;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-preview-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.team-preview-section .team-grid {
    margin-bottom: 32px;
}

.team-preview-cta {
    text-align: center;
}

.team-preview-cta .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* --- Discord Section --- */
.discord-section {
    padding: 80px 5vw;
    background: var(--bg-darker);
    border-top: 1px solid var(--bg-dark);
    border-bottom: 1px solid var(--bg-dark);
}

.discord-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 0;
    border: 2px solid rgba(88, 101, 242, 0.3);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.2);
}

.discord-icon {
    width: 120px;
    height: 120px;
    border-radius: 0;
    background: rgba(88, 101, 242, 0.15);
    border: 2px solid rgba(88, 101, 242, 0.35);
    color: #c7cdff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
}

.discord-content {
    flex: 1;
    text-align: left;
}

.discord-eyebrow {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    margin: 0 0 10px;
}

.discord-content h2 {
    font-size: 2.6rem;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.discord-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.discord-button {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-primary.discord-button {
    background: #5865F2;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.cta-primary.discord-button:hover {
    background: #6d77f7;
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.cta-primary.discord-button:active {
    background: #4a54c7;
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4);
}

/* --- Team Page Styles --- */
body.team-page {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark, #05060a);
    color: var(--text-main, #f8f8f2);
}

.team-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 20% 0%, rgba(43, 254, 113, 0.18), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(7, 80, 22, 0.12), transparent 50%),
        var(--bg-dark, #05060a);
}

.team-hero-eyebrow {
    margin: 0 0 10px;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.team-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.team-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted, #a3acc9);
}

.team-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.team-section {
    margin-bottom: 48px;
    padding-top: 10px;
}

.team-section h2 {
    font-family: var(--font-pixel);
    letter-spacing: 0.03em;
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.team-section p.section-lead {
    margin-top: 0;
    margin-bottom: 22px;
    color: var(--text-muted, #a3acc9);
    max-width: 700px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-card {
    background: rgba(18, 20, 28, 0.78);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    min-height: 300px;
}

.team-card::before {
    content: none;
}

.team-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    border-color: rgba(43, 254, 113, 0.45);
}

.team-card:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin: 0 auto 5px;
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-card h3 {
    margin: 6px 0 6px;
    font-size: 1.2rem;
    text-align: center;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    justify-content: center;
}

.team-tags span {
    background: rgba(43, 254, 113, 0.08);
    color: #98f8bd;
    border: 1px solid rgba(43, 254, 113, 0.25);
    border-radius: 0;
    padding: 3px 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.team-card:hover .team-tags span {
    background: rgba(43, 254, 113, 0.2);
    border-color: rgba(43, 254, 113, 0.4);
}

.team-card p {
    margin: 0;
    color: var(--text-muted, #a3acc9);
    line-height: 1.45;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-meta {
    list-style: none;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    justify-content: center;
    align-items: center;
}

.team-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.team-meta li i {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
}

.team-card:hover .team-meta li i {
    color: var(--accent);
}

.team-callout {
    margin-top: 40px;
    border: 2px solid rgba(43, 254, 113, 0.25);
    border-radius: 0;
    padding: 32px;
    text-align: center;
    background: rgba(43, 254, 113, 0.08);
}

.team-callout h3 {
    margin-top: 0;
}

.team-callout p {
    color: var(--text-muted, #a3acc9);
    margin-bottom: 18px;
}

.team-callout .cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.team-callout .cta-actions a {
    min-width: 180px;
}

@media (max-width: 700px) {
    .team-hero {
        padding: 108px 0 44px;
    }

    .team-shell {
        padding: 28px 16px 80px;
    }

    .team-section h2 {
        font-size: 2rem;
    }

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

/* --- Footer --- */
footer {
    position: relative;
    background: linear-gradient(135deg, #0a0b10 0%, #020305 100%);
    padding: 80px 5vw 30px;
    border-top: 2px solid rgba(43, 254, 113, 0.15);
    color: var(--text-muted);
    overflow: hidden;
}

footer::before {
    content: none;
}

.footer-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #5662e6 0%, #4a55c8 100%);
    color: white;
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    box-shadow: 0 5px 0 #2f2f7d, 0 8px 16px rgba(88, 101, 242, 0.22);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.footer-discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transition: left 0.5s ease;
}

.footer-discord-btn:hover::before {
    left: 100%;
}

.footer-discord-btn:hover {
    background: linear-gradient(135deg, #6470ef 0%, #5562d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 0 #2f2f7d, 0 10px 18px rgba(88, 101, 242, 0.28);
}

.footer-discord-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #2f2f7d, 0 4px 8px rgba(88, 101, 242, 0.24);
}

.footer-discord-btn i {
    font-size: 1.3rem;
    animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.footer-col {
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-family: var(--font-pixel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(43, 254, 113, 0.5);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 10px;
    color: #b4b9d6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a9b1d6;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: none;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: #e8ecf3;
    text-decoration: none !important;
    font-size: 1.2rem;
    line-height: 0;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.social-icons a:hover {
    color: #000;
    border-color: var(--accent);
    background: var(--accent);
    transform: none;
    box-shadow: none;
}

.social-icons a:active {
    transform: none;
}

.social-icons a:visited,
.social-icons a:link,
.social-icons a:hover,
.social-icons a:focus,
.social-icons a:active {
    text-decoration: none !important;
}

.social-icons a img {
    width: 22px;
    height: 22px;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: brightness(0) invert(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(43, 254, 113, 0.1);
    font-size: 0.85rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom div:first-child {
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-disclaimer {
    margin: 0 auto;
    font-size: 0.85rem;
    color: #a9b1d6;
    max-width: 900px;
    line-height: 1.5;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 60px 5vw 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-discord-btn {
        width: 100%;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col:first-child {
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 180px;
    }

    .info-panel {
        flex-direction: column;
        gap: 20px;
    }

    .discord-card {
        flex-direction: column;
        text-align: center;
    }

    .discord-content {
        text-align: center;
    }

    .discord-button {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .download-platform-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .projects-load-more-btn {
        width: min(100%, 340px);
    }
}

@media (max-width: 640px) {
    header {
        padding: 12px 4vw;
    }

    nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
    }

    .logo-text img {
        height: 30px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border: 1px solid rgba(43, 254, 113, 0.45);
        background: rgba(10, 11, 16, 0.92);
        color: var(--text-main);
        cursor: pointer;
    }

    .nav-toggle__bar {
        width: 18px;
        height: 2px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    nav.nav-open .nav-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    nav.nav-open .nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    nav.nav-open .nav-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links a {
        width: 100%;
        padding: 6px 0;
    }

    .account-action {
        display: none;
        width: 100%;
        order: 4;
        padding-bottom: 8px;
    }

    .account-action .cta-primary {
        width: 100%;
        justify-content: center;
    }

    nav.nav-open .nav-links,
    nav.nav-open .account-action {
        display: flex;
    }
}

/* --- Error Page --- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: radial-gradient(circle at center, rgba(20, 20, 30, 0.8), var(--bg-dark));
    text-align: center;
}

.error-content {
    max-width: 600px;
    padding: 20px;
}

.error-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    filter: drop-shadow(0 0 20px rgba(43, 254, 113, 0.3));
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.error-content h1 {
    font-size: 5rem;
    color: var(--accent);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-glow);
}

.error-content h2 {
    font-size: 2rem;
    margin-top: 10px;
    color: white;
}

.error-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.error-content .cta-primary {
    display: inline-flex;
}

/* Motion.dev Animation Initial States */
.logo-image,
.tagline,
.cta-area>*,
.info-panel,
.section-header h2,
.section-header .section-lead,
.discord-card {
    will-change: transform, opacity;
}

/* GSAP Text Animation Styles */
.split-text .char {
    display: inline-block;
    transform-origin: 50% 100%;
}

.tagline-text {
    display: inline-block;
}

/* Prevent text selection during animation */
.split-text {
    user-select: none;
}

/* Loading state improvements */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

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

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Custom Cursor --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(43, 254, 113, 0.1);
    border-color: transparent;
}

/* Temporär: Vision-OAuth Buttons (web/desktop) ausblenden, Funktion bleibt im Markup */
.login-oauth--vision {
    display: none !important;
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz, Regelwerk)
   ============================================================ */

body.legal-page {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
}

.legal-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(2, 3, 5, 0.95) 0%, rgba(10, 11, 16, 0.92) 60%, var(--bg-dark));
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.legal-hero p {
    max-width: 640px;
    margin: 14px auto 0;
    color: var(--text-muted);
}

.legal-shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.legal-card {
    background: rgba(22, 22, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.legal-card h2 {
    margin-top: 0;
    font-family: 'VT323', monospace;
    letter-spacing: 0.08em;
    font-size: 1.8rem;
}

.legal-card h3 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.legal-card p,
.legal-card li {
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-card ul,
.legal-card ol {
    margin: 0;
    padding-left: 20px;
}

.legal-card code {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.9em;
}

.legal-meta,
.legal-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.legal-meta div,
.legal-columns div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 18px;
}

.legal-meta strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
}

.legal-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-page a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-page a:hover {
    opacity: 0.8;
}
