        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Rajdhani:wght@500;600;700&display=swap');
        
        body {
            font-family: 'Rajdhani', sans-serif;
            background-color: #080d1a;
            background-image: 
                radial-gradient(at 10% 10%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
                radial-gradient(at 90% 90%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
                linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
            background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
            color: #e2e8f0;
            overflow-x: hidden;
        }

        .font-orbitron { font-family: 'Orbitron', sans-serif; }

        /* Grid Cells & Effects */
        .grid-board {
            display: grid;
            gap: 2px;
            background-color: rgba(15, 23, 42, 0.8);
            border: 2px solid rgba(30, 58, 138, 0.6);
            border-radius: 8px;
            padding: 6px;
            box-shadow: 0 0 25px rgba(14, 165, 233, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.5);
        }

        .cell {
            position: relative;
            aspect-ratio: 1;
            background-color: rgba(30, 41, 59, 0.6);
            border: 1px solid rgba(51, 65, 85, 0.5);
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            user-select: none;
            transition: all 0.15s ease;
        }

        .cell.radar-cell {
            cursor: crosshair;
        }

        .cell.radar-cell:hover:not(.shot-hit):not(.shot-miss) {
            background-color: rgba(56, 189, 248, 0.3);
            border-color: #38bdf8;
            box-shadow: 0 0 10px #38bdf8;
        }

        .cell.ship-occupied {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            border-color: #60a5fa;
            box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.3);
        }

        .cell.ship-preview-valid {
            background-color: rgba(34, 197, 94, 0.45) !important;
            border-color: #22c55e !important;
        }

        .cell.ship-preview-invalid {
            background-color: rgba(239, 68, 68, 0.45) !important;
            border-color: #ef4444 !important;
        }

        /* Shot Animations */
        .shot-hit {
            background: radial-gradient(circle, #ff3333 0%, #990000 80%) !important;
            border-color: #ff6666 !important;
            animation: hitPulse 0.6s infinite alternate;
        }

        .shot-hit::after {
            content: '💥';
            font-size: 1.1em;
            animation: explodeZoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .shot-miss {
            background: radial-gradient(circle, #0284c7 0%, #0369a1 80%) !important;
            border-color: #38bdf8 !important;
            opacity: 0.8;
        }

        .shot-miss::after {
            content: '🌊';
            font-size: 0.9em;
            animation: splashDrop 0.4s ease-out;
        }

        .cell.sunk-ship {
            background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%) !important;
            border: 2px solid #ef4444 !important;
            box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
        }

        .xray-mode .cell.enemy-ship-hidden:not(.shot-hit):not(.shot-miss) {
            background: rgba(234, 179, 8, 0.35) !important;
            border: 1px dashed #eab308 !important;
        }
        .xray-mode .cell.enemy-ship-hidden:not(.shot-hit):not(.shot-miss)::after {
            content: '🚢';
            font-size: 0.8rem;
            opacity: 0.85;
        }

        @keyframes hitPulse {
            0% { box-shadow: 0 0 5px #ff0000; }
            100% { box-shadow: 0 0 18px #ff4d4d; }
        }

        @keyframes explodeZoom {
            0% { transform: scale(0.2) rotate(-45deg); opacity: 0; }
            80% { transform: scale(1.4) rotate(10deg); opacity: 1; }
            100% { transform: scale(1) rotate(0deg); }
        }

        @keyframes splashDrop {
            0% { transform: translateY(-15px) scale(0.5); opacity: 0; }
            100% { transform: translateY(0) scale(1); opacity: 1; }
        }

        /* Radar Scanner Animation */
        .radar-sweep {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            border-radius: 50%;
            background: conic-gradient(from 0deg at 50% 50%, rgba(14, 165, 233, 0) 0deg, rgba(14, 165, 233, 0.25) 360deg);
            animation: radarRotate 4s linear infinite;
            pointer-events: none;
        }
        @keyframes radarRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: #0f172a; }
        ::-webkit-scrollbar-thumb { background: #1e40af; border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

        /* Draggable Ships */
        .draggable-ship {
            cursor: grab;
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .draggable-ship:active {
            cursor: grabbing;
            transform: scale(1.05);
        }
        .dragging {
            opacity: 0.6;
        }

        .tab-btn.active {
            border-bottom: 3px solid #38bdf8;
            color: #38bdf8;
            background-color: rgba(56, 189, 248, 0.1);
        }
