@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
	
	/* Mobile-First Responsive Styles */
	
	/* Hide mobile menu by default */
	#mobile-menu-backdrop {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
		z-index: 998;
	}
	
	#mobile-menu-backdrop.show {
		display: block;
	}
	
	#mobile-menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 280px;
		height: 100%;
		background: #1A1A1A;
		z-index: 999;
		transition: left 0.3s ease;
		overflow-y: auto;
		border-right: 1px solid #D8B4FE;
		box-shadow: 2px 0 20px rgba(216, 180, 254, 0.3);
	}
	
	#mobile-menu.show {
		left: 0;
	}
	
	.mobile-menu-header {
		background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
		padding: 1.25rem;
		border-bottom: 1px solid rgba(216, 180, 254, 0.3);
	}

	.mobile-menu-header h2 {
		font-size: 1.1rem;
		letter-spacing: 2px;
		text-transform: uppercase;
	}

	/* Mobile Menu Items - Modern Card Style */
	.mobile-menu-items {
		padding: 12px;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.mobile-menu-item {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 14px 16px;
		margin: 0;
		background: rgba(216, 180, 254, 0.03);
		border: 1px solid rgba(216, 180, 254, 0.15);
		border-radius: 8px;
		color: #D8B4FE;
		text-decoration: none;
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.5px;
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
	}

	.mobile-menu-item::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 3px;
		height: 100%;
		background: linear-gradient(180deg, #D8B4FE 0%, #A78BFA 100%);
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.mobile-menu-item:hover {
		background: rgba(216, 180, 254, 0.08);
		border-color: rgba(216, 180, 254, 0.3);
		transform: translateX(4px);
	}

	.mobile-menu-item:hover::before {
		opacity: 0.5;
	}

	.mobile-menu-item.active {
		background: rgba(216, 180, 254, 0.12);
		border-color: #D8B4FE;
		color: #E9D8FD;
		text-shadow: 0 0 8px rgba(216, 180, 254, 0.6);
		box-shadow: 0 0 15px rgba(216, 180, 254, 0.2);
	}

	.mobile-menu-item.active::before {
		opacity: 1;
	}

	/* Mobile Menu Icons */
	.mobile-menu-item .menu-icon {
		font-size: 18px;
		width: 24px;
		text-align: center;
		opacity: 0.8;
		flex-shrink: 0;
	}

	.mobile-menu-item.active .menu-icon {
		opacity: 1;
	}

	/* Close button styling */
	.mobile-menu-header button {
		width: 32px;
		height: 32px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 6px;
		transition: all 0.2s ease;
	}

	.mobile-menu-header button:hover {
		background: rgba(216, 180, 254, 0.2);
	}

	/* Hamburger Menu Button */
	.hamburger {
		display: none;
		width: 30px;
		height: 25px;
		position: relative;
		cursor: pointer;
		z-index: 1000;
	}
	
	.hamburger span {
		display: block;
		position: absolute;
		height: 3px;
		width: 100%;
		background: #D8B4FE;
		border-radius: 3px;
		opacity: 1;
		left: 0;
		transition: .25s ease-in-out;
	}
	
	.hamburger span:nth-child(1) {
		top: 0px;
	}
	
	.hamburger span:nth-child(2) {
		top: 11px;
	}
	
	.hamburger span:nth-child(3) {
		top: 22px;
	}
	
	/* Mobile Navigation Display */
	@media (max-width: 768px) {
		.hamburger {
			display: block;
		}
		
		.desktop-nav {
			display: none !important;
		}
		
		/* Header Button Overrides - Prevent Full Width */
		header .neon-btn {
        width: auto !important;
        padding: 0.35rem 0.5rem;   /* Deutlich kompakter */
        font-size: 0.7rem;          /* Etwas kleiner */
        min-height: 32px;           /* Etwas niedriger */
    }
		
		/* Content Buttons - Touch-Friendly */
		main .neon-btn {
			min-height: 44px;
		}
		
		/* Mobile Table Styles - Convert to Cards */
		.terminal-table {
			border: 0;
		}
		
		.terminal-table thead {
			display: none;
		}
		
		.terminal-table tr {
			display: block;
			margin-bottom: 1rem;
			background: #1A1A1A;
			border: 1px solid #D8B4FE;
			border-radius: 8px;
			padding: 0.5rem;
			box-shadow: 0 0 8px rgba(216, 180, 254, 0.3);
		}
		
		.terminal-table td {
			display: flex;
			justify-content: space-between;
			padding: 0.5rem;
			border: none;
			border-bottom: 1px dashed rgba(216, 180, 254, 0.3);
		}
		
		.terminal-table td:last-child {
			border-bottom: none;
		}
		
		.terminal-table td:before {
			content: attr(data-label);
			font-weight: bold;
			color: #E9D8FD;
			flex-basis: 40%;
		}
		
		/* Action Buttons in Cards */
		.terminal-table td[data-label="Action"] {
			flex-direction: column;
			gap: 0.5rem;
		}
		
		.terminal-table td[data-label="Action"]:before {
			display: none;
		}
		
		.terminal-table td[data-label="Action"] button {
			width: 100%;
			padding: 0.5rem;
		}
		
		/* Compact Header on Mobile */
		header {
			flex-direction: column;
			padding: 0.75rem !important;
		}
		
		.header-top {
			display: flex;
			justify-content: space-between;
			align-items: center;
			width: 100%;
			margin-bottom: 0.5rem;
		}
		
		.header-bottom {
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			font-size: 0.75rem;
			padding: 0.25rem 0;
		}

		.mobile-header-row {
			display: flex;
			align-items: center;
			gap: 0.5rem;
			flex-wrap: nowrap;
		}

		.mobile-header-divider {
			color: rgba(216, 180, 254, 0.3);
			font-size: 0.7rem;
		}
		
		.crypto-title {
			font-size: 0.9rem !important;
		}
		
		/* Mobile-Friendly Buttons */
		.neon-btn {
			min-height: 44px;
			min-width: 44px;
			padding: 0.75rem 1rem;
		}
		
		/* Stat Cards Grid */
		.dashboard-stats {
			grid-template-columns: 1fr !important;
			gap: 1rem !important;
		}
		
		/* Input Fields on Mobile */
		input, select, textarea {
			min-height: 44px;
			font-size: 16px; /* Prevents zoom on iOS */
		}
		
		/* Modal Responsiveness */
		#progress-modal > div,
		#error-modal > div {
			margin: 1rem;
			width: calc(100% - 2rem);
		}
		
		/* Attack Table Special */
		#attack-table select {
			width: 100%;
			margin-bottom: 0.5rem;
		}
		
		/* Logs Table Compact */
		#logs-table {
			font-size: 0.75rem;
		}
		
		/* Main Content Padding */
		main {
			padding: 1rem !important;
		}
		
		/* Tab Content Padding */
		.tab-content {
			padding: 0 !important;
		}
	}

	/* Tooltip Styling */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #1a1a1a;
    color: #D8B4FE;
    text-align: left;
    border: 1px solid #D8B4FE;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s; 
    font-size: 0.75rem;
    line-height: 1.4;
    box-shadow: 0 0 12px rgba(216, 180, 254, 0.6);
}

.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #D8B4FE transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.software-section-header {
    background: #2D2D2D;
    font-weight: bold;
    color: #E9D8FD;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}
        body {
            background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
            overflow-x: hidden;
            margin: 0;
            font-family: 'Courier New', monospace;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(216, 180, 254, 0.2) 0%, transparent 70%);
            animation: wavePulse 8s infinite ease-in-out;
            pointer-events: none;
            z-index: 1;
        }
        .neon-border { border: 1px solid #D8B4FE; box-shadow: 0 0 8px rgba(216, 180, 254, 0.4); }
        .neon-btn { background-color: #1F2937; border: 1px solid #D8B4FE; color: #D8B4FE; transition: all 0.3s ease; border-radius: 0.25rem; }
        .neon-btn:hover:not(:disabled) { background-color: #D8B4FE; color: #1F2937; box-shadow: 0 0 12px rgba(216, 180, 254, 0.8); }
        .neon-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        header { background: linear-gradient(to right, #1F2937, #111827); position: relative; z-index: 10; }
        #matrix-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.3; pointer-events: none; }
        #chain-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.1; z-index: 0; pointer-events: none; }
        main { position: relative; z-index: 5; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
        .crypto-title { font-family: 'Courier New', Courier, monospace; letter-spacing: 2px; animation: neonPulse 2s infinite; }
        @keyframes neonPulse { 0%, 100% { text-shadow: 0 0 5px #D8B4FE, 0 0 10px #D8B4FE; } 50% { text-shadow: 0 0 8px #D8B4FE, 0 0 16px #D8B4FE; } }
        .terminal-table { background: #1A1A1A; font-family: 'Courier New', monospace; color: #D8B4FE; border: none; }
        .terminal-table th, .terminal-table td { border-bottom: 1px dashed #D8B4FE; padding: 8px; }
        .terminal-table thead { background: #2D2D2D; }
        .coin-pulse { animation: coinGlow 1.5s infinite ease-in-out; }
        @keyframes coinGlow { 0%, 100% { text-shadow: 0 0 5px #D8B4FE, 0 0 10px #D8B4FE; color: #D8B4FE; } 50% { text-shadow: 0 0 12px #E9D8FD, 0 0 20px #E9D8FD, 0 0 28px #E9D8FD; color: #E9D8FD; } }
        .glitch-hover:hover { animation: glitchEffect 0.2s; }
        @keyframes glitchEffect { 0% { transform: translate(0); } 20% { transform: translate(-2px, 2px); } 40% { transform: translate(2px, -2px); } 60% { transform: translate(-2px, 0); } 80% { transform: translate(2px, 0); } 100% { transform: translate(0); } }

        /* Tab Navigation Container */
        .tab-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }

        /* New Bracket Tab Button Styling */
        .tab-btn {
            position: relative;
            padding: 10px 18px;
            min-width: 90px;
            background: rgba(216, 180, 254, 0.05);
            border: none;
            color: #D8B4FE;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.4s, background 0.4s;
            text-align: center;
        }

        /* Bracket corners */
        .tab-btn::before,
        .tab-btn::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            transition: all 0.4s ease;
        }

        .tab-btn::before {
            top: -1px;
            left: -1px;
            border-top: 1px solid #D8B4FE;
            border-left: 1px solid #D8B4FE;
        }

        .tab-btn::after {
            bottom: -1px;
            right: -1px;
            border-bottom: 1px solid #D8B4FE;
            border-right: 1px solid #D8B4FE;
        }

        /* Hover State */
        .tab-btn:hover {
            color: #E9D8FD;
            background: rgba(216, 180, 254, 0.1);
            text-shadow: 0 0 8px rgba(216, 180, 254, 0.6);
        }

        .tab-btn:hover::before,
        .tab-btn:hover::after {
            width: calc(100% + 2px);
            height: calc(100% + 2px);
            box-shadow: 0 0 8px rgba(216, 180, 254, 0.4);
        }

        /* Active State - permanent full brackets + full border */
        .tab-btn.active {
            color: #E9D8FD;
            background: rgba(216, 180, 254, 0.12);
            text-shadow: 0 0 8px rgba(216, 180, 254, 0.6);
            overflow: hidden;
            border: 1px solid #D8B4FE;
            box-shadow: 0 0 10px rgba(216, 180, 254, 0.4);
        }

        .tab-btn.active::before,
        .tab-btn.active::after {
            width: calc(100% + 2px);
            height: calc(100% + 2px);
            box-shadow: 0 0 10px rgba(216, 180, 254, 0.5);
        }

        /* Scanner effect element - hidden by default */
        .tab-btn .scan-line {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.15), transparent);
            z-index: 0;
            display: none;
        }

        /* Scanner effect visible only on active tab */
        .tab-btn.active .scan-line {
            display: block;
            animation: scanLine 4s infinite linear;
        }

        .tab-btn span {
            position: relative;
            z-index: 1;
        }

        /* Keep old .tab-button class for backwards compatibility */
        .tab-button {
            background: none;
            border: 1px solid #D8B4FE;
            color: #D8B4FE;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-size: 0.875rem;
            border-radius: 0.25rem;
            transition: color 0.3s, text-shadow 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }
        .tab-button:hover {
            color: #E9D8FD;
            text-shadow: 0 0 12px #D8B4FE, 0 0 20px #D8B4FE;
            box-shadow: 0 0 10px rgba(216, 180, 254, 0.6);
        }
        .tab-button.active {
            color: #E9D8FD;
            text-shadow: 0 0 12px #D8B4FE, 0 0 20px #D8B4FE;
            box-shadow: 0 0 12px rgba(216, 180, 254, 0.8);
        }
        .tab-button.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.4), transparent);
            animation: scanLine 3s infinite linear;
            z-index: 0;
        }
        .tab-button span {
            position: relative;
            z-index: 1;
        }
        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #D8B4FE;
            animation: tabPulse 2s infinite ease-in-out;
        }
        @keyframes scanLine {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        @keyframes tabPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

        /* Holografischer Schimmer für Tab-Menü und Dashboard */
        .bg-gray-800.nav-container {
            position: relative;
            background: #1F2937;
            animation: hologramShimmer 6s infinite linear;
        }
        .tab-content#dashboard {
            position: relative;
            animation: hologramShimmer 6s infinite linear;
        }
        @keyframes hologramShimmer {
            0% { background: linear-gradient(45deg, rgba(216, 180, 254, 0.1), transparent); }
            50% { background: linear-gradient(45deg, transparent, rgba(216, 180, 254, 0.1)); }
            100% { background: linear-gradient(45deg, rgba(216, 180, 254, 0.1), transparent); }
        }

        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .progress-bar { width: 100%; height: 10px; background-color: #1A1A1A; border-radius: 5px; }
        .progress { height: 100%; background-color: #4CAF50; border-radius: 5px; transition: width 0.3s ease-in-out; }
        .terminal-table-section { margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 6px rgba(216, 180, 254, 0.2); }
        .terminal-table .status-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
        .terminal-table .active-status { background-color: #4CAF50; }
        .terminal-table .inactive-status { background-color: #F44336; }
        .neon-table-hover:hover { box-shadow: 0 0 16px rgba(216, 180, 254, 0.8), 0 0 24px rgba(216, 180, 254, 0.5); transition: box-shadow 0.3s ease; animation: hoverPulse 1.5s infinite ease-in-out; }
        .neon-subtitle { color: #D8B4FE; text-shadow: 0 0 8px rgba(216, 180, 254, 0.6), 0 0 16px rgba(216, 180, 254, 0.3); font-weight: bold; animation: flicker 3s infinite; }
        @keyframes flicker { 0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(216, 180, 254, 0.6), 0 0 16px rgba(216, 180, 254, 0.3); } 5%, 95% { opacity: 0.9; text-shadow: 0 0 6px rgba(216, 180, 254, 0.4), 0 0 12px rgba(216, 180, 254, 0.2); } }
        .matrix-hover { transition: opacity 0.3s; }
        .matrix-hover:hover { opacity: 0.5; }
        .loading-indicator { animation: neonBlink 1.5s infinite; }
        @keyframes neonBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
        .neon-select { background-color: #1a1a1a; color: #D8B4FE; border: 1px solid #D8B4FE; transition: all 0.3s; }
        .neon-select:hover { box-shadow: 0 0 10px #D8B4FE; }
        .hidden { display: none; }

        /* KDA Fee Dropdown - Desktop */
        .kda-fee-dropdown {
            background-color: #1F2937;
            color: #D8B4FE;
            border: 1px solid #D8B4FE;
            border-radius: 0.25rem;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D8B4FE' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.4rem center;
            padding-right: 1.5rem;
            min-width: 70px;
        }
        .kda-fee-dropdown:hover {
            box-shadow: 0 0 8px rgba(216, 180, 254, 0.6);
            background-color: #2D3748;
        }
        .kda-fee-dropdown:focus {
            outline: none;
            box-shadow: 0 0 12px rgba(216, 180, 254, 0.8);
        }
        .kda-fee-dropdown option {
            background-color: #1F2937;
            color: #D8B4FE;
        }

        /* KDA Fee Dropdown - Mobile */
        .kda-fee-dropdown-mobile {
            background-color: #1F2937;
            color: #D8B4FE;
            border: 1px solid rgba(216, 180, 254, 0.5);
            border-radius: 0.25rem;
            padding: 0.15rem 0.3rem;
            font-size: 0.65rem;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%23D8B4FE' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.25rem center;
            padding-right: 1rem;
            min-width: 50px;
        }
        .kda-fee-dropdown-mobile option {
            background-color: #1F2937;
            color: #D8B4FE;
        }
        
        /* 🎯 FIX 1: Kompaktere Dashboard Stats Cards */
        .dashboard-stats { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
            gap: 0.75rem; 
            margin-bottom: 1.5rem; 
        }
        .stat-card { 
            background: #1A1A1A; 
            padding: 0.75rem; 
            border: 1px solid #D8B4FE; 
            border-radius: 0.5rem; 
            box-shadow: 0 0 8px rgba(216, 180, 254, 0.4); 
            text-align: center; 
        }
        .stat-card h3 { 
            color: #D8B4FE; 
            font-size: 0.875rem; 
            margin-bottom: 0.25rem; 
        }
        .stat-card p { 
            color: #E9D8FD; 
            font-size: 1rem; 
            animation: coinGlow 1.5s infinite ease-in-out; 
        }
        .stat-card:hover { 
            box-shadow: 0 0 12px rgba(216, 180, 254, 0.6); 
            transition: box-shadow 0.3s ease; 
        }
        
        /* 🎯 FIX 2: Schönes Account & Stats Design */
        .info-card {
            background: #1A1A1A;
            padding: 1rem;
            border: 1px solid #D8B4FE;
            border-radius: 0.5rem;
            box-shadow: 0 0 8px rgba(216, 180, 254, 0.4);
            margin-bottom: 1rem;
        }
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }
        .info-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        .info-label {
            color: #D8B4FE;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0.8;
        }
        .info-value {
            color: #E9D8FD;
            font-size: 0.875rem;
            word-break: break-all;
        }
        .info-value.pulse {
            animation: coinGlow 1.5s infinite ease-in-out;
        }
        .action-btn-group {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .action-btn-group .neon-btn {
            flex: 1;
            padding: 0.5rem;
            font-size: 0.75rem;
        }
        
        /* 🎯 FIX 3: Kompakte Cluster Buttons */
        .cluster-btn-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .cluster-btn-group .neon-btn {
            padding: 0.5rem 0.75rem;
            font-size: 0.75rem;
        }
        .cluster-input-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        .cluster-input-item {
            display: flex;
            flex-direction: column;
        }
        .cluster-input-item label {
            color: #D8B4FE;
            font-size: 0.75rem;
            margin-bottom: 0.25rem;
        }
        .cluster-input-item input,
        .cluster-input-item textarea {
            background: #1A1A1A;
            border: 1px solid #D8B4FE;
            color: #E9D8FD;
            padding: 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.875rem;
        }
        
        .player-account-card { background: #1A1A1A; padding: 1rem; border: 1px solid #D8B4FE; border-radius: 0.5rem; box-shadow: 0 0 8px rgba(216, 180, 254, 0.4); margin-bottom: 1rem; }
        .player-account-card .item { margin-bottom: 0.5rem; color: #D8B4FE; display: flex; justify-content: space-between; align-items: center; }
        .player-account-card .item span { flex-grow: 1; font-size: 1rem; font-family: 'Courier New', monospace; }
        .player-account-card .item span.value-pulse { animation: coinGlow 1.5s infinite ease-in-out; }
        .global-stats-card { 
            background: #1A1A1A; 
            padding: 1rem; 
            border: 1px solid #D8B4FE; 
            border-radius: 0.5rem; 
            box-shadow: 0 0 8px rgba(216, 180, 254, 0.4); 
            margin-bottom: 1rem; 
        }
        .global-stats-card .stat-item { 
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 0.5rem;
            margin-bottom: 0.5rem; 
            padding: 0.5rem;
            background: rgba(45, 45, 45, 0.3);
            border-radius: 0.25rem;
            color: #D8B4FE; 
            font-size: 0.8rem;
            align-items: center;
        }
        .global-stats-card .stat-item span { 
            text-align: right;
            font-weight: 600;
            color: #E9D8FD; 
            animation: coinGlow 1.5s infinite ease-in-out; 
            font-size: 0.85rem;
        }
        #dashboard-recent-logs { font-size: 0.75rem; }
        @media (max-width: 640px) {
            .terminal-table { display: block; overflow-x: auto; }
            .terminal-table tr { display: block; margin-bottom: 1rem; border-bottom: 1px dashed #D8B4FE; }
            .terminal-table td, .terminal-table th { display: flex; justify-content: space-between; padding: 0.5rem; font-size: 1rem; }
            .terminal-table td::before, .terminal-table th::before { content: attr(data-label); font-weight: bold; margin-right: 0.5rem; color: #D8B4FE; }
            .terminal-table td, .terminal-table th { border-bottom: none !important; }
            .terminal-table thead { display: none; }
            .flex.space-x-2, .flex.space-x-4 { flex-direction: column; gap: 0.5rem; width: 100%; }
            /* ✅ FIX: Kleinere Buttons in Mobile */
            .neon-btn { 
                padding: 0.4rem 0.75rem; 
                font-size: 0.8rem; 
                min-height: 36px;
                max-width: fit-content;
            }
            header { flex-direction: column; align-items: flex-start; padding: 1rem; }
            header .flex.items-center.space-x-4 { width: 100%; flex-direction: column; gap: 0.5rem; }
            header .text-sm { margin-top: 0.5rem; width: 100%; text-align: center; }
            nav.flex.flex-wrap.gap-2 { flex-direction: column; align-items: flex-start; }
            .tab-button { padding: 0.75rem 1rem; font-size: 0.875rem; width: 100%; text-align: left; min-height: 44px; }
            .terminal-table td, .terminal-table th { word-wrap: break-word; max-width: 100%; }
            #hardware-table td:nth-child(4), #computer-details-table td:nth-child(3) { font-size: 0.9rem; }
            .loading-indicator { font-size: 0.9rem; }
            .dashboard-stats { grid-template-columns: 1fr; gap: 1rem; }
            /* ✅ FIX: Global Stats responsive */
            .global-stats-card .stat-item { 
                grid-template-columns: 1fr auto; 
                font-size: 0.75rem; 
                padding: 0.4rem;
            }
            .global-stats-card .stat-item span { font-size: 0.8rem; }
            /* ✅ FIX: Account Buttons nicht full-width */
            .player-account-card .item { 
                display: grid; 
                grid-template-columns: 1fr auto; 
                gap: 0.5rem; 
                align-items: center; 
            }
            .player-account-card .item button { 
                margin-top: 0; 
                width: auto;
                padding: 0.3rem 0.6rem;
                font-size: 0.75rem;
                min-height: 32px;
            }
            .info-grid { grid-template-columns: 1fr; }
            .cluster-input-grid { grid-template-columns: 1fr; }
        }
        #protection-bonus { width: 100%; max-width: 4rem; }
        #clusters-table td, #clusters-table th { padding: 0.5rem 0.75rem; }
        #clusters-table .neon-btn { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
        #clusters-table tr { vertical-align: middle; }
        #cluster-members-table td, #cluster-members-table th { text-align: center; }
        #cluster-members-table .flex.justify-center { justify-content: center; }
        #cluster-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
        #cluster-actions .neon-btn { padding: 0.25rem 0.75rem; font-size: 0.875rem; flex-shrink: 0; }
        #cluster-actions button { margin-bottom: 0; }
        .neon-border { border: 1px solid #D8B4FE; box-shadow: 0 0 12px rgba(216, 180, 254, 0.6), 0 0 20px rgba(216, 180, 254, 0.3); }
        .neon-btn { box-shadow: 0 0 8px rgba(216, 180, 254, 0.4); position: relative; }
        .neon-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: -1; animation: randomGlitch 10s infinite linear; }
        @keyframes randomGlitch { 0%, 90%, 100% { transform: none; } 5% { transform: translate(-2px, 2px) rotate(0.5deg); } 15% { transform: translate(2px, -2px) rotate(-0.5deg); } 25% { transform: translate(0, 1px) scale(1.01); } }
        .neon-btn:hover:not(:disabled) { box-shadow: 0 0 16px rgba(216, 180, 254, 0.8), 0 0 24px rgba(216, 180, 254, 0.5); }
        .neon-subtitle { text-shadow: 0 0 8px rgba(216, 180, 254, 0.6), 0 0 16px rgba(216, 180, 254, 0.3); }
        .chain-line { animation: pulseLine 4s infinite ease-in-out; stroke-dasharray: 50; stroke-dashoffset: 0; }
        .chain-circle { animation: rotateCircle 10s infinite linear; }
        .chain-node { animation: nodePulse 2s infinite ease-in-out; }
        @keyframes pulseLine { 0%, 100% { stroke-dashoffset: 0; opacity: 0.3; } 50% { stroke-dashoffset: 100; opacity: 0.8; } }
        @keyframes rotateCircle { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        @keyframes nodePulse { 0%, 100% { r: 5; opacity: 0.5; } 50% { r: 8; opacity: 1; } }
        @keyframes wavePulse { 0%, 100% { transform: scale(1); opacity: 0.2; } 50% { transform: scale(1.1); opacity: 0.4; } }
        #progress-modal { animation: fadeIn 0.3s ease-in; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        #progress-modal .neon-border { border: 1px solid #D8B4FE; box-shadow: 0 0 12px rgba(216, 180, 254, 0.6), 0 0 20px rgba(216, 180, 254, 0.3); }
        #progress-modal .neon-subtitle { color: #D8B4FE; text-shadow: 0 0 8px rgba(216, 180, 254, 0.6), 0 0 16px rgba(216, 180, 254, 0.3); }
        #progress-modal .progress { transition: width 0.3s ease-in-out; }
        #progress-modal .neon-btn:hover:not(:disabled) { box-shadow: 0 0 16px rgba(216, 180, 254, 0.8), 0 0 24px rgba(216, 180, 254, 0.5); }
        .details-row td { background-color: #1a1a2e !important; padding: 10px; border-top: 1px solid #2a2a4e; color: #e0e0e0; }
        .details-content { font-size: 0.9em; line-height: 1.5; }
        .details-content strong { color: #00ffea; }
		
		/* Computer Cards Styling */
.computer-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #1A1A1A;
    border: 2px solid #D8B4FE;
    border-radius: 8px;
    margin-bottom: 32px;
}

.computer-card {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border: 3px solid #D8B4FE;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.computer-card:hover {
    border-color: #A78BFA;
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.4), 0 0 30px rgba(216, 180, 254, 0.3);
}

.computer-card.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5), 0 8px 24px rgba(76, 175, 80, 0.3);
    animation: selectedPulse 2s infinite;
}


@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.5), 0 8px 24px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.7), 0 8px 30px rgba(76, 175, 80, 0.5);
    }
}

.computer-sprite {
    font-size: 56px;
    animation: computerIdle 3s ease-in-out infinite;
    filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.4));
    user-select: none;
}

@keyframes computerIdle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

.computer-name {
    font-size: 12px;
    font-weight: bold;
    color: #D8B4FE;
    text-align: center;
    word-break: break-word;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.computer-ip {
    font-size: 10px;
    color: #A78BFA;
    text-align: center;
    font-family: 'Courier New', monospace;
    opacity: 0.9;
}

.computer-status {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #1F2937;
    box-shadow: 0 0 10px currentColor;
}

.computer-status.ready { 
    background: #4CAF50; 
    animation: statusReady 2s infinite;
}

.computer-status.disabled { 
    background: #9E9E9E; 
    animation: statusDisabled 3s infinite;
}

.computer-status.listed { 
    background: #FFA500; 
    animation: statusListed 2s infinite;
}

@keyframes statusListed {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px #FFA500; }
    50% { opacity: 0.7; box-shadow: 0 0 15px #FFA500; }
}

@keyframes statusReady {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px #4CAF50; }
    50% { opacity: 0.6; box-shadow: 0 0 5px #4CAF50; }
}

@keyframes statusDisabled {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.computer-cards-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: #6B7280;
    font-size: 14px;
}

.computer-cards-placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

@media (max-width: 640px) {
    .computer-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
        padding: 12px;
    }
    .computer-sprite { font-size: 40px; }
    .computer-name { font-size: 11px; }
    .computer-ip { font-size: 9px; }
}
/* Computer Details - New Design System */
.details-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.details-section-header {
    font-size: 18px;
    font-weight: bold;
    color: #D8B4FE;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D8B4FE;
    text-shadow: 
        0 0 10px rgba(216, 180, 254, 0.8),
        0 0 20px rgba(216, 180, 254, 0.4);
}

.details-ip-display {
    background: rgba(216, 180, 254, 0.05);
    border: 1px solid #D8B4FE;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #D8B4FE;
    text-align: center;
    box-shadow: 
        inset 0 0 20px rgba(216, 180, 254, 0.1),
        0 0 10px rgba(216, 180, 254, 0.2);
}

.component-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.component-row:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.component-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #D8B4FE 0%, #A78BFA 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.component-row:hover::before {
    opacity: 1;
}

.component-row-with-progress {
    flex-direction: column;
    align-items: stretch;
}

.component-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.component-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.component-name {
    font-size: 15px;
    font-weight: bold;
    color: #E0E0E0;
    min-width: 120px;
}

.component-level {
    font-size: 14px;
    color: #D8B4FE;
    font-weight: 600;
    min-width: 60px;
}

.tech-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
    border: 2px solid #D8B4FE;
    border-radius: 6px;
    color: #D8B4FE;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 15px rgba(216, 180, 254, 0.3);
    outline: none;
}

.tech-button::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 
        0 0 8px #4CAF50,
        0 0 12px rgba(76, 175, 80, 0.6),
        inset 0 0 3px rgba(255, 255, 255, 0.5);
    animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
    0%, 100% {
        box-shadow: 
            0 0 8px #4CAF50,
            0 0 12px rgba(76, 175, 80, 0.6),
            inset 0 0 3px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 0 12px #4CAF50,
            0 0 20px rgba(76, 175, 80, 0.8),
            inset 0 0 4px rgba(255, 255, 255, 0.7);
    }
}

.tech-button:hover {
    transform: translateY(-2px);
    border-color: #A78BFA;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 25px rgba(167, 139, 250, 0.6),
        0 0 35px rgba(216, 180, 254, 0.4);
}

.tech-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(216, 180, 254, 0.4);
}

.tech-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
}

.tech-button:disabled::before {
    background: #666;
    box-shadow: none;
    animation: none;
}

.tech-button:disabled:hover {
    transform: none;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.details-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.details-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(216, 180, 254, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(216, 180, 254, 0.3);
}

.details-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D8B4FE 0%, #A78BFA 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 
        0 0 10px rgba(216, 180, 254, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.details-progress-time {
    font-size: 12px;
    color: #D8B4FE;
    min-width: 90px;
    text-align: right;
}

@media (max-width: 768px) {
    .details-section {
        padding: 16px;
        margin-bottom: 16px;
    }

    .details-section-header {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .component-row {
        padding: 10px 12px;
        margin-bottom: 6px;
    }

    .component-info {
        gap: 12px;
    }

    .component-name {
        font-size: 14px;
        min-width: 100px;
    }

    .component-level {
        font-size: 13px;
        min-width: 50px;
    }

    .tech-button {
        padding: 7px 16px;
        font-size: 12px;
    }

    .details-progress-container {
        gap: 8px;
        padding: 6px 10px;
    }

    .details-progress-time {
        font-size: 11px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .details-section {
        padding: 12px;
    }

    .component-row {
        padding: 8px 10px;
    }

    .tech-button {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* Attack Center Styles */
.attack-selection-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.attack-form-group {
    margin-bottom: 20px;
}

.attack-form-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #D8B4FE;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.attack-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(216, 180, 254, 0.05);
    border: 2px solid #D8B4FE;
    border-radius: 8px;
    color: #E0E0E0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 0 10px rgba(216, 180, 254, 0.1),
        0 0 10px rgba(216, 180, 254, 0.2);
}

.attack-select:hover {
    border-color: #A78BFA;
    background: rgba(216, 180, 254, 0.08);
    box-shadow: 
        inset 0 0 15px rgba(216, 180, 254, 0.15),
        0 0 15px rgba(216, 180, 254, 0.3);
}

.attack-select:focus {
    outline: none;
    border-color: #A78BFA;
    box-shadow: 
        inset 0 0 15px rgba(216, 180, 254, 0.2),
        0 0 20px rgba(167, 139, 250, 0.5);
}

.attack-select option {
    background: #1A1A1A;
    color: #E0E0E0;
    padding: 10px;
}

.attack-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.attack-cooldown-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.attack-cooldown-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.attack-cooldown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.attack-cooldown-info {
    font-size: 14px;
    color: #E0E0E0;
}

.attack-cooldown-weapon {
    font-size: 13px;
    color: #D8B4FE;
    font-weight: 600;
}

.attack-cooldown-ready {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.attack-cooldown-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .attack-selection-container {
        padding: 16px;
    }

    .attack-form-group {
        margin-bottom: 16px;
    }

    .attack-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .attack-button-container {
        margin-top: 20px;
    }

    .attack-cooldown-card {
        padding: 12px;
    }

    .attack-cooldown-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .attack-cooldown-actions {
        flex-direction: column;
        width: 100%;
    }

    .attack-cooldown-actions .tech-button {
        width: 100%;
        justify-content: center;
    }
}

/* Cluster Tab Styles */
.cluster-form-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.cluster-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cluster-form-field {
    display: flex;
    flex-direction: column;
}

.cluster-form-field.full-width {
    grid-column: 1 / -1;
}

.cluster-form-label {
    font-size: 13px;
    font-weight: bold;
    color: #D8B4FE;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cluster-input,
.cluster-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(216, 180, 254, 0.05);
    border: 2px solid #D8B4FE;
    border-radius: 8px;
    color: #E0E0E0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 0 10px rgba(216, 180, 254, 0.1),
        0 0 10px rgba(216, 180, 254, 0.2);
}

.cluster-input:focus,
.cluster-textarea:focus {
    outline: none;
    border-color: #A78BFA;
    box-shadow: 
        inset 0 0 15px rgba(216, 180, 254, 0.2),
        0 0 20px rgba(167, 139, 250, 0.5);
}

.cluster-input:disabled,
.cluster-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cluster-textarea {
    resize: vertical;
    min-height: 80px;
}

.cluster-protection-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cluster-protection-value {
    padding: 12px 20px;
    background: rgba(216, 180, 254, 0.05);
    border: 2px solid #D8B4FE;
    border-radius: 8px;
    color: #D8B4FE;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    box-shadow: 
        inset 0 0 10px rgba(216, 180, 254, 0.1),
        0 0 10px rgba(216, 180, 254, 0.2);
}

.cluster-button-group {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cluster-info-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.cluster-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(216, 180, 254, 0.2);
}

.cluster-info-row:last-child {
    border-bottom: none;
}

.cluster-info-label {
    font-size: 14px;
    color: #D8B4FE;
    font-weight: 600;
}

.cluster-info-value {
    font-size: 14px;
    color: #E0E0E0;
}

.cluster-member-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.cluster-member-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.cluster-member-name {
    font-size: 15px;
    color: #E0E0E0;
    font-weight: bold;
}

.available-cluster-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.available-cluster-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.available-cluster-header {
    font-size: 18px;
    color: #D8B4FE;
    font-weight: bold;
    margin-bottom: 12px;
}

.available-cluster-info {
    font-size: 13px;
    color: #E0E0E0;
    margin-bottom: 12px;
}

.available-cluster-description {
    font-size: 13px;
    color: #A0A0A0;
    margin-bottom: 16px;
    line-height: 1.5;
}

.available-cluster-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cluster-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cluster-form-container {
        padding: 16px;
    }

    .cluster-info-container {
        padding: 16px;
    }

    .cluster-button-group {
        flex-direction: column;
        gap: 8px;
    }

    .cluster-button-group .tech-button {
        width: 100%;
        justify-content: center;
    }

    .cluster-member-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cluster-member-card .tech-button {
        width: 100%;
        justify-content: center;
    }

    .cluster-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .cluster-form-container {
        padding: 12px;
    }

    .cluster-protection-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cluster-protection-container .tech-button {
        width: 100%;
        justify-content: center;
    }
}

/* Dashboard Account Styles */
.account-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.account-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.account-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.account-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #D8B4FE 0%, #A78BFA 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-card:hover::before {
    opacity: 1;
}

.account-card-label {
    font-size: 12px;
    color: #D8B4FE;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 8px;
}

.account-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-card-value {
    font-size: 15px;
    color: #E0E0E0;
    font-weight: 600;
    word-break: break-all;
    flex: 1;
}

.account-card-value.pulse {
    animation: valuePulse 2s ease-in-out infinite;
}

@keyframes valuePulse {
    0%, 100% {
        color: #E0E0E0;
    }
    50% {
        color: #D8B4FE;
    }
}

@media (max-width: 768px) {
    .account-container {
        padding: 16px;
    }

    .account-card {
        padding: 12px;
    }

    .account-card-content {
        gap: 12px;
    }

    .account-card-value {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .account-container {
        padding: 12px;
    }

    .account-card {
        padding: 10px;
    }

    .account-card-label {
        font-size: 11px;
    }

    .account-card-value {
        font-size: 12px;
    }
}

/* Marketplace Styles */
.marketplace-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.listing-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.listing-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.listing-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #D8B4FE 0%, #A78BFA 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listing-card:hover::before {
    opacity: 1;
}

.listing-header {
    font-size: 14px;
    font-weight: bold;
    color: #D8B4FE;
    margin-bottom: 8px;
}

.listing-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.listing-info-text {
    font-size: 13px;
    color: #E0E0E0;
    flex: 1;
}

.listing-specs {
    font-size: 13px;
    color: #A0A0A0;
    margin-bottom: 12px;
}

.listing-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.listing-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(216, 180, 254, 0.2);
    font-size: 12px;
    color: #A0A0A0;
    line-height: 1.6;
}

.listing-details strong {
    color: #D8B4FE;
}

.details-toggle {
    background: none;
    border: none;
    color: #D8B4FE;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.details-toggle:hover {
    color: #A78BFA;
}

@media (max-width: 768px) {
    .marketplace-container {
        padding: 16px;
    }

    .listing-card {
        padding: 12px;
    }

    .listing-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .listing-actions {
        width: 100%;
    }

    .listing-actions .tech-button {
        flex: 1;
    }

    .listing-info-text {
        font-size: 12px;
    }

    .listing-specs {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .marketplace-container {
        padding: 12px;
    }

    .listing-card {
        padding: 10px;
    }

    .listing-header {
        font-size: 13px;
    }
}

/* System Logs Styles */
.logs-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 2px solid #D8B4FE;
    border-radius: 12px;
    padding: 24px;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: 
        0 0 20px rgba(216, 180, 254, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

.log-card {
    background: rgba(216, 180, 254, 0.03);
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.log-card:hover {
    background: rgba(216, 180, 254, 0.08);
    border-color: #D8B4FE;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(216, 180, 254, 0.3),
        0 0 20px rgba(216, 180, 254, 0.2);
}

.log-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #D8B4FE 0%, #A78BFA 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.log-card:hover::before {
    opacity: 1;
}

/* Log Type Colors - Very Subtle */
.log-card.log-success {
    background: rgba(76, 175, 80, 0.03);
    border-color: rgba(76, 175, 80, 0.15);
}

.log-card.log-success:hover {
    background: rgba(76, 175, 80, 0.06);
    border-color: rgba(76, 175, 80, 0.3);
}

.log-card.log-success::before {
    background: linear-gradient(180deg, #4CAF50 0%, #388E3C 100%);
}

.log-card.log-failed {
    background: rgba(244, 67, 54, 0.03);
    border-color: rgba(244, 67, 54, 0.15);
}

.log-card.log-failed:hover {
    background: rgba(244, 67, 54, 0.06);
    border-color: rgba(244, 67, 54, 0.3);
}

.log-card.log-failed::before {
    background: linear-gradient(180deg, #F44336 0%, #D32F2F 100%);
}

.log-card.log-incoming {
    background: rgba(255, 152, 0, 0.03);
    border-color: rgba(255, 152, 0, 0.15);
}

.log-card.log-incoming:hover {
    background: rgba(255, 152, 0, 0.06);
    border-color: rgba(255, 152, 0, 0.3);
}

.log-card.log-incoming::before {
    background: linear-gradient(180deg, #FF9800 0%, #F57C00 100%);
}

.log-time {
    font-size: 12px;
    color: #D8B4FE;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.log-message {
    font-size: 13px;
    color: #E0E0E0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .logs-container {
        padding: 16px;
        max-height: 500px;
    }

    .log-card {
        padding: 12px;
    }

    .log-time {
        font-size: 11px;
    }

    .log-message {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logs-container {
        padding: 12px;
        max-height: 400px;
    }

    .log-card {
        padding: 10px;
    }
}

.tech-button-sm {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
    border: 2px solid #D8B4FE;
    border-radius: 6px;
    color: #D8B4FE;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(216, 180, 254, 0.3);
    outline: none;
}

.tech-button-sm::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 
        0 0 6px #4CAF50,
        0 0 10px rgba(76, 175, 80, 0.6),
        inset 0 0 2px rgba(255, 255, 255, 0.5);
    animation: ledPulse 2s ease-in-out infinite;
}

.tech-button-sm:hover {
    transform: translateY(-1px);
    border-color: #A78BFA;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(167, 139, 250, 0.6),
        0 0 25px rgba(216, 180, 254, 0.4);
}

.tech-button-sm:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(216, 180, 254, 0.4);
}

/* Mobile: Extra kompakt */
@media (max-width: 768px) {
    .computer-name {
        font-size: 11px;
        letter-spacing: 0px;
    }
    
    .computer-ip {
        font-size: 9px;
    }
    
    .tech-button-sm {
        padding: 4px 8px;
        font-size: 9px;
        gap: 4px;
    }
    
    .tech-button-sm::before {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .computer-name {
        font-size: 10px;
    }
    
    .computer-ip {
        font-size: 8px;
    }
    
    .tech-button-sm {
        padding: 3px 6px;
        font-size: 8px;
    }
}

/* Tutorial Styles - Improved Version */

/* Navigation - Not sticky, just at top */
.tutorial-navigation {
    background: rgba(139, 92, 246, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative; /* Changed from sticky */
}

.tutorial-nav-link {
    background: rgba(139, 92, 246, 0.2);
    color: #D8B4FE;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.4);
    transition: all 0.2s;
    display: inline-block;
}

.tutorial-nav-link:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: #A855F7;
    transform: translateY(-1px);
}

.tutorial-chapter {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(139, 92, 246, 0.3);
}

.tutorial-chapter-title {
    font-size: 20px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tutorial-section {
    margin-bottom: 20px;
}

.tutorial-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #D8B4FE;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tutorial-list {
    list-style-type: disc;
    list-style-position: inside;
    color: #E9D5FF;
    margin-left: 10px;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
}

.tutorial-list li {
    margin-bottom: 8px;
}

.tutorial-list strong {
    color: #D8B4FE;
    font-weight: 600;
}

.tutorial-info-box {
    background: rgba(139, 92, 246, 0.15);
    border-left: 3px solid #A855F7;
    padding: 14px;
    margin: 12px 0;
    border-radius: 4px;
    font-size: 13px;
    color: #E9D5FF;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tutorial-info-box strong {
    color: #D8B4FE;
    font-weight: 600;
}

.tutorial-weapon,
.tutorial-defense-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 14px;
    margin: 12px 0;
    border-radius: 6px;
}

.tutorial-weapon-name,
.tutorial-defense-name {
    font-size: 16px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Scroll behavior - smooth scrolling to anchors */
html {
    scroll-behavior: smooth;
}

/* Add scroll padding so content doesn't hide under header */
#tutorial {
    scroll-margin-top: 20px;
}

.tutorial-chapter {
    scroll-margin-top: 20px;
}

/* Better readability for tutorial content */
.tutorial-navigation > div:first-child {
    font-weight: 600;
    color: #D8B4FE;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
}

/* Improve link container spacing */
.tutorial-navigation > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* ============================================
   NOTIFICATION SYSTEM STYLES
   ============================================ */

/* Bounty Warning Banner */
.bounty-banner {
    background: linear-gradient(90deg, #b91c1c, #dc2626, #b91c1c);
    background-size: 200% 100%;
    animation: bountyPulse 2s ease-in-out infinite;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

@keyframes bountyPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bounty-banner .bounty-icon {
    font-size: 18px;
    animation: bountyShake 0.5s ease-in-out infinite;
}

@keyframes bountyShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.bounty-banner .bounty-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bounty-banner .bounty-amount {
    color: #fef08a;
    font-size: 16px;
}

.bounty-banner .bounty-time {
    color: #fecaca;
    font-size: 12px;
}

/* Notification Badge (on tabs) */
.notification-badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    min-width: 18px;
    text-align: center;
    animation: badgePop 0.3s ease-out;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Application Status Banner */
.application-status-banner {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.application-status-banner .status-pending {
    color: #fbbf24;
}

.application-status-banner .status-approved {
    color: #34d399;
}

.application-status-banner .status-rejected {
    color: #f87171;
}

.application-status-banner:not(.hidden) {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* Game Notification Toast */
.game-notification-toast {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-out;
    pointer-events: auto;
}

.game-notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.game-notification-toast .toast-icon {
    font-size: 18px;
}

.game-notification-toast .toast-message {
    color: #e9d5ff;
    font-size: 13px;
    line-height: 1.4;
}

/* Toast Types */
.game-notification-toast.toast-warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.game-notification-toast.toast-success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.game-notification-toast.toast-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.game-notification-toast.toast-info {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bounty-banner {
        font-size: 12px;
        padding: 10px 15px;
        flex-wrap: wrap;
    }

    .toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }

    .game-notification-toast {
        min-width: auto;
        max-width: none;
    }
}
