/* ==================== HIGH-END DASHBOARD DESIGN SYSTEM ==================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0b0c10;
    --card-glass: rgba(18, 19, 31, 0.75);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(137, 180, 250, 0.3);
    
    --accent-primary: #89b4fa;
    --accent-secondary: #cba6f7;
    --accent-glow: rgba(137, 180, 250, 0.35);
    --gradient-btn: linear-gradient(135deg, #89b4fa 0%, #b4befe 50%, #cba6f7 100%);
    
    --input-bg: rgba(10, 11, 18, 0.85);
    --input-border: rgba(255, 255, 255, 0.12);
    --input-border-focus: #89b4fa;
    
    --text-heading: #ffffff;
    --text-body: #cdd6f4;
    --text-muted: #7f849c;
    
    --danger-bg: rgba(243, 139, 168, 0.12);
    --danger-text: #f38ba8;
    --danger-border: rgba(243, 139, 168, 0.3);
    
    --success-bg: rgba(166, 227, 161, 0.12);
    --success-text: #a6e3a1;
    --success-border: rgba(166, 227, 161, 0.3);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main) !important;
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ==================== ANIMIERTER HINTERGRUND ==================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #11111b 0%, #0b0c10 100%);
}

.animated-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    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;
    opacity: 0.6;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: floatOrbs 15s infinite alternate ease-in-out;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: #89b4fa;
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #cba6f7;
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #f38ba8;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes floatOrbs {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, -60px) scale(0.9); }
}

/* Header & Footer Anpassungen */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 16, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid var(--card-border);
}

header .logo {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-btn);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

nav a {
    color: var(--text-body);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent-primary);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ==================== LANDING PAGE STYLES ==================== */
.landing-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ==================== HERO BILDER CONTAINER ==================== */
.hero-layout-container {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(180px, 240px);
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.hero-side-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-side-image img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.hero-side-image img:hover {
    transform: scale(1.05);
}

.hero-section {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 35px 30px !important;
    text-align: left;
    margin-bottom: 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-header-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #89b4fa 0%, #cba6f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.88rem, 2.2vw, 1rem);
    color: #a6adc8;
    max-width: 680px;
    margin: 0;
    line-height: 1.6;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 20px 24px !important;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(137, 180, 250, 0.15);
    border: 1px solid rgba(137, 180, 250, 0.3);
    color: #89b4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-val { font-size: 1.25rem; font-weight: 800; color: #ffffff; }
.stat-lbl { font-size: 0.82rem; color: #a6adc8; }

.hero-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(137, 180, 250, 0.35) !important;
}

.action-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.action-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-fivem { background: rgba(137, 180, 250, 0.15); border: 1px solid rgba(137, 180, 250, 0.3); color: #89b4fa; }
.icon-discord { background: rgba(88, 101, 242, 0.15); border: 1px solid rgba(88, 101, 242, 0.3); color: #5865F2; }
.icon-login { background: rgba(203, 166, 247, 0.15); border: 1px solid rgba(203, 166, 247, 0.3); color: #cba6f7; }

.status-badge-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-online { background: rgba(166, 227, 161, 0.15); color: #a6e3a1; border: 1px solid rgba(166, 227, 161, 0.3); }
.badge-offline { background: rgba(243, 139, 168, 0.15); color: #f38ba8; border: 1px solid rgba(243, 139, 168, 0.3); }

.action-card-title { color: #ffffff; font-size: 1.15rem; font-weight: 800; margin: 0 0 6px 0; }
.action-card-desc { color: #a6adc8; font-size: 0.85rem; line-height: 1.45; margin-bottom: 18px; }

.modern-login-input {
    all: unset;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px !important;
    background: rgba(11, 12, 16, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
}

.modern-login-input:focus {
    border-color: #89b4fa !important;
    background: rgba(11, 12, 16, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(137, 180, 250, 0.15) !important;
}

.btn-glow {
    all: unset;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 0 20px !important;
    background: linear-gradient(135deg, #89b4fa 0%, #cba6f7 100%) !important;
    color: #11111b !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 18px rgba(137, 180, 250, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    width: 100%;
}

.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(137, 180, 250, 0.4) !important; }

.btn-discord-brand {
    all: unset;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 0 20px !important;
    background: linear-gradient(135deg, #5865F2 0%, #7289da 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    width: 100%;
}

.btn-discord-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4) !important; }

.btn-glass-secondary {
    all: unset;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 0 18px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cdd6f4 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-glass-secondary:hover { background: rgba(255, 255, 255, 0.15) !important; color: #ffffff !important; }

/* ==================== BLOG GRID ==================== */
.blog-section { margin-bottom: 30px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(137, 180, 250, 0.4) !important;
}

.blog-badge {
    background: rgba(137, 180, 250, 0.15);
    color: #89b4fa;
    border: 1px solid rgba(137, 180, 250, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-title { color: #ffffff; font-size: 1.15rem; font-weight: 700; margin: 12px 0 8px 0; }
.blog-excerpt { color: #a6adc8; font-size: 0.88rem; line-height: 1.55; margin-bottom: 20px; }

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #a6adc8;
}

.btn-read-more {
    all: unset;
    color: #89b4fa;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.btn-read-more:hover { gap: 10px; color: #cba6f7; }

/* Filter Tabs */
.news-tab-container {
    display: flex;
    gap: 5px;
    background: rgba(11, 12, 16, 0.6);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.news-tab-btn {
    all: unset;
    box-sizing: border-box;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a6adc8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-tab-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.news-tab-btn.active { background: #89b4fa; color: #11111b; }

/* ==================== GALLERY MARQUEE ==================== */
.gallery-section {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 30px;
}

.gallery-slider-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    border-radius: 14px;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.gallery-track {
    display: flex;
    gap: 18px;
    animation: scrollGallery 35s linear infinite;
    width: max-content;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    position: relative;
    width: 290px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==================== ANKÜNDIGUNGEN ACCORDION ==================== */
.news-scroll-container {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 20px !important;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 30px;
}

.news-item {
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
    overflow: hidden;
}

.news-item:hover { border-color: rgba(137, 180, 250, 0.3); }

.news-item-header {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 10px;
}

.news-item-title-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.category-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-cat-announcement { background: rgba(203, 166, 247, 0.15); color: #cba6f7; border: 1px solid rgba(203, 166, 247, 0.3); }
.badge-cat-patchnotes { background: rgba(137, 180, 250, 0.15); color: #89b4fa; border: 1px solid rgba(137, 180, 250, 0.3); }
.badge-cat-event { background: rgba(249, 226, 175, 0.15); color: #f9e2af; border: 1px solid rgba(249, 226, 175, 0.3); }

.news-item-title { color: #ffffff; font-weight: 700; font-size: 0.98rem; }
.news-item-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.news-item-date { color: #a6adc8; font-size: 0.82rem; }
.news-item-arrow { color: #6c7086; transition: transform 0.3s ease; }

.news-item-body {
    display: none;
    padding: 0 18px 18px 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    color: #a6adc8;
    font-size: 0.88rem;
    line-height: 1.6;
    white-space: pre-line;
}

/* ==================== FEATURES GRID ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(24, 24, 37, 0.75) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover { transform: translateY(-2px); border-color: rgba(137, 180, 250, 0.3) !important; }

.feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(137, 180, 250, 0.15);
    border: 1px solid rgba(137, 180, 250, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #89b4fa;
    margin-bottom: 14px;
}

.feature-card h3 { color: #ffffff; font-size: 1.05rem; font-weight: 700; margin: 0 0 8px 0; }
.feature-card p { color: #a6adc8; font-size: 0.85rem; line-height: 1.5; margin: 0; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-title i { color: #89b4fa; }

/* Modal Overlay Styles */
.blog-modal-overlay {
    display: none;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999999 !important;
    align-items: center; 
    justify-content: center; 
    padding: 15px;
}

.blog-modal-overlay.active {
    display: flex !important;
}

.blog-modal-box {
    background: rgba(24, 24, 37, 0.95); 
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px; 
    max-width: 680px; 
    width: 100%; 
    max-height: 85vh;
    overflow-y: auto; 
    padding: 28px 25px 25px 25px; 
    position: relative; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.blog-modal-close {
    position: absolute; 
    top: 18px; 
    right: 18px; 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15); 
    color: #ffffff; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%;
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.blog-modal-close:hover {
    background: rgba(243, 139, 168, 0.3);
    color: #f38ba8;
    transform: scale(1.08);
}

#cookie-banner {
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    width: calc(100% - 30px); 
    max-width: 850px; 
    background: rgba(24, 24, 37, 0.95) !important;
    backdrop-filter: blur(25px); 
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px; 
    padding: 20px 22px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 99999; 
    color: #cdd6f4; 
    display: none; 
    flex-direction: column; 
    gap: 14px;
}

/* Responsivität */
@media (max-width: 1024px) {
    .hero-three-grid, .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-layout-container {
        grid-template-columns: 1fr;
    }
    
    .hero-side-image {
        display: none;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .landing-wrapper { padding: 15px 12px 40px 12px; }
    .hero-section { padding: 25px 15px !important; margin-bottom: 20px !important; }
    .hero-three-grid, .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery-section, .news-scroll-container { padding: 16px !important; }
}

@media (max-width: 600px) {
    .stats-bar { grid-template-columns: 1fr; }
    .gallery-item { width: 220px; height: 130px; }
    .blog-modal-box { padding: 20px 16px; }
}