/* =========================================================
 * BlaulichtNetzwerk - Alle Stile in einer Datei
 * Webseite für den BlaulichtNetzwerk FiveM Server in Wernau
 * =========================================================
 */

/* ===== Variables ===== */
:root {
    /* Main Colors */
    --primary-color: #0047cc;
    --primary-dark: #003399;
    --primary-light: #3373ff;
    --secondary-color: #00a8ff;
    --accent-color: #00c6ff;
    
    /* Neutral Colors */
    --dark: #001733;
    --dark-blue: #00264d;
    --medium-blue: #004d99;
    --light: #f8f9ff;
    --white: #ffffff;
    
    /* Functional Colors */
    --success: #00d26a;
    --warning: #ffaa00;
    --danger: #ff3366;
    --info: #00ccff;
    
    /* Text Colors */
    --text-primary: #001733;
    --text-secondary: #003366;
    --text-light: #f8f9ff;
    --text-muted: #6c757d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-blue: linear-gradient(135deg, #1a56db 0%, #4f88f7 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 23, 51, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 23, 51, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 23, 51, 0.2);
    --shadow-btn: 0 4px 10px rgba(0, 71, 204, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-back: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== Container & Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

section {
    padding: 5rem 0;
}

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

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    margin-bottom: 2rem;
}

.preloader-logo {
    width: 150px;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    border-radius: var(--radius-full);
    animation: loading 2s ease-in-out forwards;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: var(--dark);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links ul {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* ===== Page Header ===== */
.page-header {
    height: 300px;
    background-image: url('../images/page-header.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 23, 51, 0.8), rgba(0, 71, 204, 0.7));
    z-index: var(--z-back);
}

.page-header-content {
    max-width: 800px;
    padding: 0 1.5rem;
    color: var(--text-light);
    z-index: var(--z-normal);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 23, 51, 0.8), rgba(0, 71, 204, 0.7));
    z-index: var(--z-back);
}

.hero-content {
    max-width: 800px;
    padding: 0 1.5rem;
    color: var(--text-light);
    z-index: var(--z-normal);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 71, 204, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-discord {
    background-color: #5865F2;
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-3px);
    color: var(--white);
}

.btn-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-btn);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 71, 204, 0.4);
    color: var(--white);
}

/* ===== Features Section ===== */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
}

/* ===== Join Us Section ===== */
.join-us {
    background-color: var(--light);
}

.join-us .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.join-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.join-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
}

.testimonial-slide {
    text-align: center;
}

.testimonial-content {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: #d1d7e0;
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background-color: var(--primary-color);
    width: 24px;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.7;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-light);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: var(--z-tooltip);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== About Page Styles ===== */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.mission {
    background-color: var(--light);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.mission-icon i {
    font-size: 2rem;
    color: var(--white);
}

.timeline {
    background-color: var(--white);
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
}

.timeline-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.server-features {
    background-color: var(--light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item .feature-icon {
    margin: 0;
}

.feature-details h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.team-preview {
    background-color: var(--light);
}

.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-link i {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.contact-form {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d7e0;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 71, 204, 0.1);
}

/* ===== Rules Page Styles ===== */
.rules-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rules-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.rules-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.rules-list {
    counter-reset: rule-counter;
}

.rule-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    counter-increment: rule-counter;
}

.rule-item:before {
    content: counter(rule-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.rule-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.rule-description {
    font-size: 1rem;
    color: var(--text-primary);
}

.consequence {
    font-size: 0.9rem;
    color: var(--danger);
    margin-top: 0.5rem;
    font-style: italic;
}

.rules-note {
    background-color: rgba(0, 71, 204, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.rules-note p {
    margin-bottom: 0;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--light);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-button:hover:not(.active) {
    border-color: var(--primary-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.consequences-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.consequences-list li {
    margin-bottom: 0.5rem;
}

/* ===== Join Page Styles ===== */
.join-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
}

.step-content {
    padding-left: 3rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.step-description {
    margin-bottom: 1.5rem;
}

.step-image {
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.step-tip {
    background-color: rgba(0, 170, 255, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.step-tip h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step-tip p {
    margin-bottom: 0;
}

.requirements-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.requirements-title {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.requirements-list {
    list-style-type: none;
    padding: 0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.requirement-icon {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.faq-join {
    margin-top: 3rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
    box-shadow: var(--shadow-btn);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 71, 204, 0.4);
    color: var(--white);
}

.download-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.discord-embed {
    background-color: #5865F2;
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.discord-embed h3 {
    color: white;
    margin-bottom: 1rem;
}

.discord-embed p {
    margin-bottom: 1.5rem;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: #5865F2;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #5865F2;
}

.discord-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* ===== Team Page Styles ===== */
.team-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.team-container {
    max-width: 1000px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 23, 51, 0.8), transparent);
    color: white;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.team-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark);
}

.team-categories {
    margin-bottom: 3rem;
}

.category-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* ===== Gallery Page Styles ===== */
.gallery-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.gallery-filter {
    padding: 0.5rem 1.5rem;
    background-color: var(--light);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-filter:hover:not(.active) {
    background-color: var(--primary-light);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 23, 51, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-category {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.gallery-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    margin-bottom: 1rem;
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 23, 51, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
}

/* ===== Animations ===== */
/* Preloader Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        width: 0;
    }
    20% {
        width: 20%;
    }
    50% {
        width: 50%;
    }
    80% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}

/* Navbar Animations */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Mobile Menu Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Animation */
@keyframes slideIn {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.nav-links.show {
    animation: slideIn 0.3s forwards;
}

.nav-links.hide {
    animation: slideOut 0.3s forwards;
}

/* Feature Cards Animation */
.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.5s ease;
}

/* Stats Counter Animation */
@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.animate {
    animation: countUp 1.5s forwards;
}

/* Join Section Image Animation */
.join-image img {
    transition: transform 0.5s ease;
}

.join-image:hover img {
    transform: scale(1.03);
}

/* Testimonial Slider Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.testimonial-slide.active {
    animation: fadeIn 0.5s forwards;
}

.testimonial-slide.inactive {
    animation: fadeOut 0.5s forwards;
}

/* CTA Button Animation */
.btn-cta {
    position: relative;
    overflow: hidden;
}

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

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

/* Footer Social Icons Animation */
.social-icons a i {
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: rotate(360deg);
}

/* Back to Top Button Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.back-to-top:hover {
    animation: bounce 1s ease infinite;
}

/* Section Reveal Animations */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Logo Glow Effect */
@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 198, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 2px rgba(0, 198, 255, 0.5));
    }
}

.logo img:hover {
    animation: logoGlow 2s infinite;
}

/* Hero Text Animation */
@keyframes textFocus {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.hero h1, .hero p {
    animation: textFocus 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.hero p {
    animation-delay: 0.3s;
}

.cta-buttons {
    animation: textFocus 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation-delay: 0.6s;
}

/* Button Hover Effect */
.btn-primary, .btn-secondary, .btn-discord {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Police Light Effect for BlaulichtNetzwerk */
@keyframes policeLight {
    0%, 30% {
        box-shadow: 0 0 10px 5px rgba(0, 170, 255, 0.8);
    }
    50%, 80% {
        box-shadow: 0 0 10px 5px rgba(255, 0, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 10px 5px rgba(0, 170, 255, 0.8);
    }
}

.police-light-effect:hover {
    animation: policeLight 2s infinite;
}

/* Loading Spinner */
@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 71, 204, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: rotate 1s infinite linear;
}

/* ===== Responsive Styles ===== */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        right: -300px;
        width: 300px;
        height: calc(100vh - 80px);
        background-color: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: var(--z-fixed);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Join Us Section */
    .join-us .container {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        order: 1;
        text-align: center;
    }
    
    .join-image {
        order: 0;
        margin-bottom: 2rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 0;
    }
    
    /* Timeline */
    .timeline-wrapper::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0;
    }
    
    .timeline-dot {
        left: 30px !important;
    }
    
    .timeline-content {
        margin-left: 60px !important;
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form {
        order: 0;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }
    
    .container {
        max-width: 540px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 1.5rem;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo, .footer-links, .footer-contact, .footer-social {
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 1rem;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Rules Page */
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
    
    /* Feature Item */
    .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item .feature-icon {
        margin: 0 auto 1.5rem;
    }
    
    /* Join Page */
    .step-card {
        padding-top: 3rem;
    }
    
    .step-number {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .step-content {
        padding-left: 0;
    }
    
    /* Gallery */
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Navbar */
    .navbar {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        top: 70px;
        width: 100%;
        right: -100%;
    }
    
    /* Timeline */
    .timeline-content {
        padding: 1rem;
    }
    
    /* Contact */
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Gallery */
    .gallery-filters {
        flex-direction: column;
    }
    
    .gallery-filter {
        width: 100%;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .modal-prev, .modal-next {
        display: none;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 450px;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        overflow-y: auto;
    }
    
    .page-header {
        height: 200px;
    }
}

/* Print styles - Hide unnecessary elements when printing */
@media print {
    .header, .footer, .back-to-top, .cta, .preloader {
        display: none !important;
    }
    
    body, html {
        background-color: white !important;
        color: black !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .feature-card, .stat-card, .testimonial-content {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* Zusätzliche CSS-Stile für die Team-Seite */

/* Join Team Section */
.join-team {
    margin-top: 3rem;
}

.join-team-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.join-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/team/join-team-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.join-team-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.join-team-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.join-team-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.join-team-content .btn {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    background-color: var(--white);
    color: var(--primary-color);
}

.join-team-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Team Hover Overlay Animation */
.team-photo .team-overlay {
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-photo .team-overlay p {
    font-style: italic;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Specific hover animation for team cards */
.team-card:hover .team-photo .team-overlay {
    animation: fadeIn 0.3s forwards;
}

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

/* Team social links hover effect */
.team-social a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-social a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Category title underline animation on hover */
.category-title {
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.category-title::after {
    transition: width 0.3s ease;
    width: 40px;
}

.team-categories:hover .category-title::after {
    width: 80px;
}

/* Add a staggered animation for team cards */
.team-categories:nth-child(odd) .team-card:nth-child(1) {
    animation-delay: 0.1s;
}

.team-categories:nth-child(odd) .team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-categories:nth-child(odd) .team-card:nth-child(3) {
    animation-delay: 0.3s;
}

.team-categories:nth-child(odd) .team-card:nth-child(4) {
    animation-delay: 0.4s;
}

.team-categories:nth-child(even) .team-card:nth-child(1) {
    animation-delay: 0.15s;
}

.team-categories:nth-child(even) .team-card:nth-child(2) {
    animation-delay: 0.25s;
}

.team-categories:nth-child(even) .team-card:nth-child(3) {
    animation-delay: 0.35s;
}

.team-categories:nth-child(even) .team-card:nth-child(4) {
    animation-delay: 0.45s;
}

/* Responsive adjustments for team page */
@media (max-width: 991.98px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .join-team-content {
        padding: 2rem;
    }
    
    .join-team-content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .team-photo {
        height: 250px;
    }
    
    .join-team-content {
        padding: 1.5rem;
    }
    
    .join-team-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .team-photo {
        height: 280px;
    }
}

/* CSS-Stile für die neue Rules-Seite */

/* Rules Section Styles */
.rules-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Rules Navigation */
.rules-navigation {
    margin-bottom: 3rem;
}

.rules-nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.rules-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    min-width: 150px;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    text-align: center;
}

.rules-nav-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.rules-nav-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.rules-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.rules-nav-item.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-5px);
}

.rules-nav-item.active i,
.rules-nav-item.active span {
    color: var(--white);
}

/* Rules Tabs Content */
.rules-tabs-content {
    position: relative;
    min-height: 400px;
}

.rules-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.rules-tab-pane.active {
    display: block;
}

.rules-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.rules-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-right: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rules-header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.75rem;
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rule-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.rule-number {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.rule-content {
    flex: 1;
}

.rule-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.rule-description {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.rule-consequence {
    background-color: rgba(255, 51, 102, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.consequence-label {
    font-weight: 700;
    color: var(--danger);
    margin-right: 0.5rem;
}

.consequence-text {
    color: var(--text-primary);
}

.rules-note {
    background-color: rgba(0, 170, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
}

.rules-note i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.rules-note p {
    margin: 0;
    color: var(--text-secondary);
}

/* Consequences Section */
.consequences-section {
    margin-top: 4rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.consequences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.consequence-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.consequence-card:nth-child(1) {
    border-top-color: var(--warning);
}

.consequence-card:nth-child(2) {
    border-top-color: var(--info);
}

.consequence-card:nth-child(3) {
    border-top-color: var(--danger);
}

.consequence-card:nth-child(4) {
    border-top-color: var(--primary-color);
}

.consequence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.consequence-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.consequence-card:nth-child(1) .consequence-icon {
    color: var(--warning);
}

.consequence-card:nth-child(2) .consequence-icon {
    color: var(--info);
}

.consequence-card:nth-child(3) .consequence-icon {
    color: var(--danger);
}

.consequence-card:nth-child(4) .consequence-icon {
    color: var(--primary-color);
}

.consequence-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.rules-disclaimer {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
}

/* Rules FAQ */
.rules-faq {
    margin-top: 4rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question h4 {
    color: var(--white);
}

.faq-item.active .faq-toggle {
    background-color: var(--white);
    color: var(--primary-color);
    transform: rotate(180deg);
}

/* Rules Support Section */
.rules-support {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.support-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.support-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.support-content .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.support-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles for Rules Page */
@media (max-width: 991.98px) {
    .rules-nav-tabs {
        gap: 0.75rem;
    }
    
    .rules-nav-item {
        padding: 1rem;
        min-width: 130px;
    }
    
    .consequence-card {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .rules-nav-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .rules-nav-item {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.75rem 1.25rem;
    }
    
    .rules-nav-item i {
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .rules-header {
        flex-direction: column;
        text-align: center;
    }
    
    .rules-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .rule-item {
        flex-direction: column;
    }
    
    .rule-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .consequences-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .rules-container {
        padding: 0 1rem;
    }
    
    .rules-header h3 {
        font-size: 1.5rem;
    }
    
    .rules-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .rule-title {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}
/* CSS-Stile für die neue Join-Seite */

/* Join Progress Section */
.join-progress {
    background-color: var(--primary-dark);
    padding: 2rem 0;
    color: var(--white);
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-bar {
    position: relative;
    padding: 0 1rem;
}

.progress-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
    z-index: 1;
}

.progress-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: var(--gradient-primary);
    border-color: var(--white);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    opacity: 1;
    transform: scale(1.05);
}

/* Join Content Section */
.join-content {
    background-color: var(--white);
    padding: 5rem 0;
}

.join-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Left Navigation */
.join-navigation {
    position: sticky;
    top: 100px;
    height: fit-content;
    background-color: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.nav-title {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    font-size: 1.5rem;
}

.join-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.join-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.join-nav-item i {
    width: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.join-nav-item:hover {
    background-color: rgba(0, 71, 204, 0.1);
}

.join-nav-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.join-nav-item.active i {
    color: var(--white);
}

.join-help-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
}

.help-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.join-help-card h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.join-help-card p {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Right Content */
.join-main-content {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    min-height: 600px;
}

.join-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.join-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.section-header h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.75rem;
}

.section-content {
    margin-bottom: 2rem;
}

.section-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Requirements Section */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.requirement-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.requirement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.requirement-card h3 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.requirement-list {
    list-style: none;
    padding: 0;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.requirement-list li i {
    color: var(--success);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.section-note {
    background-color: rgba(0, 170, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.section-note i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.section-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* Discord Section */
.discord-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.discord-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.discord-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(88, 101, 242, 0.7), rgba(88, 101, 242, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--white);
}

.discord-overlay h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    background-color: rgba(0, 170, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.info-content p {
    margin: 0;
    font-size: 0.95rem;
}

.success-box {
    background-color: rgba(0, 210, 106, 0.1);
}

.success-box .info-icon {
    color: var(--success);
}

/* Installation Section */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.platform-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-card img {
    height: 60px;
    margin: 0 auto 1rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.download-box {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.download-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.download-content h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.download-content p {
    margin-bottom: 1rem;
}

.installation-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-marker {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.step-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.step-details p {
    margin: 0;
}

/* Whitelist Section */
.application-process {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.process-content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.process-content p {
    margin: 0;
}

.application-tips {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.application-tips h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.application-tips ul {
    list-style: none;
    padding: 0;
}

.application-tips li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.application-tips li i {
    color: var(--success);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Server Join Section */
.server-join-steps {
    margin: 2rem 0;
}

.join-step {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.join-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.join-step img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.join-step-content {
    padding: 1.5rem;
}

.join-step-content h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.join-step-content p {
    margin: 0;
}

/* Character Creation Section */
.character-steps {
    margin: 2rem 0;
}

.character-step {
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.character-step-header {
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 1rem;
}

.character-step-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
}

.character-step-content {
    padding: 1.5rem;
}

.character-step-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

/* Tutorial Section */
.tutorial-steps {
    margin: 2rem 0;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tutorial-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.tutorial-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.tutorial-details p {
    margin: 0;
}

/* FAQ Section */
.faq-accordion {
    margin: 1.5rem 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-item.active .faq-toggle {
    background-color: var(--white);
    color: var(--primary-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.more-questions {
    background-color: rgba(0, 71, 204, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.more-questions h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.more-questions p {
    margin-bottom: 1.25rem;
}

/* Join CTA Section */
.join-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.join-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.join-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Styles for Join Page */
@media (max-width: 991.98px) {
    .join-grid {
        grid-template-columns: 1fr;
    }
    
    .join-navigation {
        position: static;
        margin-bottom: 2rem;
    }
    
    .join-nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .join-nav-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .join-nav-item i {
        font-size: 1.25rem;
    }
    
    .progress-steps {
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .progress-line {
        display: none;
    }
    
    .download-box {
        flex-direction: column;
        text-align: center;
    }
    
    .download-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-icon {
        margin: 0 auto 1rem;
    }
    
    .tutorial-step {
        flex-direction: column;
        text-align: center;
    }
    
    .tutorial-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 767.98px) {
    .requirements-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-marker {
        margin: 0 auto 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin: 0 auto 1rem;
    }
    
    .section-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 575.98px) {
    .join-nav-list {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        gap: 1.5rem;
        justify-content: flex-start;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-label {
        font-size: 0.8rem;
        width: 80px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
/* CSS-Stile für die Gallery-Seite */

/* Gallery Stats Section */
.gallery-stats {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.gallery-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.gallery-filter i {
    font-size: 1rem;
}

.gallery-filter:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.gallery-filter.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 71, 204, 0.3);
}

/* Gallery Search */
.gallery-search {
    margin-bottom: 3rem;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

#gallery-search {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

#gallery-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 71, 204, 0.1);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--light);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 23, 51, 0) 0%,
        rgba(0, 23, 51, 0.3) 50%,
        rgba(0, 23, 51, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-category {
    background-color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Load More */
.gallery-load-more {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    margin-bottom: 1rem;
}

.load-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.reset-search {
    margin-top: 1rem;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 23, 51, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    margin: 5% auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light);
    background-color: var(--white);
}

.modal-info {
    flex: 1;
}

.modal-title {
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.modal-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    background-color: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--danger);
    color: var(--white);
}

.modal-body {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark);
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    pointer-events: all;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid var(--light);
    background-color: var(--white);
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-counter {
    font-weight: 600;
    color: var(--text-primary);
}

.current-image {
    color: var(--primary-color);
}

/* Modal Open Body Class */
body.modal-open {
    overflow: hidden;
}

/* Gallery Contribution Section */
.gallery-contribution {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.contribution-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contribution-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.contribution-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.1rem;
}

/* Responsive Styles for Gallery */
@media (max-width: 991.98px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .gallery-filter {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contribution-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .modal-navigation {
        padding: 0 1rem;
    }
}

@media (max-width: 767.98px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-filter {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-stats {
        padding: 2rem 0;
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
    
    .search-container {
        margin: 0 1rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .modal-navigation {
        padding: 0 0.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* Print styles for gallery */
@media print {
    .gallery-modal,
    .gallery-filters,
    .gallery-search,
    .gallery-load-more,
    .gallery-contribution {
        display: none !important;
    }
    
    .gallery-grid {
        display: block;
    }
    
    .gallery-item {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .gallery-overlay {
        opacity: 1;
        position: static;
        background: white;
        color: black;
        padding: 0.5rem;
    }
    
    .gallery-icon {
        display: none;
    }
}

