@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Grundlegende Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --accent-color: #007AFF;
    --accent-rgb: 0, 122, 255;
    --accent-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --accent-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    --text-color: #1D1D1F;
    --text-secondary: #86868B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-tertiary: #FAFAFA;
    --border-color: #E5E5E7;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --border-radius-small: 12px;
    --border-radius-large: 24px;
}

[data-theme="dark"] {
    --accent-color: #0A84FF;
    --accent-rgb: 10, 132, 255;
    --accent-gradient: linear-gradient(135deg, #0A84FF 0%, #5E5CE6 100%);
    --accent-shadow: 0 8px 32px rgba(10, 132, 255, 0.3);
    --text-color: #F5F5F7;
    --text-secondary: #98989D;
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #2C2C2E;
    --border-color: #38383A;
    --glass-bg: rgba(28, 28, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body {
    background-color: var(--bg-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: relative;
}

/* Video Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    object-fit: cover;
    opacity: 0.6;
    pointer-events: none;
}

/* Overlay für bessere Lesbarkeit */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

body.loaded {
    opacity: 1;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    margin-left: -1rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.server-status-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 6rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-color);
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

.footer-social a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--accent-gradient);
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link, .nav-link:focus, .nav-link:active {
  outline: none;
  box-shadow: none;
  border: none;
  background: none;
}

.nav-link.active, .nav-link:hover {
  color: #fff;
  background: var(--accent-gradient);
  border-radius: 12px;
  box-shadow: none;
  outline: none;
  position: relative;
  z-index: 1;
  transform: none;
}

.nav-link::before,
.nav-link::after {
  display: none !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--border-radius-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-1px);
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

.mobile-menu-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    background: transparent;
}

.footer-links a:hover {
    color: var(--accent-color);
    background: var(--glass-bg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--accent-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover i {
    transform: scale(1.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 122, 255, 0.1);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--accent-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon::before {
    transform: translateX(100%);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-btn::before {
    content: '→';
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateX(4px);
    box-shadow: var(--accent-shadow);
}

.feature-btn:hover::before {
    transform: translateX(4px);
}

/* News Section */
.news-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-content {
    position: relative;
    z-index: 1;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.news-meta .date {
    color: var(--accent-color);
}

.news-meta .category {
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: var(--border-radius);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-right {
        margin-right: 0;
    }
    
    .server-status-mini {
        margin-left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .news-card {
        padding: 2rem;
    }
    
    .hero-section {
        padding: 100px 1rem 3rem;
    }
    
    .features-section,
    .news-section {
        padding: 4rem 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .section-header h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .feature-card,
    .news-card {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .news-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .features-section,
    .news-section {
        padding: 3rem 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Apply animations */
.hero-content,
.section-header,
.feature-card,
.news-card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects for interactive elements */
.btn,
.feature-btn {
    position: relative;
    overflow: hidden;
}

.btn::after,
.feature-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after,
.feature-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Gradient Text */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Welcome Text */
.welcome-text {
    color: white;
    font-weight: 400;
}

/* Enhanced Footer Social Links */
.footer-social .discord:hover {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.3);
}

.footer-social .teamspeak:hover {
    background: linear-gradient(135deg, #2580C3 0%, #1B5F8B 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 128, 195, 0.3);
}

.footer-social .youtube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
}

.footer-social .tiktok:hover {
    background: linear-gradient(135deg, #000000 0%, #25F4EE 50%, #FE2C55 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Enhanced Button Styles */
.btn:focus,
.feature-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3);
}

/* Enhanced Typography */
.hero-content h1 {
    text-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
}

.section-header h2 {
    text-shadow: 0 2px 10px rgba(0, 122, 255, 0.1);
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .footer,
    .btn,
    .feature-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-section,
    .features-section,
    .news-section {
        padding: 1rem 0;
    }
}

/* Dark Mode Toggle (Optional) */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--text-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Enhanced Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.rule-category li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 0.75rem;
    margin-top: 2px;
}

/* Connect Section */
.connect-section {
    padding: 6rem 2rem;
}

.connect-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.connect-steps {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--accent-shadow);
    font-size: 1.75rem;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ip-copy-box {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

.ip-copy-box input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

.ip-copy-box input:focus {
    outline: none;
}

.copy-btn {
    background: var(--accent-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    filter: brightness(1.1);
}

.connect-info {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.connect-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.connect-info ul {
    list-style: none;
    padding: 0;
}

.connect-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.connect-info li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .connect-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Wiki Section */
.wiki-section {
    padding: 6rem 2rem;
}

.wiki-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.wiki-sidebar {
    flex: 1;
    position: sticky;
    top: 120px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.wiki-search {
    display: flex;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.wiki-search input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
}

.wiki-search input:focus {
    outline: none;
}

.wiki-search button {
    background: var(--accent-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}

.wiki-nav h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.wiki-nav ul {
    list-style: none;
    padding: 0;
}

.wiki-nav li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.wiki-nav li a:hover {
    background: var(--glass-bg);
    color: var(--text-color);
}

.wiki-nav li a.active {
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
}

.wiki-nav li a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.wiki-content {
    flex: 3;
}

.wiki-article {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.wiki-article h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wiki-article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.wiki-article p, .wiki-article ul {
    color: var(--text-secondary);
    line-height: 1.7;
}

.wiki-article ul {
    list-style-position: inside;
    padding-left: 0;
}

.keybind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.keybind-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.keybind-card h3 {
    margin-top: 0;
    padding-bottom: 0.75rem;
    font-size: 1.1rem;
}

.keybind-card ul {
    padding-left: 0;
    list-style: none;
}

.keybind-card li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.keybind-card li:last-child {
    border-bottom: none;
}

.keybind-card li span {
    font-weight: 600;
    background: var(--accent-gradient);
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .wiki-container {
        flex-direction: column;
    }
    .wiki-sidebar {
        position: static;
        width: 100%;
    }
}

/* Impressum Section */
.impressum-section {
    padding: 6rem 2rem;
}

.impressum-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-light);
}

.impressum-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.impressum-content h3:first-child {
    margin-top: 0;
}

.impressum-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.impressum-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.impressum-content a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .wiki-container {
        flex-direction: column;
    }
    .wiki-sidebar {
        position: static;
        width: 100%;
    }
}

.impressum-card ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.impressum-card li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impressum-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.impressum-card a:hover {
    text-decoration: underline;
}

/* ------------------- */
/* Streamer Page       */
/* ------------------- */

.streamer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    background: var(--bg-tertiary-alpha);
    transform: translateY(-2px);
}

.tab-button.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    line-height: 1.6;
    opacity: 0.8;
}

.requirements-card {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.requirements-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.requirements-card li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.requirements-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
}

.requirements-card .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.live-streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.streamer-card {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.streamer-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
}

.streamer-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: var(--bg-tertiary);
}

.streamer-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #e91e63;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.streamer-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.streamer-pfp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    margin-top: -35px; /* PFP overlaps thumbnail */
    margin-bottom: 0.5rem;
}

.streamer-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.stream-title {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.4;
    margin-top: 0.25rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.streamer-card .btn {
    margin-top: auto;
    width: 100%;
    background: #9146ff !important; /* Twitch Purple, overrides gradient */
    border: none !important;
    color: #fff !important;
}
.streamer-card .btn:hover {
    background: #7a2bff !important;
    box-shadow: 0 6px 20px rgba(145, 70, 255, 0.35) !important;
}
.streamer-card .btn::after {
    display: none !important; /* Disable ripple effect */
}

.no-streamers .info-card {
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ------------------- */
/* Donate Page         */
/* ------------------- */
.donate-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--padding-x);
  text-align: center;
}

.donate-card {
  background: var(--bg-secondary-alpha);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 3rem;
}

.donate-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.donate-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.donate-description {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 1rem auto;
}

.donate-thanks {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.btn-donate {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

main {
  flex-grow: 1;
  padding-top: 120px; /* Push content below fixed header */
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
}

/* ------------------- */
/* Team Section        */
/* ------------------- */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1328px; /* 4 * 300px + 3 * 2rem (32px*3=96) + some buffer */
}

.team-card {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--accent-color);
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-role-group {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-role-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.team-role-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-socials a {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.team-socials a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Donate Page         */
/* ------------------- */
.donate-page-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.donate-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.donate-info-panel p {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.paypal-form {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 2rem;
}

.paypal-form h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.amount-selection, .message-selection {
    margin-bottom: 1.5rem;
}

.amount-selection label, .message-selection label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.amount-btn {
    background: var(--bg-tertiary-alpha);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-tertiary);
}

.amount-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

#customAmount {
    width: 100%;
    background: var(--bg-tertiary-alpha);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    margin-top: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

#donationMessage {
    width: 100%;
    background: var(--bg-tertiary-alpha);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-paypal {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
}

.donate-progress-panel {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.progress-circle-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-track {
    stroke: var(--border-color);
}

.progress-ring-indicator {
    stroke: var(--accent-color);
    transition: stroke-dashoffset 1s ease-out;
}

.progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-percentage {
    font-size: 2.5rem;
    font-weight: 800;
}

.progress-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}

.supporters-section {
    margin-top: 4rem;
}

.supporters-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.supporters-section h3 i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.supporter-card {
    background: var(--bg-secondary-alpha);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 80px;
}

.supporter-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.supporter-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .donate-layout {
        grid-template-columns: 1fr;
    }
    .donate-progress-panel {
        order: -1;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-heavy);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
    transition: background-color 0.2s ease;
}

.cookie-option:hover {
    background: var(--bg-tertiary);
}

.cookie-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.cookie-option input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.cookie-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.cookie-option input[type="checkbox"]:disabled + .checkmark {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    opacity: 0.6;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-label strong {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-label small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-actions .btn {
    min-width: 140px;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

/* Mobile Responsive für Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-actions .btn {
        min-width: auto;
        flex: 1;
        max-width: 150px;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0.75rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        max-width: none;
    }
}

.logfile-list {
    margin: 0 0 1em 1.5em;
    padding: 0;
    list-style-type: disc;
    font-size: 1em;
    color: #fff; /* oder eine zu deinem Design passende Farbe */
  }
  
  .logfile-list li {
    margin-bottom: 0.3em;
    font-weight: 400;
  }

.charakter-img {
  position: fixed;
  right: -300px;
  top: 80%;
  transform: translateY(-50%);
  max-height: 80vh;
  height: auto;
  z-index: 1; /* Deutlich niedriger als der Content */
  pointer-events: none;
  opacity: 0.32;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.25));
}

/* Regelwerk Übersicht */
.rules-container {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--glass-bg);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 3rem 2rem;
}
.rules-content h3 {
  font-size: 1.35rem;
  color: var(--accent-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.rules-content h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.rules-content ul {
  background: rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.1rem 1.5rem 1.1rem 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rules-content ul ul {
  background: none;
  box-shadow: none;
  padding: 0.2rem 0 0.2rem 1.5rem;
  margin-bottom: 0.5rem;
}
.rules-content li {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.rules-content li strong {
  color: var(--accent-color);
  font-weight: 600;
}
.rules-content p {
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  color: var(--text-color);
}
.rules-content hr {
  border: none;
  border-top: 2px solid var(--accent-color);
  margin: 2.5rem 0 2rem 0;
  opacity: 0.18;
}
@media (max-width: 700px) {
  .rules-container {
    padding: 1.2rem 0.5rem;
  }
  .rules-content h2 {
    font-size: 1.3rem;
  }
  .rules-content h3 {
    font-size: 1.05rem;
  }
  .rules-content ul {
    padding: 0.7rem 0.7rem 0.7rem 1.2rem;
  }
}

/* Feedback Section Styles */
.feedback-section {
  padding: 120px 2rem 4rem;
  min-height: 100vh;
  background: transparent;
}

.feedback-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feedback-form {
  background: var(--glass-bg);
  border-radius: var(--border-radius-large);
  padding: 2.5rem;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
}

.feedback-form h3 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  background: var(--bg-primary);
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  flex: 1;
  min-width: 140px;
}

.feedback-info {
  background: var(--glass-bg);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
  position: sticky;
  top: 120px;
}

.feedback-info h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feedback-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feedback-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: var(--border-radius-small);
  border-left: 3px solid var(--accent-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-info li:hover {
  background: rgba(var(--accent-rgb), 0.1);
  transform: translateX(4px);
}

.feedback-info li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.feedback-tips {
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: var(--border-radius-small);
  padding: 1.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.feedback-tips h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feedback-tips ul {
  margin-bottom: 0;
}

.feedback-tips li {
  background: none;
  border-left: none;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feedback-tips li:hover {
  background: none;
  transform: none;
}

.feedback-tips li::before {
  content: '•';
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Responsive Design für Feedback */
@media (max-width: 992px) {
  .feedback-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feedback-info {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .feedback-section {
    padding: 100px 1rem 2rem;
  }
  
  .feedback-form {
    padding: 1.5rem;
  }
  
  .feedback-info {
    padding: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    flex: none;
  }
}

@media (max-width: 480px) {
  .feedback-form {
    padding: 1rem;
  }
  
  .feedback-info {
    padding: 1rem;
  }
  
  .feedback-info li {
    font-size: 0.9rem;
  }
}

/* Feedback Modal Styles */
.feedback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-modal.show {
  opacity: 1;
}

.feedback-modal-content {
  background: var(--glass-bg);
  border-radius: var(--border-radius-large);
  padding: 2.5rem;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-modal.show .feedback-modal-content {
  transform: scale(1) translateY(0);
}

.feedback-modal-icon {
  font-size: 3rem;
  color: #10B981;
  margin-bottom: 1.5rem;
  animation: modalIconPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-modal-icon.error {
  color: #EF4444;
}

@keyframes modalIconPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.feedback-modal-content h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.feedback-modal-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.feedback-modal-content .btn {
  min-width: 120px;
  padding: 0.875rem 2rem;
}

/* Responsive Design für Feedback Modal */
@media (max-width: 480px) {
  .feedback-modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .feedback-modal-icon {
    font-size: 2.5rem;
  }
  
  .feedback-modal-content h3 {
    font-size: 1.25rem;
  }
  
  .feedback-modal-content p {
    font-size: 0.95rem;
  }
}

.required-info {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
}

.word-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-align: right;
  transition: color 0.3s ease;
}

.word-count.valid {
  color: #10B981;
}

.word-count.invalid {
  color: #EF4444;
}

.form-group textarea:invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea:invalid:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.category-help {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: var(--border-radius-small);
  border-left: 3px solid var(--accent-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.category-help i {
  color: var(--accent-color);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.category-help span {
  flex: 1;
}

.category-help span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Keine Antwort Checkbox Styles */
.no-answer-checkbox {
    display: flex;
    align-items: center;
    margin-top: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.no-answer-checkbox.inline {
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
    font-size: 0.8rem;
}

.no-answer-checkbox:hover {
    color: var(--text-color);
}

.no-answer-checkbox input[type="checkbox"] {
    display: none;
}

.no-answer-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.no-answer-checkbox.inline .checkmark {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.no-answer-checkbox:hover .checkmark {
    border-color: var(--accent-color);
}

.no-answer-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.no-answer-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.no-answer-checkbox.inline input[type="checkbox"]:checked + .checkmark::after {
    left: 3px;
    top: 1px;
    width: 3px;
    height: 6px;
}

/* Disabled state für Textarea wenn "Keine Antwort" aktiviert */
.form-group textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
}

/* Responsive Anpassungen */
@media (max-width: 480px) {
    .no-answer-checkbox {
        font-size: 0.8rem;
    }
    
    .no-answer-checkbox .checkmark {
        width: 14px;
        height: 14px;
    }
    
    .no-answer-checkbox input[type="checkbox"]:checked + .checkmark::after {
        left: 3px;
        top: 1px;
        width: 3px;
        height: 6px;
    }
}