* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-purple: #9d00ff;
    --neon-green: #00ff41;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --border-color: #333333;
    --glow-intensity: 0.5;
}

/* Zusätzliche Utility-Klassen */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Header - Kompakt & Modern (wird durch modern.css überschrieben wenn vorhanden) */
.header,
.header-modern {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    text-decoration: none;
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px var(--neon-pink);
    transition: all 0.3s;
    white-space: nowrap;
}

.logo:hover {
    opacity: 0.9;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neon-pink);
    opacity: 0.15;
    filter: blur(15px);
    z-index: -1;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.admin-link {
    color: var(--neon-green) !important;
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Sicherstellen, dass Dropdowns beim Verlassen geschlossen werden */
.nav-dropdown:not(:hover) .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-cyan);
}

/* Buttons - Kompakt */
.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
}

.btn-primary {
    background: var(--neon-pink);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.btn-outline:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.1);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 1.5rem 0;
}

.auth-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.1);
}

.auth-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.75rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input {
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    background: var(--bg-primary);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #ff6666;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Search */
.search-filters {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.filter-group input,
.filter-group select {
    width: 100%;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.user-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.user-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

/* Footer - wird weiter unten überschrieben */

.page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

/* Profile Styles */
.profile-header {
    position: relative;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.cover-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    display: block;
}

.profile-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
    margin-top: -75px;
    padding-top: 90px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    object-fit: cover;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    display: block;
}

.profile-info > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-info h1 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-username {
    color: var(--text-secondary);
    margin: 0;
}

.profile-actions {
    position: absolute;
    top: 90px;
    right: 2rem;
    z-index: 3;
}

.profile-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.profile-section {
    margin-bottom: 1.5rem;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.profile-details-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.profile-details-section h3 {
    color: var(--neon-cyan);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.profile-details-section .profile-details div {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-details-section .profile-details div:last-child {
    border-bottom: none;
}

.profile-details-section .profile-details strong {
    color: var(--neon-pink);
    margin-right: 0.5rem;
}

.user-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.user-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.distance {
    color: var(--neon-cyan);
    font-weight: bold;
}

.btn-small {
    padding: 0.5rem 0.875rem;
    font-size: 0.85rem;
}

/* Forum Styles - phpBB/SMF Style */
.forum-categories {
    margin-bottom: 2rem;
}

.forum-category-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.forum-category-box:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transform: translateX(5px);
}

.category-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.category-info {
    flex: 1;
}

.category-title {
    color: var(--neon-cyan);
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.85rem;
}

.category-stats {
    display: flex;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-pink);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-last-post {
    padding: 0.75rem 1.25rem;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.category-header {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.category-header h2 {
    color: var(--neon-cyan);
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.category-header .category-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.last-post-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.last-post-title {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 500;
}

.last-post-title:hover {
    color: var(--neon-pink);
    text-decoration: underline;
}

.last-post-author {
    color: var(--text-secondary);
}

.last-post-time {
    color: var(--text-secondary);
    margin-left: auto;
}

.no-posts {
    color: var(--text-secondary);
    font-style: italic;
}

.forum-topics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.forum-topics-header h2,
.forum-topics-header h3 {
    color: var(--neon-cyan);
    margin: 0;
    font-size: 1.3rem;
}

.no-topics {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.forum-header-actions {
    margin-bottom: 1.5rem;
}

.forum-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.forum-table {
    width: 100%;
    border-collapse: collapse;
}

.forum-table thead {
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--border-color);
}

.forum-table th {
    padding: 1rem;
    text-align: left;
    color: var(--neon-cyan);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.forum-col-icon {
    width: 40px;
    text-align: center;
}

.forum-icon {
    text-align: center;
    font-size: 1.2rem;
}

.icon-pinned {
    color: var(--neon-pink);
}

.icon-locked {
    color: #ff6666;
}

.icon-normal {
    opacity: 0.5;
}

.forum-col-topic {
    width: 40%;
}

.forum-col-author {
    width: 18%;
}

.forum-col-replies,
.forum-col-views {
    width: 10%;
    text-align: center;
}

.forum-col-last {
    width: 12%;
}

.forum-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.topic-row {
    transition: background 0.2s;
}

.topic-row:hover {
    background: rgba(255, 0, 255, 0.05);
}

.topic-row.pinned {
    background: rgba(255, 0, 255, 0.1);
}

.topic-row.pinned:hover {
    background: rgba(255, 0, 255, 0.15);
}

.topic-row.locked {
    opacity: 0.7;
}

.topic-row.locked .forum-topic-title a {
    color: var(--text-secondary);
}

.forum-topic-title {
    font-weight: 500;
}

.forum-topic-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.forum-topic-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.forum-topic-title a:hover {
    color: var(--neon-cyan);
}

.topic-category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    margin-left: 0.5rem;
}

.pin-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.forum-stats {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.forum-last {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.forum-breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.forum-breadcrumb a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.forum-breadcrumb a:hover {
    text-decoration: underline;
}

.topic-header-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.topic-title-main {
    margin: 0 0 1rem 0;
    color: var(--neon-pink);
    font-size: 2rem;
}

.topic-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.topic-post {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.post-sidebar {
    min-width: 150px;
    text-align: center;
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.post-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--border-color);
}

.post-author-name {
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 0.25rem;
}

.verified-badge-small {
    color: var(--neon-green);
    font-size: 0.9rem;
    display: block;
    margin: 0.25rem 0;
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.post-content {
    flex: 1;
}

.post-text {
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.reply-post {
    margin-left: 2rem;
}

.replies-section {
    margin-top: 2rem;
}

.replies-section h2 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.topic-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.reply-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--neon-cyan);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s;
}

.btn-link:hover {
    color: var(--neon-pink);
    text-decoration: underline;
}

.quoted-post {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--neon-cyan);
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.quoted-content {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

.edited-badge {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.reply-form-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.reply-form-section h3 {
    color: var(--neon-pink);
    margin-bottom: 1rem;
}

.topic-locked {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6666;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

/* Gallery Styles */
.gallery-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.gallery-card:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        padding-top: 100px;
    }
    
    .profile-actions {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .chat-container {
        flex-direction: column;
        height: auto;
    }
    
    .chat-sidebar {
        width: 100%;
        max-height: 300px;
    }
}

/* Profile Edit */
.profile-edit-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.message.success {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #ff6666;
}

/* Friends */
.friends-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    color: var(--text-primary);
}

.friends-list,
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.friend-card,
.request-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.friend-header,
.request-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.friend-avatar,
.request-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.online-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.online-status.online {
    background: rgba(0, 255, 65, 0.2);
    color: var(--neon-green);
}

.online-status.offline {
    color: var(--text-secondary);
}

.friend-actions,
.request-actions {
    display: flex;
    gap: 0.5rem;
}

/* Gallery */
.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 4px;
}

/* Wird bereits oben definiert */

.verified-badge {
    color: var(--neon-green);
    font-weight: bold;
    font-size: 1.2em;
}

.online-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 65, 0.2);
    color: var(--neon-green);
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.profile-actions-section {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Forum Replies */
.reply {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.reply-header {
    margin-bottom: 1rem;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reply-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.reply-content {
    line-height: 1.6;
    white-space: pre-wrap;
}

.topic-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.no-conversations {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Zusätzliche Forum-Styles */
.forum-table tbody tr:last-child td {
    border-bottom: none;
}

.forum-table tbody tr {
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.forum-table tbody tr:hover {
    border-left-color: var(--neon-cyan);
}

.image-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.gallery-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.gallery-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-private {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff6666;
    color: #ff6666;
}

.badge-public {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.badge-profile {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

.badge-hidden {
    background: rgba(255, 255, 0, 0.2);
    border: 1px solid #ffff00;
    color: #ffff00;
}

.gallery-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.gallery-hidden {
    opacity: 0.6;
    border-color: #ffff00 !important;
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-image {
    position: relative;
}

.gallery-image-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s;
}

.gallery-image-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.image-interactions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.image-rating {
    margin-bottom: 0.5rem;
}

.star-mini {
    transition: all 0.2s;
}

.star-mini:hover {
    transform: scale(1.2);
}

.image-comments-preview {
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
}

.image-comments-preview:hover {
    color: var(--neon-cyan);
}

.image-modal-content {
    max-width: 800px;
    width: 90%;
}

.image-rating-section,
.image-comments-section {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 8px;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
}

.comment-form {
    margin-top: 1rem;
}

.btn-delete-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0;
}

.gallery-image:hover .btn-delete-image {
    opacity: 1;
}

.btn-delete-image:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.btn-danger {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff6666;
    color: #ff6666;
}

.btn-danger:hover {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.btn-warning {
    background: rgba(255, 255, 0, 0.2);
    border: 1px solid #ffff00;
    color: #ffff00;
}

.btn-warning:hover {
    background: rgba(255, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.4);
}

/* Scrollbar-Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Selection */
::selection {
    background: rgba(255, 0, 255, 0.3);
    color: var(--text-primary);
}

/* Link-Styles */
a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

/* Disabled Buttons */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table th {
    background: var(--bg-tertiary);
    color: var(--neon-cyan);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(255, 0, 255, 0.05);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transform: translateY(-3px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--neon-pink);
    margin: 0.5rem 0;
    text-shadow: 0 0 10px var(--neon-pink);
}

.stat-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Topic Form */
.topic-form,
.gallery-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Chat Improvements */
.conversation-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* User Bio */
.user-bio {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.6;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Tooltips */
[title] {
    cursor: help;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

/* Footer - Kompakt & Minimal */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0 0.75rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.8rem;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.footer-separator {
    color: var(--text-secondary);
    opacity: 0.4;
    font-size: 0.8rem;
    margin: 0 0.25rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.footer-modal-link {
    cursor: pointer;
}

/* Footer Modal */
.footer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.footer-modal-content {
    background: var(--bg-secondary);
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.footer-modal-close:hover {
    color: var(--neon-pink);
    background: rgba(255, 0, 255, 0.2);
    transform: rotate(90deg);
}

#footer-modal-body {
    color: var(--text-primary);
    line-height: 1.8;
    padding-right: 1rem;
}

#footer-modal-body h2,
#footer-modal-body h3,
#footer-modal-body h4 {
    color: var(--neon-cyan);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

#footer-modal-body h2 {
    font-size: 1.8rem;
    margin-top: 0;
}

#footer-modal-body h3 {
    font-size: 1.4rem;
}

#footer-modal-body h4 {
    font-size: 1.2rem;
}

#footer-modal-body p {
    margin-bottom: 1rem;
}

#footer-modal-body a {
    color: var(--neon-cyan);
    text-decoration: none;
}

#footer-modal-body a:hover {
    text-decoration: underline;
    color: var(--neon-pink);
}

#footer-modal-body strong {
    color: var(--neon-pink);
}

/* Section Title */
.section-title {
    text-align: center;
    color: var(--neon-cyan);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Hero Section - Kompakt */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(0, 255, 255, 0.05));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.1), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
    }
    to {
        text-shadow: 0 0 30px var(--neon-pink), 0 0 60px var(--neon-pink), 0 0 80px var(--neon-pink);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Feature Cards - Kompakt */
.features-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Navigation Mobile */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
        border: none;
        background: var(--bg-tertiary);
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

