/* ========================================= */
/*           HERO SECTION                   */
/* ========================================= */
.hero-section {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.1));
    padding: 4rem 0;
    margin: -2rem -2rem 3rem -2rem;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #ffb300);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-stat-card {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ========================================= */
/*           SECTION STYLES                 */
/* ========================================= */
.quick-access-section,
.server-highlights-section,
.news-preview-section,
.community-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    font-size: 2.2rem;
}

/* ========================================= */
/*           FEATURE GRID                   */
/* ========================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-link::after {
    transform: translateX(5px);
}

/* ========================================= */
/*           SERVER HIGHLIGHTS              */
/* ========================================= */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.highlight-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.highlight-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================= */
/*           NEWS PREVIEW                   */
/* ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    gap: 1rem;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.news-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.news-category {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-read-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.section-footer {
    text-align: center;
}

/* ========================================= */
/*           COMMUNITY SECTION              */
/* ========================================= */
.community-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.community-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.community-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.community-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.community-stat {
    text-align: center;
}

.community-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.community-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-visual {
    display: flex;
    justify-content: center;
}

.community-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 300px;
}

.avatar-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid var(--bg-primary);
}


/* ========================================= */
/*           STARTSEITE FESTLEGEN            */
/* ========================================= */

        .hero-section {
            padding: 4rem 2rem;
            background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.1));
        }

        .hero-content {
            display: flex;
            align-items: flex-start;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .hero-text {
            flex: 1;
            text-align: left;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-description {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        /* Homepage Widget Styling */
        .homepage-widget {
            flex: 0 0 350px;
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 15px;
            border: 2px solid var(--accent-primary);
            box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .homepage-widget::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
        }

        .widget-header {
            margin-bottom: 1rem;
        }

        .widget-icon {
            font-size: 2.5rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .widget-title {
            font-size: 1.3rem;
            color: var(--accent-primary);
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .widget-description {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--accent-primary);
            color: var(--bg-primary);
        }

        .btn-secondary {
            background: transparent;
            border: 2px solid var(--accent-primary);
            color: var(--accent-primary);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
        }

        .success-message {
            background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
            border: 1px solid var(--accent-primary);
            color: var(--accent-primary);
            padding: 0.75rem;
            border-radius: 8px;
            margin-top: 1rem;
            display: none;
            font-size: 0.9rem;
        }

        .error-message {
            background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
            border: 1px solid var(--accent-secondary);
            color: var(--accent-secondary);
            padding: 0.75rem;
            border-radius: 8px;
            margin-top: 1rem;
            display: none;
            font-size: 0.9rem;
        }

        .browser-info-compact {
            margin-top: 1rem;
        }

        .browser-info-compact details {
            cursor: pointer;
        }

        .browser-info-compact summary {
            color: var(--text-muted);
            font-size: 0.85rem;
            padding: 0.5rem;
            border-radius: 5px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            list-style: none;
            transition: all 0.3s ease;
        }

        .browser-info-compact summary:hover {
            color: var(--accent-primary);
            border-color: var(--accent-primary);
        }

        .browser-info-compact summary::-webkit-details-marker {
            display: none;
        }

        .manual-instructions {
            padding: 1rem;
            background: var(--bg-secondary);
            border-radius: 5px;
            margin-top: 0.5rem;
            border: 1px solid var(--border-color);
        }

        .manual-instructions p {
            color: var(--text-muted);
            font-size: 0.8rem;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .manual-instructions p:last-child {
            margin-bottom: 0;
        }

/* ========================================= */
/*           RESPONSIVE DESIGN              */
/* ========================================= */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-stat-card {
        flex: 1;
        max-width: 200px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        margin: -1rem -1rem 2rem -1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;        
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .homepage-widget {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .community-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    .homepage-widget {
        padding: 1.5rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .widget-description {
        font-size: 0.9rem;
    }
    
    .community-section {
        padding: 2rem 1.5rem;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .community-stats {
        flex-direction: column;
        gap: 1rem;
    }
}