/* Lucas Moddingstube - Zentrale CSS Datei */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Green Theme */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-lighter: #6ee7b7;
    --secondary: #14b8a6;
    --secondary-dark: #0d9488;
    --accent: #2dd4bf;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Background Colors */
    --bg-dark: #0f0f23;
    --bg-darker: #070714;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.4);
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(16, 185, 129, 0.3);
    --border-focus: rgba(16, 185, 129, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 50%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981, #14b8a6);
    --gradient-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.1));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 4px 20px rgba(16, 185, 129, 0.4);
    --shadow-glow-lg: 0 8px 30px rgba(16, 185, 129, 0.6);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.4s ease;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== Background Effects ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(52, 211, 153, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grid Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Content Wrapper */
.wrapper {
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dim);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-input option,
.form-select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* ===== Cards ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-lighter);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* ===== Modals ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal {
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

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

.modal-title {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modal-body {
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

/* ===== Notifications ===== */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    color: white;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: rgba(16, 185, 129, 0.5);
}

.notification.error {
    border-color: rgba(239, 68, 68, 0.5);
}

/* ===== File Upload ===== */
.file-upload {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.file-upload.dragover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.file-upload input {
    display: none;
}

.file-upload i {
    font-size: 32px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.file-upload p {
    font-size: 14px;
    color: var(--text-muted);
}

.file-upload span {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Loading States ===== */
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(16, 185, 129, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Footer ===== */
.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-color);
    margin-top: var(--space-2xl);
}

/* ===== Utility Classes ===== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .modal {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-overlay {
        padding: 0;
    }
}

/* ============================================
   INDEX PAGE STYLES
   ============================================ */

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.logo-icon i {
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

/* ===== Buttons Extended ===== */
.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 50px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.3);
    top: 20%;
    left: 5%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.2);
    bottom: 20%;
    right: 5%;
}

/* ===== Section ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-icon.purple { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.green { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.feature-icon.pink { background: linear-gradient(135deg, #34d399, #10b981); }

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== Search & Filter ===== */
.search-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.search-inner {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.search-input,
.search-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    padding-left: 48px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.search-select {
    padding-left: 16px;
    min-width: 180px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.search-select option {
    background: #1a1a2e;
    color: white;
    padding: 12px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus,
.search-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ===== Mods Grid ===== */
.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.mod-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mod-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mod-image-wrapper {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    text-decoration: none;
}

.mod-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mod-card:hover .mod-image {
    transform: scale(1.05);
}

.mod-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mod-image-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.mod-body {
    padding: 20px;
}

.mod-title-link {
    text-decoration: none;
    color: inherit;
}

.mod-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.mod-title-link:hover .mod-title {
    color: #10b981;
}

.mod-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.mod-author i {
    font-size: 10px;
}

.mod-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.mod-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.mod-tag {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.mod-actions {
    display: flex;
    gap: 10px;
}

.details-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.details-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn {
    flex: 1;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.mod-header {
    text-decoration: none;
    color: white;
    display: block;
}

/* ===== Loading & Empty States ===== */
.loading-state,
.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.empty-icon i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-desc {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== View All Button ===== */
.view-all-wrapper {
    text-align: center;
    margin-top: 48px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 24px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===== Footer Extended ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    max-width: 300px;
    font-size: 14px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ===== Animations ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle i {
    font-size: 18px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
}

.mobile-nav .nav-link {
    font-size: 20px;
    padding: 12px 24px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

/* ===== Index Page Responsive ===== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 16px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-value {
        font-size: 26px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-card {
        padding: 40px;
    }
    
    .cta-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay {
        display: block;
    }
    
    .nav-links .nav-link {
        display: none;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Hero */
    .hero {
        padding: 60px 16px 40px;
    }
    
    .hero-badge {
        margin-bottom: 20px;
        padding: 6px 12px;
    }
    
    .hero-badge-text {
        font-size: 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Sections */
    .section {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Grids */
    .mods-grid,
    .skins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    /* Search */
    .search-box {
        padding: 12px;
        margin-bottom: 32px;
    }
    
    .search-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-input-wrapper {
        min-width: 100%;
    }
    
    .search-select {
        width: 100%;
    }
    
    .search-input,
    .search-select {
        padding: 12px 14px;
        padding-left: 40px;
        font-size: 14px;
    }
    
    /* Cards */
    .mod-card,
    .skin-card {
        border-radius: 16px;
    }
    
    .mod-body,
    .skin-body {
        padding: 16px;
    }
    
    .mod-title,
    .skin-title {
        font-size: 16px;
    }
    
    .mod-actions,
    .skin-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .details-btn,
    .download-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    /* CTA */
    .cta-section {
        padding: 48px 16px;
    }
    
    .cta-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-desc {
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    /* View All Buttons */
    .view-all-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .view-all-wrapper .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .mod-image-wrapper,
    .skin-image-wrapper {
        height: 160px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
}

/* ============================================
   PAGE STYLES (mods-page, skins-page)
   ============================================ */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Page Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 120px 24px 48px 24px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 120px;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Skins specific */
.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.skin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.skin-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skin-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
}

.skin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.skin-card:hover .skin-image {
    transform: scale(1.05);
}

.skin-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.skin-body {
    padding: 20px;
}

.skin-title-link {
    text-decoration: none;
    color: white;
}

.skin-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.skin-title-link:hover .skin-title {
    color: #f59e0b;
}

.skin-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.skin-tag {
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 6px;
    font-size: 11px;
    color: #fbbf24;
}

.skin-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skin-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.skin-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.skin-actions {
    display: flex;
    gap: 12px;
}

/* Skin download button orange variant */
.skin-card .download-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.skin-card .download-btn:hover {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* ============================================
   MOD/SKIN DETAIL PAGE STYLES
   ============================================ */

/* Detail Page Header */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

/* Mod/Skin Detail Card */
.mod-detail,
.skin-detail {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.mod-detail .mod-image,
.skin-detail .skin-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, #10b981, #059669);
}

.mod-detail .mod-image-placeholder,
.skin-detail .skin-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mod-detail .mod-image-placeholder i,
.skin-detail .skin-image-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.mod-content,
.skin-content {
    padding: 32px;
}

.mod-detail .mod-header,
.skin-detail .skin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mod-title-section,
.skin-title-section {
    flex: 1;
    min-width: 250px;
}

.mod-detail .category-badge,
.skin-detail .category-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mod-detail .mod-title,
.skin-detail .skin-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mod-uploader,
.skin-uploader {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mod-tags-detail,
.skin-tags-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mod-tag-detail,
.skin-tag-detail {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.mod-detail .download-btn,
.skin-detail .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.mod-detail .download-btn:hover,
.skin-detail .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

/* Stats Section */
.mod-stats,
.skin-stats {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mod-stats .stat-item,
.skin-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: #10b981;
    font-size: 18px;
}

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

.mod-stats .stat-value,
.skin-stats .stat-value {
    font-size: 18px;
    font-weight: 700;
}

.mod-stats .stat-label,
.skin-stats .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Description Section */
.mod-description,
.skin-description {
    margin-bottom: 32px;
}

.description-section {
    margin-bottom: 32px;
}

.description-section .section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-section .section-title i {
    color: #10b981;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    white-space: pre-wrap;
}

/* Versions List */
.description-section .section-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.description-section .section-subtitle i {
    color: #34d399;
}

.versions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.version-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.version-entry.latest {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.version-entry-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.version-entry-number {
    font-weight: 700;
    font-size: 16px;
    color: #34d399;
}

.version-entry-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.version-entry-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
}

.version-entry-changelog {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-line;
}

.changelog-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    white-space: pre-line;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.version-entry-download,
.version-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.version-entry-download:hover,
.version-btn:hover {
    background: rgba(16, 185, 129, 0.2);
}

/* Related Mods/Skins */
.related-section {
    margin-bottom: 60px;
}

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

.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
}

.related-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, #10b981, #059669);
}

.related-image-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image-placeholder i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.related-content {
    padding: 16px;
}

.related-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.related-category {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Image Gallery */
.gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #10b981;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(16, 185, 129, 0.8);
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

/* Detail Page Responsive */
@media (max-width: 768px) {
    .mod-detail .mod-image,
    .mod-detail .mod-image-placeholder,
    .skin-detail .skin-image,
    .skin-detail .skin-image-placeholder {
        height: 250px;
    }
    
    .mod-detail .mod-title,
    .skin-detail .skin-title {
        font-size: 24px;
    }
    
    .mod-detail .mod-header,
    .skin-detail .skin-header {
        flex-direction: column;
    }
    
    .mod-detail .download-btn,
    .skin-detail .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mod-stats,
    .skin-stats {
        gap: 20px;
    }
}

/* =============================================
   TEAM PAGE STYLES
   ============================================= */

.team-role-section {
    margin-bottom: 48px;
}

.team-role-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-role-title i {
    font-size: 20px;
}

.team-role-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

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

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.team-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.team-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #0a0a0f;
}

.team-status-online {
    background: #22c55e;
}

.team-status-idle {
    background: #f59e0b;
}

.team-status-dnd {
    background: #ef4444;
}

.team-status-offline {
    background: #6b7280;
}

.team-info {
    flex: 1;
    min-width: 0;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-username {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.team-role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 20px;
    }
    
    .team-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ===== Legal Pages (Impressum, Datenschutz) ===== */
.content-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-content a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .content-card {
        padding: 24px;
    }
    
    .legal-content h2 {
        font-size: 20px;
    }
    
    .legal-content h3 {
        font-size: 16px;
    }
}

/* =============================================
   COMMUNITY AUTH PAGES
   ============================================= */

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.02);
}

.auth-tab.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 2px solid var(--primary);
}

.auth-message {
    margin: 20px 24px 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.auth-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.auth-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.auth-message i {
    font-size: 18px;
    margin-top: 2px;
}

.auth-form {
    display: none;
    padding: 24px;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
}

.toggle-password:hover {
    color: rgba(255, 255, 255, 0.7);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.form-options {
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    padding: 20px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Discord Login Styles */
.auth-container.discord-login {
    max-width: 500px;
    text-align: center;
}

.discord-login-content {
    padding: 48px 32px;
}

.discord-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: white;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.3);
}

.discord-login-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.discord-login-content > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4, #5865F2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.btn-discord i {
    font-size: 20px;
}

.login-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.login-features .feature i {
    font-size: 24px;
    color: var(--primary);
}

.login-features .feature span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    .discord-login-content {
        padding: 32px 20px;
    }
    
    .login-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .login-features .feature {
        flex-direction: row;
        gap: 12px;
    }
}

/* =============================================
   COMMUNITY DASHBOARD
   ============================================= */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(16, 185, 129, 0.3);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-large i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.dashboard-actions {
    display: flex;
    gap: 12px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-stats .stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-stats .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dashboard-stats .stat-icon.approved {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.dashboard-stats .stat-icon.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.dashboard-stats .stat-icon.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.dashboard-stats .stat-icon.downloads {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.dashboard-stats .stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dashboard-stats .stat-info span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header-inline h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-inline h2 i {
    color: var(--primary);
}

.skins-table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
}

.data-table td {
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.skin-preview {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skin-preview i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.text-muted {
    color: rgba(255, 255, 255, 0.4);
}

.text-danger {
    color: #ef4444;
    cursor: help;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

/* =============================================
   COMMUNITY UPLOAD PAGE
   ============================================= */

.upload-container {
    max-width: 700px;
    margin: 0 auto;
}

.upload-form .form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.upload-form .form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-form .form-section h3 i {
    color: var(--primary);
}

.upload-form .form-group {
    margin-bottom: 20px;
}

.upload-form .form-group:last-child {
    margin-bottom: 0;
}

.upload-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.upload-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s;
}

.upload-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    overflow: hidden;
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-placeholder {
    padding: 40px 20px;
    text-align: center;
}

.file-upload-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.file-upload-placeholder span {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.file-upload-placeholder small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.file-upload-preview {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-upload-preview i {
    font-size: 32px;
    color: var(--primary);
}

.file-upload-preview .file-name {
    flex: 1;
    font-size: 14px;
    word-break: break-all;
}

.file-upload-preview .image-preview {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: contain;
}

.file-upload-preview .remove-file {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.file-upload-preview .remove-file:hover {
    background: rgba(239, 68, 68, 0.2);
}

.hidden {
    display: none !important;
}

.info-box {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

.info-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.info-box li:last-child {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrapper > i {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 14px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.3s;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.select-wrapper select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

/* Community Dashboard Responsive */
@media (max-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-welcome {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .dashboard-actions {
        width: 100%;
    }
    
    .dashboard-actions .btn {
        flex: 1;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-tabs {
        flex-direction: column;
    }
    
    .auth-tab {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .auth-tab.active {
        border-bottom-color: var(--primary);
    }
    
    .user-avatar-large {
        width: 60px;
        height: 60px;
    }
    
    .dashboard-stats .stat-card {
        padding: 16px;
    }
    
    .dashboard-stats .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .dashboard-stats .stat-info h3 {
        font-size: 24px;
    }
}
