.theme-dark {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #1e2a45;
    --bg-input: #0f0f1a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #00d4aa;
    --accent-hover: #00b894;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --gold: #fbbf24;
    --gold-hover: #f59e0b;
    --gold-glow: rgba(251, 191, 36, 0.3);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #3b82f6;
    --border-color: #2d3a52;
    --border-light: #374151;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.theme-dark body {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #16213e 100%);
}

.theme-dark .navbar {
    background: rgba(22, 33, 62, 0.85);
    border-bottom-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 170, 0.1);
}

.theme-dark .card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.theme-dark .card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .card-glass {
    background: rgba(30, 42, 69, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.theme-dark .card-glow {
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 0 25px rgba(0, 212, 170, 0.2), inset 0 0 25px rgba(0, 212, 170, 0.05);
}

.theme-dark .btn-primary {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.theme-dark .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
    transform: translateY(-1px);
}

.theme-dark .btn-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.theme-dark .btn-gold:hover {
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.5);
    transform: translateY(-1px);
}

.theme-dark .pixel-btn {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 4px 4px 0 rgba(0, 212, 170, 0.4);
}

.theme-dark .pixel-btn:hover {
    box-shadow: 2px 2px 0 rgba(0, 212, 170, 0.4);
}

.theme-dark .pixel-btn-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 4px 4px 0 rgba(251, 191, 36, 0.4);
}

.theme-dark .pixel-btn-gold:hover {
    box-shadow: 2px 2px 0 rgba(251, 191, 36, 0.4);
}

.theme-dark .form-input,
.theme-dark .form-textarea,
.theme-dark .form-select {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.15);
    color: #e2e8f0;
}

.theme-dark .form-input:focus,
.theme-dark .form-textarea:focus,
.theme-dark .form-select:focus {
    border-color: #00d4aa;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2), 0 0 15px rgba(0, 212, 170, 0.1);
}

.theme-dark .form-file {
    border-color: rgba(0, 212, 170, 0.2);
    background: rgba(15, 15, 26, 0.5);
}

.theme-dark .form-file:hover {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .hero-section {
    background: radial-gradient(ellipse at center top, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
}

.theme-dark .hero-ip {
    background: rgba(15, 15, 26, 0.8);
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.2), inset 0 0 30px rgba(0, 212, 170, 0.05);
}

.theme-dark .site-footer {
    background: linear-gradient(180deg, #16213e, #0f0f1a);
    border-top-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .announcement-bar {
    background: linear-gradient(90deg, #00d4aa, #fbbf24, #00d4aa);
    background-size: 200% 100%;
}

.theme-dark .forum-section {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .forum-section-header {
    background: rgba(15, 15, 26, 0.5);
    border-bottom-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .forum-section-header:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .forum-thread:hover {
    background: rgba(0, 212, 170, 0.03);
}

.theme-dark .leaderboard-item {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .leaderboard-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.1);
}

.theme-dark .leaderboard-rank.gold {
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.theme-dark .leaderboard-rank.silver {
    box-shadow: 0 0 15px rgba(156, 163, 175, 0.5);
}

.theme-dark .leaderboard-rank.bronze {
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.5);
}

.theme-dark .gallery-item {
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .gallery-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .bubble-message {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .bubble-message.bubble-right {
    background: rgba(0, 212, 170, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
}

.theme-dark .modal {
    background: linear-gradient(145deg, #1e2a45, #16213e);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 170, 0.1);
}

.theme-dark .toast {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(12px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.theme-dark .data-table th {
    background: rgba(15, 15, 26, 0.8);
    border-bottom-color: rgba(0, 212, 170, 0.2);
}

.theme-dark .data-table td {
    border-bottom-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .data-table tbody tr:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .stat-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .stat-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .search-box {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .search-box:focus-within {
    border-color: #00d4aa;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
}

.theme-dark .tab-bar {
    border-bottom-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .tab-item.active {
    color: #00d4aa;
    border-bottom-color: #00d4aa;
}

.theme-dark .leaderboard-tab {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .leaderboard-tab.active {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-color: #00d4aa;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3);
}

.theme-dark .friend-link {
    background: rgba(30, 42, 69, 0.8);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .friend-link:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.1);
}

.theme-dark .loading-overlay {
    background: #0f0f1a;
}

.theme-dark .progress-fill {
    background: linear-gradient(90deg, #00d4aa, #fbbf24);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.theme-dark .nav-link:hover,
.theme-dark .nav-link.active {
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
}

.theme-dark .theme-btn.active {
    background: #00d4aa;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.theme-dark ::-webkit-scrollbar-track {
    background: #0f0f1a;
}

.theme-dark ::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 170, 0.3);
}

.theme-dark ::-webkit-scrollbar-thumb:hover {
    background: #00d4aa;
}

.theme-dark ::selection {
    background: rgba(0, 212, 170, 0.3);
    color: #e2e8f0;
}

.theme-dark .skeleton {
    background: linear-gradient(90deg, #1e2a45 25%, #2d3a52 50%, #1e2a45 75%);
    background-size: 200% 100%;
}

.theme-dark .notification-dropdown {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .notification-item:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .notification-item.unread {
    background: rgba(0, 212, 170, 0.08);
    border-left: 2px solid #00d4aa;
}

.theme-dark .copy-ip-btn {
    background: linear-gradient(135deg, #00d4aa, #00b894);
}

.theme-dark .user-avatar {
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.2);
}

.theme-dark .admin-link {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.theme-dark .breadcrumb a:hover {
    color: #00d4aa;
}

.theme-dark .avatar {
    border-color: rgba(0, 212, 170, 0.3);
}

.theme-dark .skin-viewer {
    background: radial-gradient(circle, rgba(0, 212, 170, 0.05), transparent);
}

.theme-dark .pagination-btn {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .pagination-btn:hover {
    border-color: #00d4aa;
    color: #00d4aa;
}

.theme-dark .pagination-btn.active {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-color: #00d4aa;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.theme-dark .chat-container {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .chat-message {
    border-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .chat-message:hover {
    background: rgba(0, 212, 170, 0.03);
}

.theme-dark .chat-input-area {
    background: rgba(15, 15, 26, 0.8);
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .chat-input {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.15);
    color: #e2e8f0;
}

.theme-dark .chat-input:focus {
    border-color: #00d4aa;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
}

.theme-dark .chat-user-list {
    background: rgba(15, 15, 26, 0.5);
    border-left-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .chat-user-item:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .chat-channel {
    color: var(--text-secondary);
}

.theme-dark .chat-channel.active {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    border-left-color: #00d4aa;
}

.theme-dark .market-item {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .market-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .market-price {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.theme-dark .market-category {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .market-filter {
    background: var(--bg-card);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .vote-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .vote-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .vote-btn {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.theme-dark .vote-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
}

.theme-dark .vote-btn.voted {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.theme-dark .vote-reward {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

.theme-dark .monitor-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .monitor-stat {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .monitor-chart {
    background: rgba(15, 15, 26, 0.3);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .monitor-online {
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.theme-dark .monitor-offline {
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.theme-dark .map-container {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .map-controls {
    background: rgba(30, 42, 69, 0.9);
    backdrop-filter: blur(12px);
    border-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .map-marker {
    filter: brightness(1.2);
}

.theme-dark .map-info-panel {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .achievement-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .achievement-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.theme-dark .achievement-card.unlocked {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.theme-dark .achievement-card.locked {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.theme-dark .achievement-icon {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

.theme-dark .achievement-progress {
    background: rgba(15, 15, 26, 0.5);
}

.theme-dark .achievement-progress-fill {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.theme-dark .rules-section {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .rules-category {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .rules-category:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.theme-dark .rule-item {
    border-bottom-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .rule-severity-high {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.theme-dark .rule-severity-medium {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.theme-dark .rule-severity-low {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.theme-dark .help-section {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .help-category {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .help-article {
    border-bottom-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .help-article:hover {
    background: rgba(0, 212, 170, 0.03);
}

.theme-dark .faq-item {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .faq-item:hover {
    border-color: rgba(0, 212, 170, 0.3);
}

.theme-dark .faq-question {
    color: #e2e8f0;
}

.theme-dark .faq-answer {
    color: #94a3b8;
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .faq-item.open .faq-question {
    color: #00d4aa;
}

.theme-dark .economy-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .economy-balance {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.theme-dark .economy-transaction {
    border-bottom-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .economy-transaction:hover {
    background: rgba(0, 212, 170, 0.03);
}

.theme-dark .economy-transaction.positive {
    color: #22c55e;
}

.theme-dark .economy-transaction.negative {
    color: #ef4444;
}

.theme-dark .team-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .team-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .team-member {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .team-role {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .team-role.admin {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.theme-dark .team-role.mod {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.theme-dark .event-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .event-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .event-card.ongoing {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.theme-dark .event-card.upcoming {
    border-color: rgba(59, 130, 246, 0.5);
}

.theme-dark .event-card.ended {
    opacity: 0.6;
}

.theme-dark .event-timer {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.theme-dark .download-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .download-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .download-btn {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.theme-dark .download-info {
    color: var(--text-secondary);
}

.theme-dark .download-version {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .tooltip {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(12px);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
}

.theme-dark .tooltip::before {
    border-top-color: rgba(30, 42, 69, 0.95);
}

.theme-dark .skeleton {
    background: linear-gradient(90deg, #1e2a45 25%, #2d3a52 50%, #1e2a45 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.theme-dark .skeleton-text {
    background: linear-gradient(90deg, #1e2a45 25%, #2d3a52 50%, #1e2a45 75%);
    background-size: 200% 100%;
    border-radius: 4px;
}

.theme-dark .skeleton-avatar {
    background: linear-gradient(90deg, #1e2a45 25%, #2d3a52 50%, #1e2a45 75%);
    background-size: 200% 100%;
    border-radius: 50%;
}

.theme-dark .skeleton-image {
    background: linear-gradient(90deg, #1e2a45 25%, #2d3a52 50%, #1e2a45 75%);
    background-size: 200% 100%;
}

.theme-dark .data-table {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .data-table thead {
    background: rgba(15, 15, 26, 0.8);
}

.theme-dark .data-table th {
    background: rgba(15, 15, 26, 0.8);
    border-bottom-color: rgba(0, 212, 170, 0.2);
    color: #94a3b8;
}

.theme-dark .data-table td {
    border-bottom-color: rgba(0, 212, 170, 0.05);
    color: #e2e8f0;
}

.theme-dark .data-table tbody tr:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .data-table tbody tr:nth-child(even) {
    background: rgba(15, 15, 26, 0.3);
}

.theme-dark .data-table-sort {
    color: #64748b;
}

.theme-dark .data-table-sort:hover,
.theme-dark .data-table-sort.active {
    color: #00d4aa;
}

.theme-dark .data-table-filter {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.15);
    color: #e2e8f0;
}

.theme-dark .data-table-pagination {
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .form-group label {
    color: #e2e8f0;
}

.theme-dark .form-label {
    color: #e2e8f0;
}

.theme-dark .form-input::placeholder,
.theme-dark .form-textarea::placeholder,
.theme-dark .form-select::placeholder {
    color: #484f58;
}

.theme-dark .form-input:disabled,
.theme-dark .form-textarea:disabled,
.theme-dark .form-select:disabled {
    background: rgba(15, 15, 26, 0.5);
    color: #484f58;
    cursor: not-allowed;
}

.theme-dark .form-input:read-only,
.theme-dark .form-textarea:read-only {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .form-check input[type="checkbox"],
.theme-dark .form-check input[type="radio"] {
    accent-color: #00d4aa;
}

.theme-dark .form-hint {
    color: #64748b;
}

.theme-dark .form-error {
    color: #ef4444;
}

.theme-dark .form-success {
    color: #22c55e;
}

.theme-dark .form-switch {
    background: #2d3a52;
}

.theme-dark .form-switch.active {
    background: #00d4aa;
}

.theme-dark .form-switch-knob {
    background: #e2e8f0;
}

.theme-dark .modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.theme-dark .modal {
    background: linear-gradient(145deg, #1e2a45, #16213e);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 170, 0.1);
}

.theme-dark .modal-header {
    border-bottom-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .modal-footer {
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .modal-close {
    color: #64748b;
}

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

.theme-dark .nav-dropdown {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .nav-dropdown-item {
    color: #e2e8f0;
}

.theme-dark .nav-dropdown-item:hover {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .nav-dropdown-divider {
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .nav-dropdown-header {
    color: #64748b;
}

.theme-dark .loading-spinner {
    border-color: rgba(0, 212, 170, 0.2);
    border-top-color: #00d4aa;
}

.theme-dark .loading-dots span {
    background: #00d4aa;
}

.theme-dark .loading-pulse {
    background: rgba(0, 212, 170, 0.3);
}

.theme-dark .loading-bar {
    background: rgba(0, 212, 170, 0.1);
}

.theme-dark .loading-bar-fill {
    background: linear-gradient(90deg, #00d4aa, #00b894);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.theme-dark .admin-sidebar {
    background: linear-gradient(180deg, #16213e, #0f0f1a);
    border-right-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-sidebar-item {
    color: #94a3b8;
}

.theme-dark .admin-sidebar-item:hover {
    background: rgba(0, 212, 170, 0.05);
    color: #e2e8f0;
}

.theme-dark .admin-sidebar-item.active {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    border-left-color: #00d4aa;
}

.theme-dark .admin-header {
    background: rgba(22, 33, 62, 0.85);
    border-bottom-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-main {
    background: #0f0f1a;
}

.theme-dark .admin-stat-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-stat-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .admin-economy-page .stat-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(251, 191, 36, 0.15);
}

.theme-dark .admin-teams-page .team-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-events-page .event-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-downloads-page .download-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-achievements-page .achievement-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(251, 191, 36, 0.1);
}

.theme-dark .admin-vote-page .vote-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-market-page .market-item {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-maps-page .map-container {
    background: #0f0f1a;
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-chat-page .chat-container {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-rules-page .rules-section {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .admin-help-page .help-section {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .autocomplete-dropdown {
    background: #161b22;
    border-color: #21262d;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.theme-dark .autocomplete-item {
    color: #e6edf3;
}

.theme-dark .autocomplete-item:hover,
.theme-dark .autocomplete-item.active {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .autocomplete-item .ac-category {
    background: rgba(0, 212, 170, 0.15);
    color: #00d4aa;
}

.theme-dark .fav-cmd-btn {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.theme-dark .fav-cmd-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
}

.theme-dark .scheduled-cmd-item {
    background: rgba(15, 15, 26, 0.5);
    border-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .forum-section-toolbar {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .forum-sidebar .card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .album-stats-bar .stat-mini {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .album-toolbar {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .album-featured-grid .card {
    border-color: rgba(251, 191, 36, 0.3);
}

.theme-dark .album-featured-grid .card:hover {
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.theme-dark .album-view-toggle {
    border-color: rgba(0, 212, 170, 0.15);
}

.theme-dark .album-view-btn {
    background: #0f0f1a;
    color: #64748b;
}

.theme-dark .album-view-btn.active {
    background: #00d4aa;
    color: #fff;
}

.theme-dark .album-card {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .album-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.theme-dark .thread-preview-tooltip {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(12px);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: #94a3b8;
}

.theme-dark .section-rules {
    color: #94a3b8;
}

.theme-dark .badge {
    border-color: transparent;
}

.theme-dark .badge-accent {
    background: rgba(0, 212, 170, 0.15);
    color: #00d4aa;
}

.theme-dark .badge-gold {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

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

.theme-dark .badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

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

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

.theme-dark ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.theme-dark ::-webkit-scrollbar-track {
    background: #0f0f1a;
    border-radius: 4px;
}

.theme-dark ::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 170, 0.3);
    border-radius: 4px;
}

.theme-dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 170, 0.5);
}

.theme-dark ::-webkit-scrollbar-corner {
    background: #0f0f1a;
}

.theme-dark img:not(.pixel-art):not([src*="minotar"]):not(.no-filter) {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.theme-dark img:not(.pixel-art):not([src*="minotar"]):not(.no-filter):hover {
    filter: brightness(1);
}

.theme-dark .gallery-item img,
.theme-dark .album-card img {
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.theme-dark .gallery-item:hover img,
.theme-dark .album-card:hover img {
    filter: brightness(1);
}

.theme-dark pre,
.theme-dark code {
    background: #0d1117;
    border-color: #21262d;
    color: #e6edf3;
}

.theme-dark pre {
    background: #0d1117;
    border-color: rgba(0, 212, 170, 0.1);
    border-radius: 8px;
}

.theme-dark code {
    background: rgba(13, 17, 23, 0.8);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.9em;
}

.theme-dark pre code {
    background: transparent;
    padding: 0;
}

.theme-dark .code-block {
    background: #0d1117;
    border-color: #21262d;
    border-radius: 8px;
}

.theme-dark .code-block-header {
    background: #161b22;
    border-bottom-color: #21262d;
    color: #8b949e;
}

.theme-dark .code-block-body {
    background: #0d1117;
    color: #e6edf3;
}

.theme-dark .code-keyword { color: #ff7b72; }
.theme-dark .code-string { color: #a5d6ff; }
.theme-dark .code-comment { color: #8b949e; font-style: italic; }
.theme-dark .code-function { color: #d2a8ff; }
.theme-dark .code-number { color: #79c0ff; }
.theme-dark .code-operator { color: #ff7b72; }
.theme-dark .code-variable { color: #ffa657; }
.theme-dark .code-type { color: #7ee787; }

.theme-dark .console-card {
    background: #0d1117;
    border-color: #21262d;
}

.theme-dark .terminal {
    background: #0d1117;
}

.theme-dark .terminal-toolbar {
    background: #161b22;
    border-bottom-color: #21262d;
}

.theme-dark .terminal-output {
    background: #0d1117;
    color: #4fc3f7;
}

.theme-dark .terminal-input-area {
    background: #161b22;
    border-top-color: #21262d;
}

.theme-dark .terminal-line.highlight-info {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.theme-dark .terminal-line.highlight-warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.theme-dark .terminal-line.highlight-error {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.theme-dark .terminal-line.highlight-success {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.theme-dark .quick-commands {
    background: transparent;
}

.theme-dark .quick-group-title {
    color: #64748b;
}

.theme-dark .notification-badge {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.theme-dark .notification-panel {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .notification-item {
    border-bottom-color: rgba(0, 212, 170, 0.05);
}

.theme-dark .notification-item:hover {
    background: rgba(0, 212, 170, 0.05);
}

.theme-dark .notification-item.unread {
    background: rgba(0, 212, 170, 0.08);
    border-left-color: #00d4aa;
}

.theme-dark .notification-type-like { color: #ef4444; }
.theme-dark .notification-type-comment { color: #3b82f6; }
.theme-dark .notification-type-follow { color: #00d4aa; }
.theme-dark .notification-type-system { color: #f59e0b; }

.theme-dark .dropdown-menu {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .dropdown-item {
    color: #e2e8f0;
}

.theme-dark .dropdown-item:hover {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .dropdown-divider {
    border-top-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .user-menu {
    background: rgba(30, 42, 69, 0.95);
    backdrop-filter: blur(16px);
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-dark .user-menu-header {
    border-bottom-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .user-menu-item {
    color: #e2e8f0;
}

.theme-dark .user-menu-item:hover {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

.theme-dark .alert {
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.theme-dark .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.theme-dark .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.theme-dark .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.theme-dark .tag {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    border-color: rgba(0, 212, 170, 0.2);
}

.theme-dark .tag:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: #00d4aa;
}

.theme-dark .breadcrumb-current {
    color: #e2e8f0;
}

.theme-dark .breadcrumb-sep {
    color: #484f58;
}

.theme-dark .empty-state {
    color: #64748b;
}

.theme-dark .empty-state-icon {
    filter: brightness(0.8);
}

.theme-dark .divider {
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .avatar-group .avatar {
    border-color: #1e2a45;
}

.theme-dark .countdown {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.theme-dark .countdown-number {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.theme-dark .online-indicator {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.theme-dark .offline-indicator {
    background: #64748b;
}

.theme-dark .status-badge-online {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.theme-dark .status-badge-offline {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.theme-dark .status-badge-busy {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.theme-dark .timeline-item {
    border-left-color: rgba(0, 212, 170, 0.2);
}

.theme-dark .timeline-dot {
    background: #00d4aa;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.3);
}

.theme-dark .timeline-content {
    background: linear-gradient(145deg, #1e2a45, #1a2238);
    border-color: rgba(0, 212, 170, 0.1);
}

.theme-dark .stepper-item {
    color: #64748b;
}

.theme-dark .stepper-item.active {
    color: #00d4aa;
}

.theme-dark .stepper-item.completed {
    color: #22c55e;
}

.theme-dark .stepper-line {
    background: rgba(0, 212, 170, 0.2);
}

.theme-dark .stepper-line.completed {
    background: #00d4aa;
}

@media (max-width: 768px) {
    .theme-dark .forum-sidebar {
        display: none;
    }

    .theme-dark .forum-section-toolbar {
        flex-direction: column;
    }

    .theme-dark .album-toolbar {
        flex-direction: column;
    }

    .theme-dark .admin-sidebar {
        background: #0f0f1a;
    }
}
